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.72 for libpinyin 2.11.91.
4 #
5 # Report bugs to <https://github.com/libpinyin/libpinyin/issues/new>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 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 if testscip-shell system . . test. ${ZSH_VERSION+y} && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else case e in #(
29 e) case `(set -o) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac ;;
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="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else case e in #(
152 e) case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
156 ;;
157 esac ;;
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 case e in #(
176 e) exitcode=1; echo positional parameters were not saved. ;;
177 esac
178 fi
179 test x\$exitcode = x0 || exit 1
180 blah=\$(echo \$(echo blah))
181 test x\"\$blah\" = xblah || exit 1
182 test -x / || exit 1"
183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
185 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
186 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
187 test \$(( 1 + 1 )) = 2 || exit 1
188
189 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
190 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
191 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
192 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
193 PATH=/empty FPATH=/empty; export PATH FPATH
194 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
195 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
196 if (eval "$as_required") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
197 then :
198 as_have_required=yes
199 else case e in #(
200 e) as_have_required=no ;;
201 esac
202 fi
203 if testscip-shell system . . test. x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
204 then :
205
206 else case e in #(
207 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 case $as_dir in #(((
213 '') as_dir=./ ;;
214 */) ;;
215 *) as_dir=$as_dir/ ;;
216 esac
217 as_found=:
218 case $as_dir in #(
219 /*)
220 for as_base in sh bash ksh sh5; do
221 # Try only shells that exist, to save several forks.
222 as_shell=$as_dir$as_base
223 if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } &&
224 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
225 then :
226 CONFIG_SHELL=$as_shell as_have_required=yes
227 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
228 then :
229 break 2
230 fi
231 fi
232 done;;
233 esac
234 as_found=false
235 done
236 IFS=$as_save_IFS
237 if $as_found
238 then :
239
240 else case e in #(
241 e) if { testscip-shell system . . test. -f "$SHELL" || testscip-shell system . . test. -f "$SHELL.exe"; } &&
242 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
243 then :
244 CONFIG_SHELL=$SHELL as_have_required=yes
245 fi ;;
246 esac
247 fi
248
249
250 if testscip-shell system . . test. "x$CONFIG_SHELL" != x
251 then :
252 export CONFIG_SHELL
253 # We cannot yet assume a decent shell, so we have to provide a
254 # neutralization value for shells without unset; and this also
255 # works around shells that cannot unset nonexistent variables.
256 # Preserve -v and -x to the replacement shell.
257 BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
258 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
259 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV
260 case $- in # ((((
261 *v*x* | *x*v* ) as_opts=-vx ;;
262 *v* ) as_opts=-v ;;
263 *x* ) as_opts=-x ;;
264 * ) as_opts= ;;
265 esac
266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
267 # Admittedly, this is quite paranoid, since all the known shells bail
268 # out after a failed 'exec'.
269 printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
270 exit 255
271 fi
272
273 if testscip-shell system . . test. x$as_have_required = xno
274 then :
275 printfscip-shell system . . printf. "%s\n" "$0: This script requires a shell more modern than all"
276 printfscip-shell system . . printf. "%s\n" "$0: the shells that I found on your system."
277 if testscip-shell system . . test. ${ZSH_VERSION+y} ; then
278 printfscip-shell system . . printf. "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
279 printfscip-shell system . . printf. "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
280 else
281 printfscip-shell system . . printf. "%s\n" "$0: Please tell [email protected] and
282 $0: https://github.com/libpinyin/libpinyin/issues/new about
283 $0: your system, including any error possibly output before
284 $0: this message. Then install a modern shell, or manually
285 $0: run the script under such a shell if you do have one."
286 fi
287 exit 1
288 fi ;;
289 esac
290 fi
291 fi
292 SHELL=${CONFIG_SHELL-/bin/sh}
293 export SHELL
294 # Unset more variables known to interfere with behavior of common tools.
295 CLICOLOR_FORCE= GREP_OPTIONS=
296 unset CLICOLOR_FORCE GREP_OPTIONS
297
298 ## --------------------- ##
299 ## M4sh Shell Functions. ##
300 ## --------------------- ##
301 # as_fn_unset VAR
302 # ---------------
303 # Portably unset VAR.
304 as_fn_unsetscip-shell shell shell-project 0.0.0 as_fn_unset(). ()
305 {
306 { eval $1=; unset $1;}
307 }
308 as_unset=as_fn_unset
309
310
311 # as_fn_set_status STATUS
312 # -----------------------
313 # Set $? to STATUS, without forking.
314 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). ()
315 {
316 return $1
317 } # as_fn_set_status
318
319 # as_fn_exit STATUS
320 # -----------------
321 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). ()
323 {
324 set +e
325 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $1
326 exit $1
327 } # as_fn_exit
328
329 # as_fn_mkdir_p
330 # -------------
331 # Create "$as_dir" as a directory, including parents if necessary.
332 as_fn_mkdir_pscip-shell shell shell-project 0.0.0 as_fn_mkdir_p(). ()
333 {
334
335 case $as_dir in #(
336 -*) as_dir=./$as_dir;;
337 esac
338 testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || {
339 as_dirs=
340 while :; do
341 case $as_dir in #(
342 *\'*) as_qdir=`printfscip-shell system . . printf. "%s\n" "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'(
343 *) as_qdir=$as_dir;;
344 esac
345 as_dirs="'$as_qdir' $as_dirs"
346 as_dir=`$as_dirname -- "$as_dir" ||
347 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
348 X"$as_dir" : 'X\(//\)[^/]' \| \
349 X"$as_dir" : 'X\(//\)$' \| \
350 X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
351 printfscip-shell system . . printf. "%s\n" X"$as_dir" |
352 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
353 s//\1/
354 q
355 }
356 /^X\(\/\/\)[^/].*/{
357 s//\1/
358 q
359 }
360 /^X\(\/\/\)$/{
361 s//\1/
362 q
363 }
364 /^X\(\/\).*/{
365 s//\1/
366 q
367 }
368 s/.*/./; q'`
369 testscip-shell system . . test. -d "$as_dir" && break
370 done
371 testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs"
372 } || 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"
373
374
375 } # as_fn_mkdir_p
376
377 # as_fn_executable_p FILE
378 # -----------------------
379 # Test if FILE is an executable regular file.
380 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). ()
381 {
382 testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1"
383 } # as_fn_executable_p
384 # as_fn_append VAR VALUE
385 # ----------------------
386 # Append the text in VALUE to the end of the definition contained in VAR. Take
387 # advantage of any shell optimizations that allow amortized linear growth over
388 # repeated appends, instead of the typical quadratic growth present in naive
389 # implementations.
390 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
391 then :
392 eval 'as_fn_append ()
393 {
394 eval $1+=\$2
395 }'
396 else case e in #(
397 e) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ()
398 {
399 eval $1=\$$1\$2
400 } ;;
401 esac
402 fi # as_fn_append
403
404 # as_fn_arith ARG...
405 # ------------------
406 # Perform arithmetic evaluation on the ARGs, and store the result in the
407 # global $as_val. Take advantage of shells that can avoid forks. The arguments
408 # must be portable across $(()) and expr.
409 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
410 then :
411 eval 'as_fn_arith ()
412 {
413 as_val=$(( $* ))
414 }'
415 else case e in #(
416 e) as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). ()
417 {
418 as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1`
419 } ;;
420 esac
421 fi # as_fn_arith
422
423
424 # as_fn_error STATUS ERROR [LINENO LOG_FD]
425 # ----------------------------------------
426 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
427 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
428 # script with STATUS, using 1 if that was 0.
429 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). ()
430 {
431 as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1
432 if testscip-shell system . . test. "$4"; then
433 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
434 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
435 fi
436 printfscip-shell system . . printf. "%s\n" "$as_me: error: $2" >&2
437 as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). $as_status
438 } # as_fn_error
439
440 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
441 testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then
442 as_expr=expr
443 else
444 as_expr=false
445 fi
446
447 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
448 as_basename=basename
449 else
450 as_basename=false
451 fi
452
453 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
454 as_dirname=dirname
455 else
456 as_dirname=false
457 fi
458
459 as_me=`$as_basename -- "$0" ||
460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
461 X"$0" : 'X\(//\)$' \| \
462 X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
463 printfscip-shell system . . printf. "%s\n" X/"$0" |
464 sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{
465 s//\1/
466 q
467 }
468 /^X\/\(\/\/\)$/{
469 s//\1/
470 q
471 }
472 /^X\/\(\/\).*/{
473 s//\1/
474 q
475 }
476 s/.*/./; q'`
477
478 # Avoid depending upon Character Ranges.
479 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
480 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
481 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
482 as_cr_digits='0123456789'
483 as_cr_alnum=$as_cr_Letters$as_cr_digits
484
485
486 as_lineno_1=$LINENO as_lineno_1a=$LINENO
487 as_lineno_2=$LINENO as_lineno_2a=$LINENO
488 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
489 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
490 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
491 sedscip-shell system . . sed. -n '
492 p
493 /[$]LINENO/=
494 ' <$as_myself |
495 sedscip-shell system . . sed. '
496 t clear
497 :clear
498 s/[$]LINENO.*/&-/
499 t lineno
500 b
501 :lineno
502 N
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmodscip-shell system . . chmod. +x "$as_me.lineno" ||
509 { 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; }
510
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
521 }
522
523
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echoscip-shell system . . echo. -n x` in #(((((
529 -n*)
530 case `echoscip-shell system . . echo. 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`.
534 ECHO_T=' ';;
535 esac;;
536 *)
537 ECHO_N='-n';;
538 esac
539
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
545
546 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
547 if testscip-shell system . . test. -d conf$$.dir; then
548 rmscip-shell system . . rm. -f conf$$.dir/conf$$.file
549 else
550 rmscip-shell system . . rm. -f conf$$.dir
551 mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
552 fi
553 if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
554 if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
555 as_ln_s='ln -s'
556 # ... but there are two gotchas:
557 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
558 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
559 # In both cases, we have to default to 'cp -pR'.
560 lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe ||
561 as_ln_s='cp -pR'
562 elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
563 as_ln_s=ln
564 else
565 as_ln_s='cp -pR'
566 fi
567 else
568 as_ln_s='cp -pR'
569 fi
570 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
572
573 if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
574 as_mkdir_p='mkdir -p "$as_dir"'
575 else
576 testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p
577 as_mkdir_p=false
578 fi
579
580 as_test_x='test -x'
581 as_executable_p=as_fn_executable_p
582
583 # Sed expression to map a string onto a valid CPP name.
584 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
585 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
586
587 # Sed expression to map a string onto a valid variable name.
588 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
589 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
590
591 SHELL=${CONFIG_SHELL-/bin/sh}
592
593
594 testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`.
595 exec 6>&1
596
597 # Name of the host.
598 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
599 # so uname gets run too.
600 ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
601
602 #
603 # Initializations.
604 #
605 ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`.
606 ac_clean_files=
607 ac_config_libobj_dir=.
608 LIBOBJS=
609 cross_compiling=no
610 subdirs=
611 MFLAGS=
612 MAKEFLAGS=
613
614 # Identity of this package.
615 PACKAGE_NAME='libpinyin'
616 PACKAGE_TARNAME='libpinyin'
617 PACKAGE_VERSION='2.11.91'
618 PACKAGE_STRING='libpinyin 2.11.91'
619 PACKAGE_BUGREPORT='https://github.com/libpinyin/libpinyin/issues/new'
620 PACKAGE_URL=''
621
622 ac_unique_file="config.h.in"
623 # Factoring default headers for most tests.
624 ac_includes_default="\
625 #include <stddef.h>
626 #ifdef HAVE_STDIO_H
627 # include <stdio.h>
628 #endif
629 #ifdef HAVE_STDLIB_H
630 # include <stdlib.h>
631 #endif
632 #ifdef HAVE_STRING_H
633 # include <string.h>
634 #endif
635 #ifdef HAVE_INTTYPES_H
636 # include <inttypes.h>
637 #endif
638 #ifdef HAVE_STDINT_H
639 # include <stdint.h>
640 #endif
641 #ifdef HAVE_STRINGS_H
642 # include <strings.h>
643 #endif
644 #ifdef HAVE_SYS_TYPES_H
645 # include <sys/types.h>
646 #endif
647 #ifdef HAVE_SYS_STAT_H
648 # include <sys/stat.h>
649 #endif
650 #ifdef HAVE_UNISTD_H
651 # include <unistd.h>
652 #endif"
653
654 ac_header_c_list=
655 ac_func_c_list=
656 ac_subst_vars='am__EXEEXT_FALSE
657 am__EXEEXT_TRUE
658 LTLIBOBJS
659 WINDOWS_FALSE
660 WINDOWS_TRUE
661 ENABLE_LIBZHUYIN_FALSE
662 ENABLE_LIBZHUYIN_TRUE
663 DATABASE_FORMAT
664 TKRZW_FALSE
665 TKRZW_TRUE
666 TKRZW_LIBS
667 TKRZW_CFLAGS
668 KYOTOCABINET_FALSE
669 KYOTOCABINET_TRUE
670 KYOTOCABINET_LIBS
671 KYOTOCABINET_CFLAGS
672 BERKELEYDB_FALSE
673 BERKELEYDB_TRUE
674 LIBOBJS
675 GLIB2_LIBS
676 GLIB2_CFLAGS
677 PKG_CONFIG_LIBDIR
678 PKG_CONFIG_PATH
679 PKG_CONFIG
680 LIBTOOL_EXPORT_OPTIONS
681 LIBTOOL_DEPS
682 CXXCPP
683 LT_SYS_LIBRARY_PATH
684 OTOOL64
685 OTOOL
686 LIPO
687 NMEDIT
688 DSYMUTIL
689 MANIFEST_TOOL
690 RANLIB
691 ac_ct_AR
692 AR
693 DLLTOOL
694 OBJDUMP
695 FILECMD
696 NM
697 ac_ct_DUMPBIN
698 DUMPBIN
699 LIBTOOL
700 LLVMLD_FALSE
701 LLVMLD_TRUE
702 HAVE_CXX11
703 LD
704 FGREP
705 EGREP
706 GREP
707 SED
708 host_os
709 host_vendor
710 host_cpu
711 host
712 build_os
713 build_vendor
714 build_cpu
715 build
716 LN_S
717 CPP
718 am__fastdepCC_FALSE
719 am__fastdepCC_TRUE
720 CCDEPMODE
721 ac_ct_CC
722 CFLAGS
723 CC
724 am__fastdepCXX_FALSE
725 am__fastdepCXX_TRUE
726 CXXDEPMODE
727 am__nodep
728 AMDEPBACKSLASH
729 AMDEP_FALSE
730 AMDEP_TRUE
731 am__include
732 DEPDIR
733 OBJEXT
734 EXEEXT
735 ac_ct_CXX
736 CPPFLAGS
737 LDFLAGS
738 CXXFLAGS
739 CXX
740 LIBPINYIN_BINARY_VERSION
741 LT_VERSION_INFO
742 am__xargs_n
743 am__rm_f_notfound
744 AM_BACKSLASH
745 AM_DEFAULT_VERBOSITY
746 AM_DEFAULT_V
747 AM_V
748 CSCOPE
749 ETAGS
750 CTAGS
751 am__untar
752 am__tar
753 AMTAR
754 am__leading_dot
755 SET_MAKE
756 AWK
757 mkdir_p
758 MKDIR_P
759 INSTALL_STRIP_PROGRAM
760 STRIP
761 install_sh
762 MAKEINFO
763 AUTOHEADER
764 AUTOMAKE
765 AUTOCONF
766 ACLOCAL
767 VERSION
768 PACKAGE
769 CYGPATH_W
770 am__isrc
771 INSTALL_DATA
772 INSTALL_SCRIPT
773 INSTALL_PROGRAM
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 runstatedir
794 localstatedir
795 sharedstatedir
796 sysconfdir
797 datadir
798 datarootdir
799 libexecdir
800 sbindir
801 bindir
802 program_transform_name
803 prefix
804 exec_prefix
805 PACKAGE_URL
806 PACKAGE_BUGREPORT
807 PACKAGE_STRING
808 PACKAGE_VERSION
809 PACKAGE_TARNAME
810 PACKAGE_NAME
811 PATH_SEPARATOR
812 SHELL
813 am__quote'
814 ac_subst_files=''
815 ac_user_opts='
816 enable_option_checking
817 enable_silent_rules
818 enable_dependency_tracking
819 with_gnu_ld
820 enable_shared
821 enable_static
822 enable_pic
823 with_pic
824 enable_fast_install
825 enable_aix_soname
826 with_aix_soname
827 with_sysroot
828 enable_libtool_lock
829 with_dbm
830 enable_libzhuyin
831 '
832 ac_precious_vars='build_alias
833 host_alias
834 target_alias
835 CXX
836 CXXFLAGS
837 LDFLAGS
838 LIBS
839 CPPFLAGS
840 CCC
841 CC
842 CFLAGS
843 CPP
844 LT_SYS_LIBRARY_PATH
845 CXXCPP
846 PKG_CONFIG
847 PKG_CONFIG_PATH
848 PKG_CONFIG_LIBDIR
849 GLIB2_CFLAGS
850 GLIB2_LIBS
851 KYOTOCABINET_CFLAGS
852 KYOTOCABINET_LIBS
853 TKRZW_CFLAGS
854 TKRZW_LIBS'
855
856
857 # Initialize some variables set by options.
858 ac_init_help=
859 ac_init_version=false
860 ac_unrecognized_opts=
861 ac_unrecognized_sep=
862 # The variables have the same names as the options, with
863 # dashes changed to underlines.
864 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
865 exec_prefix=NONE
866 no_create=
867 no_recursion=
868 prefix=NONE
869 program_prefix=NONE
870 program_suffix=NONE
871 program_transform_name=s,x,x,
872 silent=
873 site=
874 srcdir=
875 verbose=
876 x_includes=NONE
877 x_libraries=NONE
878
879 # Installation directory options.
880 # These are left unexpanded so users can "make install exec_prefix=/foo"
881 # and all the variables that are supposed to be based on exec_prefix
882 # by default will actually change.
883 # Use braces instead of parens because sh, perl, etc. also accept them.
884 # (The list follows the same order as the GNU Coding Standards.)
885 bindir='${exec_prefix}/bin'
886 sbindir='${exec_prefix}/sbin'
887 libexecdir='${exec_prefix}/libexec'
888 datarootdir='${prefix}/share'
889 datadir='${datarootdir}'
890 sysconfdir='${prefix}/etc'
891 sharedstatedir='${prefix}/com'
892 localstatedir='${prefix}/var'
893 runstatedir='${localstatedir}/run'
894 includedir='${prefix}/include'
895 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
896 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir='${datarootdir}/info'
898 htmldir='${docdir}'
899 dvidir='${docdir}'
900 pdfdir='${docdir}'
901 psdir='${docdir}'
902 libdir='${exec_prefix}/lib'
903 localedir='${datarootdir}/locale'
904 mandir='${datarootdir}/man'
905
906 ac_prev=
907 ac_dashdash=
908 for ac_option
909 do
910 # If the previous option needs an argument, assign it.
911 if testscip-shell system . . test. -n "$ac_prev"; then
912 eval $ac_prev=\$ac_option
913 ac_prev=
914 continue
915 fi
916
917 case $ac_option in
918 *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;;
919 *=) ac_optarg= ;;
920 *) ac_optarg=yes ;;
921 esac
922
923 case $ac_dashdash$ac_option in
924 --)
925 ac_dashdash=yes ;;
926
927 -bindir | --bindir | --bindi | --bind | --bin | --bi)
928 ac_prev=bindir ;;
929 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
930 bindir=$ac_optarg ;;
931
932 -build | --build | --buil | --bui | --bu)
933 ac_prev=build_alias ;;
934 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
935 build_alias=$ac_optarg ;;
936
937 -cache-file | --cache-file | --cache-fil | --cache-fi \
938 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
939 ac_prev=cache_file ;;
940 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
941 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
942 cache_file=$ac_optarg ;;
943
944 --config-cache | -C)
945 cache_file=config.cache ;;
946
947 -datadir | --datadir | --datadi | --datad)
948 ac_prev=datadir ;;
949 -datadir=* | --datadir=* | --datadi=* | --datad=*)
950 datadir=$ac_optarg ;;
951
952 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
953 | --dataroo | --dataro | --datar)
954 ac_prev=datarootdir ;;
955 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
956 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
957 datarootdir=$ac_optarg ;;
958
959 -disable-* | --disable-*)
960 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
961 # Reject names that are not valid shell variable names.
962 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
963 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid feature name: '$ac_useropt'"
964 ac_useropt_orig=$ac_useropt
965 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
966 case $ac_user_opts in
967 *"
968 "enable_$ac_useropt"
969 "*) ;;
970 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
971 ac_unrecognized_sep=', ';;
972 esac
973 eval enable_$ac_useropt=no ;;
974
975 -docdir | --docdir | --docdi | --doc | --do)
976 ac_prev=docdir ;;
977 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
978 docdir=$ac_optarg ;;
979
980 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
981 ac_prev=dvidir ;;
982 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
983 dvidir=$ac_optarg ;;
984
985 -enable-* | --enable-*)
986 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
987 # Reject names that are not valid shell variable names.
988 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
989 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid feature name: '$ac_useropt'"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
992 case $ac_user_opts in
993 *"
994 "enable_$ac_useropt"
995 "*) ;;
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
998 esac
999 eval enable_$ac_useropt=\$ac_optarg ;;
1000
1001 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1002 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1003 | --exec | --exe | --ex)
1004 ac_prev=exec_prefix ;;
1005 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1006 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1007 | --exec=* | --exe=* | --ex=*)
1008 exec_prefix=$ac_optarg ;;
1009
1010 -gas | --gas | --ga | --g)
1011 # Obsolete; use --with-gas.
1012 with_gas=yes ;;
1013
1014 -help | --help | --hel | --he | -h)
1015 ac_init_help=long ;;
1016 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1017 ac_init_help=recursive ;;
1018 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1019 ac_init_help=short ;;
1020
1021 -host | --host | --hos | --ho)
1022 ac_prev=host_alias ;;
1023 -host=* | --host=* | --hos=* | --ho=*)
1024 host_alias=$ac_optarg ;;
1025
1026 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1027 ac_prev=htmldir ;;
1028 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1029 | --ht=*)
1030 htmldir=$ac_optarg ;;
1031
1032 -includedir | --includedir | --includedi | --included | --include \
1033 | --includ | --inclu | --incl | --inc)
1034 ac_prev=includedir ;;
1035 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1036 | --includ=* | --inclu=* | --incl=* | --inc=*)
1037 includedir=$ac_optarg ;;
1038
1039 -infodir | --infodir | --infodi | --infod | --info | --inf)
1040 ac_prev=infodir ;;
1041 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1042 infodir=$ac_optarg ;;
1043
1044 -libdir | --libdir | --libdi | --libd)
1045 ac_prev=libdir ;;
1046 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1047 libdir=$ac_optarg ;;
1048
1049 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1050 | --libexe | --libex | --libe)
1051 ac_prev=libexecdir ;;
1052 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1053 | --libexe=* | --libex=* | --libe=*)
1054 libexecdir=$ac_optarg ;;
1055
1056 -localedir | --localedir | --localedi | --localed | --locale)
1057 ac_prev=localedir ;;
1058 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1059 localedir=$ac_optarg ;;
1060
1061 -localstatedir | --localstatedir | --localstatedi | --localstated \
1062 | --localstate | --localstat | --localsta | --localst | --locals)
1063 ac_prev=localstatedir ;;
1064 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1065 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1066 localstatedir=$ac_optarg ;;
1067
1068 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1069 ac_prev=mandir ;;
1070 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1071 mandir=$ac_optarg ;;
1072
1073 -nfp | --nfp | --nf)
1074 # Obsolete; use --without-fp.
1075 with_fp=no ;;
1076
1077 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1078 | --no-cr | --no-c | -n)
1079 no_create=yes ;;
1080
1081 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1082 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1083 no_recursion=yes ;;
1084
1085 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1086 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1087 | --oldin | --oldi | --old | --ol | --o)
1088 ac_prev=oldincludedir ;;
1089 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1090 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1091 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1092 oldincludedir=$ac_optarg ;;
1093
1094 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1095 ac_prev=prefix ;;
1096 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1097 prefix=$ac_optarg ;;
1098
1099 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1100 | --program-pre | --program-pr | --program-p)
1101 ac_prev=program_prefix ;;
1102 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1103 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1104 program_prefix=$ac_optarg ;;
1105
1106 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1107 | --program-suf | --program-su | --program-s)
1108 ac_prev=program_suffix ;;
1109 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1110 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1111 program_suffix=$ac_optarg ;;
1112
1113 -program-transform-name | --program-transform-name \
1114 | --program-transform-nam | --program-transform-na \
1115 | --program-transform-n | --program-transform- \
1116 | --program-transform | --program-transfor \
1117 | --program-transfo | --program-transf \
1118 | --program-trans | --program-tran \
1119 | --progr-tra | --program-tr | --program-t)
1120 ac_prev=program_transform_name ;;
1121 -program-transform-name=* | --program-transform-name=* \
1122 | --program-transform-nam=* | --program-transform-na=* \
1123 | --program-transform-n=* | --program-transform-=* \
1124 | --program-transform=* | --program-transfor=* \
1125 | --program-transfo=* | --program-transf=* \
1126 | --program-trans=* | --program-tran=* \
1127 | --progr-tra=* | --program-tr=* | --program-t=*)
1128 program_transform_name=$ac_optarg ;;
1129
1130 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1131 ac_prev=pdfdir ;;
1132 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1133 pdfdir=$ac_optarg ;;
1134
1135 -psdir | --psdir | --psdi | --psd | --ps)
1136 ac_prev=psdir ;;
1137 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1138 psdir=$ac_optarg ;;
1139
1140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141 | -silent | --silent | --silen | --sile | --sil)
1142 silent=yes ;;
1143
1144 -runstatedir | --runstatedir | --runstatedi | --runstated \
1145 | --runstate | --runstat | --runsta | --runst | --runs \
1146 | --run | --ru | --r)
1147 ac_prev=runstatedir ;;
1148 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1149 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1150 | --run=* | --ru=* | --r=*)
1151 runstatedir=$ac_optarg ;;
1152
1153 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1154 ac_prev=sbindir ;;
1155 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1156 | --sbi=* | --sb=*)
1157 sbindir=$ac_optarg ;;
1158
1159 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1160 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1161 | --sharedst | --shareds | --shared | --share | --shar \
1162 | --sha | --sh)
1163 ac_prev=sharedstatedir ;;
1164 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1165 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1166 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1167 | --sha=* | --sh=*)
1168 sharedstatedir=$ac_optarg ;;
1169
1170 -site | --site | --sit)
1171 ac_prev=site ;;
1172 -site=* | --site=* | --sit=*)
1173 site=$ac_optarg ;;
1174
1175 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1176 ac_prev=srcdir ;;
1177 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1178 srcdir=$ac_optarg ;;
1179
1180 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1181 | --syscon | --sysco | --sysc | --sys | --sy)
1182 ac_prev=sysconfdir ;;
1183 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1184 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1185 sysconfdir=$ac_optarg ;;
1186
1187 -target | --target | --targe | --targ | --tar | --ta | --t)
1188 ac_prev=target_alias ;;
1189 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1190 target_alias=$ac_optarg ;;
1191
1192 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1193 verbose=yes ;;
1194
1195 -version | --version | --versio | --versi | --vers | -V)
1196 ac_init_version=: ;;
1197
1198 -with-* | --with-*)
1199 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
1200 # Reject names that are not valid shell variable names.
1201 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1202 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid package name: '$ac_useropt'"
1203 ac_useropt_orig=$ac_useropt
1204 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1206 *"
1207 "with_$ac_useropt"
1208 "*) ;;
1209 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1210 ac_unrecognized_sep=', ';;
1211 esac
1212 eval with_$ac_useropt=\$ac_optarg ;;
1213
1214 -without-* | --without-*)
1215 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
1216 # Reject names that are not valid shell variable names.
1217 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1218 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid package name: '$ac_useropt'"
1219 ac_useropt_orig=$ac_useropt
1220 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1221 case $ac_user_opts in
1222 *"
1223 "with_$ac_useropt"
1224 "*) ;;
1225 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1226 ac_unrecognized_sep=', ';;
1227 esac
1228 eval with_$ac_useropt=no ;;
1229
1230 --x)
1231 # Obsolete; use --with-x.
1232 with_x=yes ;;
1233
1234 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1235 | --x-incl | --x-inc | --x-in | --x-i)
1236 ac_prev=x_includes ;;
1237 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1238 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1239 x_includes=$ac_optarg ;;
1240
1241 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1242 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1243 ac_prev=x_libraries ;;
1244 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1245 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1246 x_libraries=$ac_optarg ;;
1247
1248 -*) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unrecognized option: '$ac_option'
1249 Try '$0 --help' for more information"
1250 ;;
1251
1252 *=*)
1253 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
1254 # Reject names that are not valid shell variable names.
1255 case $ac_envvar in #(
1256 '' | [0-9]* | *[!_$as_cr_alnum]* )
1257 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid variable name: '$ac_envvar'" ;;
1258 esac
1259 eval $ac_envvar=\$ac_optarg
1260 export $ac_envvar ;;
1261
1262 *)
1263 # FIXME: should be removed in autoconf 3.0.
1264 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1265 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1266 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1267 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1268 ;;
1269
1270 esac
1271 done
1272
1273 if testscip-shell system . . test. -n "$ac_prev"; then
1274 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
1275 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "missing argument to $ac_option"
1276 fi
1277
1278 if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then
1279 case $enable_option_checking in
1280 no) ;;
1281 fatal) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;;
1282 *) printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1283 esac
1284 fi
1285
1286 # Check all directory arguments for consistency.
1287 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1288 datadir sysconfdir sharedstatedir localstatedir includedir \
1289 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1290 libdir localedir mandir runstatedir
1291 do
1292 eval ac_val=\$$ac_var
1293 # Remove trailing slashes.
1294 case $ac_val in
1295 */ )
1296 ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1297 eval $ac_var=\$ac_val;;
1298 esac
1299 # Be sure to have absolute directory names.
1300 case $ac_val in
1301 [\\/$]* | ?:[\\/]* ) continue;;
1302 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1303 esac
1304 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val"
1305 done
1306
1307 # There might be people who depend on the old broken behavior: '$host'
1308 # used to hold the argument of --host etc.
1309 # FIXME: To remove some day.
1310 build=$build_alias
1311 host=$host_alias
1312 target=$target_alias
1313
1314 # FIXME: To remove some day.
1315 if testscip-shell system . . test. "x$host_alias" != x; then
1316 if testscip-shell system . . test. "x$build_alias" = x; then
1317 cross_compiling=maybe
1318 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
1319 cross_compiling=yes
1320 fi
1321 fi
1322
1323 ac_tool_prefix=
1324 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
1325
1326 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
1327
1328
1329 ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" &&
1330 ac_ls_di=`lsscip-shell system . . ls. -di .` &&
1331 ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` ||
1332 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "working directory cannot be determined"
1333 testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "pwd does not report name of working directory"
1335
1336
1337 # Find the source files, if location was not specified.
1338 if testscip-shell system . . test. -z "$srcdir"; then
1339 ac_srcdir_defaulted=yes
1340 # Try the directory containing this script, then the parent directory.
1341 ac_confdir=`$as_dirname -- "$as_myself" ||
1342 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343 X"$as_myself" : 'X\(//\)[^/]' \| \
1344 X"$as_myself" : 'X\(//\)$' \| \
1345 X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
1346 printfscip-shell system . . printf. "%s\n" X"$as_myself" |
1347 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 s//\1/
1349 q
1350 }
1351 /^X\(\/\/\)[^/].*/{
1352 s//\1/
1353 q
1354 }
1355 /^X\(\/\/\)$/{
1356 s//\1/
1357 q
1358 }
1359 /^X\(\/\).*/{
1360 s//\1/
1361 q
1362 }
1363 s/.*/./; q'`
1364 srcdir=$ac_confdir
1365 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1366 srcdir=..
1367 fi
1368 else
1369 ac_srcdir_defaulted=no
1370 fi
1371 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1372 testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir"
1374 fi
1375 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1376 ac_abs_confdir=`(
1377 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"
1378 pwdscip-shell system . . pwd.)`
1379 # When building in place, set srcdir=.
1380 if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then
1381 srcdir=.
1382 fi
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1386 case $srcdir in
1387 */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 esac
1389 for ac_var in $ac_precious_vars; do
1390 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391 eval ac_env_${ac_var}_value=\$${ac_var}
1392 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1394 done
1395
1396 #
1397 # Report the --help message.
1398 #
1399 if testscip-shell system . . test. "$ac_init_help" = "long"; then
1400 # Omit some internal or obsolete options to make the list less imposing.
1401 # This message is too long to be a string in the A/UX 3.1 sh.
1402 catscip-shell system . . cat. <<_ACEOF
1403 'configure' configures libpinyin 2.11.91 to adapt to many kinds of systems.
1404
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1406
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE. See below for descriptions of some of the useful variables.
1409
1410 Defaults for the options are specified in brackets.
1411
1412 Configuration:
1413 -h, --help display this help and exit
1414 --help=short display options specific to this package
1415 --help=recursive display the short help of all the included packages
1416 -V, --version display version information and exit
1417 -q, --quiet, --silent do not print 'checking ...' messages
1418 --cache-file=FILE cache test results in FILE [disabled]
1419 -C, --config-cache alias for '--cache-file=config.cache'
1420 -n, --no-create do not create output files
1421 --srcdir=DIR find the sources in DIR [configure dir or '..']
1422
1423 Installation directories:
1424 --prefix=PREFIX install architecture-independent files in PREFIX
1425 [$ac_default_prefix]
1426 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 [PREFIX]
1428
1429 By default, 'make install' will install all the files in
1430 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1431 an installation prefix other than '$ac_default_prefix' using '--prefix',
1432 for instance '--prefix=\$HOME'.
1433
1434 For better control, use the options below.
1435
1436 Fine tuning of the installation directories:
1437 --bindir=DIR user executables [EPREFIX/bin]
1438 --sbindir=DIR system admin executables [EPREFIX/sbin]
1439 --libexecdir=DIR program executables [EPREFIX/libexec]
1440 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1444 --libdir=DIR object code libraries [EPREFIX/lib]
1445 --includedir=DIR C header files [PREFIX/include]
1446 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1447 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1448 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1449 --infodir=DIR info documentation [DATAROOTDIR/info]
1450 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1451 --mandir=DIR man documentation [DATAROOTDIR/man]
1452 --docdir=DIR documentation root [DATAROOTDIR/doc/libpinyin]
1453 --htmldir=DIR html documentation [DOCDIR]
1454 --dvidir=DIR dvi documentation [DOCDIR]
1455 --pdfdir=DIR pdf documentation [DOCDIR]
1456 --psdir=DIR ps documentation [DOCDIR]
1457 _ACEOF
1458
1459 catscip-shell system . . cat. <<\_ACEOF
1460
1461 Program names:
1462 --program-prefix=PREFIX prepend PREFIX to installed program names
1463 --program-suffix=SUFFIX append SUFFIX to installed program names
1464 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1465
1466 System types:
1467 --build=BUILD configure for building on BUILD [guessed]
1468 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1469 _ACEOF
1470 fi
1471
1472 if testscip-shell system . . test. -n "$ac_init_help"; then
1473 case $ac_init_help in
1474 short | recursive ) echoscip-shell system . . echo. "Configuration of libpinyin 2.11.91:";;
1475 esac
1476 catscip-shell system . . cat. <<\_ACEOF
1477
1478 Optional Features:
1479 --disable-option-checking ignore unrecognized --enable/--with options
1480 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1481 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1482 --enable-silent-rules less verbose build output (undo: "make V=1")
1483 --disable-silent-rules verbose build output (undo: "make V=0")
1484 --enable-dependency-tracking
1485 do not reject slow dependency extractors
1486 --disable-dependency-tracking
1487 speeds up one-time build
1488 --enable-shared[=PKGS] build shared libraries [default=yes]
1489 --enable-static[=PKGS] build static libraries [default=yes]
1490 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1491 both]
1492 --enable-fast-install[=PKGS]
1493 optimize for fast installation [default=yes]
1494 --enable-aix-soname=aix|svr4|both
1495 shared library versioning (aka "SONAME") variant to
1496 provide on AIX, [default=aix].
1497 --disable-libtool-lock avoid locking (might break parallel builds)
1498 --enable-libzhuyin Support libzhuyin library.
1499
1500 Optional Packages:
1501 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1502 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1503 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1504 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1505 compiler's sysroot if not specified).
1506 --with-dbm=NAME Select BerkeleyDB or KyotoCabinet
1507
1508 Some influential environment variables:
1509 CXX C++ compiler command
1510 CXXFLAGS C++ compiler flags
1511 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1512 nonstandard directory <lib dir>
1513 LIBS libraries to pass to the linker, e.g. -l<library>
1514 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1515 you have headers in a nonstandard directory <include dir>
1516 CC C compiler command
1517 CFLAGS C compiler flags
1518 CPP C preprocessor
1519 LT_SYS_LIBRARY_PATH
1520 User-defined run-time library search path.
1521 CXXCPP C++ preprocessor
1522 PKG_CONFIG path to pkg-config utility
1523 PKG_CONFIG_PATH
1524 directories to add to pkg-config's search path
1525 PKG_CONFIG_LIBDIR
1526 path overriding pkg-config's built-in search path
1527 GLIB2_CFLAGS
1528 C compiler flags for GLIB2, overriding pkg-config
1529 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
1530 KYOTOCABINET_CFLAGS
1531 C compiler flags for KYOTOCABINET, overriding pkg-config
1532 KYOTOCABINET_LIBS
1533 linker flags for KYOTOCABINET, overriding pkg-config
1534 TKRZW_CFLAGS
1535 C compiler flags for TKRZW, overriding pkg-config
1536 TKRZW_LIBS linker flags for TKRZW, overriding pkg-config
1537
1538 Use these variables to override the choices made by 'configure' or to help
1539 it to find libraries and programs with nonstandard names/locations.
1540
1541 Report bugs to <https://github.com/libpinyin/libpinyin/issues/new>.
1542 _ACEOF
1543 ac_status=$?
1544 fi
1545
1546 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1547 # If there are subdirs, report their specific --help.
1548 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1549 testscip-shell system . . test. -d "$ac_dir" ||
1550 { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } ||
1551 continue
1552 ac_builddir=.
1553
1554 case "$ac_dir" in
1555 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1556 *)
1557 ac_dir_suffix=/`printfscip-shell system . . printf. "%s\n" "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'`
1558 # A ".." for each directory in $ac_dir_suffix.
1559 ac_top_builddir_sub=`printfscip-shell system . . printf. "%s\n" "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'`
1560 case $ac_top_builddir_sub in
1561 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1563 esac ;;
1564 esac
1565 ac_abs_top_builddir=$ac_pwd
1566 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1567 # for backward compatibility:
1568 ac_top_builddir=$ac_top_build_prefix
1569
1570 case $srcdir in
1571 .) # We are building in place.
1572 ac_srcdir=.
1573 ac_top_srcdir=$ac_top_builddir_sub
1574 ac_abs_top_srcdir=$ac_pwd ;;
1575 [\\/]* | ?:[\\/]* ) # Absolute name.
1576 ac_srcdir=$srcdir$ac_dir_suffix;
1577 ac_top_srcdir=$srcdir
1578 ac_abs_top_srcdir=$srcdir ;;
1579 *) # Relative name.
1580 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1581 ac_top_srcdir=$ac_top_build_prefix$srcdir
1582 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1583 esac
1584 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1585
1586 cd "$ac_dir" || { ac_status=$?; continue; }
1587 # Check for configure.gnu first; this name is used for a wrapper for
1588 # Metaconfig's "Configure" on case-insensitive file systems.
1589 if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then
1590 echoscip-shell system . . echo. &&
1591 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1592 elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then
1593 echoscip-shell system . . echo. &&
1594 $SHELL "$ac_srcdir/configure" --help=recursive
1595 else
1596 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1597 fi || ac_status=$?
1598 cd "$ac_pwd" || { ac_status=$?; break; }
1599 done
1600 fi
1601
1602 testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status
1603 if $ac_init_version; then
1604 catscip-shell system . . cat. <<\_ACEOF
1605 libpinyin configure 2.11.91
1606 generated by GNU Autoconf 2.72
1607
1608 Copyright (C) 2023 Free Software Foundation, Inc.
1609 This configure script is free software; the Free Software Foundation
1610 gives unlimited permission to copy, distribute and modify it.
1611 _ACEOF
1612 exit
1613 fi
1614
1615 ## ------------------------ ##
1616 ## Autoconf initialization. ##
1617 ## ------------------------ ##
1618
1619 # ac_fn_cxx_try_compile LINENO
1620 # ----------------------------
1621 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1622 ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). ()
1623 {
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
1626 if { { ac_try="$ac_compile"
1627 case "(($ac_try" in
1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629 *) ac_try_echo=$ac_try;;
1630 esac
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1633 (eval "$ac_compile") 2>conftest.err
1634 ac_status=$?
1635 if testscip-shell system . . test. -s conftest.err; then
1636 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1637 catscip-shell system . . cat. conftest.er1 >&5
1638 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1639 fi
1640 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 testscip-shell system . . test. $ac_status = 0; } && {
1642 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1643 testscip-shell system . . test. ! -s conftest.err
1644 } && testscip-shell system . . test. -s conftest.$ac_objext
1645 then :
1646 ac_retval=0
1647 else case e in #(
1648 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1649 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1650
1651 ac_retval=1 ;;
1652 esac
1653 fi
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1656
1657 } # ac_fn_cxx_try_compile
1658
1659 # ac_fn_c_try_compile LINENO
1660 # --------------------------
1661 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1662 ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). ()
1663 {
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
1666 if { { ac_try="$ac_compile"
1667 case "(($ac_try" in
1668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669 *) ac_try_echo=$ac_try;;
1670 esac
1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1673 (eval "$ac_compile") 2>conftest.err
1674 ac_status=$?
1675 if testscip-shell system . . test. -s conftest.err; then
1676 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1677 catscip-shell system . . cat. conftest.er1 >&5
1678 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1679 fi
1680 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681 testscip-shell system . . test. $ac_status = 0; } && {
1682 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1683 testscip-shell system . . test. ! -s conftest.err
1684 } && testscip-shell system . . test. -s conftest.$ac_objext
1685 then :
1686 ac_retval=0
1687 else case e in #(
1688 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1689 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1690
1691 ac_retval=1 ;;
1692 esac
1693 fi
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1696
1697 } # ac_fn_c_try_compile
1698
1699 # ac_fn_c_try_cpp LINENO
1700 # ----------------------
1701 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1702 ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). ()
1703 {
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 if { { ac_try="$ac_cpp conftest.$ac_ext"
1706 case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1713 ac_status=$?
1714 if testscip-shell system . . test. -s conftest.err; then
1715 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1716 catscip-shell system . . cat. conftest.er1 >&5
1717 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1718 fi
1719 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 testscip-shell system . . test. $ac_status = 0; } > conftest.i && {
1721 testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1722 testscip-shell system . . test. ! -s conftest.err
1723 }
1724 then :
1725 ac_retval=0
1726 else case e in #(
1727 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1728 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1729
1730 ac_retval=1 ;;
1731 esac
1732 fi
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1735
1736 } # ac_fn_c_try_cpp
1737
1738 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1739 # -------------------------------------------------------
1740 # Tests whether HEADER exists and can be compiled using the include files in
1741 # INCLUDES, setting the cache variable VAR accordingly.
1742 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). ()
1743 {
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1747 if eval test \${$3+y}
1748 then :
1749 printfscip-shell system . . printf. %s "(cached) " >&6
1750 else case e in #(
1751 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1752 /* end confdefs.h. */
1753 $4
1754 #include <$2>
1755 _ACEOF
1756 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
1757 then :
1758 eval "$3=yes"
1759 else case e in #(
1760 e) eval "$3=no" ;;
1761 esac
1762 fi
1763 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1764 esac
1765 fi
1766 eval ac_res=\$$3
1767 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770
1771 } # ac_fn_c_check_header_compile
1772
1773 # ac_fn_c_try_link LINENO
1774 # -----------------------
1775 # Try to link conftest.$ac_ext, and return whether this succeeded.
1776 ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). ()
1777 {
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1780 if { { ac_try="$ac_link"
1781 case "(($ac_try" in
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1787 (eval "$ac_link") 2>conftest.err
1788 ac_status=$?
1789 if testscip-shell system . . test. -s conftest.err; then
1790 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1791 catscip-shell system . . cat. conftest.er1 >&5
1792 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1793 fi
1794 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 testscip-shell system . . test. $ac_status = 0; } && {
1796 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1797 testscip-shell system . . test. ! -s conftest.err
1798 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1799 testscip-shell system . . test. "$cross_compiling" = yes ||
1800 testscip-shell system . . test. -x conftest$ac_exeext
1801 }
1802 then :
1803 ac_retval=0
1804 else case e in #(
1805 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1806 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1807
1808 ac_retval=1 ;;
1809 esac
1810 fi
1811 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1812 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1813 # interfere with the next link command; also delete a directory that is
1814 # left behind by Apple's compiler. We do this before executing the actions.
1815 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1818
1819 } # ac_fn_c_try_link
1820
1821 # ac_fn_c_check_func LINENO FUNC VAR
1822 # ----------------------------------
1823 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1824 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). ()
1825 {
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1828 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1829 if eval test \${$3+y}
1830 then :
1831 printfscip-shell system . . printf. %s "(cached) " >&6
1832 else case e in #(
1833 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1835 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1837 #define $2 innocuous_$2
1838
1839 /* System header to define __stub macros and hopefully few prototypes,
1840 which can conflict with char $2 (void); below. */
1841
1842 #include <limits.h>
1843 #undef $2
1844
1845 /* Override any GCC internal prototype to avoid an error.
1846 Use char because int might match the return type of a GCC
1847 builtin and then its argument prototype would still apply. */
1848 #ifdef __cplusplus
1849 extern "C"
1850 #endif
1851 char $2 (void);
1852 /* The GNU C library defines this for functions which it implements
1853 to always fail with ENOSYS. Some functions are actually named
1854 something starting with __ and the normal name is an alias. */
1855 #if defined __stub_$2 || defined __stub___$2
1856 choke me
1857 #endif
1858
1859 int
1860 main (void)
1861 {
1862 return $2 ();
1863 ;
1864 return 0;
1865 }
1866 _ACEOF
1867 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
1868 then :
1869 eval "$3=yes"
1870 else case e in #(
1871 e) eval "$3=no" ;;
1872 esac
1873 fi
1874 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
1875 conftest$ac_exeext conftest.$ac_ext ;;
1876 esac
1877 fi
1878 eval ac_res=\$$3
1879 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882
1883 } # ac_fn_c_check_func
1884
1885 # ac_fn_cxx_try_cpp LINENO
1886 # ------------------------
1887 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1888 ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). ()
1889 {
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 if { { ac_try="$ac_cpp conftest.$ac_ext"
1892 case "(($ac_try" in
1893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894 *) ac_try_echo=$ac_try;;
1895 esac
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1898 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1899 ac_status=$?
1900 if testscip-shell system . . test. -s conftest.err; then
1901 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1902 catscip-shell system . . cat. conftest.er1 >&5
1903 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1904 fi
1905 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 testscip-shell system . . test. $ac_status = 0; } > conftest.i && {
1907 testscip-shell system . . test. -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1908 testscip-shell system . . test. ! -s conftest.err
1909 }
1910 then :
1911 ac_retval=0
1912 else case e in #(
1913 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1914 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1915
1916 ac_retval=1 ;;
1917 esac
1918 fi
1919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1921
1922 } # ac_fn_cxx_try_cpp
1923
1924 # ac_fn_cxx_try_link LINENO
1925 # -------------------------
1926 # Try to link conftest.$ac_ext, and return whether this succeeded.
1927 ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). ()
1928 {
1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1931 if { { ac_try="$ac_link"
1932 case "(($ac_try" in
1933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1934 *) ac_try_echo=$ac_try;;
1935 esac
1936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1937 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1938 (eval "$ac_link") 2>conftest.err
1939 ac_status=$?
1940 if testscip-shell system . . test. -s conftest.err; then
1941 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1942 catscip-shell system . . cat. conftest.er1 >&5
1943 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1944 fi
1945 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1946 testscip-shell system . . test. $ac_status = 0; } && {
1947 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1948 testscip-shell system . . test. ! -s conftest.err
1949 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1950 testscip-shell system . . test. "$cross_compiling" = yes ||
1951 testscip-shell system . . test. -x conftest$ac_exeext
1952 }
1953 then :
1954 ac_retval=0
1955 else case e in #(
1956 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1957 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1958
1959 ac_retval=1 ;;
1960 esac
1961 fi
1962 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1963 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1964 # interfere with the next link command; also delete a directory that is
1965 # left behind by Apple's compiler. We do this before executing the actions.
1966 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1969
1970 } # ac_fn_cxx_try_link
1971
1972 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1973 # -------------------------------------------
1974 # Tests whether TYPE exists after having included INCLUDES, setting cache
1975 # variable VAR accordingly.
1976 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). ()
1977 {
1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1980 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1981 if eval test \${$3+y}
1982 then :
1983 printfscip-shell system . . printf. %s "(cached) " >&6
1984 else case e in #(
1985 e) eval "$3=no"
1986 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1988 $4
1989 int
1990 main (void)
1991 {
1992 if (sizeof ($2))
1993 return 0;
1994 ;
1995 return 0;
1996 }
1997 _ACEOF
1998 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
1999 then :
2000 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2002 $4
2003 int
2004 main (void)
2005 {
2006 if (sizeof (($2)))
2007 return 0;
2008 ;
2009 return 0;
2010 }
2011 _ACEOF
2012 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
2013 then :
2014
2015 else case e in #(
2016 e) eval "$3=yes" ;;
2017 esac
2018 fi
2019 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2020 fi
2021 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2022 esac
2023 fi
2024 eval ac_res=\$$3
2025 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2026 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028
2029 } # ac_fn_c_check_type
2030
2031 # ac_fn_c_try_run LINENO
2032 # ----------------------
2033 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2034 # executables *can* be run.
2035 ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). ()
2036 {
2037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038 if { { ac_try="$ac_link"
2039 case "(($ac_try" in
2040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2041 *) ac_try_echo=$ac_try;;
2042 esac
2043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2044 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2045 (eval "$ac_link") 2>&5
2046 ac_status=$?
2047 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2048 testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2049 { { case "(($ac_try" in
2050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2051 *) ac_try_echo=$ac_try;;
2052 esac
2053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2054 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2055 (eval "$ac_try") 2>&5
2056 ac_status=$?
2057 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2058 testscip-shell system . . test. $ac_status = 0; }; }
2059 then :
2060 ac_retval=0
2061 else case e in #(
2062 e) printfscip-shell system . . printf. "%s\n" "$as_me: program exited with status $ac_status" >&5
2063 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
2064 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2065
2066 ac_retval=$ac_status ;;
2067 esac
2068 fi
2069 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
2070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2071 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
2072
2073 } # ac_fn_c_try_run
2074 ac_configure_args_raw=
2075 for ac_arg
2076 do
2077 case $ac_arg in
2078 *\'*)
2079 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2080 esac
2081 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args_raw " '$ac_arg'"
2082 done
2083
2084 case $ac_configure_args_raw in
2085 *$as_nl*)
2086 ac_safe_unquote= ;;
2087 *)
2088 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2089 ac_unsafe_a="$ac_unsafe_z#~"
2090 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2091 ac_configure_args_raw=` printfscip-shell system . . printf. "%s\n" "$ac_configure_args_raw" | sedscip-shell system . . sed. "$ac_safe_unquote"`;;
2092 esac
2093
2094 catscip-shell system . . cat. >config.log <<_ACEOF
2095 This file contains any messages produced by compilers while
2096 running configure, to aid debugging if configure makes a mistake.
2097
2098 It was created by libpinyin $as_me 2.11.91, which was
2099 generated by GNU Autoconf 2.72. Invocation command line was
2100
2101 $ $0$ac_configure_args_raw
2102
2103 _ACEOF
2104 exec 5>>config.log
2105 {
2106 catscip-shell system . . cat. <<_ASUNAME
2107 ## --------- ##
2108 ## Platform. ##
2109 ## --------- ##
2110
2111 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
2112 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2113 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2114 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2115 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2116
2117 /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`
2118 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2119
2120 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2121 /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`
2122 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2123 /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2124 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2125 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2126 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2127
2128 _ASUNAME
2129
2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131 for as_dir in $PATH
2132 do
2133 IFS=$as_save_IFS
2134 case $as_dir in #(((
2135 '') as_dir=./ ;;
2136 */) ;;
2137 *) as_dir=$as_dir/ ;;
2138 esac
2139 printfscip-shell system . . printf. "%s\n" "PATH: $as_dir"
2140 done
2141 IFS=$as_save_IFS
2142
2143 } >&5
2144
2145 catscip-shell system . . cat. >&5 <<_ACEOF
2146
2147
2148 ## ----------- ##
2149 ## Core tests. ##
2150 ## ----------- ##
2151
2152 _ACEOF
2153
2154
2155 # Keep a trace of the command line.
2156 # Strip out --no-create and --no-recursion so they do not pile up.
2157 # Strip out --silent because we don't want to record it for future runs.
2158 # Also quote any args containing shell meta-characters.
2159 # Make two passes to allow for proper duplicate-argument suppression.
2160 ac_configure_args=
2161 ac_configure_args0=
2162 ac_configure_args1=
2163 ac_must_keep_next=false
2164 for ac_pass in 1 2
2165 do
2166 for ac_arg
2167 do
2168 case $ac_arg in
2169 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2171 | -silent | --silent | --silen | --sile | --sil)
2172 continue ;;
2173 *\'*)
2174 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2175 esac
2176 case $ac_pass in
2177 1) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;;
2178 2)
2179 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args1 " '$ac_arg'"
2180 if testscip-shell system . . test. $ac_must_keep_next = true; then
2181 ac_must_keep_next=false # Got value, back to normal.
2182 else
2183 case $ac_arg in
2184 *=* | --config-cache | -C | -disable-* | --disable-* \
2185 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2186 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2187 | -with-* | --with-* | -without-* | --without-* | --x)
2188 case "$ac_configure_args0 " in
2189 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2190 esac
2191 ;;
2192 -* ) ac_must_keep_next=true ;;
2193 esac
2194 fi
2195 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args " '$ac_arg'"
2196 ;;
2197 esac
2198 done
2199 done
2200 { ac_configure_args0=; unset ac_configure_args0;}
2201 { ac_configure_args1=; unset ac_configure_args1;}
2202
2203 # When interrupted or exit'd, cleanup temporary files, and complete
2204 # config.log. We remove comments because anyway the quotes in there
2205 # would cause problems or look ugly.
2206 # WARNING: Use '\'' to represent an apostrophe within the trap.
2207 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2208 trap 'exit_status=$?
2209 # Sanitize IFS.
2210 IFS=" "" $as_nl"
2211 # Save into config.log some information that might help in debugging.
2212 {
2213 echo
2214
2215 printf "%s\n" "## ---------------- ##
2216 ## Cache variables. ##
2217 ## ---------------- ##"
2218 echo
2219 # The following way of writing the cache mishandles newlines in values,
2220 (
2221 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2222 eval ac_val=\$$ac_var
2223 case $ac_val in #(
2224 *${as_nl}*)
2225 case $ac_var in #(
2226 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2227 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2228 esac
2229 case $ac_var in #(
2230 _ | IFS | as_nl) ;; #(
2231 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2232 *) { eval $ac_var=; unset $ac_var;} ;;
2233 esac ;;
2234 esac
2235 done
2236 (set) 2>&1 |
2237 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2238 *${as_nl}ac_space=\ *)
2239 sed -n \
2240 "s/'\''/'\''\\\\'\'''\''/g;
2241 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2242 ;; #(
2243 *)
2244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2245 ;;
2246 esac |
2247 sort
2248 )
2249 echo
2250
2251 printf "%s\n" "## ----------------- ##
2252 ## Output variables. ##
2253 ## ----------------- ##"
2254 echo
2255 for ac_var in $ac_subst_vars
2256 do
2257 eval ac_val=\$$ac_var
2258 case $ac_val in
2259 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2260 esac
2261 printf "%s\n" "$ac_var='\''$ac_val'\''"
2262 done | sort
2263 echo
2264
2265 if test -n "$ac_subst_files"; then
2266 printf "%s\n" "## ------------------- ##
2267 ## File substitutions. ##
2268 ## ------------------- ##"
2269 echo
2270 for ac_var in $ac_subst_files
2271 do
2272 eval ac_val=\$$ac_var
2273 case $ac_val in
2274 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2275 esac
2276 printf "%s\n" "$ac_var='\''$ac_val'\''"
2277 done | sort
2278 echo
2279 fi
2280
2281 if test -s confdefs.h; then
2282 printf "%s\n" "## ----------- ##
2283 ## confdefs.h. ##
2284 ## ----------- ##"
2285 echo
2286 cat confdefs.h
2287 echo
2288 fi
2289 test "$ac_signal" != 0 &&
2290 printf "%s\n" "$as_me: caught signal $ac_signal"
2291 printf "%s\n" "$as_me: exit $exit_status"
2292 } >&5
2293 rm -f core *.core core.conftest.* &&
2294 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2295 exit $exit_status
2296 ' 0
2297 for ac_signal in 1 2 13 15; do
2298 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2299 done
2300 ac_signal=0
2301
2302 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2303 rmscip-shell system . . rm. -f -r conftest* confdefs.h
2304
2305 printfscip-shell system . . printf. "%s\n" "/* confdefs.h */" > confdefs.h
2306
2307 # Predefined preprocessor variables.
2308
2309 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2310
2311 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2312
2313 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2314
2315 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2316
2317 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2318
2319 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2320
2321
2322 # Let the site file select an alternate cache file if it wants to.
2323 # Prefer an explicitly selected file to automatically selected ones.
2324 if testscip-shell system . . test. -n "$CONFIG_SITE"; then
2325 ac_site_files="$CONFIG_SITE"
2326 elif testscip-shell system . . test. "x$prefix" != xNONE; then
2327 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2328 else
2329 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2330 fi
2331
2332 for ac_site_file in $ac_site_files
2333 do
2334 case $ac_site_file in #(
2335 */*) :
2336 ;; #(
2337 *) :
2338 ac_site_file=./$ac_site_file ;;
2339 esac
2340 if testscip-shell system . . test. -f "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then
2341 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2342 printfscip-shell system . . printf. "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2343 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
2344 . "$ac_site_file" \
2345 || { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2346 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2347 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "failed to load site script $ac_site_file
2348 See 'config.log' for more details" "$LINENO" 5; }
2349 fi
2350 done
2351
2352 if testscip-shell system . . test. -r "$cache_file"; then
2353 # Some versions of bash will fail to source /dev/null (special files
2354 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2355 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then
2356 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2357 printfscip-shell system . . printf. "%s\n" "$as_me: loading cache $cache_file" >&6;}
2358 case $cache_file in
2359 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2360 *) . "./$cache_file";;
2361 esac
2362 fi
2363 else
2364 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2365 printfscip-shell system . . printf. "%s\n" "$as_me: creating cache $cache_file" >&6;}
2366 >$cache_file
2367 fi
2368
2369 # Test code for whether the C++ compiler supports C++98 (global declarations)
2370 ac_cxx_conftest_cxx98_globals='
2371 // Does the compiler advertise C++98 conformance?
2372 #if !defined __cplusplus || __cplusplus < 199711L
2373 # error "Compiler does not advertise C++98 conformance"
2374 #endif
2375
2376 // These inclusions are to reject old compilers that
2377 // lack the unsuffixed header files.
2378 #include <cstdlib>
2379 #include <exception>
2380
2381 // <cassert> and <cstring> are *not* freestanding headers in C++98.
2382 extern void assert (int);
2383 namespace std {
2384 extern int strcmp (const char *, const char *);
2385 }
2386
2387 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
2388 using std::exception;
2389 using std::strcmp;
2390
2391 namespace {
2392
2393 void test_exception_syntax()
2394 {
2395 try {
2396 throw "test";
2397 } catch (const char *s) {
2398 // Extra parentheses suppress a warning when building autoconf itself,
2399 // due to lint rules shared with more typical C programs.
2400 assert (!(strcmp) (s, "test"));
2401 }
2402 }
2403
2404 template <typename T> struct test_template
2405 {
2406 T const val;
2407 explicit test_template(T t) : val(t) {}
2408 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2409 };
2410
2411 } // anonymous namespace
2412 '
2413
2414 # Test code for whether the C++ compiler supports C++98 (body of main)
2415 ac_cxx_conftest_cxx98_main='
2416 assert (argc);
2417 assert (! argv[0]);
2418 {
2419 test_exception_syntax ();
2420 test_template<double> tt (2.0);
2421 assert (tt.add (4) == 6.0);
2422 assert (true && !false);
2423 }
2424 '
2425
2426 # Test code for whether the C++ compiler supports C++11 (global declarations)
2427 ac_cxx_conftest_cxx11_globals='
2428 // Does the compiler advertise C++ 2011 conformance?
2429 #if !defined __cplusplus || __cplusplus < 201103L
2430 # error "Compiler does not advertise C++11 conformance"
2431 #endif
2432
2433 namespace cxx11test
2434 {
2435 constexpr int get_val() { return 20; }
2436
2437 struct testinit
2438 {
2439 int i;
2440 double d;
2441 };
2442
2443 class delegate
2444 {
2445 public:
2446 delegate(int n) : n(n) {}
2447 delegate(): delegate(2354) {}
2448
2449 virtual int getval() { return this->n; };
2450 protected:
2451 int n;
2452 };
2453
2454 class overridden : public delegate
2455 {
2456 public:
2457 overridden(int n): delegate(n) {}
2458 virtual int getval() override final { return this->n * 2; }
2459 };
2460
2461 class nocopy
2462 {
2463 public:
2464 nocopy(int i): i(i) {}
2465 nocopy() = default;
2466 nocopy(const nocopy&) = delete;
2467 nocopy & operator=(const nocopy&) = delete;
2468 private:
2469 int i;
2470 };
2471
2472 // for testing lambda expressions
2473 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2474 {
2475 return f(v);
2476 }
2477
2478 // for testing variadic templates and trailing return types
2479 template <typename V> auto sum(V first) -> V
2480 {
2481 return first;
2482 }
2483 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
2484 {
2485 return first + sum(rest...);
2486 }
2487 }
2488 '
2489
2490 # Test code for whether the C++ compiler supports C++11 (body of main)
2491 ac_cxx_conftest_cxx11_main='
2492 {
2493 // Test auto and decltype
2494 auto a1 = 6538;
2495 auto a2 = 48573953.4;
2496 auto a3 = "String literal";
2497
2498 int total = 0;
2499 for (auto i = a3; *i; ++i) { total += *i; }
2500
2501 decltype(a2) a4 = 34895.034;
2502 }
2503 {
2504 // Test constexpr
2505 short sa[cxx11test::get_val()] = { 0 };
2506 }
2507 {
2508 // Test initializer lists
2509 cxx11test::testinit il = { 4323, 435234.23544 };
2510 }
2511 {
2512 // Test range-based for
2513 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
2514 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
2515 for (auto &x : array) { x += 23; }
2516 }
2517 {
2518 // Test lambda expressions
2519 using cxx11test::eval;
2520 assert (eval ([](int x) { return x*2; }, 21) == 42);
2521 double d = 2.0;
2522 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
2523 assert (d == 5.0);
2524 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
2525 assert (d == 5.0);
2526 }
2527 {
2528 // Test use of variadic templates
2529 using cxx11test::sum;
2530 auto a = sum(1);
2531 auto b = sum(1, 2);
2532 auto c = sum(1.0, 2.0, 3.0);
2533 }
2534 {
2535 // Test constructor delegation
2536 cxx11test::delegate d1;
2537 cxx11test::delegate d2();
2538 cxx11test::delegate d3(45);
2539 }
2540 {
2541 // Test override and final
2542 cxx11test::overridden o1(55464);
2543 }
2544 {
2545 // Test nullptr
2546 char *c = nullptr;
2547 }
2548 {
2549 // Test template brackets
2550 test_template<::test_template<int>> v(test_template<int>(12));
2551 }
2552 {
2553 // Unicode literals
2554 char const *utf8 = u8"UTF-8 string \u2500";
2555 char16_t const *utf16 = u"UTF-8 string \u2500";
2556 char32_t const *utf32 = U"UTF-32 string \u2500";
2557 }
2558 '
2559
2560 # Test code for whether the C compiler supports C++11 (complete).
2561 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
2562 ${ac_cxx_conftest_cxx11_globals}
2563
2564 int
2565 main (int argc, char **argv)
2566 {
2567 int ok = 0;
2568 ${ac_cxx_conftest_cxx98_main}
2569 ${ac_cxx_conftest_cxx11_main}
2570 return ok;
2571 }
2572 "
2573
2574 # Test code for whether the C compiler supports C++98 (complete).
2575 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
2576 int
2577 main (int argc, char **argv)
2578 {
2579 int ok = 0;
2580 ${ac_cxx_conftest_cxx98_main}
2581 return ok;
2582 }
2583 "
2584
2585 # Test code for whether the C compiler supports C89 (global declarations)
2586 ac_c_conftest_c89_globals='
2587 /* Does the compiler advertise C89 conformance?
2588 Do not test the value of __STDC__, because some compilers set it to 0
2589 while being otherwise adequately conformant. */
2590 #if !defined __STDC__
2591 # error "Compiler does not advertise C89 conformance"
2592 #endif
2593
2594 #include <stddef.h>
2595 #include <stdarg.h>
2596 struct stat;
2597 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2598 struct buf { int x; };
2599 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2600 static char *e (char **p, int i)
2601 {
2602 return p[i];
2603 }
2604 static char *f (char * (*g) (char **, int), char **p, ...)
2605 {
2606 char *s;
2607 va_list v;
2608 va_start (v,p);
2609 s = g (p, va_arg (v,int));
2610 va_end (v);
2611 return s;
2612 }
2613
2614 /* C89 style stringification. */
2615 #define noexpand_stringify(a) #a
2616 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2617
2618 /* C89 style token pasting. Exercises some of the corner cases that
2619 e.g. old MSVC gets wrong, but not very hard. */
2620 #define noexpand_concat(a,b) a##b
2621 #define expand_concat(a,b) noexpand_concat(a,b)
2622 extern int vA;
2623 extern int vbee;
2624 #define aye A
2625 #define bee B
2626 int *pvA = &expand_concat(v,aye);
2627 int *pvbee = &noexpand_concat(v,bee);
2628
2629 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2630 function prototypes and stuff, but not \xHH hex character constants.
2631 These do not provoke an error unfortunately, instead are silently treated
2632 as an "x". The following induces an error, until -std is added to get
2633 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2634 array size at least. It is necessary to write \x00 == 0 to get something
2635 that is true only with -std. */
2636 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2637
2638 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2639 inside strings and character constants. */
2640 #define FOO(x) '\''x'\''
2641 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2642
2643 int test (int i, double x);
2644 struct s1 {int (*f) (int a);};
2645 struct s2 {int (*f) (double a);};
2646 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2647 int, int);'
2648
2649 # Test code for whether the C compiler supports C89 (body of main).
2650 ac_c_conftest_c89_main='
2651 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2652 '
2653
2654 # Test code for whether the C compiler supports C99 (global declarations)
2655 ac_c_conftest_c99_globals='
2656 /* Does the compiler advertise C99 conformance? */
2657 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2658 # error "Compiler does not advertise C99 conformance"
2659 #endif
2660
2661 // See if C++-style comments work.
2662
2663 #include <stdbool.h>
2664 extern int puts (const char *);
2665 extern int printf (const char *, ...);
2666 extern int dprintf (int, const char *, ...);
2667 extern void *malloc (size_t);
2668 extern void free (void *);
2669
2670 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2671 // dprintf is used instead of fprintf to avoid needing to declare
2672 // FILE and stderr.
2673 #define debug(...) dprintf (2, __VA_ARGS__)
2674 #define showlist(...) puts (#__VA_ARGS__)
2675 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2676 static void
2677 test_varargs_macros (void)
2678 {
2679 int x = 1234;
2680 int y = 5678;
2681 debug ("Flag");
2682 debug ("X = %d\n", x);
2683 showlist (The first, second, and third items.);
2684 report (x>y, "x is %d but y is %d", x, y);
2685 }
2686
2687 // Check long long types.
2688 #define BIG64 18446744073709551615ull
2689 #define BIG32 4294967295ul
2690 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2691 #if !BIG_OK
2692 #error "your preprocessor is broken"
2693 #endif
2694 #if BIG_OK
2695 #else
2696 #error "your preprocessor is broken"
2697 #endif
2698 static long long int bignum = -9223372036854775807LL;
2699 static unsigned long long int ubignum = BIG64;
2700
2701 struct incomplete_array
2702 {
2703 int datasize;
2704 double data[];
2705 };
2706
2707 struct named_init {
2708 int number;
2709 const wchar_t *name;
2710 double average;
2711 };
2712
2713 typedef const char *ccp;
2714
2715 static inline int
2716 test_restrict (ccp restrict text)
2717 {
2718 // Iterate through items via the restricted pointer.
2719 // Also check for declarations in for loops.
2720 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2721 continue;
2722 return 0;
2723 }
2724
2725 // Check varargs and va_copy.
2726 static bool
2727 test_varargs (const char *format, ...)
2728 {
2729 va_list args;
2730 va_start (args, format);
2731 va_list args_copy;
2732 va_copy (args_copy, args);
2733
2734 const char *str = "";
2735 int number = 0;
2736 float fnumber = 0;
2737
2738 while (*format)
2739 {
2740 switch (*format++)
2741 {
2742 case '\''s'\'': // string
2743 str = va_arg (args_copy, const char *);
2744 break;
2745 case '\''d'\'': // int
2746 number = va_arg (args_copy, int);
2747 break;
2748 case '\''f'\'': // float
2749 fnumber = va_arg (args_copy, double);
2750 break;
2751 default:
2752 break;
2753 }
2754 }
2755 va_end (args_copy);
2756 va_end (args);
2757
2758 return *str && number && fnumber;
2759 }
2760 '
2761
2762 # Test code for whether the C compiler supports C99 (body of main).
2763 ac_c_conftest_c99_main='
2764 // Check bool.
2765 _Bool success = false;
2766 success |= (argc != 0);
2767
2768 // Check restrict.
2769 if (test_restrict ("String literal") == 0)
2770 success = true;
2771 char *restrict newvar = "Another string";
2772
2773 // Check varargs.
2774 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2775 test_varargs_macros ();
2776
2777 // Check flexible array members.
2778 struct incomplete_array *ia =
2779 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2780 ia->datasize = 10;
2781 for (int i = 0; i < ia->datasize; ++i)
2782 ia->data[i] = i * 1.234;
2783 // Work around memory leak warnings.
2784 free (ia);
2785
2786 // Check named initializers.
2787 struct named_init ni = {
2788 .number = 34,
2789 .name = L"Test wide string",
2790 .average = 543.34343,
2791 };
2792
2793 ni.number = 58;
2794
2795 int dynamic_array[ni.number];
2796 dynamic_array[0] = argv[0][0];
2797 dynamic_array[ni.number - 1] = 543;
2798
2799 // work around unused variable warnings
2800 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2801 || dynamic_array[ni.number - 1] != 543);
2802 '
2803
2804 # Test code for whether the C compiler supports C11 (global declarations)
2805 ac_c_conftest_c11_globals='
2806 /* Does the compiler advertise C11 conformance? */
2807 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2808 # error "Compiler does not advertise C11 conformance"
2809 #endif
2810
2811 // Check _Alignas.
2812 char _Alignas (double) aligned_as_double;
2813 char _Alignas (0) no_special_alignment;
2814 extern char aligned_as_int;
2815 char _Alignas (0) _Alignas (int) aligned_as_int;
2816
2817 // Check _Alignof.
2818 enum
2819 {
2820 int_alignment = _Alignof (int),
2821 int_array_alignment = _Alignof (int[100]),
2822 char_alignment = _Alignof (char)
2823 };
2824 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2825
2826 // Check _Noreturn.
2827 int _Noreturn does_not_return (void) { for (;;) continue; }
2828
2829 // Check _Static_assert.
2830 struct test_static_assert
2831 {
2832 int x;
2833 _Static_assert (sizeof (int) <= sizeof (long int),
2834 "_Static_assert does not work in struct");
2835 long int y;
2836 };
2837
2838 // Check UTF-8 literals.
2839 #define u8 syntax error!
2840 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2841
2842 // Check duplicate typedefs.
2843 typedef long *long_ptr;
2844 typedef long int *long_ptr;
2845 typedef long_ptr long_ptr;
2846
2847 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2848 struct anonymous
2849 {
2850 union {
2851 struct { int i; int j; };
2852 struct { int k; long int l; } w;
2853 };
2854 int m;
2855 } v1;
2856 '
2857
2858 # Test code for whether the C compiler supports C11 (body of main).
2859 ac_c_conftest_c11_main='
2860 _Static_assert ((offsetof (struct anonymous, i)
2861 == offsetof (struct anonymous, w.k)),
2862 "Anonymous union alignment botch");
2863 v1.i = 2;
2864 v1.w.k = 5;
2865 ok |= v1.i != 5;
2866 '
2867
2868 # Test code for whether the C compiler supports C11 (complete).
2869 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2870 ${ac_c_conftest_c99_globals}
2871 ${ac_c_conftest_c11_globals}
2872
2873 int
2874 main (int argc, char **argv)
2875 {
2876 int ok = 0;
2877 ${ac_c_conftest_c89_main}
2878 ${ac_c_conftest_c99_main}
2879 ${ac_c_conftest_c11_main}
2880 return ok;
2881 }
2882 "
2883
2884 # Test code for whether the C compiler supports C99 (complete).
2885 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2886 ${ac_c_conftest_c99_globals}
2887
2888 int
2889 main (int argc, char **argv)
2890 {
2891 int ok = 0;
2892 ${ac_c_conftest_c89_main}
2893 ${ac_c_conftest_c99_main}
2894 return ok;
2895 }
2896 "
2897
2898 # Test code for whether the C compiler supports C89 (complete).
2899 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2900
2901 int
2902 main (int argc, char **argv)
2903 {
2904 int ok = 0;
2905 ${ac_c_conftest_c89_main}
2906 return ok;
2907 }
2908 "
2909
2910 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2911 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2912 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " string.h string_h HAVE_STRING_H"
2913 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2914 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2915 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2916 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"
2917 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"
2918 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2919 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2920 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"
2921 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H"
2922 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
2923 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
2924
2925 # Auxiliary files required by this configure script.
2926 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
2927
2928 # Locations in which to look for auxiliary files.
2929 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2930
2931 # Search for a directory containing all of the required auxiliary files,
2932 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2933 # If we don't find one directory that contains all the files we need,
2934 # we report the set of missing files from the *first* directory in
2935 # $ac_aux_dir_candidates and give up.
2936 ac_missing_aux_files=""
2937 ac_first_candidate=:
2938 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940 as_found=false
2941 for as_dir in $ac_aux_dir_candidates
2942 do
2943 IFS=$as_save_IFS
2944 case $as_dir in #(((
2945 '') as_dir=./ ;;
2946 */) ;;
2947 *) as_dir=$as_dir/ ;;
2948 esac
2949 as_found=:
2950
2951 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2952 ac_aux_dir_found=yes
2953 ac_install_sh=
2954 for ac_aux in $ac_aux_files
2955 do
2956 # As a special case, if "install-sh" is required, that requirement
2957 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2958 # and $ac_install_sh is set appropriately for whichever one is found.
2959 if testscip-shell system . . test. x"$ac_aux" = x"install-sh"
2960 then
2961 if testscip-shell system . . test. -f "${as_dir}install-sh"; then
2962 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2963 ac_install_sh="${as_dir}install-sh -c"
2964 elif testscip-shell system . . test. -f "${as_dir}install.sh"; then
2965 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2966 ac_install_sh="${as_dir}install.sh -c"
2967 elif testscip-shell system . . test. -f "${as_dir}shtool"; then
2968 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2969 ac_install_sh="${as_dir}shtool install -c"
2970 else
2971 ac_aux_dir_found=no
2972 if $ac_first_candidate; then
2973 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2974 else
2975 break
2976 fi
2977 fi
2978 else
2979 if testscip-shell system . . test. -f "${as_dir}${ac_aux}"; then
2980 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2981 else
2982 ac_aux_dir_found=no
2983 if $ac_first_candidate; then
2984 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2985 else
2986 break
2987 fi
2988 fi
2989 fi
2990 done
2991 if testscip-shell system . . test. "$ac_aux_dir_found" = yes; then
2992 ac_aux_dir="$as_dir"
2993 break
2994 fi
2995 ac_first_candidate=false
2996
2997 as_found=false
2998 done
2999 IFS=$as_save_IFS
3000 if $as_found
3001 then :
3002
3003 else case e in #(
3004 e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
3005 esac
3006 fi
3007
3008
3009 # These three variables are undocumented and unsupported,
3010 # and are intended to be withdrawn in a future Autoconf release.
3011 # They can cause serious problems if a builder's source tree is in a directory
3012 # whose full name contains unusual characters.
3013 if testscip-shell system . . test. -f "${ac_aux_dir}config.guess"; then
3014 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3015 fi
3016 if testscip-shell system . . test. -f "${ac_aux_dir}config.sub"; then
3017 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3018 fi
3019 if testscip-shell system . . test. -f "$ac_aux_dir/configure"; then
3020 ac_configure="$SHELL ${ac_aux_dir}configure"
3021 fi
3022
3023 # Check that the precious variables saved in the cache have kept the same
3024 # value.
3025 ac_cache_corrupted=false
3026 for ac_var in $ac_precious_vars; do
3027 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3028 eval ac_new_set=\$ac_env_${ac_var}_set
3029 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3030 eval ac_new_val=\$ac_env_${ac_var}_value
3031 case $ac_old_set,$ac_new_set in
3032 set,)
3033 { 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
3034 printfscip-shell system . . printf. "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
3035 ac_cache_corrupted=: ;;
3036 ,set)
3037 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
3038 printfscip-shell system . . printf. "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
3039 ac_cache_corrupted=: ;;
3040 ,);;
3041 *)
3042 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
3043 # differences in whitespace do not lead to failure.
3044 ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val`
3045 ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val`
3046 if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then
3047 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
3048 printfscip-shell system . . printf. "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
3049 ac_cache_corrupted=:
3050 else
3051 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
3052 printfscip-shell system . . printf. "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
3053 eval $ac_var=\$ac_old_val
3054 fi
3055 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
3056 printfscip-shell system . . printf. "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
3057 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
3058 printfscip-shell system . . printf. "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
3059 fi;;
3060 esac
3061 # Pass precious variables to config.status.
3062 if testscip-shell system . . test. "$ac_new_set" = set; then
3063 case $ac_new_val in
3064 *\'*) ac_arg=$ac_var=`printfscip-shell system . . printf. "%s\n" "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
3065 *) ac_arg=$ac_var=$ac_new_val ;;
3066 esac
3067 case " $ac_configure_args " in
3068 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3069 *) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args " '$ac_arg'" ;;
3070 esac
3071 fi
3072 done
3073 if $ac_cache_corrupted; then
3074 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3075 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3076 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3077 printfscip-shell system . . printf. "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3078 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
3079 and start over" "$LINENO" 5
3080 fi
3081 ## -------------------- ##
3082 ## Main body of script. ##
3083 ## -------------------- ##
3084
3085 ac_ext=c
3086 ac_cpp='$CPP $CPPFLAGS'
3087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3090
3091
3092 am__api_version='1.18'
3093
3094
3095
3096 # Find a good install program. We prefer a C program (faster),
3097 # so one script is as good as another. But avoid the broken or
3098 # incompatible versions:
3099 # SysV /etc/install, /usr/sbin/install
3100 # SunOS /usr/etc/install
3101 # IRIX /sbin/install
3102 # AIX /bin/install
3103 # AmigaOS /C/install, which installs bootblocks on floppy discs
3104 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3105 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3106 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3107 # OS/2's system install, which has a completely different semantic
3108 # ./install, which can be erroneously created by make from ./install.sh.
3109 # Reject install programs that cannot install multiple files.
3110 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3111 printfscip-shell system . . printf. %s "checking for a BSD-compatible install... " >&6; }
3112 if testscip-shell system . . test. -z "$INSTALL"; then
3113 if testscip-shell system . . test. ${ac_cv_path_install+y}
3114 then :
3115 printfscip-shell system . . printf. %s "(cached) " >&6
3116 else case e in #(
3117 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118 for as_dir in $PATH
3119 do
3120 IFS=$as_save_IFS
3121 case $as_dir in #(((
3122 '') as_dir=./ ;;
3123 */) ;;
3124 *) as_dir=$as_dir/ ;;
3125 esac
3126 # Account for fact that we put trailing slashes in our PATH walk.
3127 case $as_dir in #((
3128 ./ | /[cC]/* | \
3129 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3130 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3131 /usr/ucb/* ) ;;
3132 *)
3133 # OSF1 and SCO ODT 3.0 have their own names for install.
3134 # Don't use installbsd from OSF since it installs stuff as root
3135 # by default.
3136 for ac_prog in ginstall scoinst install; do
3137 for ac_exec_ext in '' $ac_executable_extensions; do
3138 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext"; then
3139 if testscip-shell system . . test. $ac_prog = install &&
3140 grepscip-shell system . . grep. dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3141 # AIX install. It has an incompatible calling convention.
3142 :
3143 elif testscip-shell system . . test. $ac_prog = install &&
3144 grepscip-shell system . . grep. pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3145 # program-specific install script used by HP pwplus--don't use.
3146 :
3147 else
3148 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
3149 echoscip-shell system . . echo. one > conftest.one
3150 echoscip-shell system . . echo. two > conftest.two
3151 mkdirscip-shell system . . mkdir. conftest.dir
3152 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir/" &&
3153 testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two &&
3154 testscip-shell system . . test. -s conftest.dir/conftest.one &&
3155 testscip-shell system . . test. -s conftest.dir/conftest.two
3156 then
3157 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3158 break 3
3159 fi
3160 fi
3161 fi
3162 done
3163 done
3164 ;;
3165 esac
3166
3167 done
3168 IFS=$as_save_IFS
3169
3170 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
3171 ;;
3172 esac
3173 fi
3174 if testscip-shell system . . test. ${ac_cv_path_install+y}; then
3175 INSTALL=$ac_cv_path_install
3176 else
3177 # As a last resort, use the slow shell script. Don't cache a
3178 # value for INSTALL within a source directory, because that will
3179 # break other packages using the cache if that directory is
3180 # removed, or if the value is a relative name.
3181 INSTALL=$ac_install_sh
3182 fi
3183 fi
3184 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3185 printfscip-shell system . . printf. "%s\n" "$INSTALL" >&6; }
3186
3187 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3188 # It thinks the first close brace ends the variable substitution.
3189 testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3190
3191 testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3192
3193 testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3194
3195 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
3196 printfscip-shell system . . printf. %s "checking whether sleep supports fractional seconds... " >&6; }
3197 if testscip-shell system . . test. ${am_cv_sleep_fractional_seconds+y}
3198 then :
3199 printfscip-shell system . . printf. %s "(cached) " >&6
3200 else case e in #(
3201 e) if sleepscip-shell system . . sleep. 0.001 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3202 then :
3203 am_cv_sleep_fractional_seconds=yes
3204 else case e in #(
3205 e) am_cv_sleep_fractional_seconds=no ;;
3206 esac
3207 fi
3208 ;;
3209 esac
3210 fi
3211 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
3212 printfscip-shell system . . printf. "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
3213
3214 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
3215 printfscip-shell system . . printf. %s "checking filesystem timestamp resolution... " >&6; }
3216 if testscip-shell system . . test. ${am_cv_filesystem_timestamp_resolution+y}
3217 then :
3218 printfscip-shell system . . printf. %s "(cached) " >&6
3219 else case e in #(
3220 e) # Default to the worst case.
3221 am_cv_filesystem_timestamp_resolution=2
3222
3223 # Only try to go finer than 1 sec if sleep can do it.
3224 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
3225 # - 1 sec is not much of a win compared to 2 sec, and
3226 # - it takes 2 seconds to perform the test whether 1 sec works.
3227 #
3228 # Instead, just use the default 2s on platforms that have 1s resolution,
3229 # accept the extra 1s delay when using $sleep in the Automake tests, in
3230 # exchange for not incurring the 2s delay for running the test for all
3231 # packages.
3232 #
3233 am_try_resolutions=
3234 if testscip-shell system . . test. "$am_cv_sleep_fractional_seconds" = yes; then
3235 # Even a millisecond often causes a bunch of false positives,
3236 # so just try a hundredth of a second. The time saved between .001 and
3237 # .01 is not terribly consequential.
3238 am_try_resolutions="0.01 0.1 $am_try_resolutions"
3239 fi
3240
3241 # In order to catch current-generation FAT out, we must *modify* files
3242 # that already exist; the *creation* timestamp is finer. Use names
3243 # that make ls -t sort them differently when they have equal
3244 # timestamps than when they have distinct timestamps, keeping
3245 # in mind that ls -t prints the *newest* file first.
3246 rmscip-shell system . . rm. -f conftest.ts?
3247 : > conftest.ts1
3248 : > conftest.ts2
3249 : > conftest.ts3
3250
3251 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
3252 # clobber the current shell's arguments. (Outer-level square brackets
3253 # are removed by m4; they're present so that m4 does not expand
3254 # <dollar><star>; be careful, easy to get confused.)
3255 if (
3256 set X `lsscip-shell system . . ls. -t conftest.ts[12]` &&
3257 {
3258 testscip-shell system . . test. "$*" != "X conftest.ts1 conftest.ts2" ||
3259 testscip-shell system . . test. "$*" != "X conftest.ts2 conftest.ts1";
3260 }
3261 ); then :; else
3262 # If neither matched, then we have a broken ls. This can happen
3263 # if, for instance, CONFIG_SHELL is bash and it inherits a
3264 # broken ls alias from the environment. This has actually
3265 # happened. Such a system could not be considered "sane".
3266 printfscip-shell system . . printf. "%s\n" ""Bad output from ls -t: \"`lsscip-shell system . . ls. -t conftest.ts[12]`\""" >&5
3267 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3268 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3269 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "ls -t produces unexpected output.
3270 Make sure there is not a broken ls alias in your environment.
3271 See 'config.log' for more details" "$LINENO" 5; }
3272 fi
3273
3274 for am_try_res in $am_try_resolutions; do
3275 # Any one fine-grained sleep might happen to cross the boundary
3276 # between two values of a coarser actual resolution, but if we do
3277 # two fine-grained sleeps in a row, at least one of them will fall
3278 # entirely within a coarse interval.
3279 echoscip-shell system . . echo. alpha > conftest.ts1
3280 sleepscip-shell system . . sleep. $am_try_res
3281 echoscip-shell system . . echo. beta > conftest.ts2
3282 sleepscip-shell system . . sleep. $am_try_res
3283 echoscip-shell system . . echo. gamma > conftest.ts3
3284
3285 # We assume that 'ls -t' will make use of high-resolution
3286 # timestamps if the operating system supports them at all.
3287 if (set X `lsscip-shell system . . ls. -t conftest.ts?` &&
3288 testscip-shell system . . test. "$2" = conftest.ts3 &&
3289 testscip-shell system . . test. "$3" = conftest.ts2 &&
3290 testscip-shell system . . test. "$4" = conftest.ts1); then
3291 #
3292 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3293 # because we don't need to test make.
3294 make_ok=true
3295 if testscip-shell system . . test. $am_try_res != 1; then
3296 # But if we've succeeded so far with a subsecond resolution, we
3297 # have one more thing to check: make. It can happen that
3298 # everything else supports the subsecond mtimes, but make doesn't;
3299 # notably on macOS, which ships make 3.81 from 2006 (the last one
3300 # released under GPLv2). https://bugs.gnu.org/68808
3301 #
3302 # We test $MAKE if it is defined in the environment, else "make".
3303 # It might get overridden later, but our hope is that in practice
3304 # it does not matter: it is the system "make" which is (by far)
3305 # the most likely to be broken, whereas if the user overrides it,
3306 # probably they did so with a better, or at least not worse, make.
3307 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3308 #
3309 # Create a Makefile (real tab character here):
3310 rmscip-shell system . . rm. -f conftest.mk
3311 echoscip-shell system . . echo. 'conftest.ts1: conftest.ts2' >conftest.mk
3312 echoscip-shell system . . echo. ' touch conftest.ts2' >>conftest.mk
3313 #
3314 # Now, running
3315 # touch conftest.ts1; touch conftest.ts2; make
3316 # should touch ts1 because ts2 is newer. This could happen by luck,
3317 # but most often, it will fail if make's support is insufficient. So
3318 # test for several consecutive successes.
3319 #
3320 # (We reuse conftest.ts[12] because we still want to modify existing
3321 # files, not create new ones, per above.)
3322 n=0
3323 make=${MAKE-make}
3324 until testscip-shell system . . test. $n -eq 3; do
3325 echoscip-shell system . . echo. one > conftest.ts1
3326 sleepscip-shell system . . sleep. $am_try_res
3327 echoscip-shell system . . echo. two > conftest.ts2 # ts2 should now be newer than ts1
3328 if $make -f conftest.mk | grepscip-shell system . . grep. 'up to date' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
3329 make_ok=false
3330 break # out of $n loop
3331 fi
3332 n=`exprscip-shell system . . expr. $n + 1`
3333 done
3334 fi
3335 #
3336 if $make_ok; then
3337 # Everything we know to check worked out, so call this resolution good.
3338 am_cv_filesystem_timestamp_resolution=$am_try_res
3339 break # out of $am_try_res loop
3340 fi
3341 # Otherwise, we'll go on to check the next resolution.
3342 fi
3343 done
3344 rmscip-shell system . . rm. -f conftest.ts?
3345 # (end _am_filesystem_timestamp_resolution)
3346 ;;
3347 esac
3348 fi
3349 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3350 printfscip-shell system . . printf. "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
3351
3352 # This check should not be cached, as it may vary across builds of
3353 # different projects.
3354 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3355 printfscip-shell system . . printf. %s "checking whether build environment is sane... " >&6; }
3356 # Reject unsafe characters in $srcdir or the absolute working directory
3357 # name. Accept space and tab only in the latter.
3358 am_lf='
3359 '
3360 case `pwdscip-shell system . . pwd.` in
3361 *[\\\"\#\$\&\'\`$am_lf]*)
3362 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3363 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3364 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;;
3365 esac
3366 case $srcdir in
3367 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3368 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3370 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3371 esac
3372
3373 # Do 'set' in a subshell so we don't clobber the current shell's
3374 # arguments. Must try -L first in case configure is actually a
3375 # symlink; some systems play weird games with the mod time of symlinks
3376 # (eg FreeBSD returns the mod time of the symlink's containing
3377 # directory).
3378 am_build_env_is_sane=no
3379 am_has_slept=no
3380 rmscip-shell system . . rm. -f conftest.file
3381 for am_try in 1 2; do
3382 echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file
3383 if (
3384 set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
3385 if testscip-shell system . . test. "$*" = "X"; then
3386 # -L didn't work.
3387 set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file`
3388 fi
3389 testscip-shell system . . test. "$2" = conftest.file
3390 ); then
3391 am_build_env_is_sane=yes
3392 break
3393 fi
3394 # Just in case.
3395 sleepscip-shell system . . sleep. "$am_cv_filesystem_timestamp_resolution"
3396 am_has_slept=yes
3397 done
3398
3399 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3400 printfscip-shell system . . printf. "%s\n" "$am_build_env_is_sane" >&6; }
3401 if testscip-shell system . . test. "$am_build_env_is_sane" = no; then
3402 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "newly created file is older than distributed files!
3403 Check your system clock" "$LINENO" 5
3404 fi
3405
3406 # If we didn't sleep, we still need to ensure time stamps of config.status and
3407 # generated files are strictly newer.
3408 am_sleep_pid=
3409 if testscip-shell system . . test. -e conftest.file || grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
3410 then :
3411
3412 else case e in #(
3413 e) ( sleepscip-shell system . . sleep. "$am_cv_filesystem_timestamp_resolution" ) &
3414 am_sleep_pid=$!
3415 ;;
3416 esac
3417 fi
3418
3419 rmscip-shell system . . rm. -f conftest.file
3420
3421 testscip-shell system . . test. "$program_prefix" != NONE &&
3422 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3423 # Use a double $ so make ignores it.
3424 testscip-shell system . . test. "$program_suffix" != NONE &&
3425 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3426 # Double any \ or $.
3427 # By default was 's,x,x', remove it if useless.
3428 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3429 program_transform_name=`printfscip-shell system . . printf. "%s\n" "$program_transform_name" | sedscip-shell system . . sed. "$ac_script"`
3430
3431
3432 # Expand $ac_aux_dir to an absolute path.
3433 am_aux_dir=`cd "$ac_aux_dir" && pwdscip-shell system . . pwd.`
3434
3435
3436 if testscip-shell system . . test. x"${MISSING+set}" != xset; then
3437 MISSING="\${SHELL} '$am_aux_dir/missing'"
3438 fi
3439 # Use eval to expand $SHELL
3440 if eval "$MISSING --is-lightweight"; then
3441 am_missing_run="$MISSING "
3442 else
3443 am_missing_run=
3444 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3445 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3446 fi
3447
3448 if testscip-shell system . . test. x"${install_sh+set}" != xset; then
3449 case $am_aux_dir in
3450 *\ * | *\ *)
3451 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3452 *)
3453 install_sh="\${SHELL} $am_aux_dir/install-sh"
3454 esac
3455 fi
3456
3457 # Installed binaries are usually stripped using 'strip' when the user
3458 # run "make install-strip". However 'strip' might not be the right
3459 # tool to use in cross-compilation environments, therefore Automake
3460 # will honor the 'STRIP' environment variable to overrule this program.
3461 if testscip-shell system . . test. "$cross_compiling" != no; then
3462 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3463 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3464 set dummy ${ac_tool_prefix}strip; ac_word=$2
3465 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3467 if testscip-shell system . . test. ${ac_cv_prog_STRIP+y}
3468 then :
3469 printfscip-shell system . . printf. %s "(cached) " >&6
3470 else case e in #(
3471 e) if testscip-shell system . . test. -n "$STRIP"; then
3472 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3473 else
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 for as_dir in $PATH
3476 do
3477 IFS=$as_save_IFS
3478 case $as_dir in #(((
3479 '') as_dir=./ ;;
3480 */) ;;
3481 *) as_dir=$as_dir/ ;;
3482 esac
3483 for ac_exec_ext in '' $ac_executable_extensions; do
3484 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3485 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3486 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3487 break 2
3488 fi
3489 done
3490 done
3491 IFS=$as_save_IFS
3492
3493 fi ;;
3494 esac
3495 fi
3496 STRIP=$ac_cv_prog_STRIP
3497 if testscip-shell system . . test. -n "$STRIP"; then
3498 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3499 printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; }
3500 else
3501 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3503 fi
3504
3505
3506 fi
3507 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
3508 ac_ct_STRIP=$STRIP
3509 # Extract the first word of "strip", so it can be a program name with args.
3510 set dummy strip; ac_word=$2
3511 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3512 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3513 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y}
3514 then :
3515 printfscip-shell system . . printf. %s "(cached) " >&6
3516 else case e in #(
3517 e) if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
3518 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3519 else
3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 for as_dir in $PATH
3522 do
3523 IFS=$as_save_IFS
3524 case $as_dir in #(((
3525 '') as_dir=./ ;;
3526 */) ;;
3527 *) as_dir=$as_dir/ ;;
3528 esac
3529 for ac_exec_ext in '' $ac_executable_extensions; do
3530 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3531 ac_cv_prog_ac_ct_STRIP="strip"
3532 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3533 break 2
3534 fi
3535 done
3536 done
3537 IFS=$as_save_IFS
3538
3539 fi ;;
3540 esac
3541 fi
3542 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3543 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
3544 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3545 printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; }
3546 else
3547 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3548 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3549 fi
3550
3551 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
3552 STRIP=":"
3553 else
3554 case $cross_compiling:$ac_tool_warned in
3555 yes:)
3556 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3557 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3558 ac_tool_warned=yes ;;
3559 esac
3560 STRIP=$ac_ct_STRIP
3561 fi
3562 else
3563 STRIP="$ac_cv_prog_STRIP"
3564 fi
3565
3566 fi
3567 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3568
3569
3570 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3571 printfscip-shell system . . printf. %s "checking for a race-free mkdir -p... " >&6; }
3572 if testscip-shell system . . test. -z "$MKDIR_P"; then
3573 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}
3574 then :
3575 printfscip-shell system . . printf. %s "(cached) " >&6
3576 else case e in #(
3577 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3579 do
3580 IFS=$as_save_IFS
3581 case $as_dir in #(((
3582 '') as_dir=./ ;;
3583 */) ;;
3584 *) as_dir=$as_dir/ ;;
3585 esac
3586 for ac_prog in mkdir gmkdir; do
3587 for ac_exec_ext in '' $ac_executable_extensions; do
3588 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext" || continue
3589 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3590 'mkdir ('*'coreutils) '* | \
3591 *'BusyBox '* | \
3592 'mkdir (fileutils) '4.1*)
3593 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3594 break 3;;
3595 esac
3596 done
3597 done
3598 done
3599 IFS=$as_save_IFS
3600 ;;
3601 esac
3602 fi
3603
3604 testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version
3605 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}; then
3606 MKDIR_P="$ac_cv_path_mkdir -p"
3607 else
3608 # As a last resort, use plain mkdir -p,
3609 # in the hope it doesn't have the bugs of ancient mkdir.
3610 MKDIR_P='mkdir -p'
3611 fi
3612 fi
3613 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3614 printfscip-shell system . . printf. "%s\n" "$MKDIR_P" >&6; }
3615
3616 for ac_prog in gawk mawk nawk awk
3617 do
3618 # Extract the first word of "$ac_prog", so it can be a program name with args.
3619 set dummy $ac_prog; ac_word=$2
3620 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3621 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3622 if testscip-shell system . . test. ${ac_cv_prog_AWK+y}
3623 then :
3624 printfscip-shell system . . printf. %s "(cached) " >&6
3625 else case e in #(
3626 e) if testscip-shell system . . test. -n "$AWK"; then
3627 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3628 else
3629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630 for as_dir in $PATH
3631 do
3632 IFS=$as_save_IFS
3633 case $as_dir in #(((
3634 '') as_dir=./ ;;
3635 */) ;;
3636 *) as_dir=$as_dir/ ;;
3637 esac
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3640 ac_cv_prog_AWK="$ac_prog"
3641 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3642 break 2
3643 fi
3644 done
3645 done
3646 IFS=$as_save_IFS
3647
3648 fi ;;
3649 esac
3650 fi
3651 AWK=$ac_cv_prog_AWK
3652 if testscip-shell system . . test. -n "$AWK"; then
3653 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3654 printfscip-shell system . . printf. "%s\n" "$AWK" >&6; }
3655 else
3656 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3658 fi
3659
3660
3661 testscip-shell system . . test. -n "$AWK" && break
3662 done
3663
3664 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3665 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3666 set x ${MAKE-make}
3667 ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3668 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3669 then :
3670 printfscip-shell system . . printf. %s "(cached) " >&6
3671 else case e in #(
3672 e) catscip-shell system . . cat. >conftest.make <<\_ACEOF
3673 SHELL = /bin/sh
3674 all:
3675 @echo '@@@%%%=$(MAKE)=@@@%%%'
3676 _ACEOF
3677 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3678 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
3679 *@@@%%%=?*=@@@%%%*)
3680 eval ac_cv_prog_make_${ac_make}_set=yes;;
3681 *)
3682 eval ac_cv_prog_make_${ac_make}_set=no;;
3683 esac
3684 rmscip-shell system . . rm. -f conftest.make ;;
3685 esac
3686 fi
3687 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3688 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3689 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
3690 SET_MAKE=
3691 else
3692 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3693 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3694 SET_MAKE="MAKE=${MAKE-make}"
3695 fi
3696
3697 rmscip-shell system . . rm. -rf .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3698 mkdirscip-shell system . . mkdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3699 if testscip-shell system . . test. -d .tst; then
3700 am__leading_dot=.
3701 else
3702 am__leading_dot=_
3703 fi
3704 rmdirscip-shell system . . rmdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3705
3706 AM_DEFAULT_VERBOSITY=1
3707 # Check whether --enable-silent-rules was given.
3708 if testscip-shell system . . test. ${enable_silent_rules+y}
3709 then :
3710 enableval=$enable_silent_rules;
3711 fi
3712
3713 am_make=${MAKE-make}
3714 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3715 printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; }
3716 if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y}
3717 then :
3718 printfscip-shell system . . printf. %s "(cached) " >&6
3719 else case e in #(
3720 e) if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V))
3721 BAR0=false
3722 BAR1=true
3723 V=1
3724 am__doit:
3725 @$(TRUE)
3726 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3727 am_cv_make_support_nested_variables=yes
3728 else
3729 am_cv_make_support_nested_variables=no
3730 fi ;;
3731 esac
3732 fi
3733 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3734 printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3735 AM_BACKSLASH='\'
3736
3737 am__rm_f_notfound=
3738 if (rmscip-shell system . . rm. -f && rmscip-shell system . . rm. -fr && rmscip-shell system . . rm. -rf) 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3739 then :
3740
3741 else case e in #(
3742 e) am__rm_f_notfound='""' ;;
3743 esac
3744 fi
3745
3746
3747 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3748 printfscip-shell system . . printf. %s "checking xargs -n works... " >&6; }
3749 if testscip-shell system . . test. ${am_cv_xargs_n_works+y}
3750 then :
3751 printfscip-shell system . . printf. %s "(cached) " >&6
3752 else case e in #(
3753 e) if testscip-shell system . . test. "`echoscip-shell system . . echo. 1 2 3 | xargsscip-shell system . . xargs. -n2 echo`" = "1 2
3754 3"
3755 then :
3756 am_cv_xargs_n_works=yes
3757 else case e in #(
3758 e) am_cv_xargs_n_works=no ;;
3759 esac
3760 fi ;;
3761 esac
3762 fi
3763 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3764 printfscip-shell system . . printf. "%s\n" "$am_cv_xargs_n_works" >&6; }
3765 if testscip-shell system . . test. "$am_cv_xargs_n_works" = yes
3766 then :
3767 am__xargs_n='xargs -n'
3768 else case e in #(
3769 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3770 ;;
3771 esac
3772 fi
3773
3774 if testscip-shell system . . test. "`cd $srcdir && pwdscip-shell system . . pwd.`" != "`pwdscip-shell system . . pwd.`"; then
3775 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3776 # is not polluted with repeated "-I."
3777 am__isrc=' -I$(srcdir)'
3778 # test to see if srcdir already configured
3779 if testscip-shell system . . test. -f $srcdir/config.status; then
3780 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3781 fi
3782 fi
3783
3784 # test whether we have cygpath
3785 if testscip-shell system . . test. -z "$CYGPATH_W"; then
3786 if (cygpath --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
3787 CYGPATH_W='cygpath -w'
3788 else
3789 CYGPATH_W=echo
3790 fi
3791 fi
3792
3793
3794 # Define the identity of the package.
3795 PACKAGE='libpinyin'
3796 VERSION='2.11.91'
3797
3798
3799 printfscip-shell system . . printf. "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3800
3801
3802 printfscip-shell system . . printf. "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3803
3804 # Some tools Automake needs.
3805
3806 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3807
3808
3809 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3810
3811
3812 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3813
3814
3815 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3816
3817
3818 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3819
3820 # For better backward compatibility. To be removed once Automake 1.9.x
3821 # dies out for good. For more background, see:
3822 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3823 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3824 mkdir_p='$(MKDIR_P)'
3825
3826 # We need awk for the "check" target (and possibly the TAP driver). The
3827 # system "awk" is bad on some platforms.
3828 # Always define AMTAR for backward compatibility. Yes, it's still used
3829 # in the wild :-( We should find a proper way to deprecate it ...
3830 AMTAR='$${TAR-tar}'
3831
3832
3833 # We'll loop over all known methods to create a tar archive until one works.
3834 _am_tools='gnutar plaintar pax cpio none'
3835
3836 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
3837 # There is notably a 21 bits limit for the UID and the GID. In fact,
3838 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3839 # and bug#13588).
3840 am_max_uid=2097151 # 2^21 - 1
3841 am_max_gid=$am_max_uid
3842 # The $UID and $GID variables are not portable, so we need to resort
3843 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3844 # below are definitely unexpected, so allow the users to see them
3845 # (that is, avoid stderr redirection).
3846 am_uid=`idscip-shell system . . id. -u || echoscip-shell system . . echo. unknown`
3847 am_gid=`idscip-shell system . . id. -g || echoscip-shell system . . echo. unknown`
3848 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3849 printfscip-shell system . . printf. %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3850 if testscip-shell system . . test. x$am_uid = xunknown; then
3851 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
3852 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
3853 elif testscip-shell system . . test. $am_uid -le $am_max_uid; then
3854 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3855 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
3856 else
3857 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3859 _am_tools=none
3860 fi
3861 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3862 printfscip-shell system . . printf. %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3863 if testscip-shell system . . test. x$gm_gid = xunknown; then
3864 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
3865 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
3866 elif testscip-shell system . . test. $am_gid -le $am_max_gid; then
3867 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3868 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
3869 else
3870 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3872 _am_tools=none
3873 fi
3874
3875 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3876 printfscip-shell system . . printf. %s "checking how to create a ustar tar archive... " >&6; }
3877
3878 # Go ahead even if we have the value already cached. We do so because we
3879 # need to set the values for the 'am__tar' and 'am__untar' variables.
3880 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3881
3882 for _am_tool in $_am_tools; do
3883 case $_am_tool in
3884 gnutar)
3885 for _am_tar in tar gnutar gtar; do
3886 { echoscip-shell system . . echo. "$as_me:$LINENO: $_am_tar --version" >&5
3887 ($_am_tar --version) >&5 2>&5
3888 ac_status=$?
3889 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } && break
3891 done
3892 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3893 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3894 am__untar="$_am_tar -xf -"
3895 ;;
3896 plaintar)
3897 # Must skip GNU tar: if it does not support --format= it doesn't create
3898 # ustar tarball either.
3899 (tarscip-shell system . . tar. --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && continue
3900 am__tar='tar chf - "$$tardir"'
3901 am__tar_='tar chf - "$tardir"'
3902 am__untar='tar xf -'
3903 ;;
3904 pax)
3905 am__tar='pax -L -x ustar -w "$$tardir"'
3906 am__tar_='pax -L -x ustar -w "$tardir"'
3907 am__untar='pax -r'
3908 ;;
3909 cpio)
3910 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3911 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3912 am__untar='cpio -i -H ustar -d'
3913 ;;
3914 none)
3915 am__tar=false
3916 am__tar_=false
3917 am__untar=false
3918 ;;
3919 esac
3920
3921 # If the value was cached, stop now. We just wanted to have am__tar
3922 # and am__untar set.
3923 testscip-shell system . . test. -n "${am_cv_prog_tar_ustar}" && break
3924
3925 # tar/untar a dummy directory, and stop if the command works.
3926 rmscip-shell system . . rm. -rf conftest.dir
3927 mkdirscip-shell system . . mkdir. conftest.dir
3928 echoscip-shell system . . echo. GrepMe > conftest.dir/file
3929 { echoscip-shell system . . echo. "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3930 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3931 ac_status=$?
3932 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }
3934 rmscip-shell system . . rm. -rf conftest.dir
3935 if testscip-shell system . . test. -s conftest.tar; then
3936 { echoscip-shell system . . echo. "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3937 ($am__untar <conftest.tar) >&5 2>&5
3938 ac_status=$?
3939 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }
3941 { echoscip-shell system . . echo. "$as_me:$LINENO: cat conftest.dir/file" >&5
3942 (catscip-shell system . . cat. conftest.dir/file) >&5 2>&5
3943 ac_status=$?
3944 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); }
3946 grepscip-shell system . . grep. GrepMe conftest.dir/file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && break
3947 fi
3948 done
3949 rmscip-shell system . . rm. -rf conftest.dir
3950
3951 if testscip-shell system . . test. ${am_cv_prog_tar_ustar+y}
3952 then :
3953 printfscip-shell system . . printf. %s "(cached) " >&6
3954 else case e in #(
3955 e) am_cv_prog_tar_ustar=$_am_tool ;;
3956 esac
3957 fi
3958
3959 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3960 printfscip-shell system . . printf. "%s\n" "$am_cv_prog_tar_ustar" >&6; }
3961
3962
3963
3964
3965
3966 # Variables for tags utilities; see am/tags.am
3967 if testscip-shell system . . test. -z "$CTAGS"; then
3968 CTAGS=ctags
3969 fi
3970
3971 if testscip-shell system . . test. -z "$ETAGS"; then
3972 ETAGS=etags
3973 fi
3974
3975 if testscip-shell system . . test. -z "$CSCOPE"; then
3976 CSCOPE=cscope
3977 fi
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987 ac_config_headers="$ac_config_headers config.h"
3988
3989
3990
3991 AM_DEFAULT_VERBOSITY=0
3992
3993
3994
3995 # Define a string for binary compatibility
3996
3997
3998 LT_VERSION_INFO="15:0"
3999
4000
4001 LIBPINYIN_BINARY_VERSION="15.0"
4002
4003
4004 # Checks for programs.
4005
4006
4007
4008
4009
4010
4011 ac_ext=cpp
4012 ac_cpp='$CXXCPP $CPPFLAGS'
4013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4016 if testscip-shell system . . test. -z "$CXX"; then
4017 if testscip-shell system . . test. -n "$CCC"; then
4018 CXX=$CCC
4019 else
4020 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4021 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
4022 do
4023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4024 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4025 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4027 if testscip-shell system . . test. ${ac_cv_prog_CXX+y}
4028 then :
4029 printfscip-shell system . . printf. %s "(cached) " >&6
4030 else case e in #(
4031 e) if testscip-shell system . . test. -n "$CXX"; then
4032 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4033 else
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4036 do
4037 IFS=$as_save_IFS
4038 case $as_dir in #(((
4039 '') as_dir=./ ;;
4040 */) ;;
4041 *) as_dir=$as_dir/ ;;
4042 esac
4043 for ac_exec_ext in '' $ac_executable_extensions; do
4044 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4045 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4046 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4047 break 2
4048 fi
4049 done
4050 done
4051 IFS=$as_save_IFS
4052
4053 fi ;;
4054 esac
4055 fi
4056 CXX=$ac_cv_prog_CXX
4057 if testscip-shell system . . test. -n "$CXX"; then
4058 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4059 printfscip-shell system . . printf. "%s\n" "$CXX" >&6; }
4060 else
4061 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4063 fi
4064
4065
4066 testscip-shell system . . test. -n "$CXX" && break
4067 done
4068 fi
4069 if testscip-shell system . . test. -z "$CXX"; then
4070 ac_ct_CXX=$CXX
4071 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
4072 do
4073 # Extract the first word of "$ac_prog", so it can be a program name with args.
4074 set dummy $ac_prog; ac_word=$2
4075 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4076 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4077 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CXX+y}
4078 then :
4079 printfscip-shell system . . printf. %s "(cached) " >&6
4080 else case e in #(
4081 e) if testscip-shell system . . test. -n "$ac_ct_CXX"; then
4082 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4083 else
4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 for as_dir in $PATH
4086 do
4087 IFS=$as_save_IFS
4088 case $as_dir in #(((
4089 '') as_dir=./ ;;
4090 */) ;;
4091 *) as_dir=$as_dir/ ;;
4092 esac
4093 for ac_exec_ext in '' $ac_executable_extensions; do
4094 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4095 ac_cv_prog_ac_ct_CXX="$ac_prog"
4096 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4097 break 2
4098 fi
4099 done
4100 done
4101 IFS=$as_save_IFS
4102
4103 fi ;;
4104 esac
4105 fi
4106 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4107 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
4108 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4109 printfscip-shell system . . printf. "%s\n" "$ac_ct_CXX" >&6; }
4110 else
4111 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4112 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4113 fi
4114
4115
4116 testscip-shell system . . test. -n "$ac_ct_CXX" && break
4117 done
4118
4119 if testscip-shell system . . test. "x$ac_ct_CXX" = x; then
4120 CXX="g++"
4121 else
4122 case $cross_compiling:$ac_tool_warned in
4123 yes:)
4124 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4125 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4126 ac_tool_warned=yes ;;
4127 esac
4128 CXX=$ac_ct_CXX
4129 fi
4130 fi
4131
4132 fi
4133 fi
4134 # Provide some information about the compiler.
4135 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4136 set X $ac_compile
4137 ac_compiler=$2
4138 for ac_option in --version -v -V -qversion; do
4139 { { ac_try="$ac_compiler $ac_option >&5"
4140 case "(($ac_try" in
4141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4142 *) ac_try_echo=$ac_try;;
4143 esac
4144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4145 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4146 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4147 ac_status=$?
4148 if testscip-shell system . . test. -s conftest.err; then
4149 sedscip-shell system . . sed. '10a\
4150 ... rest of stderr output deleted ...
4151 10q' conftest.err >conftest.er1
4152 catscip-shell system . . cat. conftest.er1 >&5
4153 fi
4154 rmscip-shell system . . rm. -f conftest.er1 conftest.err
4155 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4156 testscip-shell system . . test. $ac_status = 0; }
4157 done
4158
4159 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4161
4162 int
4163 main (void)
4164 {
4165
4166 ;
4167 return 0;
4168 }
4169 _ACEOF
4170 ac_clean_files_save=$ac_clean_files
4171 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4172 # Try to create an executable without -o first, disregard a.out.
4173 # It will help us diagnose broken compilers, and finding out an intuition
4174 # of exeext.
4175 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
4176 printfscip-shell system . . printf. %s "checking whether the C++ compiler works... " >&6; }
4177 ac_link_default=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
4178
4179 # The possible output files:
4180 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4181
4182 ac_rmfiles=
4183 for ac_file in $ac_files
4184 do
4185 case $ac_file in
4186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4187 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4188 esac
4189 done
4190 rmscip-shell system . . rm. -f $ac_rmfiles
4191
4192 if { { ac_try="$ac_link_default"
4193 case "(($ac_try" in
4194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4196 esac
4197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4198 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4199 (eval "$ac_link_default") 2>&5
4200 ac_status=$?
4201 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4202 testscip-shell system . . test. $ac_status = 0; }
4203 then :
4204 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4205 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4206 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4207 # so that the user can short-circuit this test for compilers unknown to
4208 # Autoconf.
4209 for ac_file in $ac_files ''
4210 do
4211 testscip-shell system . . test. -f "$ac_file" || continue
4212 case $ac_file in
4213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4214 ;;
4215 [ab].out )
4216 # We found the default executable, but exeext='' is most
4217 # certainly right.
4218 break;;
4219 *.* )
4220 if testscip-shell system . . test. ${ac_cv_exeext+y} && testscip-shell system . . test. "$ac_cv_exeext" != no;
4221 then :; else
4222 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
4223 fi
4224 # We set ac_cv_exeext here because the later test for it is not
4225 # safe: cross compilers may not add the suffix if given an '-o'
4226 # argument, so we may need to know it at that point already.
4227 # Even if this section looks crufty: it has the advantage of
4228 # actually working.
4229 break;;
4230 * )
4231 break;;
4232 esac
4233 done
4234 testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext=
4235
4236 else case e in #(
4237 e) ac_file='' ;;
4238 esac
4239 fi
4240 if testscip-shell system . . test. -z "$ac_file"
4241 then :
4242 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4244 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
4245 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4246
4247 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4248 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4249 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 77 "C++ compiler cannot create executables
4250 See 'config.log' for more details" "$LINENO" 5; }
4251 else case e in #(
4252 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4253 printfscip-shell system . . printf. "%s\n" "yes" >&6; } ;;
4254 esac
4255 fi
4256 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
4257 printfscip-shell system . . printf. %s "checking for C++ compiler default output file name... " >&6; }
4258 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4259 printfscip-shell system . . printf. "%s\n" "$ac_file" >&6; }
4260 ac_exeext=$ac_cv_exeext
4261
4262 rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4263 ac_clean_files=$ac_clean_files_save
4264 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4265 printfscip-shell system . . printf. %s "checking for suffix of executables... " >&6; }
4266 if { { ac_try="$ac_link"
4267 case "(($ac_try" in
4268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4270 esac
4271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4272 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4273 (eval "$ac_link") 2>&5
4274 ac_status=$?
4275 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4276 testscip-shell system . . test. $ac_status = 0; }
4277 then :
4278 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4279 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4280 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4281 # 'rm'.
4282 for ac_file in conftest.exe conftest conftest.*; do
4283 testscip-shell system . . test. -f "$ac_file" || continue
4284 case $ac_file in
4285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4286 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
4287 break;;
4288 * ) break;;
4289 esac
4290 done
4291 else case e in #(
4292 e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4293 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4294 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link
4295 See 'config.log' for more details" "$LINENO" 5; } ;;
4296 esac
4297 fi
4298 rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext
4299 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4300 printfscip-shell system . . printf. "%s\n" "$ac_cv_exeext" >&6; }
4301
4302 rmscip-shell system . . rm. -f conftest.$ac_ext
4303 EXEEXT=$ac_cv_exeext
4304 ac_exeext=$EXEEXT
4305 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4307 #include <stdio.h>
4308 int
4309 main (void)
4310 {
4311 FILE *f = fopen ("conftest.out", "w");
4312 if (!f)
4313 return 1;
4314 return ferror (f) || fclose (f) != 0;
4315
4316 ;
4317 return 0;
4318 }
4319 _ACEOF
4320 ac_clean_files="$ac_clean_files conftest.out"
4321 # Check that the compiler produces executables we can run. If not, either
4322 # the compiler is broken, or we cross compile.
4323 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4324 printfscip-shell system . . printf. %s "checking whether we are cross compiling... " >&6; }
4325 if testscip-shell system . . test. "$cross_compiling" != yes; then
4326 { { ac_try="$ac_link"
4327 case "(($ac_try" in
4328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4329 *) ac_try_echo=$ac_try;;
4330 esac
4331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4332 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4333 (eval "$ac_link") 2>&5
4334 ac_status=$?
4335 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4336 testscip-shell system . . test. $ac_status = 0; }
4337 if { ac_try='./conftest$ac_cv_exeext'
4338 { { case "(($ac_try" in
4339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4341 esac
4342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4343 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4344 (eval "$ac_try") 2>&5
4345 ac_status=$?
4346 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4347 testscip-shell system . . test. $ac_status = 0; }; }; then
4348 cross_compiling=no
4349 else
4350 if testscip-shell system . . test. "$cross_compiling" = maybe; then
4351 cross_compiling=yes
4352 else
4353 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4354 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4355 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 77 "cannot run C++ compiled programs.
4356 If you meant to cross compile, use '--host'.
4357 See 'config.log' for more details" "$LINENO" 5; }
4358 fi
4359 fi
4360 fi
4361 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4362 printfscip-shell system . . printf. "%s\n" "$cross_compiling" >&6; }
4363
4364 rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext \
4365 conftest.o conftest.obj conftest.out
4366 ac_clean_files=$ac_clean_files_save
4367 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4368 printfscip-shell system . . printf. %s "checking for suffix of object files... " >&6; }
4369 if testscip-shell system . . test. ${ac_cv_objext+y}
4370 then :
4371 printfscip-shell system . . printf. %s "(cached) " >&6
4372 else case e in #(
4373 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4375
4376 int
4377 main (void)
4378 {
4379
4380 ;
4381 return 0;
4382 }
4383 _ACEOF
4384 rmscip-shell system . . rm. -f conftest.o conftest.obj
4385 if { { ac_try="$ac_compile"
4386 case "(($ac_try" in
4387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4388 *) ac_try_echo=$ac_try;;
4389 esac
4390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4391 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4392 (eval "$ac_compile") 2>&5
4393 ac_status=$?
4394 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4395 testscip-shell system . . test. $ac_status = 0; }
4396 then :
4397 for ac_file in conftest.o conftest.obj conftest.*; do
4398 testscip-shell system . . test. -f "$ac_file" || continue;
4399 case $ac_file in
4400 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4401 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
4402 break;;
4403 esac
4404 done
4405 else case e in #(
4406 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
4407 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4408
4409 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4410 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4411 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot compute suffix of object files: cannot compile
4412 See 'config.log' for more details" "$LINENO" 5; } ;;
4413 esac
4414 fi
4415 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4416 esac
4417 fi
4418 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4419 printfscip-shell system . . printf. "%s\n" "$ac_cv_objext" >&6; }
4420 OBJEXT=$ac_cv_objext
4421 ac_objext=$OBJEXT
4422 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
4423 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C++... " >&6; }
4424 if testscip-shell system . . test. ${ac_cv_cxx_compiler_gnu+y}
4425 then :
4426 printfscip-shell system . . printf. %s "(cached) " >&6
4427 else case e in #(
4428 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4430
4431 int
4432 main (void)
4433 {
4434 #ifndef __GNUC__
4435 choke me
4436 #endif
4437
4438 ;
4439 return 0;
4440 }
4441 _ACEOF
4442 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4443 then :
4444 ac_compiler_gnu=yes
4445 else case e in #(
4446 e) ac_compiler_gnu=no ;;
4447 esac
4448 fi
4449 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4450 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4451 ;;
4452 esac
4453 fi
4454 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4455 printfscip-shell system . . printf. "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
4456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4457
4458 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
4459 GXX=yes
4460 else
4461 GXX=
4462 fi
4463 ac_test_CXXFLAGS=${CXXFLAGS+y}
4464 ac_save_CXXFLAGS=$CXXFLAGS
4465 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4466 printfscip-shell system . . printf. %s "checking whether $CXX accepts -g... " >&6; }
4467 if testscip-shell system . . test. ${ac_cv_prog_cxx_g+y}
4468 then :
4469 printfscip-shell system . . printf. %s "(cached) " >&6
4470 else case e in #(
4471 e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4472 ac_cxx_werror_flag=yes
4473 ac_cv_prog_cxx_g=no
4474 CXXFLAGS="-g"
4475 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4477
4478 int
4479 main (void)
4480 {
4481
4482 ;
4483 return 0;
4484 }
4485 _ACEOF
4486 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4487 then :
4488 ac_cv_prog_cxx_g=yes
4489 else case e in #(
4490 e) CXXFLAGS=""
4491 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4493
4494 int
4495 main (void)
4496 {
4497
4498 ;
4499 return 0;
4500 }
4501 _ACEOF
4502 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4503 then :
4504
4505 else case e in #(
4506 e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4507 CXXFLAGS="-g"
4508 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4510
4511 int
4512 main (void)
4513 {
4514
4515 ;
4516 return 0;
4517 }
4518 _ACEOF
4519 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4520 then :
4521 ac_cv_prog_cxx_g=yes
4522 fi
4523 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4524 esac
4525 fi
4526 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4527 esac
4528 fi
4529 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4530 ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;;
4531 esac
4532 fi
4533 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4534 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_g" >&6; }
4535 if testscip-shell system . . test. $ac_test_CXXFLAGS; then
4536 CXXFLAGS=$ac_save_CXXFLAGS
4537 elif testscip-shell system . . test. $ac_cv_prog_cxx_g = yes; then
4538 if testscip-shell system . . test. "$GXX" = yes; then
4539 CXXFLAGS="-g -O2"
4540 else
4541 CXXFLAGS="-g"
4542 fi
4543 else
4544 if testscip-shell system . . test. "$GXX" = yes; then
4545 CXXFLAGS="-O2"
4546 else
4547 CXXFLAGS=
4548 fi
4549 fi
4550 ac_prog_cxx_stdcxx=no
4551 if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno
4552 then :
4553 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
4554 printfscip-shell system . . printf. %s "checking for $CXX option to enable C++11 features... " >&6; }
4555 if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx11+y}
4556 then :
4557 printfscip-shell system . . printf. %s "(cached) " >&6
4558 else case e in #(
4559 e) ac_cv_prog_cxx_cxx11=no
4560 ac_save_CXX=$CXX
4561 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4563 $ac_cxx_conftest_cxx11_program
4564 _ACEOF
4565 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
4566 do
4567 CXX="$ac_save_CXX $ac_arg"
4568 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4569 then :
4570 ac_cv_prog_cxx_cxx11=$ac_arg
4571 fi
4572 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4573 testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" != "xno" && break
4574 done
4575 rmscip-shell system . . rm. -f conftest.$ac_ext
4576 CXX=$ac_save_CXX ;;
4577 esac
4578 fi
4579
4580 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = xno
4581 then :
4582 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4583 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4584 else case e in #(
4585 e) if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = x
4586 then :
4587 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4588 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4589 else case e in #(
4590 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
4591 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
4592 CXX="$CXX $ac_cv_prog_cxx_cxx11" ;;
4593 esac
4594 fi
4595 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
4596 ac_prog_cxx_stdcxx=cxx11 ;;
4597 esac
4598 fi
4599 fi
4600 if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno
4601 then :
4602 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
4603 printfscip-shell system . . printf. %s "checking for $CXX option to enable C++98 features... " >&6; }
4604 if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx98+y}
4605 then :
4606 printfscip-shell system . . printf. %s "(cached) " >&6
4607 else case e in #(
4608 e) ac_cv_prog_cxx_cxx98=no
4609 ac_save_CXX=$CXX
4610 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4612 $ac_cxx_conftest_cxx98_program
4613 _ACEOF
4614 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
4615 do
4616 CXX="$ac_save_CXX $ac_arg"
4617 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
4618 then :
4619 ac_cv_prog_cxx_cxx98=$ac_arg
4620 fi
4621 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4622 testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" != "xno" && break
4623 done
4624 rmscip-shell system . . rm. -f conftest.$ac_ext
4625 CXX=$ac_save_CXX ;;
4626 esac
4627 fi
4628
4629 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = xno
4630 then :
4631 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4632 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4633 else case e in #(
4634 e) if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = x
4635 then :
4636 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4637 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4638 else case e in #(
4639 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
4640 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
4641 CXX="$CXX $ac_cv_prog_cxx_cxx98" ;;
4642 esac
4643 fi
4644 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
4645 ac_prog_cxx_stdcxx=cxx98 ;;
4646 esac
4647 fi
4648 fi
4649
4650 ac_ext=c
4651 ac_cpp='$CPP $CPPFLAGS'
4652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4655 DEPDIR="${am__leading_dot}deps"
4656
4657 ac_config_commands="$ac_config_commands depfiles"
4658
4659 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4660 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4661 catscip-shell system . . cat. > confinc.mk << 'END'
4662 am__doit:
4663 @echo this is the am__doit target >confinc.out
4664 .PHONY: am__doit
4665 END
4666 am__include="#"
4667 am__quote=
4668 # BSD make does it like this.
4669 echoscip-shell system . . echo. '.include "confinc.mk" # ignored' > confmf.BSD
4670 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4671 echoscip-shell system . . echo. 'include confinc.mk # ignored' > confmf.GNU
4672 _am_result=no
4673 for s in GNU BSD; do
4674 { echoscip-shell system . . echo. "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4675 (${MAKE-make} -f confmf.$s && catscip-shell system . . cat. confinc.out) >&5 2>&5
4676 ac_status=$?
4677 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); }
4679 case $?:`catscip-shell system . . cat. confinc.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
4680 '0:this is the am__doit target') :
4681 case $s in #(
4682 BSD) :
4683 am__include='.include' am__quote='"' ;; #(
4684 *) :
4685 am__include='include' am__quote='' ;;
4686 esac ;; #(
4687 *) :
4688 ;;
4689 esac
4690 if testscip-shell system . . test. "$am__include" != "#"; then
4691 _am_result="yes ($s style)"
4692 break
4693 fi
4694 done
4695 rmscip-shell system . . rm. -f confinc.* confmf.*
4696 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4697 printfscip-shell system . . printf. "%s\n" "${_am_result}" >&6; }
4698
4699 # Check whether --enable-dependency-tracking was given.
4700 if testscip-shell system . . test. ${enable_dependency_tracking+y}
4701 then :
4702 enableval=$enable_dependency_tracking;
4703 fi
4704
4705 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
4706 am_depcomp="$ac_aux_dir/depcomp"
4707 AMDEPBACKSLASH='\'
4708 am__nodep='_no'
4709 fi
4710 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
4711 AMDEP_TRUE=
4712 AMDEP_FALSE='#'
4713 else
4714 AMDEP_TRUE='#'
4715 AMDEP_FALSE=
4716 fi
4717
4718
4719
4720 depcc="$CXX" am_compiler_list=
4721
4722 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4723 printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; }
4724 if testscip-shell system . . test. ${am_cv_CXX_dependencies_compiler_type+y}
4725 then :
4726 printfscip-shell system . . printf. %s "(cached) " >&6
4727 else case e in #(
4728 e) if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
4729 # We make a subdir and do the tests there. Otherwise we can end up
4730 # making bogus files that we don't know about and never remove. For
4731 # instance it was reported that on HP-UX the gcc test will end up
4732 # making a dummy file named 'D' -- because '-MD' means "put the output
4733 # in D".
4734 rmscip-shell system . . rm. -rf conftest.dir
4735 mkdirscip-shell system . . mkdir. conftest.dir
4736 # Copy depcomp to subdir because otherwise we won't find it if we're
4737 # using a relative directory.
4738 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
4739 cd conftest.dir
4740 # We will build objects and dependencies in a subdirectory because
4741 # it helps to detect inapplicable dependency modes. For instance
4742 # both Tru64's cc and ICC support -MD to output dependencies as a
4743 # side effect of compilation, but ICC will put the dependencies in
4744 # the current directory while Tru64 will put them in the object
4745 # directory.
4746 mkdirscip-shell system . . mkdir. sub
4747
4748 am_cv_CXX_dependencies_compiler_type=none
4749 if testscip-shell system . . test. "$am_compiler_list" = ""; then
4750 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4751 fi
4752 am__universal=false
4753 case " $depcc " in #(
4754 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4755 esac
4756
4757 for depmode in $am_compiler_list; do
4758 # Setup a source with many dependencies, because some compilers
4759 # like to wrap large dependency lists on column 80 (with \), and
4760 # we should not choose a depcomp mode which is confused by this.
4761 #
4762 # We need to recreate these files for each test, as the compiler may
4763 # overwrite some of them when testing with obscure command lines.
4764 # This happens at least with the AIX C compiler.
4765 : > sub/conftest.c
4766 for i in 1 2 3 4 5 6; do
4767 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
4768 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4769 # Solaris 10 /bin/sh.
4770 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
4771 done
4772 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4773
4774 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4775 # mode. It turns out that the SunPro C++ compiler does not properly
4776 # handle '-M -o', and we need to detect this. Also, some Intel
4777 # versions had trouble with output in subdirs.
4778 am__obj=sub/conftest.${OBJEXT-o}
4779 am__minus_obj="-o $am__obj"
4780 case $depmode in
4781 gcc)
4782 # This depmode causes a compiler race in universal mode.
4783 testscip-shell system . . test. "$am__universal" = false || continue
4784 ;;
4785 nosideeffect)
4786 # After this tag, mechanisms are not by side-effect, so they'll
4787 # only be used when explicitly requested.
4788 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
4789 continue
4790 else
4791 break
4792 fi
4793 ;;
4794 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4795 # This compiler won't grok '-c -o', but also, the minuso test has
4796 # not run yet. These depmodes are late enough in the game, and
4797 # so weak that their functioning should not be impacted.
4798 am__obj=conftest.${OBJEXT-o}
4799 am__minus_obj=
4800 ;;
4801 none) break ;;
4802 esac
4803 if depmode=$depmode \
4804 source=sub/conftest.c object=$am__obj \
4805 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4806 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4807 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
4808 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4809 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4810 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4811 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
4812 # icc doesn't choke on unknown options, it will just issue warnings
4813 # or remarks (even with -Werror). So we grep stderr for any message
4814 # that says an option was ignored or not supported.
4815 # When given -MP, icc 7.0 and 7.1 complain thus:
4816 # icc: Command line warning: ignoring option '-M'; no argument required
4817 # The diagnosis changed in icc 8.0:
4818 # icc: Command line remark: option '-MP' not supported
4819 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
4820 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
4821 am_cv_CXX_dependencies_compiler_type=$depmode
4822 break
4823 fi
4824 fi
4825 done
4826
4827 cd ..
4828 rmscip-shell system . . rm. -rf conftest.dir
4829 else
4830 am_cv_CXX_dependencies_compiler_type=none
4831 fi
4832 ;;
4833 esac
4834 fi
4835 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4836 printfscip-shell system . . printf. "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
4837 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4838
4839 if
4840 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
4841 && testscip-shell system . . test. "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4842 am__fastdepCXX_TRUE=
4843 am__fastdepCXX_FALSE='#'
4844 else
4845 am__fastdepCXX_TRUE='#'
4846 am__fastdepCXX_FALSE=
4847 fi
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859 ac_ext=c
4860 ac_cpp='$CPP $CPPFLAGS'
4861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4864 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4865 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4866 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4867 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4869 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
4870 then :
4871 printfscip-shell system . . printf. %s "(cached) " >&6
4872 else case e in #(
4873 e) if testscip-shell system . . test. -n "$CC"; then
4874 ac_cv_prog_CC="$CC" # Let the user override the test.
4875 else
4876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877 for as_dir in $PATH
4878 do
4879 IFS=$as_save_IFS
4880 case $as_dir in #(((
4881 '') as_dir=./ ;;
4882 */) ;;
4883 *) as_dir=$as_dir/ ;;
4884 esac
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4888 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4889 break 2
4890 fi
4891 done
4892 done
4893 IFS=$as_save_IFS
4894
4895 fi ;;
4896 esac
4897 fi
4898 CC=$ac_cv_prog_CC
4899 if testscip-shell system . . test. -n "$CC"; then
4900 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4901 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
4902 else
4903 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4905 fi
4906
4907
4908 fi
4909 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
4910 ac_ct_CC=$CC
4911 # Extract the first word of "gcc", so it can be a program name with args.
4912 set dummy gcc; ac_word=$2
4913 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4915 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
4916 then :
4917 printfscip-shell system . . printf. %s "(cached) " >&6
4918 else case e in #(
4919 e) if testscip-shell system . . test. -n "$ac_ct_CC"; then
4920 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4921 else
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 for as_dir in $PATH
4924 do
4925 IFS=$as_save_IFS
4926 case $as_dir in #(((
4927 '') as_dir=./ ;;
4928 */) ;;
4929 *) as_dir=$as_dir/ ;;
4930 esac
4931 for ac_exec_ext in '' $ac_executable_extensions; do
4932 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_ac_ct_CC="gcc"
4934 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4935 break 2
4936 fi
4937 done
4938 done
4939 IFS=$as_save_IFS
4940
4941 fi ;;
4942 esac
4943 fi
4944 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4945 if testscip-shell system . . test. -n "$ac_ct_CC"; then
4946 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4947 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
4948 else
4949 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4951 fi
4952
4953 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
4954 CC=""
4955 else
4956 case $cross_compiling:$ac_tool_warned in
4957 yes:)
4958 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4959 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4960 ac_tool_warned=yes ;;
4961 esac
4962 CC=$ac_ct_CC
4963 fi
4964 else
4965 CC="$ac_cv_prog_CC"
4966 fi
4967
4968 if testscip-shell system . . test. -z "$CC"; then
4969 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4970 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4971 set dummy ${ac_tool_prefix}cc; ac_word=$2
4972 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4974 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
4975 then :
4976 printfscip-shell system . . printf. %s "(cached) " >&6
4977 else case e in #(
4978 e) if testscip-shell system . . test. -n "$CC"; then
4979 ac_cv_prog_CC="$CC" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4983 do
4984 IFS=$as_save_IFS
4985 case $as_dir in #(((
4986 '') as_dir=./ ;;
4987 */) ;;
4988 *) as_dir=$as_dir/ ;;
4989 esac
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_CC="${ac_tool_prefix}cc"
4993 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4994 break 2
4995 fi
4996 done
4997 done
4998 IFS=$as_save_IFS
4999
5000 fi ;;
5001 esac
5002 fi
5003 CC=$ac_cv_prog_CC
5004 if testscip-shell system . . test. -n "$CC"; then
5005 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5006 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5007 else
5008 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5010 fi
5011
5012
5013 fi
5014 fi
5015 if testscip-shell system . . test. -z "$CC"; then
5016 # Extract the first word of "cc", so it can be a program name with args.
5017 set dummy cc; ac_word=$2
5018 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5020 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5021 then :
5022 printfscip-shell system . . printf. %s "(cached) " >&6
5023 else case e in #(
5024 e) if testscip-shell system . . test. -n "$CC"; then
5025 ac_cv_prog_CC="$CC" # Let the user override the test.
5026 else
5027 ac_prog_rejected=no
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5030 do
5031 IFS=$as_save_IFS
5032 case $as_dir in #(((
5033 '') as_dir=./ ;;
5034 */) ;;
5035 *) as_dir=$as_dir/ ;;
5036 esac
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5039 if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
5040 ac_prog_rejected=yes
5041 continue
5042 fi
5043 ac_cv_prog_CC="cc"
5044 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5045 break 2
5046 fi
5047 done
5048 done
5049 IFS=$as_save_IFS
5050
5051 if testscip-shell system . . test. $ac_prog_rejected = yes; then
5052 # We found a bogon in the path, so make sure we never use it.
5053 set dummy $ac_cv_prog_CC
5054 shift
5055 if testscip-shell system . . test. $# != 0; then
5056 # We chose a different compiler from the bogus one.
5057 # However, it has the same basename, so the bogon will be chosen
5058 # first if we set CC to just the basename; use the full file name.
5059 shift
5060 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5061 fi
5062 fi
5063 fi ;;
5064 esac
5065 fi
5066 CC=$ac_cv_prog_CC
5067 if testscip-shell system . . test. -n "$CC"; then
5068 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5069 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5070 else
5071 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5073 fi
5074
5075
5076 fi
5077 if testscip-shell system . . test. -z "$CC"; then
5078 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5079 for ac_prog in cl.exe
5080 do
5081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5083 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5085 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5086 then :
5087 printfscip-shell system . . printf. %s "(cached) " >&6
5088 else case e in #(
5089 e) if testscip-shell system . . test. -n "$CC"; then
5090 ac_cv_prog_CC="$CC" # Let the user override the test.
5091 else
5092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5093 for as_dir in $PATH
5094 do
5095 IFS=$as_save_IFS
5096 case $as_dir in #(((
5097 '') as_dir=./ ;;
5098 */) ;;
5099 *) as_dir=$as_dir/ ;;
5100 esac
5101 for ac_exec_ext in '' $ac_executable_extensions; do
5102 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5103 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5104 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5105 break 2
5106 fi
5107 done
5108 done
5109 IFS=$as_save_IFS
5110
5111 fi ;;
5112 esac
5113 fi
5114 CC=$ac_cv_prog_CC
5115 if testscip-shell system . . test. -n "$CC"; then
5116 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5117 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5118 else
5119 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5121 fi
5122
5123
5124 testscip-shell system . . test. -n "$CC" && break
5125 done
5126 fi
5127 if testscip-shell system . . test. -z "$CC"; then
5128 ac_ct_CC=$CC
5129 for ac_prog in cl.exe
5130 do
5131 # Extract the first word of "$ac_prog", so it can be a program name with args.
5132 set dummy $ac_prog; ac_word=$2
5133 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5135 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
5136 then :
5137 printfscip-shell system . . printf. %s "(cached) " >&6
5138 else case e in #(
5139 e) if testscip-shell system . . test. -n "$ac_ct_CC"; then
5140 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5144 do
5145 IFS=$as_save_IFS
5146 case $as_dir in #(((
5147 '') as_dir=./ ;;
5148 */) ;;
5149 *) as_dir=$as_dir/ ;;
5150 esac
5151 for ac_exec_ext in '' $ac_executable_extensions; do
5152 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5153 ac_cv_prog_ac_ct_CC="$ac_prog"
5154 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5155 break 2
5156 fi
5157 done
5158 done
5159 IFS=$as_save_IFS
5160
5161 fi ;;
5162 esac
5163 fi
5164 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5165 if testscip-shell system . . test. -n "$ac_ct_CC"; then
5166 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5167 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
5168 else
5169 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5171 fi
5172
5173
5174 testscip-shell system . . test. -n "$ac_ct_CC" && break
5175 done
5176
5177 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
5178 CC=""
5179 else
5180 case $cross_compiling:$ac_tool_warned in
5181 yes:)
5182 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5183 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5184 ac_tool_warned=yes ;;
5185 esac
5186 CC=$ac_ct_CC
5187 fi
5188 fi
5189
5190 fi
5191 if testscip-shell system . . test. -z "$CC"; then
5192 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5193 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5194 set dummy ${ac_tool_prefix}clang; ac_word=$2
5195 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5197 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5198 then :
5199 printfscip-shell system . . printf. %s "(cached) " >&6
5200 else case e in #(
5201 e) if testscip-shell system . . test. -n "$CC"; then
5202 ac_cv_prog_CC="$CC" # Let the user override the test.
5203 else
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 for as_dir in $PATH
5206 do
5207 IFS=$as_save_IFS
5208 case $as_dir in #(((
5209 '') as_dir=./ ;;
5210 */) ;;
5211 *) as_dir=$as_dir/ ;;
5212 esac
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_CC="${ac_tool_prefix}clang"
5216 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5217 break 2
5218 fi
5219 done
5220 done
5221 IFS=$as_save_IFS
5222
5223 fi ;;
5224 esac
5225 fi
5226 CC=$ac_cv_prog_CC
5227 if testscip-shell system . . test. -n "$CC"; then
5228 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5229 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5230 else
5231 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5233 fi
5234
5235
5236 fi
5237 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
5238 ac_ct_CC=$CC
5239 # Extract the first word of "clang", so it can be a program name with args.
5240 set dummy clang; ac_word=$2
5241 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5243 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
5244 then :
5245 printfscip-shell system . . printf. %s "(cached) " >&6
5246 else case e in #(
5247 e) if testscip-shell system . . test. -n "$ac_ct_CC"; then
5248 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5252 do
5253 IFS=$as_save_IFS
5254 case $as_dir in #(((
5255 '') as_dir=./ ;;
5256 */) ;;
5257 *) as_dir=$as_dir/ ;;
5258 esac
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5261 ac_cv_prog_ac_ct_CC="clang"
5262 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5263 break 2
5264 fi
5265 done
5266 done
5267 IFS=$as_save_IFS
5268
5269 fi ;;
5270 esac
5271 fi
5272 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5273 if testscip-shell system . . test. -n "$ac_ct_CC"; then
5274 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5275 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
5276 else
5277 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5279 fi
5280
5281 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
5282 CC=""
5283 else
5284 case $cross_compiling:$ac_tool_warned in
5285 yes:)
5286 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5287 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5288 ac_tool_warned=yes ;;
5289 esac
5290 CC=$ac_ct_CC
5291 fi
5292 else
5293 CC="$ac_cv_prog_CC"
5294 fi
5295
5296 fi
5297
5298
5299 testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5300 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
5301 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable C compiler found in \$PATH
5302 See 'config.log' for more details" "$LINENO" 5; }
5303
5304 # Provide some information about the compiler.
5305 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5306 set X $ac_compile
5307 ac_compiler=$2
5308 for ac_option in --version -v -V -qversion -version; do
5309 { { ac_try="$ac_compiler $ac_option >&5"
5310 case "(($ac_try" in
5311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5312 *) ac_try_echo=$ac_try;;
5313 esac
5314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5315 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
5316 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5317 ac_status=$?
5318 if testscip-shell system . . test. -s conftest.err; then
5319 sedscip-shell system . . sed. '10a\
5320 ... rest of stderr output deleted ...
5321 10q' conftest.err >conftest.er1
5322 catscip-shell system . . cat. conftest.er1 >&5
5323 fi
5324 rmscip-shell system . . rm. -f conftest.er1 conftest.err
5325 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5326 testscip-shell system . . test. $ac_status = 0; }
5327 done
5328
5329 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5330 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; }
5331 if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y}
5332 then :
5333 printfscip-shell system . . printf. %s "(cached) " >&6
5334 else case e in #(
5335 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5336 /* end confdefs.h. */
5337
5338 int
5339 main (void)
5340 {
5341 #ifndef __GNUC__
5342 choke me
5343 #endif
5344
5345 ;
5346 return 0;
5347 }
5348 _ACEOF
5349 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5350 then :
5351 ac_compiler_gnu=yes
5352 else case e in #(
5353 e) ac_compiler_gnu=no ;;
5354 esac
5355 fi
5356 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5357 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5358 ;;
5359 esac
5360 fi
5361 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5362 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5364
5365 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
5366 GCC=yes
5367 else
5368 GCC=
5369 fi
5370 ac_test_CFLAGS=${CFLAGS+y}
5371 ac_save_CFLAGS=$CFLAGS
5372 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5373 printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; }
5374 if testscip-shell system . . test. ${ac_cv_prog_cc_g+y}
5375 then :
5376 printfscip-shell system . . printf. %s "(cached) " >&6
5377 else case e in #(
5378 e) ac_save_c_werror_flag=$ac_c_werror_flag
5379 ac_c_werror_flag=yes
5380 ac_cv_prog_cc_g=no
5381 CFLAGS="-g"
5382 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5384
5385 int
5386 main (void)
5387 {
5388
5389 ;
5390 return 0;
5391 }
5392 _ACEOF
5393 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5394 then :
5395 ac_cv_prog_cc_g=yes
5396 else case e in #(
5397 e) CFLAGS=""
5398 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5400
5401 int
5402 main (void)
5403 {
5404
5405 ;
5406 return 0;
5407 }
5408 _ACEOF
5409 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5410 then :
5411
5412 else case e in #(
5413 e) ac_c_werror_flag=$ac_save_c_werror_flag
5414 CFLAGS="-g"
5415 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5417
5418 int
5419 main (void)
5420 {
5421
5422 ;
5423 return 0;
5424 }
5425 _ACEOF
5426 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5427 then :
5428 ac_cv_prog_cc_g=yes
5429 fi
5430 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5431 esac
5432 fi
5433 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5434 esac
5435 fi
5436 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5437 ac_c_werror_flag=$ac_save_c_werror_flag ;;
5438 esac
5439 fi
5440 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5441 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; }
5442 if testscip-shell system . . test. $ac_test_CFLAGS; then
5443 CFLAGS=$ac_save_CFLAGS
5444 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
5445 if testscip-shell system . . test. "$GCC" = yes; then
5446 CFLAGS="-g -O2"
5447 else
5448 CFLAGS="-g"
5449 fi
5450 else
5451 if testscip-shell system . . test. "$GCC" = yes; then
5452 CFLAGS="-O2"
5453 else
5454 CFLAGS=
5455 fi
5456 fi
5457 ac_prog_cc_stdc=no
5458 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
5459 then :
5460 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5461 printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; }
5462 if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y}
5463 then :
5464 printfscip-shell system . . printf. %s "(cached) " >&6
5465 else case e in #(
5466 e) ac_cv_prog_cc_c11=no
5467 ac_save_CC=$CC
5468 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5469 /* end confdefs.h. */
5470 $ac_c_conftest_c11_program
5471 _ACEOF
5472 for ac_arg in '' -std=gnu11
5473 do
5474 CC="$ac_save_CC $ac_arg"
5475 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5476 then :
5477 ac_cv_prog_cc_c11=$ac_arg
5478 fi
5479 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
5480 testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break
5481 done
5482 rmscip-shell system . . rm. -f conftest.$ac_ext
5483 CC=$ac_save_CC ;;
5484 esac
5485 fi
5486
5487 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno
5488 then :
5489 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5490 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
5491 else case e in #(
5492 e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x
5493 then :
5494 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5495 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
5496 else case e in #(
5497 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5498 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5499 CC="$CC $ac_cv_prog_cc_c11" ;;
5500 esac
5501 fi
5502 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5503 ac_prog_cc_stdc=c11 ;;
5504 esac
5505 fi
5506 fi
5507 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
5508 then :
5509 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5510 printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; }
5511 if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y}
5512 then :
5513 printfscip-shell system . . printf. %s "(cached) " >&6
5514 else case e in #(
5515 e) ac_cv_prog_cc_c99=no
5516 ac_save_CC=$CC
5517 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5518 /* end confdefs.h. */
5519 $ac_c_conftest_c99_program
5520 _ACEOF
5521 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5522 do
5523 CC="$ac_save_CC $ac_arg"
5524 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5525 then :
5526 ac_cv_prog_cc_c99=$ac_arg
5527 fi
5528 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
5529 testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break
5530 done
5531 rmscip-shell system . . rm. -f conftest.$ac_ext
5532 CC=$ac_save_CC ;;
5533 esac
5534 fi
5535
5536 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno
5537 then :
5538 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5539 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
5540 else case e in #(
5541 e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x
5542 then :
5543 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5544 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
5545 else case e in #(
5546 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5547 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5548 CC="$CC $ac_cv_prog_cc_c99" ;;
5549 esac
5550 fi
5551 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5552 ac_prog_cc_stdc=c99 ;;
5553 esac
5554 fi
5555 fi
5556 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
5557 then :
5558 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5559 printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; }
5560 if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y}
5561 then :
5562 printfscip-shell system . . printf. %s "(cached) " >&6
5563 else case e in #(
5564 e) ac_cv_prog_cc_c89=no
5565 ac_save_CC=$CC
5566 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5568 $ac_c_conftest_c89_program
5569 _ACEOF
5570 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5571 do
5572 CC="$ac_save_CC $ac_arg"
5573 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5574 then :
5575 ac_cv_prog_cc_c89=$ac_arg
5576 fi
5577 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
5578 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
5579 done
5580 rmscip-shell system . . rm. -f conftest.$ac_ext
5581 CC=$ac_save_CC ;;
5582 esac
5583 fi
5584
5585 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno
5586 then :
5587 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5588 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
5589 else case e in #(
5590 e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x
5591 then :
5592 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5593 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
5594 else case e in #(
5595 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5596 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5597 CC="$CC $ac_cv_prog_cc_c89" ;;
5598 esac
5599 fi
5600 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5601 ac_prog_cc_stdc=c89 ;;
5602 esac
5603 fi
5604 fi
5605
5606 ac_ext=c
5607 ac_cpp='$CPP $CPPFLAGS'
5608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5611
5612
5613 ac_ext=c
5614 ac_cpp='$CPP $CPPFLAGS'
5615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5618 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5619 printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; }
5620 if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y}
5621 then :
5622 printfscip-shell system . . printf. %s "(cached) " >&6
5623 else case e in #(
5624 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5625 /* end confdefs.h. */
5626
5627 int
5628 main (void)
5629 {
5630
5631 ;
5632 return 0;
5633 }
5634 _ACEOF
5635 # Make sure it works both with $CC and with simple cc.
5636 # Following AC_PROG_CC_C_O, we do the test twice because some
5637 # compilers refuse to overwrite an existing .o file with -o,
5638 # though they will create one.
5639 am_cv_prog_cc_c_o=yes
5640 for am_i in 1 2; do
5641 if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5642 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5643 ac_status=$?
5644 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); } \
5646 && testscip-shell system . . test. -f conftest2.$ac_objext; then
5647 : OK
5648 else
5649 am_cv_prog_cc_c_o=no
5650 break
5651 fi
5652 done
5653 # aligned with autoconf, so not including core; see bug#72225.
5654 rmscip-shell system . . rm. -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
5655 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
5656 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
5657 unset am_i ;;
5658 esac
5659 fi
5660 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5661 printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; }
5662 if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then
5663 # Losing compiler, so override with the script.
5664 # FIXME: It is wrong to rewrite CC.
5665 # But if we don't then we get into trouble of one sort or another.
5666 # A longer-term fix would be to have automake use am__CC in this case,
5667 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5668 CC="$am_aux_dir/compile $CC"
5669 fi
5670 ac_ext=c
5671 ac_cpp='$CPP $CPPFLAGS'
5672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5675
5676
5677 depcc="$CC" am_compiler_list=
5678
5679 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5680 printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; }
5681 if testscip-shell system . . test. ${am_cv_CC_dependencies_compiler_type+y}
5682 then :
5683 printfscip-shell system . . printf. %s "(cached) " >&6
5684 else case e in #(
5685 e) if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
5686 # We make a subdir and do the tests there. Otherwise we can end up
5687 # making bogus files that we don't know about and never remove. For
5688 # instance it was reported that on HP-UX the gcc test will end up
5689 # making a dummy file named 'D' -- because '-MD' means "put the output
5690 # in D".
5691 rmscip-shell system . . rm. -rf conftest.dir
5692 mkdirscip-shell system . . mkdir. conftest.dir
5693 # Copy depcomp to subdir because otherwise we won't find it if we're
5694 # using a relative directory.
5695 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
5696 cd conftest.dir
5697 # We will build objects and dependencies in a subdirectory because
5698 # it helps to detect inapplicable dependency modes. For instance
5699 # both Tru64's cc and ICC support -MD to output dependencies as a
5700 # side effect of compilation, but ICC will put the dependencies in
5701 # the current directory while Tru64 will put them in the object
5702 # directory.
5703 mkdirscip-shell system . . mkdir. sub
5704
5705 am_cv_CC_dependencies_compiler_type=none
5706 if testscip-shell system . . test. "$am_compiler_list" = ""; then
5707 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5708 fi
5709 am__universal=false
5710 case " $depcc " in #(
5711 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5712 esac
5713
5714 for depmode in $am_compiler_list; do
5715 # Setup a source with many dependencies, because some compilers
5716 # like to wrap large dependency lists on column 80 (with \), and
5717 # we should not choose a depcomp mode which is confused by this.
5718 #
5719 # We need to recreate these files for each test, as the compiler may
5720 # overwrite some of them when testing with obscure command lines.
5721 # This happens at least with the AIX C compiler.
5722 : > sub/conftest.c
5723 for i in 1 2 3 4 5 6; do
5724 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
5725 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5726 # Solaris 10 /bin/sh.
5727 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
5728 done
5729 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5730
5731 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5732 # mode. It turns out that the SunPro C++ compiler does not properly
5733 # handle '-M -o', and we need to detect this. Also, some Intel
5734 # versions had trouble with output in subdirs.
5735 am__obj=sub/conftest.${OBJEXT-o}
5736 am__minus_obj="-o $am__obj"
5737 case $depmode in
5738 gcc)
5739 # This depmode causes a compiler race in universal mode.
5740 testscip-shell system . . test. "$am__universal" = false || continue
5741 ;;
5742 nosideeffect)
5743 # After this tag, mechanisms are not by side-effect, so they'll
5744 # only be used when explicitly requested.
5745 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
5746 continue
5747 else
5748 break
5749 fi
5750 ;;
5751 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5752 # This compiler won't grok '-c -o', but also, the minuso test has
5753 # not run yet. These depmodes are late enough in the game, and
5754 # so weak that their functioning should not be impacted.
5755 am__obj=conftest.${OBJEXT-o}
5756 am__minus_obj=
5757 ;;
5758 none) break ;;
5759 esac
5760 if depmode=$depmode \
5761 source=sub/conftest.c object=$am__obj \
5762 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5763 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5764 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
5765 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
5766 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
5767 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
5768 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
5769 # icc doesn't choke on unknown options, it will just issue warnings
5770 # or remarks (even with -Werror). So we grep stderr for any message
5771 # that says an option was ignored or not supported.
5772 # When given -MP, icc 7.0 and 7.1 complain thus:
5773 # icc: Command line warning: ignoring option '-M'; no argument required
5774 # The diagnosis changed in icc 8.0:
5775 # icc: Command line remark: option '-MP' not supported
5776 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
5777 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
5778 am_cv_CC_dependencies_compiler_type=$depmode
5779 break
5780 fi
5781 fi
5782 done
5783
5784 cd ..
5785 rmscip-shell system . . rm. -rf conftest.dir
5786 else
5787 am_cv_CC_dependencies_compiler_type=none
5788 fi
5789 ;;
5790 esac
5791 fi
5792 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5793 printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5794 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5795
5796 if
5797 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
5798 && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5799 am__fastdepCC_TRUE=
5800 am__fastdepCC_FALSE='#'
5801 else
5802 am__fastdepCC_TRUE='#'
5803 am__fastdepCC_FALSE=
5804 fi
5805
5806
5807 ac_ext=c
5808 ac_cpp='$CPP $CPPFLAGS'
5809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5812 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5813 printfscip-shell system . . printf. %s "checking how to run the C preprocessor... " >&6; }
5814 # On Suns, sometimes $CPP names a directory.
5815 if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then
5816 CPP=
5817 fi
5818 if testscip-shell system . . test. -z "$CPP"; then
5819 if testscip-shell system . . test. ${ac_cv_prog_CPP+y}
5820 then :
5821 printfscip-shell system . . printf. %s "(cached) " >&6
5822 else case e in #(
5823 e) # Double quotes because $CC needs to be expanded
5824 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cppscip-shell filesystem . . `/lib/cpp`.
5825 do
5826 ac_preproc_ok=false
5827 for ac_c_preproc_warn_flag in '' yes
5828 do
5829 # Use a header file that comes with gcc, so configuring glibc
5830 # with a fresh cross-compiler works.
5831 # On the NeXT, cc -E runs the code through the compiler's parser,
5832 # not just through cpp. "Syntax error" is here to catch this case.
5833 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5834 /* end confdefs.h. */
5835 #include <limits.h>
5836 Syntax error
5837 _ACEOF
5838 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
5839 then :
5840
5841 else case e in #(
5842 e) # Broken: fails on valid input.
5843 continue ;;
5844 esac
5845 fi
5846 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
5847
5848 # OK, works on sane cases. Now check whether nonexistent headers
5849 # can be detected and how.
5850 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h. */
5852 #include <ac_nonexistent.h>
5853 _ACEOF
5854 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
5855 then :
5856 # Broken: success on invalid input.
5857 continue
5858 else case e in #(
5859 e) # Passes both tests.
5860 ac_preproc_ok=:
5861 break ;;
5862 esac
5863 fi
5864 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
5865
5866 done
5867 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5868 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
5869 if $ac_preproc_ok
5870 then :
5871 break
5872 fi
5873
5874 done
5875 ac_cv_prog_CPP=$CPP
5876 ;;
5877 esac
5878 fi
5879 CPP=$ac_cv_prog_CPP
5880 else
5881 ac_cv_prog_CPP=$CPP
5882 fi
5883 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5884 printfscip-shell system . . printf. "%s\n" "$CPP" >&6; }
5885 ac_preproc_ok=false
5886 for ac_c_preproc_warn_flag in '' yes
5887 do
5888 # Use a header file that comes with gcc, so configuring glibc
5889 # with a fresh cross-compiler works.
5890 # On the NeXT, cc -E runs the code through the compiler's parser,
5891 # not just through cpp. "Syntax error" is here to catch this case.
5892 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5893 /* end confdefs.h. */
5894 #include <limits.h>
5895 Syntax error
5896 _ACEOF
5897 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
5898 then :
5899
5900 else case e in #(
5901 e) # Broken: fails on valid input.
5902 continue ;;
5903 esac
5904 fi
5905 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
5906
5907 # OK, works on sane cases. Now check whether nonexistent headers
5908 # can be detected and how.
5909 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5911 #include <ac_nonexistent.h>
5912 _ACEOF
5913 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
5914 then :
5915 # Broken: success on invalid input.
5916 continue
5917 else case e in #(
5918 e) # Passes both tests.
5919 ac_preproc_ok=:
5920 break ;;
5921 esac
5922 fi
5923 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
5924
5925 done
5926 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5927 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
5928 if $ac_preproc_ok
5929 then :
5930
5931 else case e in #(
5932 e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5933 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
5934 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "C preprocessor \"$CPP\" fails sanity check
5935 See 'config.log' for more details" "$LINENO" 5; } ;;
5936 esac
5937 fi
5938
5939 ac_ext=c
5940 ac_cpp='$CPP $CPPFLAGS'
5941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5944
5945
5946 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5947 printfscip-shell system . . printf. %s "checking whether ln -s works... " >&6; }
5948 LN_S=$as_ln_s
5949 if testscip-shell system . . test. "$LN_S" = "ln -s"; then
5950 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5951 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
5952 else
5953 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5954 printfscip-shell system . . printf. "%s\n" "no, using $LN_S" >&6; }
5955 fi
5956
5957 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5958 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5959 set x ${MAKE-make}
5960 ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5961 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
5962 then :
5963 printfscip-shell system . . printf. %s "(cached) " >&6
5964 else case e in #(
5965 e) catscip-shell system . . cat. >conftest.make <<\_ACEOF
5966 SHELL = /bin/sh
5967 all:
5968 @echo '@@@%%%=$(MAKE)=@@@%%%'
5969 _ACEOF
5970 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5971 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
5972 *@@@%%%=?*=@@@%%%*)
5973 eval ac_cv_prog_make_${ac_make}_set=yes;;
5974 *)
5975 eval ac_cv_prog_make_${ac_make}_set=no;;
5976 esac
5977 rmscip-shell system . . rm. -f conftest.make ;;
5978 esac
5979 fi
5980 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5981 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5982 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
5983 SET_MAKE=
5984 else
5985 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5987 SET_MAKE="MAKE=${MAKE-make}"
5988 fi
5989
5990
5991
5992 # Make sure we can run config.sub.
5993 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
5994 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5995
5996 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5997 printfscip-shell system . . printf. %s "checking build system type... " >&6; }
5998 if testscip-shell system . . test. ${ac_cv_build+y}
5999 then :
6000 printfscip-shell system . . printf. %s "(cached) " >&6
6001 else case e in #(
6002 e) ac_build_alias=$build_alias
6003 testscip-shell system . . test. "x$ac_build_alias" = x &&
6004 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
6005 testscip-shell system . . test. "x$ac_build_alias" = x &&
6006 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5
6007 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
6008 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
6009 ;;
6010 esac
6011 fi
6012 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6013 printfscip-shell system . . printf. "%s\n" "$ac_cv_build" >&6; }
6014 case $ac_cv_build in
6015 *-*-*) ;;
6016 *) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;;
6017 esac
6018 build=$ac_cv_build
6019 ac_save_IFS=$IFS; IFS='-'
6020 set x $ac_cv_build
6021 shift
6022 build_cpu=$1
6023 build_vendor=$2
6024 shift; shift
6025 # Remember, the first character of IFS is used to create $*,
6026 # except with old shells:
6027 build_os=$*
6028 IFS=$ac_save_IFS
6029 case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
6030
6031
6032 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6033 printfscip-shell system . . printf. %s "checking host system type... " >&6; }
6034 if testscip-shell system . . test. ${ac_cv_host+y}
6035 then :
6036 printfscip-shell system . . printf. %s "(cached) " >&6
6037 else case e in #(
6038 e) if testscip-shell system . . test. "x$host_alias" = x; then
6039 ac_cv_host=$ac_cv_build
6040 else
6041 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
6042 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
6043 fi
6044 ;;
6045 esac
6046 fi
6047 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6048 printfscip-shell system . . printf. "%s\n" "$ac_cv_host" >&6; }
6049 case $ac_cv_host in
6050 *-*-*) ;;
6051 *) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;;
6052 esac
6053 host=$ac_cv_host
6054 ac_save_IFS=$IFS; IFS='-'
6055 set x $ac_cv_host
6056 shift
6057 host_cpu=$1
6058 host_vendor=$2
6059 shift; shift
6060 # Remember, the first character of IFS is used to create $*,
6061 # except with old shells:
6062 host_os=$*
6063 IFS=$ac_save_IFS
6064 case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
6065
6066
6067 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6068 printfscip-shell system . . printf. %s "checking for a sed that does not truncate output... " >&6; }
6069 if testscip-shell system . . test. ${ac_cv_path_SED+y}
6070 then :
6071 printfscip-shell system . . printf. %s "(cached) " >&6
6072 else case e in #(
6073 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6074 for ac_i in 1 2 3 4 5 6 7; do
6075 ac_script="$ac_script$as_nl$ac_script"
6076 done
6077 echoscip-shell system . . echo. "$ac_script" 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 99q >conftest.sed
6078 { ac_script=; unset ac_script;}
6079 if testscip-shell system . . test. -z "$SED"; then
6080 ac_path_SED_found=false
6081 # Loop through the user's path and test for each of PROGNAME-LIST
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6084 do
6085 IFS=$as_save_IFS
6086 case $as_dir in #(((
6087 '') as_dir=./ ;;
6088 */) ;;
6089 *) as_dir=$as_dir/ ;;
6090 esac
6091 for ac_prog in sed gsed
6092 do
6093 for ac_exec_ext in '' $ac_executable_extensions; do
6094 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
6095 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_SED" || continue
6096 # Check for GNU ac_path_SED and select it if it is found.
6097 # Check for GNU $ac_path_SED
6098 case `"$ac_path_SED" --version 2>&1` in #(
6099 *GNU*)
6100 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6101 #(
6102 *)
6103 ac_count=0
6104 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
6105 while :
6106 do
6107 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
6108 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
6109 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
6110 printfscip-shell system . . printf. "%s\n" '' >> "conftest.nl"
6111 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
6112 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
6113 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
6114 if testscip-shell system . . test. $ac_count -gt ${ac_path_SED_max-0}; then
6115 # Best one so far, save it but keep looking for a better one
6116 ac_cv_path_SED="$ac_path_SED"
6117 ac_path_SED_max=$ac_count
6118 fi
6119 # 10*(2^10) chars as input seems more than enough
6120 testscip-shell system . . test. $ac_count -gt 10 && break
6121 done
6122 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
6123 esac
6124
6125 $ac_path_SED_found && break 3
6126 done
6127 done
6128 done
6129 IFS=$as_save_IFS
6130 if testscip-shell system . . test. -z "$ac_cv_path_SED"; then
6131 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6132 fi
6133 else
6134 ac_cv_path_SED=$SED
6135 fi
6136 ;;
6137 esac
6138 fi
6139 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6140 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_SED" >&6; }
6141 SED="$ac_cv_path_SED"
6142 rmscip-shell system . . rm. -f conftest.sed
6143
6144 testscip-shell system . . test. -z "$SED" && SED=sed
6145 Xsed="$SED -e 1s/^X//"
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6158 printfscip-shell system . . printf. %s "checking for grep that handles long lines and -e... " >&6; }
6159 if testscip-shell system . . test. ${ac_cv_path_GREP+y}
6160 then :
6161 printfscip-shell system . . printf. %s "(cached) " >&6
6162 else case e in #(
6163 e) if testscip-shell system . . test. -z "$GREP"; then
6164 ac_path_GREP_found=false
6165 # Loop through the user's path and test for each of PROGNAME-LIST
6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6167 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6168 do
6169 IFS=$as_save_IFS
6170 case $as_dir in #(((
6171 '') as_dir=./ ;;
6172 */) ;;
6173 *) as_dir=$as_dir/ ;;
6174 esac
6175 for ac_prog in grep ggrep
6176 do
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6179 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_GREP" || continue
6180 # Check for GNU ac_path_GREP and select it if it is found.
6181 # Check for GNU $ac_path_GREP
6182 case `"$ac_path_GREP" --version 2>&1` in #(
6183 *GNU*)
6184 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6185 #(
6186 *)
6187 ac_count=0
6188 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
6189 while :
6190 do
6191 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
6192 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
6193 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
6194 printfscip-shell system . . printf. "%s\n" 'GREP' >> "conftest.nl"
6195 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
6196 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
6197 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
6198 if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then
6199 # Best one so far, save it but keep looking for a better one
6200 ac_cv_path_GREP="$ac_path_GREP"
6201 ac_path_GREP_max=$ac_count
6202 fi
6203 # 10*(2^10) chars as input seems more than enough
6204 testscip-shell system . . test. $ac_count -gt 10 && break
6205 done
6206 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
6207 esac
6208
6209 $ac_path_GREP_found && break 3
6210 done
6211 done
6212 done
6213 IFS=$as_save_IFS
6214 if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then
6215 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
6216 fi
6217 else
6218 ac_cv_path_GREP=$GREP
6219 fi
6220 ;;
6221 esac
6222 fi
6223 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6224 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_GREP" >&6; }
6225 GREP="$ac_cv_path_GREP"
6226
6227
6228 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6229 printfscip-shell system . . printf. %s "checking for egrep... " >&6; }
6230 if testscip-shell system . . test. ${ac_cv_path_EGREP+y}
6231 then :
6232 printfscip-shell system . . printf. %s "(cached) " >&6
6233 else case e in #(
6234 e) if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
6235 then ac_cv_path_EGREP="$GREP -E"
6236 else
6237 if testscip-shell system . . test. -z "$EGREP"; then
6238 ac_path_EGREP_found=false
6239 # Loop through the user's path and test for each of PROGNAME-LIST
6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6241 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6242 do
6243 IFS=$as_save_IFS
6244 case $as_dir in #(((
6245 '') as_dir=./ ;;
6246 */) ;;
6247 *) as_dir=$as_dir/ ;;
6248 esac
6249 for ac_prog in egrep
6250 do
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6253 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_EGREP" || continue
6254 # Check for GNU ac_path_EGREP and select it if it is found.
6255 # Check for GNU $ac_path_EGREP
6256 case `"$ac_path_EGREP" --version 2>&1` in #(
6257 *GNU*)
6258 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6259 #(
6260 *)
6261 ac_count=0
6262 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
6263 while :
6264 do
6265 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
6266 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
6267 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
6268 printfscip-shell system . . printf. "%s\n" 'EGREP' >> "conftest.nl"
6269 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
6270 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
6271 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
6272 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then
6273 # Best one so far, save it but keep looking for a better one
6274 ac_cv_path_EGREP="$ac_path_EGREP"
6275 ac_path_EGREP_max=$ac_count
6276 fi
6277 # 10*(2^10) chars as input seems more than enough
6278 testscip-shell system . . test. $ac_count -gt 10 && break
6279 done
6280 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
6281 esac
6282
6283 $ac_path_EGREP_found && break 3
6284 done
6285 done
6286 done
6287 IFS=$as_save_IFS
6288 if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then
6289 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
6290 fi
6291 else
6292 ac_cv_path_EGREP=$EGREP
6293 fi
6294
6295 fi ;;
6296 esac
6297 fi
6298 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6299 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP" >&6; }
6300 EGREP="$ac_cv_path_EGREP"
6301
6302 EGREP_TRADITIONAL=$EGREP
6303 ac_cv_path_EGREP_TRADITIONAL=$EGREP
6304
6305 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6306 printfscip-shell system . . printf. %s "checking for fgrep... " >&6; }
6307 if testscip-shell system . . test. ${ac_cv_path_FGREP+y}
6308 then :
6309 printfscip-shell system . . printf. %s "(cached) " >&6
6310 else case e in #(
6311 e) if echoscip-shell system . . echo. 'ab*c' | $GREP -F 'ab*c' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
6312 then ac_cv_path_FGREP="$GREP -F"
6313 else
6314 if testscip-shell system . . test. -z "$FGREP"; then
6315 ac_path_FGREP_found=false
6316 # Loop through the user's path and test for each of PROGNAME-LIST
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6318 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6319 do
6320 IFS=$as_save_IFS
6321 case $as_dir in #(((
6322 '') as_dir=./ ;;
6323 */) ;;
6324 *) as_dir=$as_dir/ ;;
6325 esac
6326 for ac_prog in fgrep
6327 do
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
6330 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_FGREP" || continue
6331 # Check for GNU ac_path_FGREP and select it if it is found.
6332 # Check for GNU $ac_path_FGREP
6333 case `"$ac_path_FGREP" --version 2>&1` in #(
6334 *GNU*)
6335 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6336 #(
6337 *)
6338 ac_count=0
6339 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
6340 while :
6341 do
6342 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
6343 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
6344 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
6345 printfscip-shell system . . printf. "%s\n" 'FGREP' >> "conftest.nl"
6346 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
6347 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
6348 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
6349 if testscip-shell system . . test. $ac_count -gt ${ac_path_FGREP_max-0}; then
6350 # Best one so far, save it but keep looking for a better one
6351 ac_cv_path_FGREP="$ac_path_FGREP"
6352 ac_path_FGREP_max=$ac_count
6353 fi
6354 # 10*(2^10) chars as input seems more than enough
6355 testscip-shell system . . test. $ac_count -gt 10 && break
6356 done
6357 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
6358 esac
6359
6360 $ac_path_FGREP_found && break 3
6361 done
6362 done
6363 done
6364 IFS=$as_save_IFS
6365 if testscip-shell system . . test. -z "$ac_cv_path_FGREP"; then
6366 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
6367 fi
6368 else
6369 ac_cv_path_FGREP=$FGREP
6370 fi
6371
6372 fi ;;
6373 esac
6374 fi
6375 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6376 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_FGREP" >&6; }
6377 FGREP="$ac_cv_path_FGREP"
6378
6379
6380 testscip-shell system . . test. -z "$GREP" && GREP=grep
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6399 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6400 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6401
6402 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6403 printfscip-shell system . . printf. %s "checking how to print strings... " >&6; }
6404 # Test print first, because it will be a builtin if present.
6405 if testscip-shell system . . test. "X`( print -r -- -n ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = X-n && \
6406 test "X`print -r -- $ECHO 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = "X$ECHO"; then
6407 ECHO='print -r --'
6408 elif testscip-shell system . . test. "X`printfscip-shell system . . printf. %s $ECHO 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = "X$ECHO"; then
6409 ECHO='printf %s\n'
6410 else
6411 # Use this function as a fallback that always works.
6412 func_fallback_echoscip-shell shell shell-project 0.0.0 func_fallback_echo(). ()
6413 {
6414 eval 'cat <<_LTECHO_EOF
6415 $1
6416 _LTECHO_EOF'
6417 }
6418 ECHO='func_fallback_echo'
6419 fi
6420
6421 # func_echo_all arg...
6422 # Invoke $ECHO with all args, space-separated.
6423 func_echo_allscip-shell shell shell-project 0.0.0 func_echo_all(). ()
6424 {
6425 $ECHO ""
6426 }
6427
6428 case $ECHO in
6429 printf*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6430 printfscip-shell system . . printf. "%s\n" "printf" >&6; } ;;
6431 print*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6432 printfscip-shell system . . printf. "%s\n" "print -r" >&6; } ;;
6433 *) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6434 printfscip-shell system . . printf. "%s\n" "cat" >&6; } ;;
6435 esac
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452 # Check whether --with-gnu-ld was given.
6453 if testscip-shell system . . test. ${with_gnu_ld+y}
6454 then :
6455 withval=$with_gnu_ld; testscip-shell system . . test. no = "$withval" || with_gnu_ld=yes
6456 else case e in #(
6457 e) with_gnu_ld=no ;;
6458 esac
6459 fi
6460
6461 ac_prog=ld
6462 if testscip-shell system . . test. yes = "$GCC"; then
6463 # Check if gcc -print-prog-name=ld gives a path.
6464 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6465 printfscip-shell system . . printf. %s "checking for ld used by $CC... " >&6; }
6466 case $host in
6467 *-*-mingw* | *-*-windows*)
6468 # gcc leaves a trailing carriage return, which upsets mingw
6469 ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;;
6470 *)
6471 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6472 esac
6473 case $ac_prog in
6474 # Accept absolute paths.
6475 [\\/]* | ?:[\\/]*)
6476 re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.'
6477 # Canonicalize the pathname of ld
6478 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6479 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do
6480 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6481 done
6482 testscip-shell system . . test. -z "$LD" && LD=$ac_prog
6483 ;;
6484 "")
6485 # If it fails, then pretend we aren't using GCC.
6486 ac_prog=ld
6487 ;;
6488 *)
6489 # If it is relative, then search for the first ld in PATH.
6490 with_gnu_ld=unknown
6491 ;;
6492 esac
6493 elif testscip-shell system . . test. yes = "$with_gnu_ld"; then
6494 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6495 printfscip-shell system . . printf. %s "checking for GNU ld... " >&6; }
6496 else
6497 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6498 printfscip-shell system . . printf. %s "checking for non-GNU ld... " >&6; }
6499 fi
6500 if testscip-shell system . . test. ${lt_cv_path_LD+y}
6501 then :
6502 printfscip-shell system . . printf. %s "(cached) " >&6
6503 else case e in #(
6504 e) if testscip-shell system . . test. -z "$LD"; then
6505 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6506 for ac_dir in $PATH; do
6507 IFS=$lt_save_ifs
6508 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
6509 if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then
6510 lt_cv_path_LD=$ac_dir/$ac_prog
6511 # Check to see if the program is GNU ld. I'd rather use --version,
6512 # but apparently some variants of GNU ld only accept -v.
6513 # Break only if it was the GNU/non-GNU ld that we prefer.
6514 case `"$lt_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
6515 *GNU* | *'with BFD'*)
6516 testscip-shell system . . test. no != "$with_gnu_ld" && break
6517 ;;
6518 *)
6519 testscip-shell system . . test. yes != "$with_gnu_ld" && break
6520 ;;
6521 esac
6522 fi
6523 done
6524 IFS=$lt_save_ifs
6525 else
6526 lt_cv_path_LD=$LD # Let the user override the test with a path.
6527 fi ;;
6528 esac
6529 fi
6530
6531 LD=$lt_cv_path_LD
6532 if testscip-shell system . . test. -n "$LD"; then
6533 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6534 printfscip-shell system . . printf. "%s\n" "$LD" >&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 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
6540 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6541 printfscip-shell system . . printf. %s "checking if the linker ($LD) is GNU ld... " >&6; }
6542 if testscip-shell system . . test. ${lt_cv_prog_gnu_ld+y}
6543 then :
6544 printfscip-shell system . . printf. %s "(cached) " >&6
6545 else case e in #(
6546 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
6547 case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
6548 *GNU* | *'with BFD'*)
6549 lt_cv_prog_gnu_ld=yes
6550 ;;
6551 *)
6552 lt_cv_prog_gnu_ld=no
6553 ;;
6554 esac ;;
6555 esac
6556 fi
6557 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6558 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
6559 with_gnu_ld=$lt_cv_prog_gnu_ld
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571 ac_header= ac_cache=
6572 for ac_item in $ac_header_c_list
6573 do
6574 if testscip-shell system . . test. $ac_cache; then
6575 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"
6576 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
6577 printfscip-shell system . . printf. "%s\n" "#define $ac_item 1" >> confdefs.h
6578 fi
6579 ac_header= ac_cache=
6580 elif testscip-shell system . . test. $ac_header; then
6581 ac_cache=$ac_item
6582 else
6583 ac_header=$ac_item
6584 fi
6585 done
6586
6587
6588
6589
6590
6591
6592
6593
6594 if testscip-shell system . . test. $ac_cv_header_stdlib_h = yes && testscip-shell system . . test. $ac_cv_header_string_h = yes
6595 then :
6596
6597 printfscip-shell system . . printf. "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
6598
6599 fi
6600
6601
6602
6603
6604
6605
6606 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
6607 printfscip-shell system . . printf. %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
6608 if testscip-shell system . . test. ${ac_cv_safe_to_define___extensions__+y}
6609 then :
6610 printfscip-shell system . . printf. %s "(cached) " >&6
6611 else case e in #(
6612 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6614
6615 # define __EXTENSIONS__ 1
6616 $ac_includes_default
6617 int
6618 main (void)
6619 {
6620
6621 ;
6622 return 0;
6623 }
6624 _ACEOF
6625 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
6626 then :
6627 ac_cv_safe_to_define___extensions__=yes
6628 else case e in #(
6629 e) ac_cv_safe_to_define___extensions__=no ;;
6630 esac
6631 fi
6632 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
6633 esac
6634 fi
6635 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
6636 printfscip-shell system . . printf. "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
6637
6638 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
6639 printfscip-shell system . . printf. %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
6640 if testscip-shell system . . test. ${ac_cv_should_define__xopen_source+y}
6641 then :
6642 printfscip-shell system . . printf. %s "(cached) " >&6
6643 else case e in #(
6644 e) ac_cv_should_define__xopen_source=no
6645 if testscip-shell system . . test. $ac_cv_header_wchar_h = yes
6646 then :
6647 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6648 /* end confdefs.h. */
6649
6650 #include <wchar.h>
6651 mbstate_t x;
6652 int
6653 main (void)
6654 {
6655
6656 ;
6657 return 0;
6658 }
6659 _ACEOF
6660 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
6661 then :
6662
6663 else case e in #(
6664 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h. */
6666
6667 #define _XOPEN_SOURCE 500
6668 #include <wchar.h>
6669 mbstate_t x;
6670 int
6671 main (void)
6672 {
6673
6674 ;
6675 return 0;
6676 }
6677 _ACEOF
6678 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
6679 then :
6680 ac_cv_should_define__xopen_source=yes
6681 fi
6682 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
6683 esac
6684 fi
6685 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6686 fi ;;
6687 esac
6688 fi
6689 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
6690 printfscip-shell system . . printf. "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
6691
6692 printfscip-shell system . . printf. "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
6693
6694 printfscip-shell system . . printf. "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
6695
6696 printfscip-shell system . . printf. "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
6697
6698 printfscip-shell system . . printf. "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
6699
6700 printfscip-shell system . . printf. "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
6701
6702 printfscip-shell system . . printf. "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
6703
6704 printfscip-shell system . . printf. "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
6705
6706 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
6707
6708 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
6709
6710 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
6711
6712 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
6713
6714 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
6715
6716 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
6717
6718 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
6719
6720 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
6721
6722 printfscip-shell system . . printf. "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
6723
6724 if testscip-shell system . . test. $ac_cv_header_minix_config_h = yes
6725 then :
6726 MINIX=yes
6727 printfscip-shell system . . printf. "%s\n" "#define _MINIX 1" >>confdefs.h
6728
6729 printfscip-shell system . . printf. "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
6730
6731 printfscip-shell system . . printf. "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
6732
6733 else case e in #(
6734 e) MINIX= ;;
6735 esac
6736 fi
6737 if testscip-shell system . . test. $ac_cv_safe_to_define___extensions__ = yes
6738 then :
6739 printfscip-shell system . . printf. "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
6740
6741 fi
6742 if testscip-shell system . . test. $ac_cv_should_define__xopen_source = yes
6743 then :
6744 printfscip-shell system . . printf. "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
6745
6746 fi
6747
6748
6749
6750
6751 ax_cxx_compile_cxx11_required=true
6752 ac_ext=cpp
6753 ac_cpp='$CXXCPP $CPPFLAGS'
6754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6757 ac_success=no
6758 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
6759 printfscip-shell system . . printf. %s "checking whether $CXX supports C++11 features by default... " >&6; }
6760 if testscip-shell system . . test. ${ax_cv_cxx_compile_cxx11+y}
6761 then :
6762 printfscip-shell system . . printf. %s "(cached) " >&6
6763 else case e in #(
6764 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6765 /* end confdefs.h. */
6766
6767
6768 // If the compiler admits that it is not ready for C++11, why torture it?
6769 // Hopefully, this will speed up the test.
6770
6771 #ifndef __cplusplus
6772
6773 #error "This is not a C++ compiler"
6774
6775 #elif __cplusplus < 201103L
6776
6777 #error "This is not a C++11 compiler"
6778
6779 #else
6780
6781 namespace cxx11
6782 {
6783
6784 namespace test_static_assert
6785 {
6786
6787 template <typename T>
6788 struct check
6789 {
6790 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6791 };
6792
6793 }
6794
6795 namespace test_final_override
6796 {
6797
6798 struct Base
6799 {
6800 virtual void f() {}
6801 };
6802
6803 struct Derived : public Base
6804 {
6805 virtual void f() override {}
6806 };
6807
6808 }
6809
6810 namespace test_double_right_angle_brackets
6811 {
6812
6813 template < typename T >
6814 struct check {};
6815
6816 typedef check<void> single_type;
6817 typedef check<check<void>> double_type;
6818 typedef check<check<check<void>>> triple_type;
6819 typedef check<check<check<check<void>>>> quadruple_type;
6820
6821 }
6822
6823 namespace test_decltype
6824 {
6825
6826 int
6827 f()
6828 {
6829 int a = 1;
6830 decltype(a) b = 2;
6831 return a + b;
6832 }
6833
6834 }
6835
6836 namespace test_type_deduction
6837 {
6838
6839 template < typename T1, typename T2 >
6840 struct is_same
6841 {
6842 static const bool value = false;
6843 };
6844
6845 template < typename T >
6846 struct is_same<T, T>
6847 {
6848 static const bool value = true;
6849 };
6850
6851 template < typename T1, typename T2 >
6852 auto
6853 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6854 {
6855 return a1 + a2;
6856 }
6857
6858 int
6859 test(const int c, volatile int v)
6860 {
6861 static_assert(is_same<int, decltype(0)>::value == true, "");
6862 static_assert(is_same<int, decltype(c)>::value == false, "");
6863 static_assert(is_same<int, decltype(v)>::value == false, "");
6864 auto ac = c;
6865 auto av = v;
6866 auto sumi = ac + av + 'x';
6867 auto sumf = ac + av + 1.0;
6868 static_assert(is_same<int, decltype(ac)>::value == true, "");
6869 static_assert(is_same<int, decltype(av)>::value == true, "");
6870 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6871 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6872 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6873 return (sumf > 0.0) ? sumi : add(c, v);
6874 }
6875
6876 }
6877
6878 namespace test_noexcept
6879 {
6880
6881 int f() { return 0; }
6882 int g() noexcept { return 0; }
6883
6884 static_assert(noexcept(f()) == false, "");
6885 static_assert(noexcept(g()) == true, "");
6886
6887 }
6888
6889 namespace test_constexpr
6890 {
6891
6892 template < typename CharT >
6893 unsigned long constexpr
6894 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6895 {
6896 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6897 }
6898
6899 template < typename CharT >
6900 unsigned long constexpr
6901 strlen_c(const CharT *const s) noexcept
6902 {
6903 return strlen_c_r(s, 0UL);
6904 }
6905
6906 static_assert(strlen_c("") == 0UL, "");
6907 static_assert(strlen_c("1") == 1UL, "");
6908 static_assert(strlen_c("example") == 7UL, "");
6909 static_assert(strlen_c("another\0example") == 7UL, "");
6910
6911 }
6912
6913 namespace test_rvalue_references
6914 {
6915
6916 template < int N >
6917 struct answer
6918 {
6919 static constexpr int value = N;
6920 };
6921
6922 answer<1> f(int&) { return answer<1>(); }
6923 answer<2> f(const int&) { return answer<2>(); }
6924 answer<3> f(int&&) { return answer<3>(); }
6925
6926 void
6927 test()
6928 {
6929 int i = 0;
6930 const int c = 0;
6931 static_assert(decltype(f(i))::value == 1, "");
6932 static_assert(decltype(f(c))::value == 2, "");
6933 static_assert(decltype(f(0))::value == 3, "");
6934 }
6935
6936 }
6937
6938 namespace test_uniform_initialization
6939 {
6940
6941 struct test
6942 {
6943 static const int zero {};
6944 static const int one {1};
6945 };
6946
6947 static_assert(test::zero == 0, "");
6948 static_assert(test::one == 1, "");
6949
6950 }
6951
6952 namespace test_lambdas
6953 {
6954
6955 void
6956 test1()
6957 {
6958 auto lambda1 = [](){};
6959 auto lambda2 = lambda1;
6960 lambda1();
6961 lambda2();
6962 }
6963
6964 int
6965 test2()
6966 {
6967 auto a = [](int i, int j){ return i + j; }(1, 2);
6968 auto b = []() -> int { return '0'; }();
6969 auto c = [=](){ return a + b; }();
6970 auto d = [&](){ return c; }();
6971 auto e = [a, &b](int x) mutable {
6972 const auto identity = [](int y){ return y; };
6973 for (auto i = 0; i < a; ++i)
6974 a += b--;
6975 return x + identity(a + b);
6976 }(0);
6977 return a + b + c + d + e;
6978 }
6979
6980 int
6981 test3()
6982 {
6983 const auto nullary = [](){ return 0; };
6984 const auto unary = [](int x){ return x; };
6985 using nullary_t = decltype(nullary);
6986 using unary_t = decltype(unary);
6987 const auto higher1st = [](nullary_t f){ return f(); };
6988 const auto higher2nd = [unary](nullary_t f1){
6989 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6990 };
6991 return higher1st(nullary) + higher2nd(nullary)(unary);
6992 }
6993
6994 }
6995
6996 namespace test_variadic_templates
6997 {
6998
6999 template <int...>
7000 struct sum;
7001
7002 template <int N0, int... N1toN>
7003 struct sum<N0, N1toN...>
7004 {
7005 static constexpr auto value = N0 + sum<N1toN...>::value;
7006 };
7007
7008 template <>
7009 struct sum<>
7010 {
7011 static constexpr auto value = 0;
7012 };
7013
7014 static_assert(sum<>::value == 0, "");
7015 static_assert(sum<1>::value == 1, "");
7016 static_assert(sum<23>::value == 23, "");
7017 static_assert(sum<1, 2>::value == 3, "");
7018 static_assert(sum<5, 5, 11>::value == 21, "");
7019 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7020
7021 }
7022
7023 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7024 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7025 // because of this.
7026 namespace test_template_alias_sfinae
7027 {
7028
7029 struct foo {};
7030
7031 template<typename T>
7032 using member = typename T::member_type;
7033
7034 template<typename T>
7035 void func(...) {}
7036
7037 template<typename T>
7038 void func(member<T>*) {}
7039
7040 void test();
7041
7042 void test() { func<foo>(0); }
7043
7044 }
7045
7046 } // namespace cxx11
7047
7048 #endif // __cplusplus >= 201103L
7049
7050
7051
7052 _ACEOF
7053 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
7054 then :
7055 ax_cv_cxx_compile_cxx11=yes
7056 else case e in #(
7057 e) ax_cv_cxx_compile_cxx11=no ;;
7058 esac
7059 fi
7060 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
7061 esac
7062 fi
7063 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
7064 printfscip-shell system . . printf. "%s\n" "$ax_cv_cxx_compile_cxx11" >&6; }
7065 if testscip-shell system . . test. x$ax_cv_cxx_compile_cxx11 = xyes; then
7066 ac_success=yes
7067 fi
7068
7069 if testscip-shell system . . test. x$ac_success = xno; then
7070 for switch in -std=gnu++11 -std=gnu++0x; do
7071 cachevar=`printfscip-shell system . . printf. "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | sedscip-shell system . . sed. "$as_sed_sh"`
7072 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
7073 printfscip-shell system . . printf. %s "checking whether $CXX supports C++11 features with $switch... " >&6; }
7074 if eval test \${$cachevar+y}
7075 then :
7076 printfscip-shell system . . printf. %s "(cached) " >&6
7077 else case e in #(
7078 e) ac_save_CXX="$CXX"
7079 CXX="$CXX $switch"
7080 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7081 /* end confdefs.h. */
7082
7083
7084 // If the compiler admits that it is not ready for C++11, why torture it?
7085 // Hopefully, this will speed up the test.
7086
7087 #ifndef __cplusplus
7088
7089 #error "This is not a C++ compiler"
7090
7091 #elif __cplusplus < 201103L
7092
7093 #error "This is not a C++11 compiler"
7094
7095 #else
7096
7097 namespace cxx11
7098 {
7099
7100 namespace test_static_assert
7101 {
7102
7103 template <typename T>
7104 struct check
7105 {
7106 static_assert(sizeof(int) <= sizeof(T), "not big enough");
7107 };
7108
7109 }
7110
7111 namespace test_final_override
7112 {
7113
7114 struct Base
7115 {
7116 virtual void f() {}
7117 };
7118
7119 struct Derived : public Base
7120 {
7121 virtual void f() override {}
7122 };
7123
7124 }
7125
7126 namespace test_double_right_angle_brackets
7127 {
7128
7129 template < typename T >
7130 struct check {};
7131
7132 typedef check<void> single_type;
7133 typedef check<check<void>> double_type;
7134 typedef check<check<check<void>>> triple_type;
7135 typedef check<check<check<check<void>>>> quadruple_type;
7136
7137 }
7138
7139 namespace test_decltype
7140 {
7141
7142 int
7143 f()
7144 {
7145 int a = 1;
7146 decltype(a) b = 2;
7147 return a + b;
7148 }
7149
7150 }
7151
7152 namespace test_type_deduction
7153 {
7154
7155 template < typename T1, typename T2 >
7156 struct is_same
7157 {
7158 static const bool value = false;
7159 };
7160
7161 template < typename T >
7162 struct is_same<T, T>
7163 {
7164 static const bool value = true;
7165 };
7166
7167 template < typename T1, typename T2 >
7168 auto
7169 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7170 {
7171 return a1 + a2;
7172 }
7173
7174 int
7175 test(const int c, volatile int v)
7176 {
7177 static_assert(is_same<int, decltype(0)>::value == true, "");
7178 static_assert(is_same<int, decltype(c)>::value == false, "");
7179 static_assert(is_same<int, decltype(v)>::value == false, "");
7180 auto ac = c;
7181 auto av = v;
7182 auto sumi = ac + av + 'x';
7183 auto sumf = ac + av + 1.0;
7184 static_assert(is_same<int, decltype(ac)>::value == true, "");
7185 static_assert(is_same<int, decltype(av)>::value == true, "");
7186 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7187 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7188 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7189 return (sumf > 0.0) ? sumi : add(c, v);
7190 }
7191
7192 }
7193
7194 namespace test_noexcept
7195 {
7196
7197 int f() { return 0; }
7198 int g() noexcept { return 0; }
7199
7200 static_assert(noexcept(f()) == false, "");
7201 static_assert(noexcept(g()) == true, "");
7202
7203 }
7204
7205 namespace test_constexpr
7206 {
7207
7208 template < typename CharT >
7209 unsigned long constexpr
7210 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7211 {
7212 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7213 }
7214
7215 template < typename CharT >
7216 unsigned long constexpr
7217 strlen_c(const CharT *const s) noexcept
7218 {
7219 return strlen_c_r(s, 0UL);
7220 }
7221
7222 static_assert(strlen_c("") == 0UL, "");
7223 static_assert(strlen_c("1") == 1UL, "");
7224 static_assert(strlen_c("example") == 7UL, "");
7225 static_assert(strlen_c("another\0example") == 7UL, "");
7226
7227 }
7228
7229 namespace test_rvalue_references
7230 {
7231
7232 template < int N >
7233 struct answer
7234 {
7235 static constexpr int value = N;
7236 };
7237
7238 answer<1> f(int&) { return answer<1>(); }
7239 answer<2> f(const int&) { return answer<2>(); }
7240 answer<3> f(int&&) { return answer<3>(); }
7241
7242 void
7243 test()
7244 {
7245 int i = 0;
7246 const int c = 0;
7247 static_assert(decltype(f(i))::value == 1, "");
7248 static_assert(decltype(f(c))::value == 2, "");
7249 static_assert(decltype(f(0))::value == 3, "");
7250 }
7251
7252 }
7253
7254 namespace test_uniform_initialization
7255 {
7256
7257 struct test
7258 {
7259 static const int zero {};
7260 static const int one {1};
7261 };
7262
7263 static_assert(test::zero == 0, "");
7264 static_assert(test::one == 1, "");
7265
7266 }
7267
7268 namespace test_lambdas
7269 {
7270
7271 void
7272 test1()
7273 {
7274 auto lambda1 = [](){};
7275 auto lambda2 = lambda1;
7276 lambda1();
7277 lambda2();
7278 }
7279
7280 int
7281 test2()
7282 {
7283 auto a = [](int i, int j){ return i + j; }(1, 2);
7284 auto b = []() -> int { return '0'; }();
7285 auto c = [=](){ return a + b; }();
7286 auto d = [&](){ return c; }();
7287 auto e = [a, &b](int x) mutable {
7288 const auto identity = [](int y){ return y; };
7289 for (auto i = 0; i < a; ++i)
7290 a += b--;
7291 return x + identity(a + b);
7292 }(0);
7293 return a + b + c + d + e;
7294 }
7295
7296 int
7297 test3()
7298 {
7299 const auto nullary = [](){ return 0; };
7300 const auto unary = [](int x){ return x; };
7301 using nullary_t = decltype(nullary);
7302 using unary_t = decltype(unary);
7303 const auto higher1st = [](nullary_t f){ return f(); };
7304 const auto higher2nd = [unary](nullary_t f1){
7305 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7306 };
7307 return higher1st(nullary) + higher2nd(nullary)(unary);
7308 }
7309
7310 }
7311
7312 namespace test_variadic_templates
7313 {
7314
7315 template <int...>
7316 struct sum;
7317
7318 template <int N0, int... N1toN>
7319 struct sum<N0, N1toN...>
7320 {
7321 static constexpr auto value = N0 + sum<N1toN...>::value;
7322 };
7323
7324 template <>
7325 struct sum<>
7326 {
7327 static constexpr auto value = 0;
7328 };
7329
7330 static_assert(sum<>::value == 0, "");
7331 static_assert(sum<1>::value == 1, "");
7332 static_assert(sum<23>::value == 23, "");
7333 static_assert(sum<1, 2>::value == 3, "");
7334 static_assert(sum<5, 5, 11>::value == 21, "");
7335 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7336
7337 }
7338
7339 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7340 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7341 // because of this.
7342 namespace test_template_alias_sfinae
7343 {
7344
7345 struct foo {};
7346
7347 template<typename T>
7348 using member = typename T::member_type;
7349
7350 template<typename T>
7351 void func(...) {}
7352
7353 template<typename T>
7354 void func(member<T>*) {}
7355
7356 void test();
7357
7358 void test() { func<foo>(0); }
7359
7360 }
7361
7362 } // namespace cxx11
7363
7364 #endif // __cplusplus >= 201103L
7365
7366
7367
7368 _ACEOF
7369 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
7370 then :
7371 eval $cachevar=yes
7372 else case e in #(
7373 e) eval $cachevar=no ;;
7374 esac
7375 fi
7376 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7377 CXX="$ac_save_CXX" ;;
7378 esac
7379 fi
7380 eval ac_res=\$$cachevar
7381 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7382 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
7383 if eval test x\$$cachevar = xyes; then
7384 CXX="$CXX $switch"
7385 if testscip-shell system . . test. -n "$CXXCPP" ; then
7386 CXXCPP="$CXXCPP $switch"
7387 fi
7388 ac_success=yes
7389 break
7390 fi
7391 done
7392 fi
7393
7394 if testscip-shell system . . test. x$ac_success = xno; then
7395 for switch in -std=c++11 -std=c++0x +std=c++11 "-h std=c++11"; do
7396 cachevar=`printfscip-shell system . . printf. "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | sedscip-shell system . . sed. "$as_sed_sh"`
7397 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
7398 printfscip-shell system . . printf. %s "checking whether $CXX supports C++11 features with $switch... " >&6; }
7399 if eval test \${$cachevar+y}
7400 then :
7401 printfscip-shell system . . printf. %s "(cached) " >&6
7402 else case e in #(
7403 e) ac_save_CXX="$CXX"
7404 CXX="$CXX $switch"
7405 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7406 /* end confdefs.h. */
7407
7408
7409 // If the compiler admits that it is not ready for C++11, why torture it?
7410 // Hopefully, this will speed up the test.
7411
7412 #ifndef __cplusplus
7413
7414 #error "This is not a C++ compiler"
7415
7416 #elif __cplusplus < 201103L
7417
7418 #error "This is not a C++11 compiler"
7419
7420 #else
7421
7422 namespace cxx11
7423 {
7424
7425 namespace test_static_assert
7426 {
7427
7428 template <typename T>
7429 struct check
7430 {
7431 static_assert(sizeof(int) <= sizeof(T), "not big enough");
7432 };
7433
7434 }
7435
7436 namespace test_final_override
7437 {
7438
7439 struct Base
7440 {
7441 virtual void f() {}
7442 };
7443
7444 struct Derived : public Base
7445 {
7446 virtual void f() override {}
7447 };
7448
7449 }
7450
7451 namespace test_double_right_angle_brackets
7452 {
7453
7454 template < typename T >
7455 struct check {};
7456
7457 typedef check<void> single_type;
7458 typedef check<check<void>> double_type;
7459 typedef check<check<check<void>>> triple_type;
7460 typedef check<check<check<check<void>>>> quadruple_type;
7461
7462 }
7463
7464 namespace test_decltype
7465 {
7466
7467 int
7468 f()
7469 {
7470 int a = 1;
7471 decltype(a) b = 2;
7472 return a + b;
7473 }
7474
7475 }
7476
7477 namespace test_type_deduction
7478 {
7479
7480 template < typename T1, typename T2 >
7481 struct is_same
7482 {
7483 static const bool value = false;
7484 };
7485
7486 template < typename T >
7487 struct is_same<T, T>
7488 {
7489 static const bool value = true;
7490 };
7491
7492 template < typename T1, typename T2 >
7493 auto
7494 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7495 {
7496 return a1 + a2;
7497 }
7498
7499 int
7500 test(const int c, volatile int v)
7501 {
7502 static_assert(is_same<int, decltype(0)>::value == true, "");
7503 static_assert(is_same<int, decltype(c)>::value == false, "");
7504 static_assert(is_same<int, decltype(v)>::value == false, "");
7505 auto ac = c;
7506 auto av = v;
7507 auto sumi = ac + av + 'x';
7508 auto sumf = ac + av + 1.0;
7509 static_assert(is_same<int, decltype(ac)>::value == true, "");
7510 static_assert(is_same<int, decltype(av)>::value == true, "");
7511 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7512 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7513 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7514 return (sumf > 0.0) ? sumi : add(c, v);
7515 }
7516
7517 }
7518
7519 namespace test_noexcept
7520 {
7521
7522 int f() { return 0; }
7523 int g() noexcept { return 0; }
7524
7525 static_assert(noexcept(f()) == false, "");
7526 static_assert(noexcept(g()) == true, "");
7527
7528 }
7529
7530 namespace test_constexpr
7531 {
7532
7533 template < typename CharT >
7534 unsigned long constexpr
7535 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7536 {
7537 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7538 }
7539
7540 template < typename CharT >
7541 unsigned long constexpr
7542 strlen_c(const CharT *const s) noexcept
7543 {
7544 return strlen_c_r(s, 0UL);
7545 }
7546
7547 static_assert(strlen_c("") == 0UL, "");
7548 static_assert(strlen_c("1") == 1UL, "");
7549 static_assert(strlen_c("example") == 7UL, "");
7550 static_assert(strlen_c("another\0example") == 7UL, "");
7551
7552 }
7553
7554 namespace test_rvalue_references
7555 {
7556
7557 template < int N >
7558 struct answer
7559 {
7560 static constexpr int value = N;
7561 };
7562
7563 answer<1> f(int&) { return answer<1>(); }
7564 answer<2> f(const int&) { return answer<2>(); }
7565 answer<3> f(int&&) { return answer<3>(); }
7566
7567 void
7568 test()
7569 {
7570 int i = 0;
7571 const int c = 0;
7572 static_assert(decltype(f(i))::value == 1, "");
7573 static_assert(decltype(f(c))::value == 2, "");
7574 static_assert(decltype(f(0))::value == 3, "");
7575 }
7576
7577 }
7578
7579 namespace test_uniform_initialization
7580 {
7581
7582 struct test
7583 {
7584 static const int zero {};
7585 static const int one {1};
7586 };
7587
7588 static_assert(test::zero == 0, "");
7589 static_assert(test::one == 1, "");
7590
7591 }
7592
7593 namespace test_lambdas
7594 {
7595
7596 void
7597 test1()
7598 {
7599 auto lambda1 = [](){};
7600 auto lambda2 = lambda1;
7601 lambda1();
7602 lambda2();
7603 }
7604
7605 int
7606 test2()
7607 {
7608 auto a = [](int i, int j){ return i + j; }(1, 2);
7609 auto b = []() -> int { return '0'; }();
7610 auto c = [=](){ return a + b; }();
7611 auto d = [&](){ return c; }();
7612 auto e = [a, &b](int x) mutable {
7613 const auto identity = [](int y){ return y; };
7614 for (auto i = 0; i < a; ++i)
7615 a += b--;
7616 return x + identity(a + b);
7617 }(0);
7618 return a + b + c + d + e;
7619 }
7620
7621 int
7622 test3()
7623 {
7624 const auto nullary = [](){ return 0; };
7625 const auto unary = [](int x){ return x; };
7626 using nullary_t = decltype(nullary);
7627 using unary_t = decltype(unary);
7628 const auto higher1st = [](nullary_t f){ return f(); };
7629 const auto higher2nd = [unary](nullary_t f1){
7630 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7631 };
7632 return higher1st(nullary) + higher2nd(nullary)(unary);
7633 }
7634
7635 }
7636
7637 namespace test_variadic_templates
7638 {
7639
7640 template <int...>
7641 struct sum;
7642
7643 template <int N0, int... N1toN>
7644 struct sum<N0, N1toN...>
7645 {
7646 static constexpr auto value = N0 + sum<N1toN...>::value;
7647 };
7648
7649 template <>
7650 struct sum<>
7651 {
7652 static constexpr auto value = 0;
7653 };
7654
7655 static_assert(sum<>::value == 0, "");
7656 static_assert(sum<1>::value == 1, "");
7657 static_assert(sum<23>::value == 23, "");
7658 static_assert(sum<1, 2>::value == 3, "");
7659 static_assert(sum<5, 5, 11>::value == 21, "");
7660 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7661
7662 }
7663
7664 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7665 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7666 // because of this.
7667 namespace test_template_alias_sfinae
7668 {
7669
7670 struct foo {};
7671
7672 template<typename T>
7673 using member = typename T::member_type;
7674
7675 template<typename T>
7676 void func(...) {}
7677
7678 template<typename T>
7679 void func(member<T>*) {}
7680
7681 void test();
7682
7683 void test() { func<foo>(0); }
7684
7685 }
7686
7687 } // namespace cxx11
7688
7689 #endif // __cplusplus >= 201103L
7690
7691
7692
7693 _ACEOF
7694 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
7695 then :
7696 eval $cachevar=yes
7697 else case e in #(
7698 e) eval $cachevar=no ;;
7699 esac
7700 fi
7701 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7702 CXX="$ac_save_CXX" ;;
7703 esac
7704 fi
7705 eval ac_res=\$$cachevar
7706 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7707 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
7708 if eval test x\$$cachevar = xyes; then
7709 CXX="$CXX $switch"
7710 if testscip-shell system . . test. -n "$CXXCPP" ; then
7711 CXXCPP="$CXXCPP $switch"
7712 fi
7713 ac_success=yes
7714 break
7715 fi
7716 done
7717 fi
7718 ac_ext=c
7719 ac_cpp='$CPP $CPPFLAGS'
7720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7723
7724 if testscip-shell system . . test. x$ax_cxx_compile_cxx11_required = xtrue; then
7725 if testscip-shell system . . test. x$ac_success = xno; then
7726 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
7727 fi
7728 fi
7729 if testscip-shell system . . test. x$ac_success = xno; then
7730 HAVE_CXX11=0
7731 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
7732 printfscip-shell system . . printf. "%s\n" "$as_me: No compiler with C++11 support was found" >&6;}
7733 else
7734 HAVE_CXX11=1
7735
7736 printfscip-shell system . . printf. "%s\n" "#define HAVE_CXX11 1" >>confdefs.h
7737
7738 fi
7739
7740
7741
7742 # Detect whether LLVM ld is being used
7743 using_lld=no
7744 if `$LD -v 2>&1 | grepscip-shell system . . grep. 'LLVM' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1` ; then
7745 using_lld=yes
7746 fi
7747 if testscip-shell system . . test. "$using_lld" = "yes"; then
7748 LLVMLD_TRUE=
7749 LLVMLD_FALSE='#'
7750 else
7751 LLVMLD_TRUE='#'
7752 LLVMLD_FALSE=
7753 fi
7754
7755
7756 # Init libtool
7757 case `pwdscip-shell system . . pwd.` in
7758 *\ * | *\ *)
7759 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7760 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7761 esac
7762
7763
7764
7765 macro_version='2.5.4'
7766 macro_revision='2.5.4'
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781 ltmain=$ac_aux_dir/ltmain.sh
7782
7783 # Backslashify metacharacters that are still active within
7784 # double-quoted strings.
7785 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7786
7787 # Same as above, but do not quote variable references.
7788 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7789
7790 # Sed substitution to delay expansion of an escaped shell variable in a
7791 # double_quote_subst'ed string.
7792 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7793
7794 # Sed substitution to delay expansion of an escaped single quote.
7795 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7796
7797 # Sed substitution to avoid accidental globbing in evaled expressions
7798 no_glob_subst='s/\*/\\\*/g'
7799
7800 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7801 printfscip-shell system . . printf. %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7802 if testscip-shell system . . test. ${lt_cv_path_NM+y}
7803 then :
7804 printfscip-shell system . . printf. %s "(cached) " >&6
7805 else case e in #(
7806 e) if testscip-shell system . . test. -n "$NM"; then
7807 # Let the user override the test.
7808 lt_cv_path_NM=$NM
7809 else
7810 lt_nm_to_check=${ac_tool_prefix}nm
7811 if testscip-shell system . . test. -n "$ac_tool_prefix" && testscip-shell system . . test. "$build" = "$host"; then
7812 lt_nm_to_check="$lt_nm_to_check nm"
7813 fi
7814 for lt_tmp_nm in $lt_nm_to_check; do
7815 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7816 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
7817 IFS=$lt_save_ifs
7818 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
7819 tmp_nm=$ac_dir/$lt_tmp_nm
7820 if testscip-shell system . . test. -f "$tmp_nm" || testscip-shell system . . test. -f "$tmp_nm$ac_exeext"; then
7821 # Check to see if the nm accepts a BSD-compat flag.
7822 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7823 # nm: unknown option "B" ignored
7824 # Tru64's nm complains that /dev/null is an invalid object file
7825 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7826 case $build_os in
7827 mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
7828 *) lt_bad_file=/dev/nullscip-shell filesystem . . `/dev/null`. ;;
7829 esac
7830 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
7831 *$lt_bad_file* | *'Invalid file or object type'*)
7832 lt_cv_path_NM="$tmp_nm -B"
7833 break 2
7834 ;;
7835 *)
7836 case `"$tmp_nm" -p /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | $SED '1q'` in
7837 */dev/null*)
7838 lt_cv_path_NM="$tmp_nm -p"
7839 break 2
7840 ;;
7841 *)
7842 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7843 continue # so that we can try to find one that supports BSD flags
7844 ;;
7845 esac
7846 ;;
7847 esac
7848 fi
7849 done
7850 IFS=$lt_save_ifs
7851 done
7852 : ${lt_cv_path_NM=no}
7853 fi ;;
7854 esac
7855 fi
7856 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7857 printfscip-shell system . . printf. "%s\n" "$lt_cv_path_NM" >&6; }
7858 if testscip-shell system . . test. no != "$lt_cv_path_NM"; then
7859 NM=$lt_cv_path_NM
7860 else
7861 # Didn't find any BSD compatible name lister, look for dumpbin.
7862 if testscip-shell system . . test. -n "$DUMPBIN"; then :
7863 # Let the user override the test.
7864 else
7865 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
7866 for ac_prog in dumpbin "link -dump"
7867 do
7868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7869 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7870 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7871 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
7872 if testscip-shell system . . test. ${ac_cv_prog_DUMPBIN+y}
7873 then :
7874 printfscip-shell system . . printf. %s "(cached) " >&6
7875 else case e in #(
7876 e) if testscip-shell system . . test. -n "$DUMPBIN"; then
7877 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7878 else
7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 for as_dir in $PATH
7881 do
7882 IFS=$as_save_IFS
7883 case $as_dir in #(((
7884 '') as_dir=./ ;;
7885 */) ;;
7886 *) as_dir=$as_dir/ ;;
7887 esac
7888 for ac_exec_ext in '' $ac_executable_extensions; do
7889 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
7890 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7891 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7892 break 2
7893 fi
7894 done
7895 done
7896 IFS=$as_save_IFS
7897
7898 fi ;;
7899 esac
7900 fi
7901 DUMPBIN=$ac_cv_prog_DUMPBIN
7902 if testscip-shell system . . test. -n "$DUMPBIN"; then
7903 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7904 printfscip-shell system . . printf. "%s\n" "$DUMPBIN" >&6; }
7905 else
7906 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7907 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7908 fi
7909
7910
7911 testscip-shell system . . test. -n "$DUMPBIN" && break
7912 done
7913 fi
7914 if testscip-shell system . . test. -z "$DUMPBIN"; then
7915 ac_ct_DUMPBIN=$DUMPBIN
7916 for ac_prog in dumpbin "link -dump"
7917 do
7918 # Extract the first word of "$ac_prog", so it can be a program name with args.
7919 set dummy $ac_prog; ac_word=$2
7920 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
7922 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DUMPBIN+y}
7923 then :
7924 printfscip-shell system . . printf. %s "(cached) " >&6
7925 else case e in #(
7926 e) if testscip-shell system . . test. -n "$ac_ct_DUMPBIN"; then
7927 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7928 else
7929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930 for as_dir in $PATH
7931 do
7932 IFS=$as_save_IFS
7933 case $as_dir in #(((
7934 '') as_dir=./ ;;
7935 */) ;;
7936 *) as_dir=$as_dir/ ;;
7937 esac
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
7940 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7941 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7942 break 2
7943 fi
7944 done
7945 done
7946 IFS=$as_save_IFS
7947
7948 fi ;;
7949 esac
7950 fi
7951 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7952 if testscip-shell system . . test. -n "$ac_ct_DUMPBIN"; then
7953 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7954 printfscip-shell system . . printf. "%s\n" "$ac_ct_DUMPBIN" >&6; }
7955 else
7956 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7957 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7958 fi
7959
7960
7961 testscip-shell system . . test. -n "$ac_ct_DUMPBIN" && break
7962 done
7963
7964 if testscip-shell system . . test. "x$ac_ct_DUMPBIN" = x; then
7965 DUMPBIN=":"
7966 else
7967 case $cross_compiling:$ac_tool_warned in
7968 yes:)
7969 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7970 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7971 ac_tool_warned=yes ;;
7972 esac
7973 DUMPBIN=$ac_ct_DUMPBIN
7974 fi
7975 fi
7976
7977 case `$DUMPBIN -symbols -headers /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | $SED '1q'` in
7978 *COFF*)
7979 DUMPBIN="$DUMPBIN -symbols -headers"
7980 ;;
7981 *)
7982 DUMPBIN=:
7983 ;;
7984 esac
7985 fi
7986
7987 if testscip-shell system . . test. : != "$DUMPBIN"; then
7988 NM=$DUMPBIN
7989 fi
7990 fi
7991 testscip-shell system . . test. -z "$NM" && NM=nm
7992
7993
7994
7995
7996
7997
7998 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7999 printfscip-shell system . . printf. %s "checking the name lister ($NM) interface... " >&6; }
8000 if testscip-shell system . . test. ${lt_cv_nm_interface+y}
8001 then :
8002 printfscip-shell system . . printf. %s "(cached) " >&6
8003 else case e in #(
8004 e) lt_cv_nm_interface="BSD nm"
8005 echoscip-shell system . . echo. "int some_variable = 0;" > conftest.$ac_ext
8006 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8007 (eval "$ac_compile" 2>conftest.err)
8008 catscip-shell system . . cat. conftest.err >&5
8009 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8010 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8011 catscip-shell system . . cat. conftest.err >&5
8012 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8013 catscip-shell system . . cat. conftest.out >&5
8014 if $GREP 'External.*some_variable' conftest.out > /dev/nullscip-shell filesystem . . `/dev/null`.; then
8015 lt_cv_nm_interface="MS dumpbin"
8016 fi
8017 rmscip-shell system . . rm. -f conftest* ;;
8018 esac
8019 fi
8020 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8021 printfscip-shell system . . printf. "%s\n" "$lt_cv_nm_interface" >&6; }
8022
8023 # find the maximum length of command line arguments
8024 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8025 printfscip-shell system . . printf. %s "checking the maximum length of command line arguments... " >&6; }
8026 if testscip-shell system . . test. ${lt_cv_sys_max_cmd_len+y}
8027 then :
8028 printfscip-shell system . . printf. %s "(cached) " >&6
8029 else case e in #(
8030 e) i=0
8031 teststring=ABCD
8032
8033 case $build_os in
8034 msdosdjgpp*)
8035 # On DJGPP, this test can blow up pretty badly due to problems in libc
8036 # (any single argument exceeding 2000 bytes causes a buffer overrun
8037 # during glob expansion). Even if it were fixed, the result of this
8038 # check would be larger than it should be.
8039 lt_cv_sys_max_cmd_len=12288; # 12K is about right
8040 ;;
8041
8042 gnu* | ironclad*)
8043 # Under GNU Hurd and Ironclad, this test is not required because there
8044 # is no limit to the length of command line arguments.
8045 # Libtool will interpret -1 as no limit whatsoever
8046 lt_cv_sys_max_cmd_len=-1;
8047 ;;
8048
8049 cygwin* | mingw* | windows* | cegcc*)
8050 # On Win9x/ME, this test blows up -- it succeeds, but takes
8051 # about 5 minutes as the teststring grows exponentially.
8052 # Worse, since 9x/ME are not pre-emptively multitasking,
8053 # you end up with a "frozen" computer, even though with patience
8054 # the test eventually succeeds (with a max line length of 256k).
8055 # Instead, let's just punt: use the minimum linelength reported by
8056 # all of the supported platforms: 8192 (on NT/2K/XP).
8057 lt_cv_sys_max_cmd_len=8192;
8058 ;;
8059
8060 mint*)
8061 # On MiNT this can take a long time and run out of memory.
8062 lt_cv_sys_max_cmd_len=8192;
8063 ;;
8064
8065 amigaos*)
8066 # On AmigaOS with pdksh, this test takes hours, literally.
8067 # So we just punt and use a minimum line length of 8192.
8068 lt_cv_sys_max_cmd_len=8192;
8069 ;;
8070
8071 darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
8072 # This has been around since 386BSD, at least. Likely further.
8073 if testscip-shell system . . test. -x /sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`.; then
8074 lt_cv_sys_max_cmd_len=`/sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`. -n kern.argmax`
8075 elif testscip-shell system . . test. -x /usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`.; then
8076 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`. -n kern.argmax`
8077 else
8078 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
8079 fi
8080 # And add a safety zone
8081 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 4`
8082 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \* 3`
8083 ;;
8084
8085 interix*)
8086 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8087 lt_cv_sys_max_cmd_len=196608
8088 ;;
8089
8090 os2*)
8091 # The test takes a long time on OS/2.
8092 lt_cv_sys_max_cmd_len=8192
8093 ;;
8094
8095 osf*)
8096 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8097 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8098 # nice to cause kernel panics so lets avoid the loop below.
8099 # First set a reasonable default.
8100 lt_cv_sys_max_cmd_len=16384
8101 #
8102 if testscip-shell system . . test. -x /sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`.; then
8103 case `/sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`. -q proc exec_disable_arg_limit` in
8104 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8105 esac
8106 fi
8107 ;;
8108 sco3.2v5*)
8109 lt_cv_sys_max_cmd_len=102400
8110 ;;
8111 sysv5* | sco5v6* | sysv4.2uw2*)
8112 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`.`
8113 if testscip-shell system . . test. -n "$kargmax"; then
8114 lt_cv_sys_max_cmd_len=`echoscip-shell system . . echo. $kargmax | $SED 's/.*[ ]//'`
8115 else
8116 lt_cv_sys_max_cmd_len=32768
8117 fi
8118 ;;
8119 *)
8120 lt_cv_sys_max_cmd_len=`(getconfscip-shell system . . getconf. ARG_MAX) 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
8121 if testscip-shell system . . test. -n "$lt_cv_sys_max_cmd_len" && \
8122 test undefined != "$lt_cv_sys_max_cmd_len"; then
8123 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 4`
8124 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \* 3`
8125 else
8126 # Make teststring a little bigger before we do anything with it.
8127 # a 1K string should be a reasonable start.
8128 for i in 1 2 3 4 5 6 7 8; do
8129 teststring=$teststring$teststring
8130 done
8131 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8132 # If test is not a shell built-in, we'll probably end up computing a
8133 # maximum length that is only half of the actual maximum length, but
8134 # we can't tell.
8135 while { testscip-shell system . . test. X`envscip-shell system . . env. echo "$teststring$teststring" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` \
8136 = "X$teststring$teststring"; } >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
8137 testscip-shell system . . test. 17 != "$i" # 1/2 MB should be enough
8138 do
8139 i=`exprscip-shell system . . expr. $i + 1`
8140 teststring=$teststring$teststring
8141 done
8142 # Only check the string length outside the loop.
8143 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. "X$teststring" : ".*" 2>&1`
8144 teststring=
8145 # Add a significant safety factor because C++ compilers can tack on
8146 # massive amounts of additional arguments before passing them to the
8147 # linker. It appears as though 1/2 is a usable value.
8148 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 2`
8149 fi
8150 ;;
8151 esac
8152 ;;
8153 esac
8154 fi
8155
8156 if testscip-shell system . . test. -n "$lt_cv_sys_max_cmd_len"; then
8157 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8158 printfscip-shell system . . printf. "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
8159 else
8160 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
8161 printfscip-shell system . . printf. "%s\n" "none" >&6; }
8162 fi
8163 max_cmd_len=$lt_cv_sys_max_cmd_len
8164
8165
8166
8167
8168
8169
8170 : ${CP="cp -f"}
8171 : ${MV="mv -f"}
8172 : ${RM="rm -f"}
8173
8174 if ( (MAIL=60; unset MAIL) || exit) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
8175 lt_unset=unset
8176 else
8177 lt_unset=false
8178 fi
8179
8180
8181
8182
8183
8184 # test EBCDIC or ASCII
8185 case `echoscip-shell system . . echo. X|trscip-shell system . . tr. X '\101'` in
8186 A) # ASCII based system
8187 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8188 lt_SP2NL='tr \040 \012'
8189 lt_NL2SP='tr \015\012 \040\040'
8190 ;;
8191 *) # EBCDIC based system
8192 lt_SP2NL='tr \100 \n'
8193 lt_NL2SP='tr \r\n \100\100'
8194 ;;
8195 esac
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8206 printfscip-shell system . . printf. %s "checking how to convert $build file names to $host format... " >&6; }
8207 if testscip-shell system . . test. ${lt_cv_to_host_file_cmd+y}
8208 then :
8209 printfscip-shell system . . printf. %s "(cached) " >&6
8210 else case e in #(
8211 e) case $host in
8212 *-*-mingw* )
8213 case $build in
8214 *-*-mingw* | *-*-windows* ) # actually msys
8215 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8216 ;;
8217 *-*-cygwin* )
8218 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8219 ;;
8220 * ) # otherwise, assume *nix
8221 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8222 ;;
8223 esac
8224 ;;
8225 *-*-cygwin* )
8226 case $build in
8227 *-*-mingw* | *-*-windows* ) # actually msys
8228 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8229 ;;
8230 *-*-cygwin* )
8231 lt_cv_to_host_file_cmd=func_convert_file_noop
8232 ;;
8233 * ) # otherwise, assume *nix
8234 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8235 ;;
8236 esac
8237 ;;
8238 * ) # unhandled hosts (and "normal" native builds)
8239 lt_cv_to_host_file_cmd=func_convert_file_noop
8240 ;;
8241 esac
8242 ;;
8243 esac
8244 fi
8245
8246 to_host_file_cmd=$lt_cv_to_host_file_cmd
8247 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8248 printfscip-shell system . . printf. "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
8249
8250
8251
8252
8253
8254 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8255 printfscip-shell system . . printf. %s "checking how to convert $build file names to toolchain format... " >&6; }
8256 if testscip-shell system . . test. ${lt_cv_to_tool_file_cmd+y}
8257 then :
8258 printfscip-shell system . . printf. %s "(cached) " >&6
8259 else case e in #(
8260 e) #assume ordinary cross tools, or native build.
8261 lt_cv_to_tool_file_cmd=func_convert_file_noop
8262 case $host in
8263 *-*-mingw* | *-*-windows* )
8264 case $build in
8265 *-*-mingw* | *-*-windows* ) # actually msys
8266 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8267 ;;
8268 esac
8269 ;;
8270 esac
8271 ;;
8272 esac
8273 fi
8274
8275 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8276 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8277 printfscip-shell system . . printf. "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
8278
8279
8280
8281
8282
8283 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8284 printfscip-shell system . . printf. %s "checking for $LD option to reload object files... " >&6; }
8285 if testscip-shell system . . test. ${lt_cv_ld_reload_flag+y}
8286 then :
8287 printfscip-shell system . . printf. %s "(cached) " >&6
8288 else case e in #(
8289 e) lt_cv_ld_reload_flag='-r' ;;
8290 esac
8291 fi
8292 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8293 printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_reload_flag" >&6; }
8294 reload_flag=$lt_cv_ld_reload_flag
8295 case $reload_flag in
8296 "" | " "*) ;;
8297 *) reload_flag=" $reload_flag" ;;
8298 esac
8299 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8300 case $host_os in
8301 cygwin* | mingw* | windows* | pw32* | cegcc*)
8302 if testscip-shell system . . test. yes != "$GCC"; then
8303 reload_cmds=false
8304 fi
8305 ;;
8306 darwin*)
8307 if testscip-shell system . . test. yes = "$GCC"; then
8308 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8309 else
8310 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8311 fi
8312 ;;
8313 esac
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323 # Extract the first word of "file", so it can be a program name with args.
8324 set dummy file; ac_word=$2
8325 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8326 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8327 if testscip-shell system . . test. ${ac_cv_prog_FILECMD+y}
8328 then :
8329 printfscip-shell system . . printf. %s "(cached) " >&6
8330 else case e in #(
8331 e) if testscip-shell system . . test. -n "$FILECMD"; then
8332 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
8333 else
8334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8335 for as_dir in $PATH
8336 do
8337 IFS=$as_save_IFS
8338 case $as_dir in #(((
8339 '') as_dir=./ ;;
8340 */) ;;
8341 *) as_dir=$as_dir/ ;;
8342 esac
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8345 ac_cv_prog_FILECMD="file"
8346 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8347 break 2
8348 fi
8349 done
8350 done
8351 IFS=$as_save_IFS
8352
8353 testscip-shell system . . test. -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
8354 fi ;;
8355 esac
8356 fi
8357 FILECMD=$ac_cv_prog_FILECMD
8358 if testscip-shell system . . test. -n "$FILECMD"; then
8359 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
8360 printfscip-shell system . . printf. "%s\n" "$FILECMD" >&6; }
8361 else
8362 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8364 fi
8365
8366
8367
8368
8369
8370
8371
8372
8373 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
8374 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8375 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8376 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8378 if testscip-shell system . . test. ${ac_cv_prog_OBJDUMP+y}
8379 then :
8380 printfscip-shell system . . printf. %s "(cached) " >&6
8381 else case e in #(
8382 e) if testscip-shell system . . test. -n "$OBJDUMP"; then
8383 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8384 else
8385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386 for as_dir in $PATH
8387 do
8388 IFS=$as_save_IFS
8389 case $as_dir in #(((
8390 '') as_dir=./ ;;
8391 */) ;;
8392 *) as_dir=$as_dir/ ;;
8393 esac
8394 for ac_exec_ext in '' $ac_executable_extensions; do
8395 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8396 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8397 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8398 break 2
8399 fi
8400 done
8401 done
8402 IFS=$as_save_IFS
8403
8404 fi ;;
8405 esac
8406 fi
8407 OBJDUMP=$ac_cv_prog_OBJDUMP
8408 if testscip-shell system . . test. -n "$OBJDUMP"; then
8409 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8410 printfscip-shell system . . printf. "%s\n" "$OBJDUMP" >&6; }
8411 else
8412 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8413 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8414 fi
8415
8416
8417 fi
8418 if testscip-shell system . . test. -z "$ac_cv_prog_OBJDUMP"; then
8419 ac_ct_OBJDUMP=$OBJDUMP
8420 # Extract the first word of "objdump", so it can be a program name with args.
8421 set dummy objdump; ac_word=$2
8422 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8423 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8424 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OBJDUMP+y}
8425 then :
8426 printfscip-shell system . . printf. %s "(cached) " >&6
8427 else case e in #(
8428 e) if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then
8429 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8430 else
8431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8432 for as_dir in $PATH
8433 do
8434 IFS=$as_save_IFS
8435 case $as_dir in #(((
8436 '') as_dir=./ ;;
8437 */) ;;
8438 *) as_dir=$as_dir/ ;;
8439 esac
8440 for ac_exec_ext in '' $ac_executable_extensions; do
8441 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8442 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8443 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8444 break 2
8445 fi
8446 done
8447 done
8448 IFS=$as_save_IFS
8449
8450 fi ;;
8451 esac
8452 fi
8453 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8454 if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then
8455 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8456 printfscip-shell system . . printf. "%s\n" "$ac_ct_OBJDUMP" >&6; }
8457 else
8458 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8459 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8460 fi
8461
8462 if testscip-shell system . . test. "x$ac_ct_OBJDUMP" = x; then
8463 OBJDUMP="false"
8464 else
8465 case $cross_compiling:$ac_tool_warned in
8466 yes:)
8467 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8468 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8469 ac_tool_warned=yes ;;
8470 esac
8471 OBJDUMP=$ac_ct_OBJDUMP
8472 fi
8473 else
8474 OBJDUMP="$ac_cv_prog_OBJDUMP"
8475 fi
8476
8477 testscip-shell system . . test. -z "$OBJDUMP" && OBJDUMP=objdump
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8488 printfscip-shell system . . printf. %s "checking how to recognize dependent libraries... " >&6; }
8489 if testscip-shell system . . test. ${lt_cv_deplibs_check_method+y}
8490 then :
8491 printfscip-shell system . . printf. %s "(cached) " >&6
8492 else case e in #(
8493 e) lt_cv_file_magic_cmd='$MAGIC_CMD'
8494 lt_cv_file_magic_test_file=
8495 lt_cv_deplibs_check_method='unknown'
8496 # Need to set the preceding variable on all platforms that support
8497 # interlibrary dependencies.
8498 # 'none' -- dependencies not supported.
8499 # 'unknown' -- same as none, but documents that we really don't know.
8500 # 'pass_all' -- all dependencies passed with no checks.
8501 # 'file_magic [[regex]]' -- check by looking for files in library path
8502 # that responds to the $file_magic_cmd with a given extended regex.
8503 # If you have 'file' or equivalent on your system and you're not sure
8504 # whether 'pass_all' will *always* work, you probably want this one.
8505
8506 case $host_os in
8507 aix[4-9]*)
8508 lt_cv_deplibs_check_method=pass_all
8509 ;;
8510
8511 beos*)
8512 lt_cv_deplibs_check_method=pass_all
8513 ;;
8514
8515 bsdi[45]*)
8516 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8517 lt_cv_file_magic_cmd='$FILECMD -L'
8518 lt_cv_file_magic_test_file=/shlib/libc.soscip-shell filesystem . . `/shlib/libc.so`.
8519 ;;
8520
8521 cygwin*)
8522 # func_win32_libid is a shell function defined in ltmain.sh
8523 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8524 lt_cv_file_magic_cmd='func_win32_libid'
8525 ;;
8526
8527 mingw* | windows* | pw32*)
8528 # Base MSYS/MinGW do not provide the 'file' command needed by
8529 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8530 # unless we find 'file', for example because we are cross-compiling.
8531 if ( filescip-shell system . . file. /scip-shell filesystem . . `/`. ) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
8532 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8533 lt_cv_file_magic_cmd='func_win32_libid'
8534 else
8535 # Keep this pattern in sync with the one in func_win32_libid.
8536 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
8537 lt_cv_file_magic_cmd='$OBJDUMP -f'
8538 fi
8539 ;;
8540
8541 cegcc*)
8542 # use the weaker test based on 'objdump'. See mingw*.
8543 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8544 lt_cv_file_magic_cmd='$OBJDUMP -f'
8545 ;;
8546
8547 darwin* | rhapsody*)
8548 lt_cv_deplibs_check_method=pass_all
8549 ;;
8550
8551 freebsd* | dragonfly* | midnightbsd*)
8552 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then
8553 case $host_cpu in
8554 i*86 )
8555 # Not sure whether the presence of OpenBSD here was a mistake.
8556 # Let's accept both of them until this is cleared up.
8557 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8558 lt_cv_file_magic_cmd=$FILECMD
8559 lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so.*`
8560 ;;
8561 esac
8562 else
8563 lt_cv_deplibs_check_method=pass_all
8564 fi
8565 ;;
8566
8567 haiku*)
8568 lt_cv_deplibs_check_method=pass_all
8569 ;;
8570
8571 hpux10.20* | hpux11*)
8572 lt_cv_file_magic_cmd=$FILECMD
8573 case $host_cpu in
8574 ia64*)
8575 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8576 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.soscip-shell filesystem . . `/usr/lib/hpux32/libc.so`.
8577 ;;
8578 hppa*64*)
8579 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]'
8580 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.slscip-shell filesystem . . `/usr/lib/pa20_64/libc.sl`.
8581 ;;
8582 *)
8583 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8584 lt_cv_file_magic_test_file=/usr/lib/libc.slscip-shell filesystem . . `/usr/lib/libc.sl`.
8585 ;;
8586 esac
8587 ;;
8588
8589 interix[3-9]*)
8590 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8591 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8592 ;;
8593
8594 irix5* | irix6* | nonstopux*)
8595 case $LD in
8596 *-32|*"-32 ") libmagic=32-bit;;
8597 *-n32|*"-n32 ") libmagic=N32;;
8598 *-64|*"-64 ") libmagic=64-bit;;
8599 *) libmagic=never-match;;
8600 esac
8601 lt_cv_deplibs_check_method=pass_all
8602 ;;
8603
8604 # This must be glibc/ELF.
8605 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8606 lt_cv_deplibs_check_method=pass_all
8607 ;;
8608
8609 *-mlibc)
8610 lt_cv_deplibs_check_method=pass_all
8611 ;;
8612
8613 netbsd* | netbsdelf*-gnu)
8614 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then
8615 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8616 else
8617 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8618 fi
8619 ;;
8620
8621 newos6*)
8622 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8623 lt_cv_file_magic_cmd=$FILECMD
8624 lt_cv_file_magic_test_file=/usr/lib/libnls.soscip-shell filesystem . . `/usr/lib/libnls.so`.
8625 ;;
8626
8627 *nto* | *qnx*)
8628 lt_cv_deplibs_check_method=pass_all
8629 ;;
8630
8631 openbsd*)
8632 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
8633 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8634 else
8635 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8636 fi
8637 ;;
8638
8639 osf3* | osf4* | osf5*)
8640 lt_cv_deplibs_check_method=pass_all
8641 ;;
8642
8643 rdos*)
8644 lt_cv_deplibs_check_method=pass_all
8645 ;;
8646
8647 serenity*)
8648 lt_cv_deplibs_check_method=pass_all
8649 ;;
8650
8651 solaris*)
8652 lt_cv_deplibs_check_method=pass_all
8653 ;;
8654
8655 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8656 lt_cv_deplibs_check_method=pass_all
8657 ;;
8658
8659 sysv4 | sysv4.3*)
8660 case $host_vendor in
8661 motorola)
8662 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]'
8663 lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so*`
8664 ;;
8665 ncr)
8666 lt_cv_deplibs_check_method=pass_all
8667 ;;
8668 sequent)
8669 lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.'
8670 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8671 ;;
8672 sni)
8673 lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.'
8674 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8675 lt_cv_file_magic_test_file=/lib/libc.soscip-shell filesystem . . `/lib/libc.so`.
8676 ;;
8677 siemens)
8678 lt_cv_deplibs_check_method=pass_all
8679 ;;
8680 pc)
8681 lt_cv_deplibs_check_method=pass_all
8682 ;;
8683 esac
8684 ;;
8685
8686 tpf*)
8687 lt_cv_deplibs_check_method=pass_all
8688 ;;
8689 os2*)
8690 lt_cv_deplibs_check_method=pass_all
8691 ;;
8692 esac
8693 ;;
8694 esac
8695 fi
8696 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8697 printfscip-shell system . . printf. "%s\n" "$lt_cv_deplibs_check_method" >&6; }
8698
8699 file_magic_glob=
8700 want_nocaseglob=no
8701 if testscip-shell system . . test. "$build" = "$host"; then
8702 case $host_os in
8703 mingw* | windows* | pw32*)
8704 if ( shopt | grepscip-shell system . . grep. nocaseglob ) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
8705 want_nocaseglob=yes
8706 else
8707 file_magic_glob=`echoscip-shell system . . echo. aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8708 fi
8709 ;;
8710 esac
8711 fi
8712
8713 file_magic_cmd=$lt_cv_file_magic_cmd
8714 deplibs_check_method=$lt_cv_deplibs_check_method
8715 testscip-shell system . . test. -z "$deplibs_check_method" && deplibs_check_method=unknown
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
8739 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8740 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8741 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8742 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8743 if testscip-shell system . . test. ${ac_cv_prog_DLLTOOL+y}
8744 then :
8745 printfscip-shell system . . printf. %s "(cached) " >&6
8746 else case e in #(
8747 e) if testscip-shell system . . test. -n "$DLLTOOL"; then
8748 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8749 else
8750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8751 for as_dir in $PATH
8752 do
8753 IFS=$as_save_IFS
8754 case $as_dir in #(((
8755 '') as_dir=./ ;;
8756 */) ;;
8757 *) as_dir=$as_dir/ ;;
8758 esac
8759 for ac_exec_ext in '' $ac_executable_extensions; do
8760 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8761 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8762 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8763 break 2
8764 fi
8765 done
8766 done
8767 IFS=$as_save_IFS
8768
8769 fi ;;
8770 esac
8771 fi
8772 DLLTOOL=$ac_cv_prog_DLLTOOL
8773 if testscip-shell system . . test. -n "$DLLTOOL"; then
8774 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8775 printfscip-shell system . . printf. "%s\n" "$DLLTOOL" >&6; }
8776 else
8777 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8778 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8779 fi
8780
8781
8782 fi
8783 if testscip-shell system . . test. -z "$ac_cv_prog_DLLTOOL"; then
8784 ac_ct_DLLTOOL=$DLLTOOL
8785 # Extract the first word of "dlltool", so it can be a program name with args.
8786 set dummy dlltool; ac_word=$2
8787 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8788 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8789 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DLLTOOL+y}
8790 then :
8791 printfscip-shell system . . printf. %s "(cached) " >&6
8792 else case e in #(
8793 e) if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then
8794 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8795 else
8796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8797 for as_dir in $PATH
8798 do
8799 IFS=$as_save_IFS
8800 case $as_dir in #(((
8801 '') as_dir=./ ;;
8802 */) ;;
8803 *) as_dir=$as_dir/ ;;
8804 esac
8805 for ac_exec_ext in '' $ac_executable_extensions; do
8806 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8807 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8808 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8809 break 2
8810 fi
8811 done
8812 done
8813 IFS=$as_save_IFS
8814
8815 fi ;;
8816 esac
8817 fi
8818 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8819 if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then
8820 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8821 printfscip-shell system . . printf. "%s\n" "$ac_ct_DLLTOOL" >&6; }
8822 else
8823 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8824 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8825 fi
8826
8827 if testscip-shell system . . test. "x$ac_ct_DLLTOOL" = x; then
8828 DLLTOOL="false"
8829 else
8830 case $cross_compiling:$ac_tool_warned in
8831 yes:)
8832 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8833 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8834 ac_tool_warned=yes ;;
8835 esac
8836 DLLTOOL=$ac_ct_DLLTOOL
8837 fi
8838 else
8839 DLLTOOL="$ac_cv_prog_DLLTOOL"
8840 fi
8841
8842 testscip-shell system . . test. -z "$DLLTOOL" && DLLTOOL=dlltool
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8854 printfscip-shell system . . printf. %s "checking how to associate runtime and link libraries... " >&6; }
8855 if testscip-shell system . . test. ${lt_cv_sharedlib_from_linklib_cmd+y}
8856 then :
8857 printfscip-shell system . . printf. %s "(cached) " >&6
8858 else case e in #(
8859 e) lt_cv_sharedlib_from_linklib_cmd='unknown'
8860
8861 case $host_os in
8862 cygwin* | mingw* | windows* | pw32* | cegcc*)
8863 # two different shell functions defined in ltmain.sh;
8864 # decide which one to use based on capabilities of $DLLTOOL
8865 case `$DLLTOOL --help 2>&1` in
8866 *--identify-strict*)
8867 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8868 ;;
8869 *)
8870 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8871 ;;
8872 esac
8873 ;;
8874 *)
8875 # fallback: assume linklib IS sharedlib
8876 lt_cv_sharedlib_from_linklib_cmd=$ECHO
8877 ;;
8878 esac
8879 ;;
8880 esac
8881 fi
8882 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8883 printfscip-shell system . . printf. "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8884 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8885 testscip-shell system . . test. -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8886
8887
8888
8889
8890
8891
8892
8893 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
8894 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8895 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8896 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8897 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8898 if testscip-shell system . . test. ${ac_cv_prog_RANLIB+y}
8899 then :
8900 printfscip-shell system . . printf. %s "(cached) " >&6
8901 else case e in #(
8902 e) if testscip-shell system . . test. -n "$RANLIB"; then
8903 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8904 else
8905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8906 for as_dir in $PATH
8907 do
8908 IFS=$as_save_IFS
8909 case $as_dir in #(((
8910 '') as_dir=./ ;;
8911 */) ;;
8912 *) as_dir=$as_dir/ ;;
8913 esac
8914 for ac_exec_ext in '' $ac_executable_extensions; do
8915 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8916 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8917 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8918 break 2
8919 fi
8920 done
8921 done
8922 IFS=$as_save_IFS
8923
8924 fi ;;
8925 esac
8926 fi
8927 RANLIB=$ac_cv_prog_RANLIB
8928 if testscip-shell system . . test. -n "$RANLIB"; then
8929 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8930 printfscip-shell system . . printf. "%s\n" "$RANLIB" >&6; }
8931 else
8932 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8933 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8934 fi
8935
8936
8937 fi
8938 if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then
8939 ac_ct_RANLIB=$RANLIB
8940 # Extract the first word of "ranlib", so it can be a program name with args.
8941 set dummy ranlib; ac_word=$2
8942 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8943 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8944 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_RANLIB+y}
8945 then :
8946 printfscip-shell system . . printf. %s "(cached) " >&6
8947 else case e in #(
8948 e) if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
8949 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8950 else
8951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8952 for as_dir in $PATH
8953 do
8954 IFS=$as_save_IFS
8955 case $as_dir in #(((
8956 '') as_dir=./ ;;
8957 */) ;;
8958 *) as_dir=$as_dir/ ;;
8959 esac
8960 for ac_exec_ext in '' $ac_executable_extensions; do
8961 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8962 ac_cv_prog_ac_ct_RANLIB="ranlib"
8963 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8964 break 2
8965 fi
8966 done
8967 done
8968 IFS=$as_save_IFS
8969
8970 fi ;;
8971 esac
8972 fi
8973 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8974 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
8975 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8976 printfscip-shell system . . printf. "%s\n" "$ac_ct_RANLIB" >&6; }
8977 else
8978 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8979 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8980 fi
8981
8982 if testscip-shell system . . test. "x$ac_ct_RANLIB" = x; then
8983 RANLIB=":"
8984 else
8985 case $cross_compiling:$ac_tool_warned in
8986 yes:)
8987 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8988 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8989 ac_tool_warned=yes ;;
8990 esac
8991 RANLIB=$ac_ct_RANLIB
8992 fi
8993 else
8994 RANLIB="$ac_cv_prog_RANLIB"
8995 fi
8996
8997 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
8998 for ac_prog in ar
8999 do
9000 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9001 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9002 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9003 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
9004 if testscip-shell system . . test. ${ac_cv_prog_AR+y}
9005 then :
9006 printfscip-shell system . . printf. %s "(cached) " >&6
9007 else case e in #(
9008 e) if testscip-shell system . . test. -n "$AR"; then
9009 ac_cv_prog_AR="$AR" # Let the user override the test.
9010 else
9011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9012 for as_dir in $PATH
9013 do
9014 IFS=$as_save_IFS
9015 case $as_dir in #(((
9016 '') as_dir=./ ;;
9017 */) ;;
9018 *) as_dir=$as_dir/ ;;
9019 esac
9020 for ac_exec_ext in '' $ac_executable_extensions; do
9021 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
9022 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9023 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9024 break 2
9025 fi
9026 done
9027 done
9028 IFS=$as_save_IFS
9029
9030 fi ;;
9031 esac
9032 fi
9033 AR=$ac_cv_prog_AR
9034 if testscip-shell system . . test. -n "$AR"; then
9035 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9036 printfscip-shell system . . printf. "%s\n" "$AR" >&6; }
9037 else
9038 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9039 printfscip-shell system . . printf. "%s\n" "no" >&6; }
9040 fi
9041
9042
9043 testscip-shell system . . test. -n "$AR" && break
9044 done
9045 fi
9046 if testscip-shell system . . test. -z "$AR"; then
9047 ac_ct_AR=$AR
9048 for ac_prog in ar
9049 do
9050 # Extract the first word of "$ac_prog", so it can be a program name with args.
9051 set dummy $ac_prog; ac_word=$2
9052 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9053 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
9054 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_AR+y}
9055 then :
9056 printfscip-shell system . . printf. %s "(cached) " >&6
9057 else case e in #(
9058 e) if testscip-shell system . . test. -n "$ac_ct_AR"; then
9059 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9060 else
9061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9062 for as_dir in $PATH
9063 do
9064 IFS=$as_save_IFS
9065 case $as_dir in #(((
9066 '') as_dir=./ ;;
9067 */) ;;
9068 *) as_dir=$as_dir/ ;;
9069 esac
9070 for ac_exec_ext in '' $ac_executable_extensions; do
9071 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
9072 ac_cv_prog_ac_ct_AR="$ac_prog"
9073 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9074 break 2
9075 fi
9076 done
9077 done
9078 IFS=$as_save_IFS
9079
9080 fi ;;
9081 esac
9082 fi
9083 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9084 if testscip-shell system . . test. -n "$ac_ct_AR"; then
9085 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9086 printfscip-shell system . . printf. "%s\n" "$ac_ct_AR" >&6; }
9087 else
9088 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089 printfscip-shell system . . printf. "%s\n" "no" >&6; }
9090 fi
9091
9092
9093 testscip-shell system . . test. -n "$ac_ct_AR" && break
9094 done
9095
9096 if testscip-shell system . . test. "x$ac_ct_AR" = x; then
9097 AR="false"
9098 else
9099 case $cross_compiling:$ac_tool_warned in
9100 yes:)
9101 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9102 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9103 ac_tool_warned=yes ;;
9104 esac
9105 AR=$ac_ct_AR
9106 fi
9107 fi
9108
9109 : ${AR=ar}
9110
9111
9112
9113
9114
9115
9116 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
9117 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
9118 # higher priority because that's what people were doing historically (setting
9119 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
9120 # variable obsoleted/removed.
9121
9122 testscip-shell system . . test. ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
9123 lt_ar_flags=$AR_FLAGS
9124
9125
9126
9127
9128
9129
9130 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
9131 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
9132
9133
9134
9135
9136
9137
9138 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9139 printfscip-shell system . . printf. %s "checking for archiver @FILE support... " >&6; }
9140 if testscip-shell system . . test. ${lt_cv_ar_at_file+y}
9141 then :
9142 printfscip-shell system . . printf. %s "(cached) " >&6
9143 else case e in #(
9144 e) lt_cv_ar_at_file=no
9145 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9147
9148 int
9149 main (void)
9150 {
9151
9152 ;
9153 return 0;
9154 }
9155 _ACEOF
9156 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
9157 then :
9158 echoscip-shell system . . echo. conftest.$ac_objext > conftest.lst
9159 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9160 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9161 (eval $lt_ar_try) 2>&5
9162 ac_status=$?
9163 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9164 testscip-shell system . . test. $ac_status = 0; }
9165 if testscip-shell system . . test. 0 -eq "$ac_status"; then
9166 # Ensure the archiver fails upon bogus file names.
9167 rmscip-shell system . . rm. -f conftest.$ac_objext libconftest.a
9168 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9169 (eval $lt_ar_try) 2>&5
9170 ac_status=$?
9171 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9172 testscip-shell system . . test. $ac_status = 0; }
9173 if testscip-shell system . . test. 0 -ne "$ac_status"; then
9174 lt_cv_ar_at_file=@
9175 fi
9176 fi
9177 rmscip-shell system . . rm. -f conftest.* libconftest.a
9178
9179 fi
9180 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9181 ;;
9182 esac
9183 fi
9184 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9185 printfscip-shell system . . printf. "%s\n" "$lt_cv_ar_at_file" >&6; }
9186
9187 if testscip-shell system . . test. no = "$lt_cv_ar_at_file"; then
9188 archiver_list_spec=
9189 else
9190 archiver_list_spec=$lt_cv_ar_at_file
9191 fi
9192
9193
9194
9195
9196
9197
9198
9199 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
9200 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9201 set dummy ${ac_tool_prefix}strip; ac_word=$2
9202 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9203 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
9204 if testscip-shell system . . test. ${ac_cv_prog_STRIP+y}
9205 then :
9206 printfscip-shell system . . printf. %s "(cached) " >&6
9207 else case e in #(
9208 e) if testscip-shell system . . test. -n "$STRIP"; then
9209 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9210 else
9211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9212 for as_dir in $PATH
9213 do
9214 IFS=$as_save_IFS
9215 case $as_dir in #(((
9216 '') as_dir=./ ;;
9217 */) ;;
9218 *) as_dir=$as_dir/ ;;
9219 esac
9220 for ac_exec_ext in '' $ac_executable_extensions; do
9221 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
9222 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9223 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9224 break 2
9225 fi
9226 done
9227 done
9228 IFS=$as_save_IFS
9229
9230 fi ;;
9231 esac
9232 fi
9233 STRIP=$ac_cv_prog_STRIP
9234 if testscip-shell system . . test. -n "$STRIP"; then
9235 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9236 printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; }
9237 else
9238 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9239 printfscip-shell system . . printf. "%s\n" "no" >&6; }
9240 fi
9241
9242
9243 fi
9244 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
9245 ac_ct_STRIP=$STRIP
9246 # Extract the first word of "strip", so it can be a program name with args.
9247 set dummy strip; ac_word=$2
9248 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
9250 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y}
9251 then :
9252 printfscip-shell system . . printf. %s "(cached) " >&6
9253 else case e in #(
9254 e) if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
9255 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9256 else
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9258 for as_dir in $PATH
9259 do
9260 IFS=$as_save_IFS
9261 case $as_dir in #(((
9262 '') as_dir=./ ;;
9263 */) ;;
9264 *) as_dir=$as_dir/ ;;
9265 esac
9266 for ac_exec_ext in '' $ac_executable_extensions; do
9267 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
9268 ac_cv_prog_ac_ct_STRIP="strip"
9269 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9270 break 2
9271 fi
9272 done
9273 done
9274 IFS=$as_save_IFS
9275
9276 fi ;;
9277 esac
9278 fi
9279 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9280 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
9281 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9282 printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; }
9283 else
9284 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9285 printfscip-shell system . . printf. "%s\n" "no" >&6; }
9286 fi
9287
9288 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
9289 STRIP=":"
9290 else
9291 case $cross_compiling:$ac_tool_warned in
9292 yes:)
9293 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9294 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9295 ac_tool_warned=yes ;;
9296 esac
9297 STRIP=$ac_ct_STRIP
9298 fi
9299 else
9300 STRIP="$ac_cv_prog_STRIP"
9301 fi
9302
9303 testscip-shell system . . test. -z "$STRIP" && STRIP=:
9304
9305
9306
9307
9308
9309
9310
9311 testscip-shell system . . test. -z "$RANLIB" && RANLIB=:
9312
9313
9314
9315
9316
9317
9318 # Determine commands to create old-style static archives.
9319 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9320 old_postinstall_cmds='chmod 644 $oldlib'
9321 old_postuninstall_cmds=
9322
9323 if testscip-shell system . . test. -n "$RANLIB"; then
9324 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9325 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9326 fi
9327
9328 case $host_os in
9329 darwin*)
9330 lock_old_archive_extraction=yes ;;
9331 *)
9332 lock_old_archive_extraction=no ;;
9333 esac
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373 # If no C compiler was specified, use CC.
9374 LTCC=${LTCC-"$CC"}
9375
9376 # If no C compiler flags were specified, use CFLAGS.
9377 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9378
9379 # Allow CC to be a program name with arguments.
9380 compiler=$CC
9381
9382
9383 # Check for command to grab the raw symbol name followed by C symbol from nm.
9384 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9385 printfscip-shell system . . printf. %s "checking command to parse $NM output from $compiler object... " >&6; }
9386 if testscip-shell system . . test. ${lt_cv_sys_global_symbol_pipe+y}
9387 then :
9388 printfscip-shell system . . printf. %s "(cached) " >&6
9389 else case e in #(
9390 e)
9391 # These are sane defaults that work on at least a few old systems.
9392 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9393
9394 # Character class describing NM global symbol codes.
9395 symcode='[BCDEGRST]'
9396
9397 # Regexp to match symbols that can be accessed directly from C.
9398 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9399
9400 # Define system-specific variables.
9401 case $host_os in
9402 aix*)
9403 symcode='[BCDT]'
9404 ;;
9405 cygwin* | mingw* | windows* | pw32* | cegcc*)
9406 symcode='[ABCDGISTW]'
9407 ;;
9408 hpux*)
9409 if testscip-shell system . . test. ia64 = "$host_cpu"; then
9410 symcode='[ABCDEGRST]'
9411 fi
9412 ;;
9413 irix* | nonstopux*)
9414 symcode='[BCDEGRST]'
9415 ;;
9416 osf*)
9417 symcode='[BCDEGQRST]'
9418 ;;
9419 solaris*)
9420 symcode='[BCDRT]'
9421 ;;
9422 sco3.2v5*)
9423 symcode='[DT]'
9424 ;;
9425 sysv4.2uw2*)
9426 symcode='[DT]'
9427 ;;
9428 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9429 symcode='[ABDT]'
9430 ;;
9431 sysv4)
9432 symcode='[DFNSTU]'
9433 ;;
9434 esac
9435
9436 # If we're using GNU nm, then use its standard symbol codes.
9437 case `$NM -V 2>&1` in
9438 *GNU* | *'with BFD'*)
9439 symcode='[ABCDGIRSTW]' ;;
9440 esac
9441
9442 if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then
9443 # Gets list of data symbols to import.
9444 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
9445 # Adjust the below global symbol transforms to fixup imported variables.
9446 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9447 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9448 lt_c_name_lib_hook="\
9449 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9450 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9451 else
9452 # Disable hooks by default.
9453 lt_cv_sys_global_symbol_to_import=
9454 lt_cdecl_hook=
9455 lt_c_name_hook=
9456 lt_c_name_lib_hook=
9457 fi
9458
9459 # Transform an extracted symbol line into a proper C declaration.
9460 # Some systems (esp. on ia64) link data and code symbols differently,
9461 # so use this general approach.
9462 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
9463 $lt_cdecl_hook\
9464 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9465 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9466
9467 # Transform an extracted symbol line into symbol name and symbol address
9468 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
9469 $lt_c_name_hook\
9470 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9471 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9472
9473 # Transform an extracted symbol line into symbol name with lib prefix and
9474 # symbol address.
9475 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
9476 $lt_c_name_lib_hook\
9477 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9478 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9479 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9480
9481 # Handle CRLF in mingw tool chain
9482 opt_cr=
9483 case $build_os in
9484 mingw* | windows*)
9485 opt_cr=`$ECHO 'x\{0,1\}' | trscip-shell system . . tr. x '\015'` # option cr in regexp
9486 ;;
9487 esac
9488
9489 # Try without a prefix underscore, then with it.
9490 for ac_symprfx in "" "_"; do
9491
9492 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9493 symxfrm="\\1 $ac_symprfx\\2 \\2"
9494
9495 # Write the raw and C identifiers.
9496 if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then
9497 # Fake it for dumpbin and say T for any non-static function,
9498 # D for any global variable and I for any imported variable.
9499 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
9500 # which start with @ or ?.
9501 lt_cv_sys_global_symbol_pipe="$AWK '"\
9502 " {last_section=section; section=\$ 3};"\
9503 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9504 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9505 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9506 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9507 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9508 " \$ 0!~/External *\|/{next};"\
9509 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9510 " {if(hide[section]) next};"\
9511 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9512 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9513 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9514 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9515 " ' prfx=^$ac_symprfx"
9516 else
9517 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9518 fi
9519 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
9520
9521 # Check to see that the pipe works correctly.
9522 pipe_works=no
9523
9524 rmscip-shell system . . rm. -f conftest*
9525 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
9526 #ifdef __cplusplus
9527 extern "C" {
9528 #endif
9529 char nm_test_var;
9530 void nm_test_func(void);
9531 void nm_test_func(void){}
9532 #ifdef __cplusplus
9533 }
9534 #endif
9535 int main(void){nm_test_var='a';nm_test_func();return(0);}
9536 _LT_EOF
9537
9538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9539 (eval $ac_compile) 2>&5
9540 ac_status=$?
9541 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9542 testscip-shell system . . test. $ac_status = 0; }; then
9543 # Now try to grab the symbols.
9544 nlist=conftest.nm
9545 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
9546 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && testscip-shell system . . test. -s "$nlist"; then
9547 # Try sorting and uniquifying the output.
9548 if sortscip-shell system . . sort. "$nlist" | uniqscip-shell system . . uniq. > "$nlist"T; then
9549 mvscip-shell system . . mv. -f "$nlist"T "$nlist"
9550 else
9551 rmscip-shell system . . rm. -f "$nlist"T
9552 fi
9553
9554 # Make sure that we snagged all the symbols we need.
9555 if $GREP ' nm_test_var$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
9556 if $GREP ' nm_test_func$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
9557 catscip-shell system . . cat. <<_LT_EOF > conftest.$ac_ext
9558 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9559 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9560 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9561 relocations are performed -- see ld's documentation on pseudo-relocs. */
9562 # define LT_DLSYM_CONST
9563 #elif defined __osf__
9564 /* This system does not cope well with relocations in const data. */
9565 # define LT_DLSYM_CONST
9566 #else
9567 # define LT_DLSYM_CONST const
9568 #endif
9569
9570 #ifdef __cplusplus
9571 extern "C" {
9572 #endif
9573
9574 _LT_EOF
9575 # Now generate the symbol file.
9576 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9577
9578 catscip-shell system . . cat. <<_LT_EOF >> conftest.$ac_ext
9579
9580 /* The mapping between symbol names and symbols. */
9581 LT_DLSYM_CONST struct {
9582 const char *name;
9583 void *address;
9584 }
9585 lt__PROGRAM__LTX_preloaded_symbols[] =
9586 {
9587 { "@PROGRAM@", (void *) 0 },
9588 _LT_EOF
9589 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9590 catscip-shell system . . cat. <<\_LT_EOF >> conftest.$ac_ext
9591 {0, (void *) 0}
9592 };
9593
9594 /* This works around a problem in FreeBSD linker */
9595 #ifdef FREEBSD_WORKAROUND
9596 static const void *lt_preloaded_setup() {
9597 return lt__PROGRAM__LTX_preloaded_symbols;
9598 }
9599 #endif
9600
9601 #ifdef __cplusplus
9602 }
9603 #endif
9604 _LT_EOF
9605 # Now try linking the two files.
9606 mvscip-shell system . . mv. conftest.$ac_objext conftstm.$ac_objext
9607 lt_globsym_save_LIBS=$LIBS
9608 lt_globsym_save_CFLAGS=$CFLAGS
9609 LIBS=conftstm.$ac_objext
9610 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9612 (eval $ac_link) 2>&5
9613 ac_status=$?
9614 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9615 testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s conftest$ac_exeext; then
9616 pipe_works=yes
9617 fi
9618 LIBS=$lt_globsym_save_LIBS
9619 CFLAGS=$lt_globsym_save_CFLAGS
9620 else
9621 echoscip-shell system . . echo. "cannot find nm_test_func in $nlist" >&5
9622 fi
9623 else
9624 echoscip-shell system . . echo. "cannot find nm_test_var in $nlist" >&5
9625 fi
9626 else
9627 echoscip-shell system . . echo. "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9628 fi
9629 else
9630 echoscip-shell system . . echo. "$progname: failed program was:" >&5
9631 catscip-shell system . . cat. conftest.$ac_ext >&5
9632 fi
9633 rmscip-shell system . . rm. -rf conftest* conftst*
9634
9635 # Do not use the global_symbol_pipe unless it works.
9636 if testscip-shell system . . test. yes = "$pipe_works"; then
9637 break
9638 else
9639 lt_cv_sys_global_symbol_pipe=
9640 fi
9641 done
9642 ;;
9643 esac
9644 fi
9645
9646 if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe"; then
9647 lt_cv_sys_global_symbol_to_cdecl=
9648 fi
9649 if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9650 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9651 printfscip-shell system . . printf. "%s\n" "failed" >&6; }
9652 else
9653 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9654 printfscip-shell system . . printf. "%s\n" "ok" >&6; }
9655 fi
9656
9657 # Response file support.
9658 if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then
9659 nm_file_list_spec='@'
9660 elif $NM --help 2>/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. '[@]FILE' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
9661 nm_file_list_spec='@'
9662 fi
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9701 printfscip-shell system . . printf. %s "checking for sysroot... " >&6; }
9702
9703 # Check whether --with-sysroot was given.
9704 if testscip-shell system . . test. ${with_sysroot+y}
9705 then :
9706 withval=$with_sysroot;
9707 else case e in #(
9708 e) with_sysroot=no ;;
9709 esac
9710 fi
9711
9712
9713 lt_sysroot=
9714 case $with_sysroot in #(
9715 yes)
9716 if testscip-shell system . . test. yes = "$GCC"; then
9717 # Trim trailing / since we'll always append absolute paths and we want
9718 # to avoid //, if only for less confusing output for the user.
9719 lt_sysroot=`$CC --print-sysroot 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED 's:/\+$::'`
9720 fi
9721 ;; #(
9722 /*)
9723 lt_sysroot=`echoscip-shell system . . echo. "$with_sysroot" | $SED -e "$sed_quote_subst"`
9724 ;; #(
9725 no|'')
9726 ;; #(
9727 *)
9728 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9729 printfscip-shell system . . printf. "%s\n" "$with_sysroot" >&6; }
9730 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The sysroot must be an absolute path." "$LINENO" 5
9731 ;;
9732 esac
9733
9734 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9735 printfscip-shell system . . printf. "%s\n" "${lt_sysroot:-no}" >&6; }
9736
9737
9738
9739
9740
9741 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9742 printfscip-shell system . . printf. %s "checking for a working dd... " >&6; }
9743 if testscip-shell system . . test. ${ac_cv_path_lt_DD+y}
9744 then :
9745 printfscip-shell system . . printf. %s "(cached) " >&6
9746 else case e in #(
9747 e) printfscip-shell system . . printf. 0123456789abcdef0123456789abcdef >conftest.i
9748 catscip-shell system . . cat. conftest.i conftest.i >conftest2.i
9749 : ${lt_DD:=$DD}
9750 if testscip-shell system . . test. -z "$lt_DD"; then
9751 ac_path_lt_DD_found=false
9752 # Loop through the user's path and test for each of PROGNAME-LIST
9753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9754 for as_dir in $PATH
9755 do
9756 IFS=$as_save_IFS
9757 case $as_dir in #(((
9758 '') as_dir=./ ;;
9759 */) ;;
9760 *) as_dir=$as_dir/ ;;
9761 esac
9762 for ac_prog in dd
9763 do
9764 for ac_exec_ext in '' $ac_executable_extensions; do
9765 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
9766 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_lt_DD" || continue
9767 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
9768 cmpscip-shell system . . cmp. -s conftest.i conftest.out \
9769 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
9770 fi
9771 $ac_path_lt_DD_found && break 3
9772 done
9773 done
9774 done
9775 IFS=$as_save_IFS
9776 if testscip-shell system . . test. -z "$ac_cv_path_lt_DD"; then
9777 :
9778 fi
9779 else
9780 ac_cv_path_lt_DD=$lt_DD
9781 fi
9782
9783 rmscip-shell system . . rm. -f conftest.i conftest2.i conftest.out ;;
9784 esac
9785 fi
9786 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9787 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_lt_DD" >&6; }
9788
9789
9790 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9791 printfscip-shell system . . printf. %s "checking how to truncate binary pipes... " >&6; }
9792 if testscip-shell system . . test. ${lt_cv_truncate_bin+y}
9793 then :
9794 printfscip-shell system . . printf. %s "(cached) " >&6
9795 else case e in #(
9796 e) printfscip-shell system . . printf. 0123456789abcdef0123456789abcdef >conftest.i
9797 catscip-shell system . . cat. conftest.i conftest.i >conftest2.i
9798 lt_cv_truncate_bin=
9799 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
9800 cmpscip-shell system . . cmp. -s conftest.i conftest.out \
9801 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
9802 fi
9803 rmscip-shell system . . rm. -f conftest.i conftest2.i conftest.out
9804 testscip-shell system . . test. -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
9805 esac
9806 fi
9807 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9808 printfscip-shell system . . printf. "%s\n" "$lt_cv_truncate_bin" >&6; }
9809
9810
9811
9812
9813
9814
9815
9816 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9817 func_cc_basenamescip-shell shell shell-project 0.0.0 func_cc_basename(). ()
9818 {
9819 for cc_temp in $*""; do
9820 case $cc_temp in
9821 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9822 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9823 \-*) ;;
9824 *) break;;
9825 esac
9826 done
9827 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9828 }
9829
9830 # Check whether --enable-libtool-lock was given.
9831 if testscip-shell system . . test. ${enable_libtool_lock+y}
9832 then :
9833 enableval=$enable_libtool_lock;
9834 fi
9835
9836 testscip-shell system . . test. no = "$enable_libtool_lock" || enable_libtool_lock=yes
9837
9838 # Some flags need to be propagated to the compiler or linker for good
9839 # libtool support.
9840 case $host in
9841 ia64-*-hpux*)
9842 # Find out what ABI is being produced by ac_compile, and set mode
9843 # options accordingly.
9844 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
9845 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9846 (eval $ac_compile) 2>&5
9847 ac_status=$?
9848 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9849 testscip-shell system . . test. $ac_status = 0; }; then
9850 case `$FILECMD conftest.$ac_objext` in
9851 *ELF-32*)
9852 HPUX_IA64_MODE=32
9853 ;;
9854 *ELF-64*)
9855 HPUX_IA64_MODE=64
9856 ;;
9857 esac
9858 fi
9859 rmscip-shell system . . rm. -rf conftest*
9860 ;;
9861 *-*-irix6*)
9862 # Find out what ABI is being produced by ac_compile, and set linker
9863 # options accordingly.
9864 echoscip-shell system . . echo. '#line '$LINENO' "configure"' > conftest.$ac_ext
9865 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9866 (eval $ac_compile) 2>&5
9867 ac_status=$?
9868 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9869 testscip-shell system . . test. $ac_status = 0; }; then
9870 if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then
9871 case `$FILECMD conftest.$ac_objext` in
9872 *32-bit*)
9873 LD="${LD-ld} -melf32bsmip"
9874 ;;
9875 *N32*)
9876 LD="${LD-ld} -melf32bmipn32"
9877 ;;
9878 *64-bit*)
9879 LD="${LD-ld} -melf64bmip"
9880 ;;
9881 esac
9882 else
9883 case `$FILECMD conftest.$ac_objext` in
9884 *32-bit*)
9885 LD="${LD-ld} -32"
9886 ;;
9887 *N32*)
9888 LD="${LD-ld} -n32"
9889 ;;
9890 *64-bit*)
9891 LD="${LD-ld} -64"
9892 ;;
9893 esac
9894 fi
9895 fi
9896 rmscip-shell system . . rm. -rf conftest*
9897 ;;
9898
9899 mips64*-*linux*)
9900 # Find out what ABI is being produced by ac_compile, and set linker
9901 # options accordingly.
9902 echoscip-shell system . . echo. '#line '$LINENO' "configure"' > conftest.$ac_ext
9903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9904 (eval $ac_compile) 2>&5
9905 ac_status=$?
9906 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9907 testscip-shell system . . test. $ac_status = 0; }; then
9908 emul=elf
9909 case `$FILECMD conftest.$ac_objext` in
9910 *32-bit*)
9911 emul="${emul}32"
9912 ;;
9913 *64-bit*)
9914 emul="${emul}64"
9915 ;;
9916 esac
9917 case `$FILECMD conftest.$ac_objext` in
9918 *MSB*)
9919 emul="${emul}btsmip"
9920 ;;
9921 *LSB*)
9922 emul="${emul}ltsmip"
9923 ;;
9924 esac
9925 case `$FILECMD conftest.$ac_objext` in
9926 *N32*)
9927 emul="${emul}n32"
9928 ;;
9929 esac
9930 LD="${LD-ld} -m $emul"
9931 fi
9932 rmscip-shell system . . rm. -rf conftest*
9933 ;;
9934
9935 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9936 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
9937 # Find out what ABI is being produced by ac_compile, and set linker
9938 # options accordingly. Note that the listed cases only cover the
9939 # situations where additional linker options are needed (such as when
9940 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9941 # vice versa); the common cases where no linker options are needed do
9942 # not appear in the list.
9943 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
9944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9945 (eval $ac_compile) 2>&5
9946 ac_status=$?
9947 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9948 testscip-shell system . . test. $ac_status = 0; }; then
9949 case `$FILECMD conftest.o` in
9950 *32-bit*)
9951 case $host in
9952 x86_64-*kfreebsd*-gnu)
9953 LD="${LD-ld} -m elf_i386_fbsd"
9954 ;;
9955 x86_64-*linux*|x86_64-gnu*)
9956 case `$FILECMD conftest.o` in
9957 *x86-64*)
9958 LD="${LD-ld} -m elf32_x86_64"
9959 ;;
9960 *)
9961 LD="${LD-ld} -m elf_i386"
9962 ;;
9963 esac
9964 ;;
9965 powerpc64le-*linux*)
9966 LD="${LD-ld} -m elf32lppclinux"
9967 ;;
9968 powerpc64-*linux*)
9969 LD="${LD-ld} -m elf32ppclinux"
9970 ;;
9971 s390x-*linux*)
9972 LD="${LD-ld} -m elf_s390"
9973 ;;
9974 sparc64-*linux*)
9975 LD="${LD-ld} -m elf32_sparc"
9976 ;;
9977 esac
9978 ;;
9979 *64-bit*)
9980 case $host in
9981 x86_64-*kfreebsd*-gnu)
9982 LD="${LD-ld} -m elf_x86_64_fbsd"
9983 ;;
9984 x86_64-*linux*|x86_64-gnu*)
9985 LD="${LD-ld} -m elf_x86_64"
9986 ;;
9987 powerpcle-*linux*)
9988 LD="${LD-ld} -m elf64lppc"
9989 ;;
9990 powerpc-*linux*)
9991 LD="${LD-ld} -m elf64ppc"
9992 ;;
9993 s390*-*linux*|s390*-*tpf*)
9994 LD="${LD-ld} -m elf64_s390"
9995 ;;
9996 sparc*-*linux*)
9997 LD="${LD-ld} -m elf64_sparc"
9998 ;;
9999 esac
10000 ;;
10001 esac
10002 fi
10003 rmscip-shell system . . rm. -rf conftest*
10004 ;;
10005
10006 *-*-sco3.2v5*)
10007 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10008 SAVE_CFLAGS=$CFLAGS
10009 CFLAGS="$CFLAGS -belf"
10010 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
10011 printfscip-shell system . . printf. %s "checking whether the C compiler needs -belf... " >&6; }
10012 if testscip-shell system . . test. ${lt_cv_cc_needs_belf+y}
10013 then :
10014 printfscip-shell system . . printf. %s "(cached) " >&6
10015 else case e in #(
10016 e) ac_ext=c
10017 ac_cpp='$CPP $CPPFLAGS'
10018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10021
10022 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10024
10025 int
10026 main (void)
10027 {
10028
10029 ;
10030 return 0;
10031 }
10032 _ACEOF
10033 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
10034 then :
10035 lt_cv_cc_needs_belf=yes
10036 else case e in #(
10037 e) lt_cv_cc_needs_belf=no ;;
10038 esac
10039 fi
10040 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10041 conftest$ac_exeext conftest.$ac_ext
10042 ac_ext=c
10043 ac_cpp='$CPP $CPPFLAGS'
10044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10047 ;;
10048 esac
10049 fi
10050 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10051 printfscip-shell system . . printf. "%s\n" "$lt_cv_cc_needs_belf" >&6; }
10052 if testscip-shell system . . test. yes != "$lt_cv_cc_needs_belf"; then
10053 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10054 CFLAGS=$SAVE_CFLAGS
10055 fi
10056 ;;
10057 *-*solaris*)
10058 # Find out what ABI is being produced by ac_compile, and set linker
10059 # options accordingly.
10060 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
10061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10062 (eval $ac_compile) 2>&5
10063 ac_status=$?
10064 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10065 testscip-shell system . . test. $ac_status = 0; }; then
10066 case `$FILECMD conftest.o` in
10067 *64-bit*)
10068 case $lt_cv_prog_gnu_ld in
10069 yes*)
10070 case $host in
10071 i?86-*-solaris*|x86_64-*-solaris*)
10072 LD="${LD-ld} -m elf_x86_64"
10073 ;;
10074 sparc*-*-solaris*)
10075 LD="${LD-ld} -m elf64_sparc"
10076 ;;
10077 esac
10078 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
10079 if ${LD-ld} -V | grepscip-shell system . . grep. _sol2 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
10080 LD=${LD-ld}_sol2
10081 fi
10082 ;;
10083 *)
10084 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
10085 LD="${LD-ld} -64"
10086 fi
10087 ;;
10088 esac
10089 ;;
10090 esac
10091 fi
10092 rmscip-shell system . . rm. -rf conftest*
10093 ;;
10094 esac
10095
10096 need_locks=$enable_libtool_lock
10097
10098 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10099 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
10100 set dummy ${ac_tool_prefix}mt; ac_word=$2
10101 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10102 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10103 if testscip-shell system . . test. ${ac_cv_prog_MANIFEST_TOOL+y}
10104 then :
10105 printfscip-shell system . . printf. %s "(cached) " >&6
10106 else case e in #(
10107 e) if testscip-shell system . . test. -n "$MANIFEST_TOOL"; then
10108 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
10109 else
10110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10111 for as_dir in $PATH
10112 do
10113 IFS=$as_save_IFS
10114 case $as_dir in #(((
10115 '') as_dir=./ ;;
10116 */) ;;
10117 *) as_dir=$as_dir/ ;;
10118 esac
10119 for ac_exec_ext in '' $ac_executable_extensions; do
10120 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10121 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10122 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10123 break 2
10124 fi
10125 done
10126 done
10127 IFS=$as_save_IFS
10128
10129 fi ;;
10130 esac
10131 fi
10132 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10133 if testscip-shell system . . test. -n "$MANIFEST_TOOL"; then
10134 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10135 printfscip-shell system . . printf. "%s\n" "$MANIFEST_TOOL" >&6; }
10136 else
10137 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10138 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10139 fi
10140
10141
10142 fi
10143 if testscip-shell system . . test. -z "$ac_cv_prog_MANIFEST_TOOL"; then
10144 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10145 # Extract the first word of "mt", so it can be a program name with args.
10146 set dummy mt; ac_word=$2
10147 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10148 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10149 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
10150 then :
10151 printfscip-shell system . . printf. %s "(cached) " >&6
10152 else case e in #(
10153 e) if testscip-shell system . . test. -n "$ac_ct_MANIFEST_TOOL"; then
10154 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10155 else
10156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10157 for as_dir in $PATH
10158 do
10159 IFS=$as_save_IFS
10160 case $as_dir in #(((
10161 '') as_dir=./ ;;
10162 */) ;;
10163 *) as_dir=$as_dir/ ;;
10164 esac
10165 for ac_exec_ext in '' $ac_executable_extensions; do
10166 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10167 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10168 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10169 break 2
10170 fi
10171 done
10172 done
10173 IFS=$as_save_IFS
10174
10175 fi ;;
10176 esac
10177 fi
10178 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10179 if testscip-shell system . . test. -n "$ac_ct_MANIFEST_TOOL"; then
10180 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10181 printfscip-shell system . . printf. "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
10182 else
10183 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10184 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10185 fi
10186
10187 if testscip-shell system . . test. "x$ac_ct_MANIFEST_TOOL" = x; then
10188 MANIFEST_TOOL=":"
10189 else
10190 case $cross_compiling:$ac_tool_warned in
10191 yes:)
10192 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10193 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10194 ac_tool_warned=yes ;;
10195 esac
10196 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10197 fi
10198 else
10199 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10200 fi
10201
10202 testscip-shell system . . test. -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10203 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10204 printfscip-shell system . . printf. %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10205 if testscip-shell system . . test. ${lt_cv_path_manifest_tool+y}
10206 then :
10207 printfscip-shell system . . printf. %s "(cached) " >&6
10208 else case e in #(
10209 e) lt_cv_path_manifest_tool=no
10210 echoscip-shell system . . echo. "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10211 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10212 catscip-shell system . . cat. conftest.err >&5
10213 if $GREP 'Manifest Tool' conftest.out > /dev/nullscip-shell filesystem . . `/dev/null`.; then
10214 lt_cv_path_manifest_tool=yes
10215 fi
10216 rmscip-shell system . . rm. -f conftest* ;;
10217 esac
10218 fi
10219 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
10220 printfscip-shell system . . printf. "%s\n" "$lt_cv_path_manifest_tool" >&6; }
10221 if testscip-shell system . . test. yes != "$lt_cv_path_manifest_tool"; then
10222 MANIFEST_TOOL=:
10223 fi
10224
10225
10226
10227
10228
10229
10230 case $host_os in
10231 rhapsody* | darwin*)
10232 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10233 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10234 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10235 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10236 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10237 if testscip-shell system . . test. ${ac_cv_prog_DSYMUTIL+y}
10238 then :
10239 printfscip-shell system . . printf. %s "(cached) " >&6
10240 else case e in #(
10241 e) if testscip-shell system . . test. -n "$DSYMUTIL"; then
10242 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10243 else
10244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10245 for as_dir in $PATH
10246 do
10247 IFS=$as_save_IFS
10248 case $as_dir in #(((
10249 '') as_dir=./ ;;
10250 */) ;;
10251 *) as_dir=$as_dir/ ;;
10252 esac
10253 for ac_exec_ext in '' $ac_executable_extensions; do
10254 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10255 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10256 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10257 break 2
10258 fi
10259 done
10260 done
10261 IFS=$as_save_IFS
10262
10263 fi ;;
10264 esac
10265 fi
10266 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10267 if testscip-shell system . . test. -n "$DSYMUTIL"; then
10268 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10269 printfscip-shell system . . printf. "%s\n" "$DSYMUTIL" >&6; }
10270 else
10271 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10272 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10273 fi
10274
10275
10276 fi
10277 if testscip-shell system . . test. -z "$ac_cv_prog_DSYMUTIL"; then
10278 ac_ct_DSYMUTIL=$DSYMUTIL
10279 # Extract the first word of "dsymutil", so it can be a program name with args.
10280 set dummy dsymutil; ac_word=$2
10281 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10282 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10283 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DSYMUTIL+y}
10284 then :
10285 printfscip-shell system . . printf. %s "(cached) " >&6
10286 else case e in #(
10287 e) if testscip-shell system . . test. -n "$ac_ct_DSYMUTIL"; then
10288 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10289 else
10290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10291 for as_dir in $PATH
10292 do
10293 IFS=$as_save_IFS
10294 case $as_dir in #(((
10295 '') as_dir=./ ;;
10296 */) ;;
10297 *) as_dir=$as_dir/ ;;
10298 esac
10299 for ac_exec_ext in '' $ac_executable_extensions; do
10300 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10301 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10302 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10303 break 2
10304 fi
10305 done
10306 done
10307 IFS=$as_save_IFS
10308
10309 fi ;;
10310 esac
10311 fi
10312 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10313 if testscip-shell system . . test. -n "$ac_ct_DSYMUTIL"; then
10314 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10315 printfscip-shell system . . printf. "%s\n" "$ac_ct_DSYMUTIL" >&6; }
10316 else
10317 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10318 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10319 fi
10320
10321 if testscip-shell system . . test. "x$ac_ct_DSYMUTIL" = x; then
10322 DSYMUTIL=":"
10323 else
10324 case $cross_compiling:$ac_tool_warned in
10325 yes:)
10326 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10327 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10328 ac_tool_warned=yes ;;
10329 esac
10330 DSYMUTIL=$ac_ct_DSYMUTIL
10331 fi
10332 else
10333 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10334 fi
10335
10336 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10337 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10338 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10339 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10340 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10341 if testscip-shell system . . test. ${ac_cv_prog_NMEDIT+y}
10342 then :
10343 printfscip-shell system . . printf. %s "(cached) " >&6
10344 else case e in #(
10345 e) if testscip-shell system . . test. -n "$NMEDIT"; then
10346 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10347 else
10348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10349 for as_dir in $PATH
10350 do
10351 IFS=$as_save_IFS
10352 case $as_dir in #(((
10353 '') as_dir=./ ;;
10354 */) ;;
10355 *) as_dir=$as_dir/ ;;
10356 esac
10357 for ac_exec_ext in '' $ac_executable_extensions; do
10358 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10359 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10360 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10361 break 2
10362 fi
10363 done
10364 done
10365 IFS=$as_save_IFS
10366
10367 fi ;;
10368 esac
10369 fi
10370 NMEDIT=$ac_cv_prog_NMEDIT
10371 if testscip-shell system . . test. -n "$NMEDIT"; then
10372 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10373 printfscip-shell system . . printf. "%s\n" "$NMEDIT" >&6; }
10374 else
10375 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10376 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10377 fi
10378
10379
10380 fi
10381 if testscip-shell system . . test. -z "$ac_cv_prog_NMEDIT"; then
10382 ac_ct_NMEDIT=$NMEDIT
10383 # Extract the first word of "nmedit", so it can be a program name with args.
10384 set dummy nmedit; ac_word=$2
10385 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10386 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10387 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_NMEDIT+y}
10388 then :
10389 printfscip-shell system . . printf. %s "(cached) " >&6
10390 else case e in #(
10391 e) if testscip-shell system . . test. -n "$ac_ct_NMEDIT"; then
10392 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10393 else
10394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10395 for as_dir in $PATH
10396 do
10397 IFS=$as_save_IFS
10398 case $as_dir in #(((
10399 '') as_dir=./ ;;
10400 */) ;;
10401 *) as_dir=$as_dir/ ;;
10402 esac
10403 for ac_exec_ext in '' $ac_executable_extensions; do
10404 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10405 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10406 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10407 break 2
10408 fi
10409 done
10410 done
10411 IFS=$as_save_IFS
10412
10413 fi ;;
10414 esac
10415 fi
10416 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10417 if testscip-shell system . . test. -n "$ac_ct_NMEDIT"; then
10418 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10419 printfscip-shell system . . printf. "%s\n" "$ac_ct_NMEDIT" >&6; }
10420 else
10421 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10422 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10423 fi
10424
10425 if testscip-shell system . . test. "x$ac_ct_NMEDIT" = x; then
10426 NMEDIT=":"
10427 else
10428 case $cross_compiling:$ac_tool_warned in
10429 yes:)
10430 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10431 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10432 ac_tool_warned=yes ;;
10433 esac
10434 NMEDIT=$ac_ct_NMEDIT
10435 fi
10436 else
10437 NMEDIT="$ac_cv_prog_NMEDIT"
10438 fi
10439
10440 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10441 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10442 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10443 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10444 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10445 if testscip-shell system . . test. ${ac_cv_prog_LIPO+y}
10446 then :
10447 printfscip-shell system . . printf. %s "(cached) " >&6
10448 else case e in #(
10449 e) if testscip-shell system . . test. -n "$LIPO"; then
10450 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10451 else
10452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10453 for as_dir in $PATH
10454 do
10455 IFS=$as_save_IFS
10456 case $as_dir in #(((
10457 '') as_dir=./ ;;
10458 */) ;;
10459 *) as_dir=$as_dir/ ;;
10460 esac
10461 for ac_exec_ext in '' $ac_executable_extensions; do
10462 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10463 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10464 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10465 break 2
10466 fi
10467 done
10468 done
10469 IFS=$as_save_IFS
10470
10471 fi ;;
10472 esac
10473 fi
10474 LIPO=$ac_cv_prog_LIPO
10475 if testscip-shell system . . test. -n "$LIPO"; then
10476 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10477 printfscip-shell system . . printf. "%s\n" "$LIPO" >&6; }
10478 else
10479 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10480 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10481 fi
10482
10483
10484 fi
10485 if testscip-shell system . . test. -z "$ac_cv_prog_LIPO"; then
10486 ac_ct_LIPO=$LIPO
10487 # Extract the first word of "lipo", so it can be a program name with args.
10488 set dummy lipo; ac_word=$2
10489 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10490 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10491 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_LIPO+y}
10492 then :
10493 printfscip-shell system . . printf. %s "(cached) " >&6
10494 else case e in #(
10495 e) if testscip-shell system . . test. -n "$ac_ct_LIPO"; then
10496 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10497 else
10498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10499 for as_dir in $PATH
10500 do
10501 IFS=$as_save_IFS
10502 case $as_dir in #(((
10503 '') as_dir=./ ;;
10504 */) ;;
10505 *) as_dir=$as_dir/ ;;
10506 esac
10507 for ac_exec_ext in '' $ac_executable_extensions; do
10508 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10509 ac_cv_prog_ac_ct_LIPO="lipo"
10510 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10511 break 2
10512 fi
10513 done
10514 done
10515 IFS=$as_save_IFS
10516
10517 fi ;;
10518 esac
10519 fi
10520 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10521 if testscip-shell system . . test. -n "$ac_ct_LIPO"; then
10522 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10523 printfscip-shell system . . printf. "%s\n" "$ac_ct_LIPO" >&6; }
10524 else
10525 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10526 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10527 fi
10528
10529 if testscip-shell system . . test. "x$ac_ct_LIPO" = x; then
10530 LIPO=":"
10531 else
10532 case $cross_compiling:$ac_tool_warned in
10533 yes:)
10534 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10535 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10536 ac_tool_warned=yes ;;
10537 esac
10538 LIPO=$ac_ct_LIPO
10539 fi
10540 else
10541 LIPO="$ac_cv_prog_LIPO"
10542 fi
10543
10544 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10545 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10546 set dummy ${ac_tool_prefix}otool; ac_word=$2
10547 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10548 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10549 if testscip-shell system . . test. ${ac_cv_prog_OTOOL+y}
10550 then :
10551 printfscip-shell system . . printf. %s "(cached) " >&6
10552 else case e in #(
10553 e) if testscip-shell system . . test. -n "$OTOOL"; then
10554 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10555 else
10556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10557 for as_dir in $PATH
10558 do
10559 IFS=$as_save_IFS
10560 case $as_dir in #(((
10561 '') as_dir=./ ;;
10562 */) ;;
10563 *) as_dir=$as_dir/ ;;
10564 esac
10565 for ac_exec_ext in '' $ac_executable_extensions; do
10566 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10567 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10568 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10569 break 2
10570 fi
10571 done
10572 done
10573 IFS=$as_save_IFS
10574
10575 fi ;;
10576 esac
10577 fi
10578 OTOOL=$ac_cv_prog_OTOOL
10579 if testscip-shell system . . test. -n "$OTOOL"; then
10580 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10581 printfscip-shell system . . printf. "%s\n" "$OTOOL" >&6; }
10582 else
10583 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10584 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10585 fi
10586
10587
10588 fi
10589 if testscip-shell system . . test. -z "$ac_cv_prog_OTOOL"; then
10590 ac_ct_OTOOL=$OTOOL
10591 # Extract the first word of "otool", so it can be a program name with args.
10592 set dummy otool; ac_word=$2
10593 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10594 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10595 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OTOOL+y}
10596 then :
10597 printfscip-shell system . . printf. %s "(cached) " >&6
10598 else case e in #(
10599 e) if testscip-shell system . . test. -n "$ac_ct_OTOOL"; then
10600 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10601 else
10602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10603 for as_dir in $PATH
10604 do
10605 IFS=$as_save_IFS
10606 case $as_dir in #(((
10607 '') as_dir=./ ;;
10608 */) ;;
10609 *) as_dir=$as_dir/ ;;
10610 esac
10611 for ac_exec_ext in '' $ac_executable_extensions; do
10612 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10613 ac_cv_prog_ac_ct_OTOOL="otool"
10614 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10615 break 2
10616 fi
10617 done
10618 done
10619 IFS=$as_save_IFS
10620
10621 fi ;;
10622 esac
10623 fi
10624 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10625 if testscip-shell system . . test. -n "$ac_ct_OTOOL"; then
10626 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10627 printfscip-shell system . . printf. "%s\n" "$ac_ct_OTOOL" >&6; }
10628 else
10629 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10630 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10631 fi
10632
10633 if testscip-shell system . . test. "x$ac_ct_OTOOL" = x; then
10634 OTOOL=":"
10635 else
10636 case $cross_compiling:$ac_tool_warned in
10637 yes:)
10638 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10639 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10640 ac_tool_warned=yes ;;
10641 esac
10642 OTOOL=$ac_ct_OTOOL
10643 fi
10644 else
10645 OTOOL="$ac_cv_prog_OTOOL"
10646 fi
10647
10648 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
10649 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10650 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10651 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10652 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10653 if testscip-shell system . . test. ${ac_cv_prog_OTOOL64+y}
10654 then :
10655 printfscip-shell system . . printf. %s "(cached) " >&6
10656 else case e in #(
10657 e) if testscip-shell system . . test. -n "$OTOOL64"; then
10658 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10659 else
10660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10661 for as_dir in $PATH
10662 do
10663 IFS=$as_save_IFS
10664 case $as_dir in #(((
10665 '') as_dir=./ ;;
10666 */) ;;
10667 *) as_dir=$as_dir/ ;;
10668 esac
10669 for ac_exec_ext in '' $ac_executable_extensions; do
10670 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10671 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10672 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10673 break 2
10674 fi
10675 done
10676 done
10677 IFS=$as_save_IFS
10678
10679 fi ;;
10680 esac
10681 fi
10682 OTOOL64=$ac_cv_prog_OTOOL64
10683 if testscip-shell system . . test. -n "$OTOOL64"; then
10684 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10685 printfscip-shell system . . printf. "%s\n" "$OTOOL64" >&6; }
10686 else
10687 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10688 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10689 fi
10690
10691
10692 fi
10693 if testscip-shell system . . test. -z "$ac_cv_prog_OTOOL64"; then
10694 ac_ct_OTOOL64=$OTOOL64
10695 # Extract the first word of "otool64", so it can be a program name with args.
10696 set dummy otool64; ac_word=$2
10697 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10698 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
10699 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OTOOL64+y}
10700 then :
10701 printfscip-shell system . . printf. %s "(cached) " >&6
10702 else case e in #(
10703 e) if testscip-shell system . . test. -n "$ac_ct_OTOOL64"; then
10704 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10705 else
10706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10707 for as_dir in $PATH
10708 do
10709 IFS=$as_save_IFS
10710 case $as_dir in #(((
10711 '') as_dir=./ ;;
10712 */) ;;
10713 *) as_dir=$as_dir/ ;;
10714 esac
10715 for ac_exec_ext in '' $ac_executable_extensions; do
10716 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
10717 ac_cv_prog_ac_ct_OTOOL64="otool64"
10718 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10719 break 2
10720 fi
10721 done
10722 done
10723 IFS=$as_save_IFS
10724
10725 fi ;;
10726 esac
10727 fi
10728 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10729 if testscip-shell system . . test. -n "$ac_ct_OTOOL64"; then
10730 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10731 printfscip-shell system . . printf. "%s\n" "$ac_ct_OTOOL64" >&6; }
10732 else
10733 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10734 printfscip-shell system . . printf. "%s\n" "no" >&6; }
10735 fi
10736
10737 if testscip-shell system . . test. "x$ac_ct_OTOOL64" = x; then
10738 OTOOL64=":"
10739 else
10740 case $cross_compiling:$ac_tool_warned in
10741 yes:)
10742 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10743 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10744 ac_tool_warned=yes ;;
10745 esac
10746 OTOOL64=$ac_ct_OTOOL64
10747 fi
10748 else
10749 OTOOL64="$ac_cv_prog_OTOOL64"
10750 fi
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10779 printfscip-shell system . . printf. %s "checking for -single_module linker flag... " >&6; }
10780 if testscip-shell system . . test. ${lt_cv_apple_cc_single_mod+y}
10781 then :
10782 printfscip-shell system . . printf. %s "(cached) " >&6
10783 else case e in #(
10784 e) lt_cv_apple_cc_single_mod=no
10785 if testscip-shell system . . test. -z "$LT_MULTI_MODULE"; then
10786 # By default we will add the -single_module flag. You can override
10787 # by either setting the environment variable LT_MULTI_MODULE
10788 # non-empty at configure time, or by adding -multi_module to the
10789 # link flags.
10790 rmscip-shell system . . rm. -rf libconftest.dylib*
10791 echoscip-shell system . . echo. "int foo(void){return 1;}" > conftest.c
10792 echoscip-shell system . . echo. "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10793 -dynamiclib -Wl,-single_module conftest.c" >&5
10794 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10795 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10796 _lt_result=$?
10797 # If there is a non-empty error log, and "single_module"
10798 # appears in it, assume the flag caused a linker warning
10799 if testscip-shell system . . test. -s conftest.err && $GREP single_module conftest.err; then
10800 catscip-shell system . . cat. conftest.err >&5
10801 # Otherwise, if the output was created with a 0 exit code from
10802 # the compiler, it worked.
10803 elif testscip-shell system . . test. -f libconftest.dylib && testscip-shell system . . test. 0 = "$_lt_result"; then
10804 lt_cv_apple_cc_single_mod=yes
10805 else
10806 catscip-shell system . . cat. conftest.err >&5
10807 fi
10808 rmscip-shell system . . rm. -rf libconftest.dylib*
10809 rmscip-shell system . . rm. -f conftest.*
10810 fi ;;
10811 esac
10812 fi
10813 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10814 printfscip-shell system . . printf. "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
10815
10816 # Feature test to disable chained fixups since it is not
10817 # compatible with '-undefined dynamic_lookup'
10818 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
10819 printfscip-shell system . . printf. %s "checking for -no_fixup_chains linker flag... " >&6; }
10820 if testscip-shell system . . test. ${lt_cv_support_no_fixup_chains+y}
10821 then :
10822 printfscip-shell system . . printf. %s "(cached) " >&6
10823 else case e in #(
10824 e) save_LDFLAGS=$LDFLAGS
10825 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
10826 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10828
10829 int
10830 main (void)
10831 {
10832
10833 ;
10834 return 0;
10835 }
10836 _ACEOF
10837 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
10838 then :
10839 lt_cv_support_no_fixup_chains=yes
10840 else case e in #(
10841 e) lt_cv_support_no_fixup_chains=no
10842 ;;
10843 esac
10844 fi
10845 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10846 conftest$ac_exeext conftest.$ac_ext
10847 LDFLAGS=$save_LDFLAGS
10848
10849 ;;
10850 esac
10851 fi
10852 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
10853 printfscip-shell system . . printf. "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
10854
10855 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10856 printfscip-shell system . . printf. %s "checking for -exported_symbols_list linker flag... " >&6; }
10857 if testscip-shell system . . test. ${lt_cv_ld_exported_symbols_list+y}
10858 then :
10859 printfscip-shell system . . printf. %s "(cached) " >&6
10860 else case e in #(
10861 e) lt_cv_ld_exported_symbols_list=no
10862 save_LDFLAGS=$LDFLAGS
10863 echoscip-shell system . . echo. "_main" > conftest.sym
10864 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10865 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10867
10868 int
10869 main (void)
10870 {
10871
10872 ;
10873 return 0;
10874 }
10875 _ACEOF
10876 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
10877 then :
10878 lt_cv_ld_exported_symbols_list=yes
10879 else case e in #(
10880 e) lt_cv_ld_exported_symbols_list=no ;;
10881 esac
10882 fi
10883 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10884 conftest$ac_exeext conftest.$ac_ext
10885 LDFLAGS=$save_LDFLAGS
10886 ;;
10887 esac
10888 fi
10889 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10890 printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
10891
10892 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10893 printfscip-shell system . . printf. %s "checking for -force_load linker flag... " >&6; }
10894 if testscip-shell system . . test. ${lt_cv_ld_force_load+y}
10895 then :
10896 printfscip-shell system . . printf. %s "(cached) " >&6
10897 else case e in #(
10898 e) lt_cv_ld_force_load=no
10899 catscip-shell system . . cat. > conftest.c << _LT_EOF
10900 int forced_loaded() { return 2;}
10901 _LT_EOF
10902 echoscip-shell system . . echo. "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10903 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10904 echoscip-shell system . . echo. "$AR $AR_FLAGS libconftest.a conftest.o" >&5
10905 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
10906 echoscip-shell system . . echo. "$RANLIB libconftest.a" >&5
10907 $RANLIB libconftest.a 2>&5
10908 catscip-shell system . . cat. > conftest.c << _LT_EOF
10909 int main(void) { return 0;}
10910 _LT_EOF
10911 echoscip-shell system . . echo. "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10912 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10913 _lt_result=$?
10914 if testscip-shell system . . test. -s conftest.err && $GREP force_load conftest.err; then
10915 catscip-shell system . . cat. conftest.err >&5
10916 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
10917 lt_cv_ld_force_load=yes
10918 else
10919 catscip-shell system . . cat. conftest.err >&5
10920 fi
10921 rmscip-shell system . . rm. -f conftest.err libconftest.a conftest conftest.c
10922 rmscip-shell system . . rm. -rf conftest.dSYM
10923 ;;
10924 esac
10925 fi
10926 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10927 printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_force_load" >&6; }
10928 case $host_os in
10929 rhapsody* | darwin1.[012])
10930 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10931 darwin1.*)
10932 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10933 darwin*)
10934 case $MACOSX_DEPLOYMENT_TARGET,$host in
10935 10.[012],*|,*powerpc*-darwin[5-8]*)
10936 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10937 *)
10938 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
10939 if testscip-shell system . . test. yes = "$lt_cv_support_no_fixup_chains"; then
10940 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). _lt_dar_allow_undefined ' $wl-no_fixup_chains'
10941 fi
10942 ;;
10943 esac
10944 ;;
10945 esac
10946 if testscip-shell system . . test. yes = "$lt_cv_apple_cc_single_mod"; then
10947 _lt_dar_single_mod='$single_module'
10948 fi
10949 _lt_dar_needs_single_mod=no
10950 case $host_os in
10951 rhapsody* | darwin1.*)
10952 _lt_dar_needs_single_mod=yes ;;
10953 darwin*)
10954 # When targeting Mac OS X 10.4 (darwin 8) or later,
10955 # -single_module is the default and -multi_module is unsupported.
10956 # The toolchain on macOS 10.14 (darwin 18) and later cannot
10957 # target any OS version that needs -single_module.
10958 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10959 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
10960 _lt_dar_needs_single_mod=yes ;;
10961 esac
10962 ;;
10963 esac
10964 if testscip-shell system . . test. yes = "$lt_cv_ld_exported_symbols_list"; then
10965 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10966 else
10967 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10968 fi
10969 if testscip-shell system . . test. : != "$DSYMUTIL" && testscip-shell system . . test. no = "$lt_cv_ld_force_load"; then
10970 _lt_dsymutil='~$DSYMUTIL $lib || :'
10971 else
10972 _lt_dsymutil=
10973 fi
10974 ;;
10975 esac
10976
10977 # func_munge_path_list VARIABLE PATH
10978 # -----------------------------------
10979 # VARIABLE is name of variable containing _space_ separated list of
10980 # directories to be munged by the contents of PATH, which is string
10981 # having a format:
10982 # "DIR[:DIR]:"
10983 # string "DIR[ DIR]" will be prepended to VARIABLE
10984 # ":DIR[:DIR]"
10985 # string "DIR[ DIR]" will be appended to VARIABLE
10986 # "DIRP[:DIRP]::[DIRA:]DIRA"
10987 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10988 # "DIRA[ DIRA]" will be appended to VARIABLE
10989 # "DIR[:DIR]"
10990 # VARIABLE will be replaced by "DIR[ DIR]"
10991 func_munge_path_listscip-shell shell shell-project 0.0.0 func_munge_path_list(). ()
10992 {
10993 case x$2 in
10994 x)
10995 ;;
10996 *:)
10997 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
10998 ;;
10999 x:*)
11000 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
11001 ;;
11002 *::*)
11003 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
11004 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
11005 ;;
11006 *)
11007 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
11008 ;;
11009 esac
11010 }
11011
11012 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
11013 "
11014 if testscip-shell system . . test. "x$ac_cv_header_dlfcn_h" = xyes
11015 then :
11016 printfscip-shell system . . printf. "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
11017
11018 fi
11019
11020
11021
11022 func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). ()
11023 {
11024 case $2 in
11025 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
11026 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
11027 esac
11028 } # func_stripname_cnf
11029
11030
11031
11032
11033
11034 # Set options
11035
11036
11037
11038 enable_dlopen=no
11039
11040
11041 enable_win32_dll=no
11042
11043
11044 # Check whether --enable-shared was given.
11045 if testscip-shell system . . test. ${enable_shared+y}
11046 then :
11047 enableval=$enable_shared; p=${PACKAGE-default}
11048 case $enableval in
11049 yes) enable_shared=yes ;;
11050 no) enable_shared=no ;;
11051 *)
11052 enable_shared=no
11053 # Look at the argument we got. We use all the common list separators.
11054 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11055 for pkg in $enableval; do
11056 IFS=$lt_save_ifs
11057 if testscip-shell system . . test. "X$pkg" = "X$p"; then
11058 enable_shared=yes
11059 fi
11060 done
11061 IFS=$lt_save_ifs
11062 ;;
11063 esac
11064 else case e in #(
11065 e) enable_shared=yes ;;
11066 esac
11067 fi
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077 # Check whether --enable-static was given.
11078 if testscip-shell system . . test. ${enable_static+y}
11079 then :
11080 enableval=$enable_static; p=${PACKAGE-default}
11081 case $enableval in
11082 yes) enable_static=yes ;;
11083 no) enable_static=no ;;
11084 *)
11085 enable_static=no
11086 # Look at the argument we got. We use all the common list separators.
11087 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11088 for pkg in $enableval; do
11089 IFS=$lt_save_ifs
11090 if testscip-shell system . . test. "X$pkg" = "X$p"; then
11091 enable_static=yes
11092 fi
11093 done
11094 IFS=$lt_save_ifs
11095 ;;
11096 esac
11097 else case e in #(
11098 e) enable_static=yes ;;
11099 esac
11100 fi
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110 # Check whether --enable-pic was given.
11111 if testscip-shell system . . test. ${enable_pic+y}
11112 then :
11113 enableval=$enable_pic; lt_p=${PACKAGE-default}
11114 case $enableval in
11115 yes|no) pic_mode=$enableval ;;
11116 *)
11117 pic_mode=default
11118 # Look at the argument we got. We use all the common list separators.
11119 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11120 for lt_pkg in $enableval; do
11121 IFS=$lt_save_ifs
11122 if testscip-shell system . . test. "X$lt_pkg" = "X$lt_p"; then
11123 pic_mode=yes
11124 fi
11125 done
11126 IFS=$lt_save_ifs
11127 ;;
11128 esac
11129 else case e in #(
11130 e) # Check whether --with-pic was given.
11131 if testscip-shell system . . test. ${with_pic+y}
11132 then :
11133 withval=$with_pic; lt_p=${PACKAGE-default}
11134 case $withval in
11135 yes|no) pic_mode=$withval ;;
11136 *)
11137 pic_mode=default
11138 # Look at the argument we got. We use all the common list separators.
11139 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11140 for lt_pkg in $withval; do
11141 IFS=$lt_save_ifs
11142 if testscip-shell system . . test. "X$lt_pkg" = "X$lt_p"; then
11143 pic_mode=yes
11144 fi
11145 done
11146 IFS=$lt_save_ifs
11147 ;;
11148 esac
11149 else case e in #(
11150 e) pic_mode=default ;;
11151 esac
11152 fi
11153
11154 ;;
11155 esac
11156 fi
11157
11158
11159
11160
11161
11162
11163
11164
11165 # Check whether --enable-fast-install was given.
11166 if testscip-shell system . . test. ${enable_fast_install+y}
11167 then :
11168 enableval=$enable_fast_install; p=${PACKAGE-default}
11169 case $enableval in
11170 yes) enable_fast_install=yes ;;
11171 no) enable_fast_install=no ;;
11172 *)
11173 enable_fast_install=no
11174 # Look at the argument we got. We use all the common list separators.
11175 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11176 for pkg in $enableval; do
11177 IFS=$lt_save_ifs
11178 if testscip-shell system . . test. "X$pkg" = "X$p"; then
11179 enable_fast_install=yes
11180 fi
11181 done
11182 IFS=$lt_save_ifs
11183 ;;
11184 esac
11185 else case e in #(
11186 e) enable_fast_install=yes ;;
11187 esac
11188 fi
11189
11190
11191
11192
11193
11194
11195
11196
11197 shared_archive_member_spec=
11198 case $host,$enable_shared in
11199 power*-*-aix[5-9]*,yes)
11200 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
11201 printfscip-shell system . . printf. %s "checking which variant of shared library versioning to provide... " >&6; }
11202 # Check whether --enable-aix-soname was given.
11203 if testscip-shell system . . test. ${enable_aix_soname+y}
11204 then :
11205 enableval=$enable_aix_soname; case $enableval in
11206 aix|svr4|both)
11207 ;;
11208 *)
11209 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
11210 ;;
11211 esac
11212 lt_cv_with_aix_soname=$enable_aix_soname
11213 else case e in #(
11214 e) # Check whether --with-aix-soname was given.
11215 if testscip-shell system . . test. ${with_aix_soname+y}
11216 then :
11217 withval=$with_aix_soname; case $withval in
11218 aix|svr4|both)
11219 ;;
11220 *)
11221 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Unknown argument to --with-aix-soname" "$LINENO" 5
11222 ;;
11223 esac
11224 lt_cv_with_aix_soname=$with_aix_soname
11225 else case e in #(
11226 e) if testscip-shell system . . test. ${lt_cv_with_aix_soname+y}
11227 then :
11228 printfscip-shell system . . printf. %s "(cached) " >&6
11229 else case e in #(
11230 e) lt_cv_with_aix_soname=aix ;;
11231 esac
11232 fi
11233 ;;
11234 esac
11235 fi
11236
11237 enable_aix_soname=$lt_cv_with_aix_soname ;;
11238 esac
11239 fi
11240
11241 with_aix_soname=$enable_aix_soname
11242 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
11243 printfscip-shell system . . printf. "%s\n" "$with_aix_soname" >&6; }
11244 if testscip-shell system . . test. aix != "$with_aix_soname"; then
11245 # For the AIX way of multilib, we name the shared archive member
11246 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
11247 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
11248 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
11249 # the AIX toolchain works better with OBJECT_MODE set (default 32).
11250 if testscip-shell system . . test. 64 = "${OBJECT_MODE-32}"; then
11251 shared_archive_member_spec=shr_64
11252 else
11253 shared_archive_member_spec=shr
11254 fi
11255 fi
11256 ;;
11257 *)
11258 with_aix_soname=aix
11259 ;;
11260 esac
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271 # This can be used to rebuild libtool when needed
11272 LIBTOOL_DEPS=$ltmain
11273
11274 # Always use our own libtool.
11275 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306 testscip-shell system . . test. -z "$LN_S" && LN_S="ln -s"
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321 if testscip-shell system . . test. -n "${ZSH_VERSION+set}"; then
11322 setopt NO_GLOB_SUBST
11323 fi
11324
11325 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11326 printfscip-shell system . . printf. %s "checking for objdir... " >&6; }
11327 if testscip-shell system . . test. ${lt_cv_objdir+y}
11328 then :
11329 printfscip-shell system . . printf. %s "(cached) " >&6
11330 else case e in #(
11331 e) rmscip-shell system . . rm. -f .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.
11332 mkdirscip-shell system . . mkdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.
11333 if testscip-shell system . . test. -d .libs; then
11334 lt_cv_objdir=.libs
11335 else
11336 # MS-DOS does not allow filenames that begin with a dot.
11337 lt_cv_objdir=_libs
11338 fi
11339 rmdirscip-shell system . . rmdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`. ;;
11340 esac
11341 fi
11342 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11343 printfscip-shell system . . printf. "%s\n" "$lt_cv_objdir" >&6; }
11344 objdir=$lt_cv_objdir
11345
11346
11347
11348
11349
11350 printfscip-shell system . . printf. "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
11351
11352
11353
11354
11355 case $host_os in
11356 aix3*)
11357 # AIX sometimes has problems with the GCC collect2 program. For some
11358 # reason, if we set the COLLECT_NAMES environment variable, the problems
11359 # vanish in a puff of smoke.
11360 if testscip-shell system . . test. set != "${COLLECT_NAMES+set}"; then
11361 COLLECT_NAMES=
11362 export COLLECT_NAMES
11363 fi
11364 ;;
11365 esac
11366
11367 # Global variables:
11368 ofile=libtool
11369 can_build_shared=yes
11370
11371 # All known linkers require a '.a' archive for static linking (except MSVC and
11372 # ICC, which need '.lib').
11373 libext=a
11374
11375 with_gnu_ld=$lt_cv_prog_gnu_ld
11376
11377 old_CC=$CC
11378 old_CFLAGS=$CFLAGS
11379
11380 # Set sane defaults for various variables
11381 testscip-shell system . . test. -z "$CC" && CC=cc
11382 testscip-shell system . . test. -z "$LTCC" && LTCC=$CC
11383 testscip-shell system . . test. -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11384 testscip-shell system . . test. -z "$LD" && LD=ld
11385 testscip-shell system . . test. -z "$ac_objext" && ac_objext=o
11386
11387 func_cc_basenamescip-shell shell shell-project 0.0.0 func_cc_basename(). $compiler
11388 cc_basename=$func_cc_basename_result
11389
11390
11391 # Only perform the check for file, if the check method requires it
11392 testscip-shell system . . test. -z "$MAGIC_CMD" && MAGIC_CMD=file
11393 case $deplibs_check_method in
11394 file_magic*)
11395 if testscip-shell system . . test. "$file_magic_cmd" = '$MAGIC_CMD'; then
11396 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11397 printfscip-shell system . . printf. %s "checking for ${ac_tool_prefix}file... " >&6; }
11398 if testscip-shell system . . test. ${lt_cv_path_MAGIC_CMD+y}
11399 then :
11400 printfscip-shell system . . printf. %s "(cached) " >&6
11401 else case e in #(
11402 e) case $MAGIC_CMD in
11403 [\\/*] | ?:[\\/]*)
11404 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11405 ;;
11406 *)
11407 lt_save_MAGIC_CMD=$MAGIC_CMD
11408 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11409 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11410 for ac_dir in $ac_dummy; do
11411 IFS=$lt_save_ifs
11412 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
11413 if testscip-shell system . . test. -f "$ac_dir/${ac_tool_prefix}file"; then
11414 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
11415 if testscip-shell system . . test. -n "$file_magic_test_file"; then
11416 case $deplibs_check_method in
11417 "file_magic "*)
11418 file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"`
11419 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11420 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. |
11421 $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then
11422 :
11423 else
11424 catscip-shell system . . cat. <<_LT_EOF 1>&2
11425
11426 *** Warning: the command libtool uses to detect shared libraries,
11427 *** $file_magic_cmd, produces output that libtool cannot recognize.
11428 *** The result is that libtool may fail to recognize shared libraries
11429 *** as such. This will affect the creation of libtool libraries that
11430 *** depend on shared libraries, but programs linked with such libtool
11431 *** libraries will work regardless of this problem. Nevertheless, you
11432 *** may want to report the problem to your system manager and/or to
11433 *** [email protected]
11434
11435 _LT_EOF
11436 fi ;;
11437 esac
11438 fi
11439 break
11440 fi
11441 done
11442 IFS=$lt_save_ifs
11443 MAGIC_CMD=$lt_save_MAGIC_CMD
11444 ;;
11445 esac ;;
11446 esac
11447 fi
11448
11449 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11450 if testscip-shell system . . test. -n "$MAGIC_CMD"; then
11451 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11452 printfscip-shell system . . printf. "%s\n" "$MAGIC_CMD" >&6; }
11453 else
11454 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11455 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11456 fi
11457
11458
11459
11460
11461
11462 if testscip-shell system . . test. -z "$lt_cv_path_MAGIC_CMD"; then
11463 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
11464 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11465 printfscip-shell system . . printf. %s "checking for file... " >&6; }
11466 if testscip-shell system . . test. ${lt_cv_path_MAGIC_CMD+y}
11467 then :
11468 printfscip-shell system . . printf. %s "(cached) " >&6
11469 else case e in #(
11470 e) case $MAGIC_CMD in
11471 [\\/*] | ?:[\\/]*)
11472 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11473 ;;
11474 *)
11475 lt_save_MAGIC_CMD=$MAGIC_CMD
11476 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11477 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11478 for ac_dir in $ac_dummy; do
11479 IFS=$lt_save_ifs
11480 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
11481 if testscip-shell system . . test. -f "$ac_dir/file"; then
11482 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
11483 if testscip-shell system . . test. -n "$file_magic_test_file"; then
11484 case $deplibs_check_method in
11485 "file_magic "*)
11486 file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"`
11487 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11488 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. |
11489 $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then
11490 :
11491 else
11492 catscip-shell system . . cat. <<_LT_EOF 1>&2
11493
11494 *** Warning: the command libtool uses to detect shared libraries,
11495 *** $file_magic_cmd, produces output that libtool cannot recognize.
11496 *** The result is that libtool may fail to recognize shared libraries
11497 *** as such. This will affect the creation of libtool libraries that
11498 *** depend on shared libraries, but programs linked with such libtool
11499 *** libraries will work regardless of this problem. Nevertheless, you
11500 *** may want to report the problem to your system manager and/or to
11501 *** [email protected]
11502
11503 _LT_EOF
11504 fi ;;
11505 esac
11506 fi
11507 break
11508 fi
11509 done
11510 IFS=$lt_save_ifs
11511 MAGIC_CMD=$lt_save_MAGIC_CMD
11512 ;;
11513 esac ;;
11514 esac
11515 fi
11516
11517 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11518 if testscip-shell system . . test. -n "$MAGIC_CMD"; then
11519 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11520 printfscip-shell system . . printf. "%s\n" "$MAGIC_CMD" >&6; }
11521 else
11522 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11523 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11524 fi
11525
11526
11527 else
11528 MAGIC_CMD=:
11529 fi
11530 fi
11531
11532 fi
11533 ;;
11534 esac
11535
11536 # Use C for the default configuration in the libtool script
11537
11538 lt_save_CC=$CC
11539 ac_ext=c
11540 ac_cpp='$CPP $CPPFLAGS'
11541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11544
11545
11546 # Source file extension for C test sources.
11547 ac_ext=c
11548
11549 # Object file extension for compiled C test sources.
11550 objext=o
11551 objext=$objext
11552
11553 # Code to be used in simple compile tests
11554 lt_simple_compile_test_code="int some_variable = 0;"
11555
11556 # Code to be used in simple link tests
11557 lt_simple_link_test_code='int main(void){return(0);}'
11558
11559
11560
11561
11562
11563
11564
11565 # If no C compiler was specified, use CC.
11566 LTCC=${LTCC-"$CC"}
11567
11568 # If no C compiler flags were specified, use CFLAGS.
11569 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11570
11571 # Allow CC to be a program name with arguments.
11572 compiler=$CC
11573
11574 # Save the default compiler, since it gets overwritten when the other
11575 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11576 compiler_DEFAULT=$CC
11577
11578 # save warnings/boilerplate of simple test code
11579 ac_outfile=conftest.$ac_objext
11580 echoscip-shell system . . echo. "$lt_simple_compile_test_code" >conftest.$ac_ext
11581 eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
11582 _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err`
11583 $RM conftest*
11584
11585 ac_outfile=conftest.$ac_objext
11586 echoscip-shell system . . echo. "$lt_simple_link_test_code" >conftest.$ac_ext
11587 eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
11588 _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err`
11589 $RM -r conftest*
11590
11591
11592 ## CAVEAT EMPTOR:
11593 ## There is no encapsulation within the following macros, do not change
11594 ## the running order or otherwise move them around unless you know exactly
11595 ## what you are doing...
11596 if testscip-shell system . . test. -n "$compiler"; then
11597
11598 lt_prog_compiler_no_builtin_flag=
11599
11600 if testscip-shell system . . test. yes = "$GCC"; then
11601 case $cc_basename in
11602 nvcc*)
11603 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11604 *)
11605 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11606 esac
11607
11608 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11609 printfscip-shell system . . printf. %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11610 if testscip-shell system . . test. ${lt_cv_prog_compiler_rtti_exceptions+y}
11611 then :
11612 printfscip-shell system . . printf. %s "(cached) " >&6
11613 else case e in #(
11614 e) lt_cv_prog_compiler_rtti_exceptions=no
11615 ac_outfile=conftest.$ac_objext
11616 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
11617 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11618 # Insert the option either (1) after the last *FLAGS variable, or
11619 # (2) before a word containing "conftest.", or (3) at the end.
11620 # Note that $ac_compile itself does not contain backslashes and begins
11621 # with a dollar sign (not a hyphen), so the echo should work correctly.
11622 # The option is referenced via a variable to avoid confusing sed.
11623 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
11624 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11625 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11626 -e 's:$: $lt_compiler_flag:'`
11627 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11628 (eval "$lt_compile" 2>conftest.err)
11629 ac_status=$?
11630 catscip-shell system . . cat. conftest.err >&5
11631 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
11632 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
11633 # The compiler can only warn and ignore the option if not recognized
11634 # So say no if there are warnings other than the usual output.
11635 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
11636 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
11637 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
11638 lt_cv_prog_compiler_rtti_exceptions=yes
11639 fi
11640 fi
11641 $RM conftest*
11642 ;;
11643 esac
11644 fi
11645 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11646 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11647
11648 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11649 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11650 else
11651 :
11652 fi
11653
11654 fi
11655
11656
11657
11658
11659
11660
11661 lt_prog_compiler_wl=
11662 lt_prog_compiler_pic=
11663 lt_prog_compiler_static=
11664
11665
11666 if testscip-shell system . . test. yes = "$GCC"; then
11667 lt_prog_compiler_wl='-Wl,'
11668 lt_prog_compiler_static='-static'
11669
11670 case $host_os in
11671 aix*)
11672 # All AIX code is PIC.
11673 if testscip-shell system . . test. ia64 = "$host_cpu"; then
11674 # AIX 5 now supports IA64 processor
11675 lt_prog_compiler_static='-Bstatic'
11676 fi
11677 lt_prog_compiler_pic='-fPIC'
11678 ;;
11679
11680 amigaos*)
11681 case $host_cpu in
11682 powerpc)
11683 # see comment about AmigaOS4 .so support
11684 lt_prog_compiler_pic='-fPIC'
11685 ;;
11686 m68k)
11687 # FIXME: we need at least 68020 code to build shared libraries, but
11688 # adding the '-m68020' flag to GCC prevents building anything better,
11689 # like '-m68040'.
11690 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11691 ;;
11692 esac
11693 ;;
11694
11695 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11696 # PIC is the default for these OSes.
11697 ;;
11698
11699 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
11700 # This hack is so that the source file can tell whether it is being
11701 # built for inclusion in a dll (and should export symbols for example).
11702 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11703 # (--disable-auto-import) libraries
11704 lt_prog_compiler_pic='-DDLL_EXPORT'
11705 case $host_os in
11706 os2*)
11707 lt_prog_compiler_static='$wl-static'
11708 ;;
11709 esac
11710 ;;
11711
11712 darwin* | rhapsody*)
11713 # PIC is the default on this platform
11714 # Common symbols not allowed in MH_DYLIB files
11715 lt_prog_compiler_pic='-fno-common'
11716 ;;
11717
11718 haiku*)
11719 # PIC is the default for Haiku.
11720 # The "-static" flag exists, but is broken.
11721 lt_prog_compiler_static=
11722 ;;
11723
11724 hpux*)
11725 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11726 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11727 # sets the default TLS model and affects inlining.
11728 case $host_cpu in
11729 hppa*64*)
11730 # +Z the default
11731 ;;
11732 *)
11733 lt_prog_compiler_pic='-fPIC'
11734 ;;
11735 esac
11736 ;;
11737
11738 interix[3-9]*)
11739 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11740 # Instead, we relocate shared libraries at runtime.
11741 ;;
11742
11743 msdosdjgpp*)
11744 # Just because we use GCC doesn't mean we suddenly get shared libraries
11745 # on systems that don't support them.
11746 lt_prog_compiler_can_build_shared=no
11747 enable_shared=no
11748 ;;
11749
11750 *nto* | *qnx*)
11751 # QNX uses GNU C++, but need to define -shared option too, otherwise
11752 # it will coredump.
11753 lt_prog_compiler_pic='-fPIC -shared'
11754 ;;
11755
11756 sysv4*MP*)
11757 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
11758 lt_prog_compiler_pic=-Kconform_pic
11759 fi
11760 ;;
11761
11762 *)
11763 lt_prog_compiler_pic='-fPIC'
11764 ;;
11765 esac
11766
11767 case $cc_basename in
11768 nvcc*) # Cuda Compiler Driver 2.2
11769 lt_prog_compiler_wl='-Xlinker '
11770 if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then
11771 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11772 fi
11773 ;;
11774 esac
11775 else
11776 # PORTME Check for flag to pass linker flags through the system compiler.
11777 case $host_os in
11778 aix*)
11779 lt_prog_compiler_wl='-Wl,'
11780 if testscip-shell system . . test. ia64 = "$host_cpu"; then
11781 # AIX 5 now supports IA64 processor
11782 lt_prog_compiler_static='-Bstatic'
11783 else
11784 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11785 fi
11786 ;;
11787
11788 darwin* | rhapsody*)
11789 # PIC is the default on this platform
11790 # Common symbols not allowed in MH_DYLIB files
11791 lt_prog_compiler_pic='-fno-common'
11792 case $cc_basename in
11793 nagfor*)
11794 # NAG Fortran compiler
11795 lt_prog_compiler_wl='-Wl,-Wl,,'
11796 lt_prog_compiler_pic='-PIC'
11797 lt_prog_compiler_static='-Bstatic'
11798 ;;
11799 esac
11800 ;;
11801
11802 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
11803 # This hack is so that the source file can tell whether it is being
11804 # built for inclusion in a dll (and should export symbols for example).
11805 lt_prog_compiler_pic='-DDLL_EXPORT'
11806 case $host_os in
11807 os2*)
11808 lt_prog_compiler_static='$wl-static'
11809 ;;
11810 esac
11811 ;;
11812
11813 hpux9* | hpux10* | hpux11*)
11814 lt_prog_compiler_wl='-Wl,'
11815 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11816 # not for PA HP-UX.
11817 case $host_cpu in
11818 hppa*64*|ia64*)
11819 # +Z the default
11820 ;;
11821 *)
11822 lt_prog_compiler_pic='+Z'
11823 ;;
11824 esac
11825 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11826 lt_prog_compiler_static='$wl-a ${wl}archive'
11827 ;;
11828
11829 irix5* | irix6* | nonstopux*)
11830 lt_prog_compiler_wl='-Wl,'
11831 # PIC (with -KPIC) is the default.
11832 lt_prog_compiler_static='-non_shared'
11833 ;;
11834
11835 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11836 case $cc_basename in
11837 # old Intel for x86_64, which still supported -KPIC.
11838 ecc*)
11839 lt_prog_compiler_wl='-Wl,'
11840 lt_prog_compiler_pic='-KPIC'
11841 lt_prog_compiler_static='-static'
11842 ;;
11843 *flang* | ftn | f18* | f95*)
11844 # Flang compiler.
11845 lt_prog_compiler_wl='-Wl,'
11846 lt_prog_compiler_pic='-fPIC'
11847 lt_prog_compiler_static='-static'
11848 ;;
11849 # icc used to be incompatible with GCC.
11850 # ICC 10 doesn't accept -KPIC any more.
11851 icc* | ifort*)
11852 lt_prog_compiler_wl='-Wl,'
11853 lt_prog_compiler_pic='-fPIC'
11854 lt_prog_compiler_static='-static'
11855 ;;
11856 # Lahey Fortran 8.1.
11857 lf95*)
11858 lt_prog_compiler_wl='-Wl,'
11859 lt_prog_compiler_pic='--shared'
11860 lt_prog_compiler_static='--static'
11861 ;;
11862 nagfor*)
11863 # NAG Fortran compiler
11864 lt_prog_compiler_wl='-Wl,-Wl,,'
11865 lt_prog_compiler_pic='-PIC'
11866 lt_prog_compiler_static='-Bstatic'
11867 ;;
11868 tcc*)
11869 # Fabrice Bellard et al's Tiny C Compiler
11870 lt_prog_compiler_wl='-Wl,'
11871 lt_prog_compiler_pic='-fPIC'
11872 lt_prog_compiler_static='-static'
11873 ;;
11874 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11875 # Portland Group compilers (*not* the Pentium gcc compiler,
11876 # which looks to be a dead project)
11877 lt_prog_compiler_wl='-Wl,'
11878 lt_prog_compiler_pic='-fpic'
11879 lt_prog_compiler_static='-Bstatic'
11880 ;;
11881 ccc*)
11882 lt_prog_compiler_wl='-Wl,'
11883 # All Alpha code is PIC.
11884 lt_prog_compiler_static='-non_shared'
11885 ;;
11886 xl* | bgxl* | bgf* | mpixl*)
11887 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11888 lt_prog_compiler_wl='-Wl,'
11889 lt_prog_compiler_pic='-qpic'
11890 lt_prog_compiler_static='-qstaticlink'
11891 ;;
11892 *)
11893 case `$CC -V 2>&1 | $SED 5q` in
11894 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11895 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11896 lt_prog_compiler_pic='-KPIC'
11897 lt_prog_compiler_static='-Bstatic'
11898 lt_prog_compiler_wl=''
11899 ;;
11900 *Sun\ F* | *Sun*Fortran*)
11901 lt_prog_compiler_pic='-KPIC'
11902 lt_prog_compiler_static='-Bstatic'
11903 lt_prog_compiler_wl='-Qoption ld '
11904 ;;
11905 *Sun\ C*)
11906 # Sun C 5.9
11907 lt_prog_compiler_pic='-KPIC'
11908 lt_prog_compiler_static='-Bstatic'
11909 lt_prog_compiler_wl='-Wl,'
11910 ;;
11911 *Intel*\ [CF]*Compiler*)
11912 lt_prog_compiler_wl='-Wl,'
11913 lt_prog_compiler_pic='-fPIC'
11914 lt_prog_compiler_static='-static'
11915 ;;
11916 *Portland\ Group*)
11917 lt_prog_compiler_wl='-Wl,'
11918 lt_prog_compiler_pic='-fpic'
11919 lt_prog_compiler_static='-Bstatic'
11920 ;;
11921 esac
11922 ;;
11923 esac
11924 ;;
11925
11926 newsos6)
11927 lt_prog_compiler_pic='-KPIC'
11928 lt_prog_compiler_static='-Bstatic'
11929 ;;
11930
11931 *-mlibc)
11932 lt_prog_compiler_wl='-Wl,'
11933 lt_prog_compiler_pic='-fPIC'
11934 lt_prog_compiler_static='-static'
11935 ;;
11936
11937 *nto* | *qnx*)
11938 # QNX uses GNU C++, but need to define -shared option too, otherwise
11939 # it will coredump.
11940 lt_prog_compiler_pic='-fPIC -shared'
11941 ;;
11942
11943 osf3* | osf4* | osf5*)
11944 lt_prog_compiler_wl='-Wl,'
11945 # All OSF/1 code is PIC.
11946 lt_prog_compiler_static='-non_shared'
11947 ;;
11948
11949 rdos*)
11950 lt_prog_compiler_static='-non_shared'
11951 ;;
11952
11953 serenity*)
11954 ;;
11955
11956 solaris*)
11957 lt_prog_compiler_pic='-KPIC'
11958 lt_prog_compiler_static='-Bstatic'
11959 case $cc_basename in
11960 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11961 lt_prog_compiler_wl='-Qoption ld ';;
11962 *)
11963 lt_prog_compiler_wl='-Wl,';;
11964 esac
11965 ;;
11966
11967 sunos4*)
11968 lt_prog_compiler_wl='-Qoption ld '
11969 lt_prog_compiler_pic='-PIC'
11970 lt_prog_compiler_static='-Bstatic'
11971 ;;
11972
11973 sysv4 | sysv4.2uw2* | sysv4.3*)
11974 lt_prog_compiler_wl='-Wl,'
11975 lt_prog_compiler_pic='-KPIC'
11976 lt_prog_compiler_static='-Bstatic'
11977 ;;
11978
11979 sysv4*MP*)
11980 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
11981 lt_prog_compiler_pic='-Kconform_pic'
11982 lt_prog_compiler_static='-Bstatic'
11983 fi
11984 ;;
11985
11986 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11987 lt_prog_compiler_wl='-Wl,'
11988 lt_prog_compiler_pic='-KPIC'
11989 lt_prog_compiler_static='-Bstatic'
11990 ;;
11991
11992 unicos*)
11993 lt_prog_compiler_wl='-Wl,'
11994 lt_prog_compiler_can_build_shared=no
11995 ;;
11996
11997 uts4*)
11998 lt_prog_compiler_pic='-pic'
11999 lt_prog_compiler_static='-Bstatic'
12000 ;;
12001
12002 *)
12003 lt_prog_compiler_can_build_shared=no
12004 ;;
12005 esac
12006 fi
12007
12008 case $host_os in
12009 # For platforms that do not support PIC, -DPIC is meaningless:
12010 *djgpp*)
12011 lt_prog_compiler_pic=
12012 ;;
12013 *)
12014 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12015 ;;
12016 esac
12017
12018 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12019 printfscip-shell system . . printf. %s "checking for $compiler option to produce PIC... " >&6; }
12020 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic+y}
12021 then :
12022 printfscip-shell system . . printf. %s "(cached) " >&6
12023 else case e in #(
12024 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
12025 esac
12026 fi
12027 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
12028 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
12029 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
12030
12031 #
12032 # Check to make sure the PIC flag actually works.
12033 #
12034 if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then
12035 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12036 printfscip-shell system . . printf. %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
12037 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_works+y}
12038 then :
12039 printfscip-shell system . . printf. %s "(cached) " >&6
12040 else case e in #(
12041 e) lt_cv_prog_compiler_pic_works=no
12042 ac_outfile=conftest.$ac_objext
12043 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
12044 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
12045 # Insert the option either (1) after the last *FLAGS variable, or
12046 # (2) before a word containing "conftest.", or (3) at the end.
12047 # Note that $ac_compile itself does not contain backslashes and begins
12048 # with a dollar sign (not a hyphen), so the echo should work correctly.
12049 # The option is referenced via a variable to avoid confusing sed.
12050 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
12051 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12052 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12053 -e 's:$: $lt_compiler_flag:'`
12054 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12055 (eval "$lt_compile" 2>conftest.err)
12056 ac_status=$?
12057 catscip-shell system . . cat. conftest.err >&5
12058 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
12059 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
12060 # The compiler can only warn and ignore the option if not recognized
12061 # So say no if there are warnings other than the usual output.
12062 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
12063 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
12064 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
12065 lt_cv_prog_compiler_pic_works=yes
12066 fi
12067 fi
12068 $RM conftest*
12069 ;;
12070 esac
12071 fi
12072 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12073 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
12074
12075 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works"; then
12076 case $lt_prog_compiler_pic in
12077 "" | " "*) ;;
12078 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12079 esac
12080 else
12081 lt_prog_compiler_pic=
12082 lt_prog_compiler_can_build_shared=no
12083 fi
12084
12085 fi
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097 #
12098 # Check to make sure the static flag actually works.
12099 #
12100 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
12101 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12102 printfscip-shell system . . printf. %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12103 if testscip-shell system . . test. ${lt_cv_prog_compiler_static_works+y}
12104 then :
12105 printfscip-shell system . . printf. %s "(cached) " >&6
12106 else case e in #(
12107 e) lt_cv_prog_compiler_static_works=no
12108 save_LDFLAGS=$LDFLAGS
12109 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12110 echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext
12111 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
12112 # The linker can only warn and ignore the option if not recognized
12113 # So say no if there are warnings
12114 if testscip-shell system . . test. -s conftest.err; then
12115 # Append any errors to the config.log.
12116 catscip-shell system . . cat. conftest.err 1>&5
12117 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
12118 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
12119 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
12120 lt_cv_prog_compiler_static_works=yes
12121 fi
12122 else
12123 lt_cv_prog_compiler_static_works=yes
12124 fi
12125 fi
12126 $RM -r conftest*
12127 LDFLAGS=$save_LDFLAGS
12128 ;;
12129 esac
12130 fi
12131 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12132 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
12133
12134 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works"; then
12135 :
12136 else
12137 lt_prog_compiler_static=
12138 fi
12139
12140
12141
12142
12143
12144
12145
12146 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12147 printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12148 if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o+y}
12149 then :
12150 printfscip-shell system . . printf. %s "(cached) " >&6
12151 else case e in #(
12152 e) lt_cv_prog_compiler_c_o=no
12153 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
12154 mkdirscip-shell system . . mkdir. conftest
12155 cd conftest
12156 mkdirscip-shell system . . mkdir. out
12157 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
12158
12159 lt_compiler_flag="-o out/conftest2.$ac_objext"
12160 # Insert the option either (1) after the last *FLAGS variable, or
12161 # (2) before a word containing "conftest.", or (3) at the end.
12162 # Note that $ac_compile itself does not contain backslashes and begins
12163 # with a dollar sign (not a hyphen), so the echo should work correctly.
12164 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
12165 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12166 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12167 -e 's:$: $lt_compiler_flag:'`
12168 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12169 (eval "$lt_compile" 2>out/conftest.err)
12170 ac_status=$?
12171 catscip-shell system . . cat. out/conftest.err >&5
12172 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
12173 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
12174 then
12175 # The compiler can only warn and ignore the option if not recognized
12176 # So say no if there are warnings
12177 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
12178 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
12179 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
12180 lt_cv_prog_compiler_c_o=yes
12181 fi
12182 fi
12183 chmodscip-shell system . . chmod. u+w . 2>&5
12184 $RM conftest*
12185 # SGI C++ compiler will create directory out/ii_files/ for
12186 # template instantiation
12187 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
12188 $RM out/* && rmdirscip-shell system . . rmdir. out
12189 cd ..
12190 $RM -r conftest
12191 $RM conftest*
12192 ;;
12193 esac
12194 fi
12195 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12196 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
12197
12198
12199
12200
12201
12202
12203 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12204 printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12205 if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o+y}
12206 then :
12207 printfscip-shell system . . printf. %s "(cached) " >&6
12208 else case e in #(
12209 e) lt_cv_prog_compiler_c_o=no
12210 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
12211 mkdirscip-shell system . . mkdir. conftest
12212 cd conftest
12213 mkdirscip-shell system . . mkdir. out
12214 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
12215
12216 lt_compiler_flag="-o out/conftest2.$ac_objext"
12217 # Insert the option either (1) after the last *FLAGS variable, or
12218 # (2) before a word containing "conftest.", or (3) at the end.
12219 # Note that $ac_compile itself does not contain backslashes and begins
12220 # with a dollar sign (not a hyphen), so the echo should work correctly.
12221 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
12222 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12223 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12224 -e 's:$: $lt_compiler_flag:'`
12225 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12226 (eval "$lt_compile" 2>out/conftest.err)
12227 ac_status=$?
12228 catscip-shell system . . cat. out/conftest.err >&5
12229 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
12230 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
12231 then
12232 # The compiler can only warn and ignore the option if not recognized
12233 # So say no if there are warnings
12234 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
12235 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
12236 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
12237 lt_cv_prog_compiler_c_o=yes
12238 fi
12239 fi
12240 chmodscip-shell system . . chmod. u+w . 2>&5
12241 $RM conftest*
12242 # SGI C++ compiler will create directory out/ii_files/ for
12243 # template instantiation
12244 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
12245 $RM out/* && rmdirscip-shell system . . rmdir. out
12246 cd ..
12247 $RM -r conftest
12248 $RM conftest*
12249 ;;
12250 esac
12251 fi
12252 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12253 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
12254
12255
12256
12257
12258 hard_links=nottested
12259 if testscip-shell system . . test. no = "$lt_cv_prog_compiler_c_o" && testscip-shell system . . test. no != "$need_locks"; then
12260 # do not overwrite the value of need_locks provided by the user
12261 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12262 printfscip-shell system . . printf. %s "checking if we can lock with hard links... " >&6; }
12263 hard_links=yes
12264 $RM conftest*
12265 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
12266 touchscip-shell system . . touch. conftest.a
12267 lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no
12268 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
12269 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12270 printfscip-shell system . . printf. "%s\n" "$hard_links" >&6; }
12271 if testscip-shell system . . test. no = "$hard_links"; then
12272 { 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
12273 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
12274 need_locks=warn
12275 fi
12276 else
12277 need_locks=no
12278 fi
12279
12280
12281
12282
12283
12284
12285 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12286 printfscip-shell system . . printf. %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12287
12288 runpath_var=
12289 allow_undefined_flag=
12290 always_export_symbols=no
12291 archive_cmds=
12292 archive_expsym_cmds=
12293 compiler_needs_object=no
12294 enable_shared_with_static_runtimes=no
12295 export_dynamic_flag_spec=
12296 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12297 hardcode_automatic=no
12298 hardcode_direct=no
12299 hardcode_direct_absolute=no
12300 hardcode_libdir_flag_spec=
12301 hardcode_libdir_separator=
12302 hardcode_minus_L=no
12303 hardcode_shlibpath_var=unsupported
12304 inherit_rpath=no
12305 link_all_deplibs=unknown
12306 module_cmds=
12307 module_expsym_cmds=
12308 old_archive_from_new_cmds=
12309 old_archive_from_expsyms_cmds=
12310 thread_safe_flag_spec=
12311 whole_archive_flag_spec=
12312 # include_expsyms should be a list of space-separated symbols to be *always*
12313 # included in the symbol list
12314 include_expsyms=
12315 # exclude_expsyms can be an extended regexp of symbols to exclude
12316 # it will be wrapped by ' (' and ')$', so one must not match beginning or
12317 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
12318 # as well as any symbol that contains 'd'.
12319 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12320 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12321 # platforms (ab)use it in PIC code, but their linkers get confused if
12322 # the symbol is explicitly referenced. Since portable code cannot
12323 # rely on this symbol name, it's probably fine to never include it in
12324 # preloaded symbol tables.
12325 # Exclude shared library initialization/finalization symbols.
12326 extract_expsyms_cmds=
12327
12328 case $host_os in
12329 cygwin* | mingw* | windows* | pw32* | cegcc*)
12330 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
12331 # When not using gcc, we currently assume that we are using
12332 # Microsoft Visual C++ or Intel C++ Compiler.
12333 if testscip-shell system . . test. yes != "$GCC"; then
12334 with_gnu_ld=no
12335 fi
12336 ;;
12337 interix*)
12338 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
12339 with_gnu_ld=yes
12340 ;;
12341 esac
12342
12343 ld_shlibs=yes
12344
12345 # On some targets, GNU ld is compatible enough with the native linker
12346 # that we're better off using the native interface for both.
12347 lt_use_gnu_ld_interface=no
12348 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
12349 case $host_os in
12350 aix*)
12351 # The AIX port of GNU ld has always aspired to compatibility
12352 # with the native linker. However, as the warning in the GNU ld
12353 # block says, versions before 2.19.5* couldn't really create working
12354 # shared libraries, regardless of the interface used.
12355 case `$LD -v 2>&1` in
12356 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12357 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12358 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12359 *)
12360 lt_use_gnu_ld_interface=yes
12361 ;;
12362 esac
12363 ;;
12364 *)
12365 lt_use_gnu_ld_interface=yes
12366 ;;
12367 esac
12368 fi
12369
12370 if testscip-shell system . . test. yes = "$lt_use_gnu_ld_interface"; then
12371 # If archive_cmds runs LD, not CC, wlarc should be empty
12372 wlarc='$wl'
12373
12374 # Set some defaults for GNU ld with shared library support. These
12375 # are reset later if shared libraries are not supported. Putting them
12376 # here allows them to be overridden if necessary.
12377 runpath_var=LD_RUN_PATH
12378 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12379 export_dynamic_flag_spec='$wl--export-dynamic'
12380 # ancient GNU ld didn't support --whole-archive et. al.
12381 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12382 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12383 else
12384 whole_archive_flag_spec=
12385 fi
12386 supports_anon_versioning=no
12387 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
12388 *GNU\ gold*) supports_anon_versioning=yes ;;
12389 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12390 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12391 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12392 *\ 2.11.*) ;; # other 2.11 versions
12393 *) supports_anon_versioning=yes ;;
12394 esac
12395
12396 # See if GNU ld supports shared libraries.
12397 case $host_os in
12398 aix[3-9]*)
12399 # On AIX/PPC, the GNU linker is very broken
12400 if testscip-shell system . . test. ia64 != "$host_cpu"; then
12401 ld_shlibs=no
12402 catscip-shell system . . cat. <<_LT_EOF 1>&2
12403
12404 *** Warning: the GNU linker, at least up to release 2.19, is reported
12405 *** to be unable to reliably create shared libraries on AIX.
12406 *** Therefore, libtool is disabling shared libraries support. If you
12407 *** really care for shared libraries, you may want to install binutils
12408 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12409 *** You will then need to restart the configuration process.
12410
12411 _LT_EOF
12412 fi
12413 ;;
12414
12415 amigaos*)
12416 case $host_cpu in
12417 powerpc)
12418 # see comment about AmigaOS4 .so support
12419 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12420 archive_expsym_cmds=''
12421 ;;
12422 m68k)
12423 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)'
12424 hardcode_libdir_flag_spec='-L$libdir'
12425 hardcode_minus_L=yes
12426 ;;
12427 esac
12428 ;;
12429
12430 beos*)
12431 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12432 allow_undefined_flag=unsupported
12433 # Joseph Beckenbach <[email protected]> says some releases of gcc
12434 # support --undefined. This deserves some investigation. FIXME
12435 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12436 else
12437 ld_shlibs=no
12438 fi
12439 ;;
12440
12441 cygwin* | mingw* | windows* | pw32* | cegcc*)
12442 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12443 # as there is no search path for DLLs.
12444 hardcode_libdir_flag_spec='-L$libdir'
12445 export_dynamic_flag_spec='$wl--export-all-symbols'
12446 allow_undefined_flag=unsupported
12447 always_export_symbols=no
12448 enable_shared_with_static_runtimes=yes
12449 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'
12450 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12451 file_list_spec='@'
12452
12453 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12454 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12455 # If the export-symbols file already is a .def file, use it as
12456 # is; otherwise, prepend EXPORTS...
12457 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12458 cp $export_symbols $output_objdir/$soname.def;
12459 else
12460 echo EXPORTS > $output_objdir/$soname.def;
12461 cat $export_symbols >> $output_objdir/$soname.def;
12462 fi~
12463 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12464 else
12465 ld_shlibs=no
12466 fi
12467 ;;
12468
12469 haiku*)
12470 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12471 link_all_deplibs=no
12472 ;;
12473
12474 os2*)
12475 hardcode_libdir_flag_spec='-L$libdir'
12476 hardcode_minus_L=yes
12477 allow_undefined_flag=unsupported
12478 shrext_cmds=.dll
12479 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12480 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12481 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12482 $ECHO EXPORTS >> $output_objdir/$libname.def~
12483 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12484 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12485 emximp -o $lib $output_objdir/$libname.def'
12486 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12487 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12488 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12489 $ECHO EXPORTS >> $output_objdir/$libname.def~
12490 prefix_cmds="$SED"~
12491 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12492 prefix_cmds="$prefix_cmds -e 1d";
12493 fi~
12494 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12495 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12496 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12497 emximp -o $lib $output_objdir/$libname.def'
12498 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12499 enable_shared_with_static_runtimes=yes
12500 file_list_spec='@'
12501 ;;
12502
12503 interix[3-9]*)
12504 hardcode_direct=no
12505 hardcode_shlibpath_var=no
12506 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12507 export_dynamic_flag_spec='$wl-E'
12508 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12509 # Instead, shared libraries are loaded at an image base (0x10000000 by
12510 # default) and relocated if they conflict, which is a slow very memory
12511 # consuming and fragmenting process. To avoid this, we pick a random,
12512 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12513 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12514 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12515 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'
12516 ;;
12517
12518 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12519 tmp_diet=no
12520 if testscip-shell system . . test. linux-dietlibc = "$host_os"; then
12521 case $cc_basename in
12522 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12523 esac
12524 fi
12525 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`. \
12526 && testscip-shell system . . test. no = "$tmp_diet"
12527 then
12528 tmp_addflag=' $pic_flag'
12529 tmp_sharedflag='-shared'
12530 case $cc_basename,$host_cpu in
12531 pgcc*) # Portland Group C compiler
12532 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'
12533 tmp_addflag=' $pic_flag'
12534 ;;
12535 pgf77* | pgf90* | pgf95* | pgfortran*)
12536 # Portland Group f77 and f90 compilers
12537 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'
12538 tmp_addflag=' $pic_flag -Mnomain' ;;
12539 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12540 tmp_addflag=' -i_dynamic' ;;
12541 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12542 tmp_addflag=' -i_dynamic -nofor_main' ;;
12543 ifc* | ifort*) # Intel Fortran compiler
12544 tmp_addflag=' -nofor_main' ;;
12545 lf95*) # Lahey Fortran 8.1
12546 whole_archive_flag_spec=
12547 tmp_sharedflag='--shared' ;;
12548 nagfor*) # NAGFOR 5.3
12549 tmp_sharedflag='-Wl,-shared' ;;
12550 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12551 tmp_sharedflag='-qmkshrobj'
12552 tmp_addflag= ;;
12553 nvcc*) # Cuda Compiler Driver 2.2
12554 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'
12555 compiler_needs_object=yes
12556 ;;
12557 esac
12558 case `$CC -V 2>&1 | $SED 5q` in
12559 *Sun\ C*) # Sun C 5.9
12560 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'
12561 compiler_needs_object=yes
12562 tmp_sharedflag='-G' ;;
12563 *Sun\ F*) # Sun Fortran 8.3
12564 tmp_sharedflag='-G' ;;
12565 esac
12566 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12567
12568 if testscip-shell system . . test. yes = "$supports_anon_versioning"; then
12569 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12570 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12571 echo "local: *; };" >> $output_objdir/$libname.ver~
12572 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12573 fi
12574
12575 case $cc_basename in
12576 tcc*)
12577 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12578 export_dynamic_flag_spec='-rdynamic'
12579 ;;
12580 xlf* | bgf* | bgxlf* | mpixlf*)
12581 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12582 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12583 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12584 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12585 if testscip-shell system . . test. yes = "$supports_anon_versioning"; then
12586 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12587 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12588 echo "local: *; };" >> $output_objdir/$libname.ver~
12589 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12590 fi
12591 ;;
12592 esac
12593 else
12594 ld_shlibs=no
12595 fi
12596 ;;
12597
12598 *-mlibc)
12599 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12600 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12601 ;;
12602
12603 netbsd* | netbsdelf*-gnu)
12604 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
12605 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12606 wlarc=
12607 else
12608 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12609 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12610 fi
12611 ;;
12612
12613 solaris*)
12614 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12615 ld_shlibs=no
12616 catscip-shell system . . cat. <<_LT_EOF 1>&2
12617
12618 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12619 *** create shared libraries on Solaris systems. Therefore, libtool
12620 *** is disabling shared libraries support. We urge you to upgrade GNU
12621 *** binutils to release 2.9.1 or newer. Another option is to modify
12622 *** your PATH or compiler configuration so that the native linker is
12623 *** used, and then restart.
12624
12625 _LT_EOF
12626 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12627 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12628 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12629 else
12630 ld_shlibs=no
12631 fi
12632 ;;
12633
12634 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12635 case `$LD -v 2>&1` in
12636 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12637 ld_shlibs=no
12638 catscip-shell system . . cat. <<_LT_EOF 1>&2
12639
12640 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12641 *** reliably create shared libraries on SCO systems. Therefore, libtool
12642 *** is disabling shared libraries support. We urge you to upgrade GNU
12643 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12644 *** your PATH or compiler configuration so that the native linker is
12645 *** used, and then restart.
12646
12647 _LT_EOF
12648 ;;
12649 *)
12650 # For security reasons, it is highly recommended that you always
12651 # use absolute paths for naming shared libraries, and exclude the
12652 # DT_RUNPATH tag from executables and libraries. But doing so
12653 # requires that you compile everything twice, which is a pain.
12654 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12655 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12656 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12657 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12658 else
12659 ld_shlibs=no
12660 fi
12661 ;;
12662 esac
12663 ;;
12664
12665 sunos4*)
12666 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12667 wlarc=
12668 hardcode_direct=yes
12669 hardcode_shlibpath_var=no
12670 ;;
12671
12672 *)
12673 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12674 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12675 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12676 else
12677 ld_shlibs=no
12678 fi
12679 ;;
12680 esac
12681
12682 if testscip-shell system . . test. no = "$ld_shlibs"; then
12683 runpath_var=
12684 hardcode_libdir_flag_spec=
12685 export_dynamic_flag_spec=
12686 whole_archive_flag_spec=
12687 fi
12688 else
12689 # PORTME fill in a description of your system's linker (not GNU ld)
12690 case $host_os in
12691 aix3*)
12692 allow_undefined_flag=unsupported
12693 always_export_symbols=yes
12694 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'
12695 # Note: this linker hardcodes the directories in LIBPATH if there
12696 # are no directories specified by -L.
12697 hardcode_minus_L=yes
12698 if testscip-shell system . . test. yes = "$GCC" && testscip-shell system . . test. -z "$lt_prog_compiler_static"; then
12699 # Neither direct hardcoding nor static linking is supported with a
12700 # broken collect2.
12701 hardcode_direct=unsupported
12702 fi
12703 ;;
12704
12705 aix[4-9]*)
12706 if testscip-shell system . . test. ia64 = "$host_cpu"; then
12707 # On IA64, the linker does run time linking by default, so we don't
12708 # have to do anything special.
12709 aix_use_runtimelinking=no
12710 exp_sym_flag='-Bexport'
12711 no_entry_flag=
12712 else
12713 # If we're using GNU nm, then we don't want the "-C" option.
12714 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12715 # Without the "-l" option, or with the "-B" option, AIX nm treats
12716 # weak defined symbols like other global defined symbols, whereas
12717 # GNU nm marks them as "W".
12718 # While the 'weak' keyword is ignored in the Export File, we need
12719 # it in the Import File for the 'aix-soname' feature, so we have
12720 # to replace the "-B" option with "-P" for AIX nm.
12721 if $NM -V 2>&1 | $GREP 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12722 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'
12723 else
12724 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'
12725 fi
12726 aix_use_runtimelinking=no
12727
12728 # Test if we are trying to use run time linking or normal
12729 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12730 # have runtime linking enabled, and use it for executables.
12731 # For shared libraries, we enable/disable runtime linking
12732 # depending on the kind of the shared library created -
12733 # when "with_aix_soname,aix_use_runtimelinking" is:
12734 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12735 # "aix,yes" lib.so shared, rtl:yes, for executables
12736 # lib.a static archive
12737 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12738 # lib.a(lib.so.V) shared, rtl:no, for executables
12739 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12740 # lib.a(lib.so.V) shared, rtl:no
12741 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12742 # lib.a static archive
12743 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12744 for ld_flag in $LDFLAGS; do
12745 if (testscip-shell system . . test. x-brtl = "x$ld_flag" || testscip-shell system . . test. x-Wl,-brtl = "x$ld_flag"); then
12746 aix_use_runtimelinking=yes
12747 break
12748 fi
12749 done
12750 if testscip-shell system . . test. svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12751 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12752 # so we don't have lib.a shared libs to link our executables.
12753 # We have to force runtime linking in this case.
12754 aix_use_runtimelinking=yes
12755 LDFLAGS="$LDFLAGS -Wl,-brtl"
12756 fi
12757 ;;
12758 esac
12759
12760 exp_sym_flag='-bexport'
12761 no_entry_flag='-bnoentry'
12762 fi
12763
12764 # When large executables or shared objects are built, AIX ld can
12765 # have problems creating the table of contents. If linking a library
12766 # or program results in "error TOC overflow" add -mminimal-toc to
12767 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12768 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12769
12770 archive_cmds=''
12771 hardcode_direct=yes
12772 hardcode_direct_absolute=yes
12773 hardcode_libdir_separator=':'
12774 link_all_deplibs=yes
12775 file_list_spec='$wl-f,'
12776 case $with_aix_soname,$aix_use_runtimelinking in
12777 aix,*) ;; # traditional, no import file
12778 svr4,* | *,yes) # use import file
12779 # The Import File defines what to hardcode.
12780 hardcode_direct=no
12781 hardcode_direct_absolute=no
12782 ;;
12783 esac
12784
12785 if testscip-shell system . . test. yes = "$GCC"; then
12786 case $host_os in aix4.[012]|aix4.[012].*)
12787 # We only want to do this on AIX 4.2 and lower, the check
12788 # below for broken collect2 doesn't work under 4.3+
12789 collect2name=`$CC -print-prog-name=collect2`
12790 if testscip-shell system . . test. -f "$collect2name" &&
12791 stringsscip-shell system . . strings. "$collect2name" | $GREP resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`.
12792 then
12793 # We have reworked collect2
12794 :
12795 else
12796 # We have old collect2
12797 hardcode_direct=unsupported
12798 # It fails to find uninstalled libraries when the uninstalled
12799 # path is not listed in the libpath. Setting hardcode_minus_L
12800 # to unsupported forces relinking
12801 hardcode_minus_L=yes
12802 hardcode_libdir_flag_spec='-L$libdir'
12803 hardcode_libdir_separator=
12804 fi
12805 ;;
12806 esac
12807 shared_flag='-shared'
12808 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
12809 shared_flag="$shared_flag "'$wl-G'
12810 fi
12811 # Need to ensure runtime linking is disabled for the traditional
12812 # shared library, or the linker may eventually find shared libraries
12813 # /with/ Import File - we do not want to mix them.
12814 shared_flag_aix='-shared'
12815 shared_flag_svr4='-shared $wl-G'
12816 else
12817 # not using gcc
12818 if testscip-shell system . . test. ia64 = "$host_cpu"; then
12819 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12820 # chokes on -Wl,-G. The following line is correct:
12821 shared_flag='-G'
12822 else
12823 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
12824 shared_flag='$wl-G'
12825 else
12826 shared_flag='$wl-bM:SRE'
12827 fi
12828 shared_flag_aix='$wl-bM:SRE'
12829 shared_flag_svr4='$wl-G'
12830 fi
12831 fi
12832
12833 export_dynamic_flag_spec='$wl-bexpall'
12834 # It seems that -bexpall does not export symbols beginning with
12835 # underscore (_), so it is better to generate a list of symbols to export.
12836 always_export_symbols=yes
12837 if testscip-shell system . . test. aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12838 # Warning - without using the other runtime loading flags (-brtl),
12839 # -berok will link without error, but may produce a broken library.
12840 allow_undefined_flag='-berok'
12841 # Determine the default libpath from the value encoded in an
12842 # empty executable.
12843 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
12844 aix_libpath=$lt_cv_aix_libpath
12845 else
12846 if testscip-shell system . . test. ${lt_cv_aix_libpath_+y}
12847 then :
12848 printfscip-shell system . . printf. %s "(cached) " >&6
12849 else case e in #(
12850 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12852
12853 int
12854 main (void)
12855 {
12856
12857 ;
12858 return 0;
12859 }
12860 _ACEOF
12861 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
12862 then :
12863
12864 lt_aix_libpath_sed='
12865 /Import File Strings/,/^$/ {
12866 /^0/ {
12867 s/^0 *\([^ ]*\) *$/\1/
12868 p
12869 }
12870 }'
12871 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
12872 # Check for a 64-bit object if we didn't find anything.
12873 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
12874 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
12875 fi
12876 fi
12877 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
12878 conftest$ac_exeext conftest.$ac_ext
12879 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
12880 lt_cv_aix_libpath_=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
12881 fi
12882 ;;
12883 esac
12884 fi
12885
12886 aix_libpath=$lt_cv_aix_libpath_
12887 fi
12888
12889 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12890 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
12891 else
12892 if testscip-shell system . . test. ia64 = "$host_cpu"; then
12893 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12894 allow_undefined_flag="-z nodefs"
12895 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"
12896 else
12897 # Determine the default libpath from the value encoded in an
12898 # empty executable.
12899 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
12900 aix_libpath=$lt_cv_aix_libpath
12901 else
12902 if testscip-shell system . . test. ${lt_cv_aix_libpath_+y}
12903 then :
12904 printfscip-shell system . . printf. %s "(cached) " >&6
12905 else case e in #(
12906 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 /* end confdefs.h. */
12908
12909 int
12910 main (void)
12911 {
12912
12913 ;
12914 return 0;
12915 }
12916 _ACEOF
12917 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
12918 then :
12919
12920 lt_aix_libpath_sed='
12921 /Import File Strings/,/^$/ {
12922 /^0/ {
12923 s/^0 *\([^ ]*\) *$/\1/
12924 p
12925 }
12926 }'
12927 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
12928 # Check for a 64-bit object if we didn't find anything.
12929 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
12930 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
12931 fi
12932 fi
12933 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
12934 conftest$ac_exeext conftest.$ac_ext
12935 if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then
12936 lt_cv_aix_libpath_=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
12937 fi
12938 ;;
12939 esac
12940 fi
12941
12942 aix_libpath=$lt_cv_aix_libpath_
12943 fi
12944
12945 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12946 # Warning - without using the other run time loading flags,
12947 # -berok will link without error, but may produce a broken library.
12948 no_undefined_flag=' $wl-bernotok'
12949 allow_undefined_flag=' $wl-berok'
12950 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
12951 # We only use this code for GNU lds that support --whole-archive.
12952 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12953 else
12954 # Exported symbols can be pulled into shared objects from archives
12955 whole_archive_flag_spec='$convenience'
12956 fi
12957 archive_cmds_need_lc=yes
12958 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12959 # -brtl affects multiple linker settings, -berok does not and is overridden later
12960 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12961 if testscip-shell system . . test. svr4 != "$with_aix_soname"; then
12962 # This is similar to how AIX traditionally builds its shared libraries.
12963 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'
12964 fi
12965 if testscip-shell system . . test. aix != "$with_aix_soname"; then
12966 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'
12967 else
12968 # used by -dlpreopen to get the symbols
12969 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12970 fi
12971 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12972 fi
12973 fi
12974 ;;
12975
12976 amigaos*)
12977 case $host_cpu in
12978 powerpc)
12979 # see comment about AmigaOS4 .so support
12980 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12981 archive_expsym_cmds=''
12982 ;;
12983 m68k)
12984 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)'
12985 hardcode_libdir_flag_spec='-L$libdir'
12986 hardcode_minus_L=yes
12987 ;;
12988 esac
12989 ;;
12990
12991 bsdi[45]*)
12992 export_dynamic_flag_spec=-rdynamic
12993 ;;
12994
12995 cygwin* | mingw* | windows* | pw32* | cegcc*)
12996 # When not using gcc, we currently assume that we are using
12997 # Microsoft Visual C++ or Intel C++ Compiler.
12998 # hardcode_libdir_flag_spec is actually meaningless, as there is
12999 # no search path for DLLs.
13000 case $cc_basename in
13001 cl* | icl*)
13002 # Native MSVC or ICC
13003 hardcode_libdir_flag_spec=' '
13004 allow_undefined_flag=unsupported
13005 always_export_symbols=yes
13006 file_list_spec='@'
13007 # Tell ltmain to make .lib files, not .a files.
13008 libext=lib
13009 # Tell ltmain to make .dll files, not .so files.
13010 shrext_cmds=.dll
13011 # FIXME: Setting linknames here is a bad hack.
13012 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13013 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13014 cp "$export_symbols" "$output_objdir/$soname.def";
13015 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13016 else
13017 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13018 fi~
13019 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13020 linknames='
13021 # The linker will not automatically build a static lib if we build a DLL.
13022 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
13023 enable_shared_with_static_runtimes=yes
13024 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13025 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13026 # Don't use ranlib
13027 old_postinstall_cmds='chmod 644 $oldlib'
13028 postlink_cmds='lt_outputfile="@OUTPUT@"~
13029 lt_tool_outputfile="@TOOL_OUTPUT@"~
13030 case $lt_outputfile in
13031 *.exe|*.EXE) ;;
13032 *)
13033 lt_outputfile=$lt_outputfile.exe
13034 lt_tool_outputfile=$lt_tool_outputfile.exe
13035 ;;
13036 esac~
13037 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13038 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13039 $RM "$lt_outputfile.manifest";
13040 fi'
13041 ;;
13042 *)
13043 # Assume MSVC and ICC wrapper
13044 hardcode_libdir_flag_spec=' '
13045 allow_undefined_flag=unsupported
13046 # Tell ltmain to make .lib files, not .a files.
13047 libext=lib
13048 # Tell ltmain to make .dll files, not .so files.
13049 shrext_cmds=.dll
13050 # FIXME: Setting linknames here is a bad hack.
13051 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13052 # The linker will automatically build a .lib file if we build a DLL.
13053 old_archive_from_new_cmds='true'
13054 # FIXME: Should let the user specify the lib program.
13055 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13056 enable_shared_with_static_runtimes=yes
13057 ;;
13058 esac
13059 ;;
13060
13061 darwin* | rhapsody*)
13062
13063
13064 archive_cmds_need_lc=no
13065 hardcode_direct=no
13066 hardcode_automatic=yes
13067 hardcode_shlibpath_var=unsupported
13068 if testscip-shell system . . test. yes = "$lt_cv_ld_force_load"; then
13069 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\"`'
13070
13071 else
13072 whole_archive_flag_spec=''
13073 fi
13074 link_all_deplibs=yes
13075 allow_undefined_flag=$_lt_dar_allow_undefined
13076 case $cc_basename in
13077 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13078 *) _lt_dar_can_shared=$GCC ;;
13079 esac
13080 if testscip-shell system . . test. yes = "$_lt_dar_can_shared"; then
13081 output_verbose_link_cmd=func_echo_all
13082 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
13083 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13084 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"
13085 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"
13086
13087 else
13088 ld_shlibs=no
13089 fi
13090
13091 ;;
13092
13093 dgux*)
13094 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13095 hardcode_libdir_flag_spec='-L$libdir'
13096 hardcode_shlibpath_var=no
13097 ;;
13098
13099 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13100 # support. Future versions do this automatically, but an explicit c++rt0.o
13101 # does not break anything, and helps significantly (at the cost of a little
13102 # extra space).
13103 freebsd2.2*)
13104 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13105 hardcode_libdir_flag_spec='-R$libdir'
13106 hardcode_direct=yes
13107 hardcode_shlibpath_var=no
13108 ;;
13109
13110 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13111 freebsd2.*)
13112 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13113 hardcode_direct=yes
13114 hardcode_minus_L=yes
13115 hardcode_shlibpath_var=no
13116 ;;
13117
13118 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13119 freebsd* | dragonfly* | midnightbsd*)
13120 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13121 hardcode_libdir_flag_spec='-R$libdir'
13122 hardcode_direct=yes
13123 hardcode_shlibpath_var=no
13124 ;;
13125
13126 hpux9*)
13127 if testscip-shell system . . test. yes = "$GCC"; then
13128 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'
13129 else
13130 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'
13131 fi
13132 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13133 hardcode_libdir_separator=:
13134 hardcode_direct=yes
13135
13136 # hardcode_minus_L: Not really in the search PATH,
13137 # but as the default location of the library.
13138 hardcode_minus_L=yes
13139 export_dynamic_flag_spec='$wl-E'
13140 ;;
13141
13142 hpux10*)
13143 if testscip-shell system . . test. yes,no = "$GCC,$with_gnu_ld"; then
13144 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13145 else
13146 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13147 fi
13148 if testscip-shell system . . test. no = "$with_gnu_ld"; then
13149 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13150 hardcode_libdir_separator=:
13151 hardcode_direct=yes
13152 hardcode_direct_absolute=yes
13153 export_dynamic_flag_spec='$wl-E'
13154 # hardcode_minus_L: Not really in the search PATH,
13155 # but as the default location of the library.
13156 hardcode_minus_L=yes
13157 fi
13158 ;;
13159
13160 hpux11*)
13161 if testscip-shell system . . test. yes,no = "$GCC,$with_gnu_ld"; then
13162 case $host_cpu in
13163 hppa*64*)
13164 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13165 ;;
13166 ia64*)
13167 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13168 ;;
13169 *)
13170 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13171 ;;
13172 esac
13173 else
13174 case $host_cpu in
13175 hppa*64*)
13176 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13177 ;;
13178 ia64*)
13179 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13180 ;;
13181 *)
13182
13183 # Older versions of the 11.00 compiler do not understand -b yet
13184 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
13185 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
13186 printfscip-shell system . . printf. %s "checking if $CC understands -b... " >&6; }
13187 if testscip-shell system . . test. ${lt_cv_prog_compiler__b+y}
13188 then :
13189 printfscip-shell system . . printf. %s "(cached) " >&6
13190 else case e in #(
13191 e) lt_cv_prog_compiler__b=no
13192 save_LDFLAGS=$LDFLAGS
13193 LDFLAGS="$LDFLAGS -b"
13194 echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext
13195 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
13196 # The linker can only warn and ignore the option if not recognized
13197 # So say no if there are warnings
13198 if testscip-shell system . . test. -s conftest.err; then
13199 # Append any errors to the config.log.
13200 catscip-shell system . . cat. conftest.err 1>&5
13201 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
13202 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
13203 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
13204 lt_cv_prog_compiler__b=yes
13205 fi
13206 else
13207 lt_cv_prog_compiler__b=yes
13208 fi
13209 fi
13210 $RM -r conftest*
13211 LDFLAGS=$save_LDFLAGS
13212 ;;
13213 esac
13214 fi
13215 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
13216 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler__b" >&6; }
13217
13218 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler__b"; then
13219 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13220 else
13221 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13222 fi
13223
13224 ;;
13225 esac
13226 fi
13227 if testscip-shell system . . test. no = "$with_gnu_ld"; then
13228 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13229 hardcode_libdir_separator=:
13230
13231 case $host_cpu in
13232 hppa*64*|ia64*)
13233 hardcode_direct=no
13234 hardcode_shlibpath_var=no
13235 ;;
13236 *)
13237 hardcode_direct=yes
13238 hardcode_direct_absolute=yes
13239 export_dynamic_flag_spec='$wl-E'
13240
13241 # hardcode_minus_L: Not really in the search PATH,
13242 # but as the default location of the library.
13243 hardcode_minus_L=yes
13244 ;;
13245 esac
13246 fi
13247 ;;
13248
13249 irix5* | irix6* | nonstopux*)
13250 if testscip-shell system . . test. yes = "$GCC"; then
13251 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'
13252 # Try to use the -exported_symbol ld option, if it does not
13253 # work, assume that -exports_file does not work either and
13254 # implicitly export all symbols.
13255 # This should be the same for all languages, so no per-tag cache variable.
13256 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
13257 printfscip-shell system . . printf. %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13258 if testscip-shell system . . test. ${lt_cv_irix_exported_symbol+y}
13259 then :
13260 printfscip-shell system . . printf. %s "(cached) " >&6
13261 else case e in #(
13262 e) save_LDFLAGS=$LDFLAGS
13263 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
13264 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13265 /* end confdefs.h. */
13266 int foo (void) { return 0; }
13267 _ACEOF
13268 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
13269 then :
13270 lt_cv_irix_exported_symbol=yes
13271 else case e in #(
13272 e) lt_cv_irix_exported_symbol=no ;;
13273 esac
13274 fi
13275 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
13276 conftest$ac_exeext conftest.$ac_ext
13277 LDFLAGS=$save_LDFLAGS ;;
13278 esac
13279 fi
13280 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13281 printfscip-shell system . . printf. "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
13282 if testscip-shell system . . test. yes = "$lt_cv_irix_exported_symbol"; then
13283 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'
13284 fi
13285 else
13286 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'
13287 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'
13288 fi
13289 archive_cmds_need_lc='no'
13290 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13291 hardcode_libdir_separator=:
13292 inherit_rpath=yes
13293 link_all_deplibs=yes
13294 ;;
13295
13296 linux*)
13297 case $cc_basename in
13298 tcc*)
13299 # Fabrice Bellard et al's Tiny C Compiler
13300 ld_shlibs=yes
13301 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13302 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13303 ;;
13304 esac
13305 ;;
13306
13307 *-mlibc)
13308 ;;
13309
13310 netbsd* | netbsdelf*-gnu)
13311 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
13312 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13313 else
13314 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13315 fi
13316 hardcode_libdir_flag_spec='-R$libdir'
13317 hardcode_direct=yes
13318 hardcode_shlibpath_var=no
13319 ;;
13320
13321 newsos6)
13322 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13323 hardcode_direct=yes
13324 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13325 hardcode_libdir_separator=:
13326 hardcode_shlibpath_var=no
13327 ;;
13328
13329 *nto* | *qnx*)
13330 ;;
13331
13332 openbsd*)
13333 if testscip-shell system . . test. -f /usr/libexec/ld.soscip-shell filesystem . . `/usr/libexec/ld.so`.; then
13334 hardcode_direct=yes
13335 hardcode_shlibpath_var=no
13336 hardcode_direct_absolute=yes
13337 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
13338 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13339 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
13340 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13341 export_dynamic_flag_spec='$wl-E'
13342 else
13343 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13344 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13345 fi
13346 else
13347 ld_shlibs=no
13348 fi
13349 ;;
13350
13351 os2*)
13352 hardcode_libdir_flag_spec='-L$libdir'
13353 hardcode_minus_L=yes
13354 allow_undefined_flag=unsupported
13355 shrext_cmds=.dll
13356 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13357 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13358 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13359 $ECHO EXPORTS >> $output_objdir/$libname.def~
13360 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13361 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13362 emximp -o $lib $output_objdir/$libname.def'
13363 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13364 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13365 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13366 $ECHO EXPORTS >> $output_objdir/$libname.def~
13367 prefix_cmds="$SED"~
13368 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13369 prefix_cmds="$prefix_cmds -e 1d";
13370 fi~
13371 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13372 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13373 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13374 emximp -o $lib $output_objdir/$libname.def'
13375 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13376 enable_shared_with_static_runtimes=yes
13377 file_list_spec='@'
13378 ;;
13379
13380 osf3*)
13381 if testscip-shell system . . test. yes = "$GCC"; then
13382 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13383 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'
13384 else
13385 allow_undefined_flag=' -expect_unresolved \*'
13386 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'
13387 fi
13388 archive_cmds_need_lc='no'
13389 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13390 hardcode_libdir_separator=:
13391 ;;
13392
13393 osf4* | osf5*) # as osf3* with the addition of -msym flag
13394 if testscip-shell system . . test. yes = "$GCC"; then
13395 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13396 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'
13397 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13398 else
13399 allow_undefined_flag=' -expect_unresolved \*'
13400 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'
13401 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~
13402 $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'
13403
13404 # Both c and cxx compiler support -rpath directly
13405 hardcode_libdir_flag_spec='-rpath $libdir'
13406 fi
13407 archive_cmds_need_lc='no'
13408 hardcode_libdir_separator=:
13409 ;;
13410
13411 serenity*)
13412 ;;
13413
13414 solaris*)
13415 no_undefined_flag=' -z defs'
13416 if testscip-shell system . . test. yes = "$GCC"; then
13417 wlarc='$wl'
13418 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13419 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13420 $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'
13421 else
13422 case `$CC -V 2>&1` in
13423 *"Compilers 5.0"*)
13424 wlarc=''
13425 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13426 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13427 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13428 ;;
13429 *)
13430 wlarc='$wl'
13431 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13432 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13433 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13434 ;;
13435 esac
13436 fi
13437 hardcode_libdir_flag_spec='-R$libdir'
13438 hardcode_shlibpath_var=no
13439 case $host_os in
13440 solaris2.[0-5] | solaris2.[0-5].*) ;;
13441 *)
13442 # The compiler driver will combine and reorder linker options,
13443 # but understands '-z linker_flag'. GCC discards it without '$wl',
13444 # but is careful enough not to reorder.
13445 # Supported since Solaris 2.6 (maybe 2.5.1?)
13446 if testscip-shell system . . test. yes = "$GCC"; then
13447 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13448 else
13449 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13450 fi
13451 ;;
13452 esac
13453 link_all_deplibs=yes
13454 ;;
13455
13456 sunos4*)
13457 if testscip-shell system . . test. sequent = "$host_vendor"; then
13458 # Use $CC to link under sequent, because it throws in some extra .o
13459 # files that make .init and .fini sections work.
13460 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13461 else
13462 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13463 fi
13464 hardcode_libdir_flag_spec='-L$libdir'
13465 hardcode_direct=yes
13466 hardcode_minus_L=yes
13467 hardcode_shlibpath_var=no
13468 ;;
13469
13470 sysv4)
13471 case $host_vendor in
13472 sni)
13473 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13474 hardcode_direct=yes # is this really true???
13475 ;;
13476 siemens)
13477 ## LD is ld it makes a PLAMLIB
13478 ## CC just makes a GrossModule.
13479 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13480 reload_cmds='$CC -r -o $output$reload_objs'
13481 hardcode_direct=no
13482 ;;
13483 motorola)
13484 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13485 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13486 ;;
13487 esac
13488 runpath_var='LD_RUN_PATH'
13489 hardcode_shlibpath_var=no
13490 ;;
13491
13492 sysv4.3*)
13493 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13494 hardcode_shlibpath_var=no
13495 export_dynamic_flag_spec='-Bexport'
13496 ;;
13497
13498 sysv4*MP*)
13499 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
13500 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13501 hardcode_shlibpath_var=no
13502 runpath_var=LD_RUN_PATH
13503 hardcode_runpath_var=yes
13504 ld_shlibs=yes
13505 fi
13506 ;;
13507
13508 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13509 no_undefined_flag='$wl-z,text'
13510 archive_cmds_need_lc=no
13511 hardcode_shlibpath_var=no
13512 runpath_var='LD_RUN_PATH'
13513
13514 if testscip-shell system . . test. yes = "$GCC"; then
13515 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13516 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13517 else
13518 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13519 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13520 fi
13521 ;;
13522
13523 sysv5* | sco3.2v5* | sco5v6*)
13524 # Note: We CANNOT use -z defs as we might desire, because we do not
13525 # link with -lc, and that would cause any symbols used from libc to
13526 # always be unresolved, which means just about no library would
13527 # ever link correctly. If we're not using GNU ld we use -z text
13528 # though, which does catch some bad symbols but isn't as heavy-handed
13529 # as -z defs.
13530 no_undefined_flag='$wl-z,text'
13531 allow_undefined_flag='$wl-z,nodefs'
13532 archive_cmds_need_lc=no
13533 hardcode_shlibpath_var=no
13534 hardcode_libdir_flag_spec='$wl-R,$libdir'
13535 hardcode_libdir_separator=':'
13536 link_all_deplibs=yes
13537 export_dynamic_flag_spec='$wl-Bexport'
13538 runpath_var='LD_RUN_PATH'
13539
13540 if testscip-shell system . . test. yes = "$GCC"; then
13541 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13542 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13543 else
13544 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13545 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13546 fi
13547 ;;
13548
13549 uts4*)
13550 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13551 hardcode_libdir_flag_spec='-L$libdir'
13552 hardcode_shlibpath_var=no
13553 ;;
13554
13555 *)
13556 ld_shlibs=no
13557 ;;
13558 esac
13559
13560 if testscip-shell system . . test. sni = "$host_vendor"; then
13561 case $host in
13562 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13563 export_dynamic_flag_spec='$wl-Blargedynsym'
13564 ;;
13565 esac
13566 fi
13567 fi
13568
13569 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13570 printfscip-shell system . . printf. "%s\n" "$ld_shlibs" >&6; }
13571 testscip-shell system . . test. no = "$ld_shlibs" && can_build_shared=no
13572
13573 with_gnu_ld=$with_gnu_ld
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589 #
13590 # Do we need to explicitly link libc?
13591 #
13592 case "x$archive_cmds_need_lc" in
13593 x|xyes)
13594 # Assume -lc should be added
13595 archive_cmds_need_lc=yes
13596
13597 if testscip-shell system . . test. yes,yes = "$GCC,$enable_shared"; then
13598 case $archive_cmds in
13599 *'~'*)
13600 # FIXME: we may have to deal with multi-command sequences.
13601 ;;
13602 '$CC '*)
13603 # Test whether the compiler implicitly links with -lc since on some
13604 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13605 # to ld, don't add -lc before -lgcc.
13606 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13607 printfscip-shell system . . printf. %s "checking whether -lc should be explicitly linked in... " >&6; }
13608 if testscip-shell system . . test. ${lt_cv_archive_cmds_need_lc+y}
13609 then :
13610 printfscip-shell system . . printf. %s "(cached) " >&6
13611 else case e in #(
13612 e) $RM conftest*
13613 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
13614
13615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13616 (eval $ac_compile) 2>&5
13617 ac_status=$?
13618 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13619 testscip-shell system . . test. $ac_status = 0; } 2>conftest.err; then
13620 soname=conftest
13621 lib=conftest
13622 libobjs=conftest.$ac_objext
13623 deplibs=
13624 wl=$lt_prog_compiler_wl
13625 pic_flag=$lt_prog_compiler_pic
13626 compiler_flags=-v
13627 linker_flags=-v
13628 verstring=
13629 output_objdir=.
13630 libname=conftest
13631 lt_save_allow_undefined_flag=$allow_undefined_flag
13632 allow_undefined_flag=
13633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13634 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13635 ac_status=$?
13636 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13637 testscip-shell system . . test. $ac_status = 0; }
13638 then
13639 lt_cv_archive_cmds_need_lc=no
13640 else
13641 lt_cv_archive_cmds_need_lc=yes
13642 fi
13643 allow_undefined_flag=$lt_save_allow_undefined_flag
13644 else
13645 catscip-shell system . . cat. conftest.err 1>&5
13646 fi
13647 $RM conftest*
13648 ;;
13649 esac
13650 fi
13651 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13652 printfscip-shell system . . printf. "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
13653 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13654 ;;
13655 esac
13656 fi
13657 ;;
13658 esac
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13812 printfscip-shell system . . printf. %s "checking dynamic linker characteristics... " >&6; }
13813
13814 if testscip-shell system . . test. yes = "$GCC"; then
13815 case $host_os in
13816 darwin*) lt_awk_arg='/^libraries:/,/LR/scip-shell filesystem . . `/^libraries:/,/LR/`.' ;;
13817 *) lt_awk_arg='/^libraries:/scip-shell filesystem . . `/^libraries:/`.' ;;
13818 esac
13819 case $host_os in
13820 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13821 *) lt_sed_strip_eq='s|=/|/|g' ;;
13822 esac
13823 lt_search_path_spec=`$CC -print-search-dirs | awkscip-shell system . . awk. $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13824 case $lt_search_path_spec in
13825 *\;*)
13826 # if the path contains ";" then we assume it to be the separator
13827 # otherwise default to the standard path separator (i.e. ":") - it is
13828 # assumed that no part of a normal pathname contains ";" but that should
13829 # okay in the real world where ";" in dirpaths is itself problematic.
13830 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13831 ;;
13832 *)
13833 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13834 ;;
13835 esac
13836 # Ok, now we have the path, separated by spaces, we can step through it
13837 # and add multilib dir if necessary...
13838 lt_tmp_lt_search_path_spec=
13839 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
13840 # ...but if some path component already ends with the multilib dir we assume
13841 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13842 case "$lt_multi_os_dir; $lt_search_path_spec " in
13843 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13844 lt_multi_os_dir=
13845 ;;
13846 esac
13847 for lt_sys_path in $lt_search_path_spec; do
13848 if testscip-shell system . . test. -d "$lt_sys_path$lt_multi_os_dir"; then
13849 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13850 elif testscip-shell system . . test. -n "$lt_multi_os_dir"; then
13851 testscip-shell system . . test. -d "$lt_sys_path" && \
13852 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13853 fi
13854 done
13855 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awkscip-shell system . . awk. '
13856 BEGIN {RS = " "; FS = "/|\n";} {
13857 lt_foo = "";
13858 lt_count = 0;
13859 for (lt_i = NF; lt_i > 0; lt_i--) {
13860 if ($lt_i != "" && $lt_i != ".") {
13861 if ($lt_i == "..") {
13862 lt_count++;
13863 } else {
13864 if (lt_count == 0) {
13865 lt_foo = "/" $lt_i lt_foo;
13866 } else {
13867 lt_count--;
13868 }
13869 }
13870 }
13871 }
13872 if (lt_foo != "") { lt_freq[lt_foo]++; }
13873 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13874 }'`
13875 # AWK program above erroneously prepends '/' to C:/dos/paths
13876 # for these hosts.
13877 case $host_os in
13878 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13879 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13880 esac
13881 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13882 else
13883 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
13884 fi
13885 library_names_spec=
13886 libname_spec='lib$name'
13887 soname_spec=
13888 shrext_cmds=.so
13889 postinstall_cmds=
13890 postuninstall_cmds=
13891 finish_cmds=
13892 finish_eval=
13893 shlibpath_var=
13894 shlibpath_overrides_runpath=unknown
13895 version_type=none
13896 dynamic_linker="$host_os ld.so"
13897 sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`."
13898 need_lib_prefix=unknown
13899 hardcode_into_libs=no
13900
13901 # when you set need_version to no, make sure it does not cause -set_version
13902 # flags to be left without arguments
13903 need_version=unknown
13904
13905
13906
13907 case $host_os in
13908 aix3*)
13909 version_type=linux # correct to gnu/linux during the next big refactor
13910 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
13911 shlibpath_var=LIBPATH
13912
13913 # AIX 3 has no versioning support, so we append a major version to the name.
13914 soname_spec='$libname$release$shared_ext$major'
13915 ;;
13916
13917 aix[4-9]*)
13918 version_type=linux # correct to gnu/linux during the next big refactor
13919 need_lib_prefix=no
13920 need_version=no
13921 hardcode_into_libs=yes
13922 if testscip-shell system . . test. ia64 = "$host_cpu"; then
13923 # AIX 5 supports IA64
13924 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13925 shlibpath_var=LD_LIBRARY_PATH
13926 else
13927 # With GCC up to 2.95.x, collect2 would create an import file
13928 # for dependence libraries. The import file would start with
13929 # the line '#! .'. This would cause the generated library to
13930 # depend on '.', always an invalid library. This was fixed in
13931 # development snapshots of GCC prior to 3.0.
13932 case $host_os in
13933 aix4 | aix4.[01] | aix4.[01].*)
13934 if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13935 echoscip-shell system . . echo. ' yes '
13936 echoscip-shell system . . echo. '#endif'; } | $CC -E - | $GREP yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then
13937 :
13938 else
13939 can_build_shared=no
13940 fi
13941 ;;
13942 esac
13943 # Using Import Files as archive members, it is possible to support
13944 # filename-based versioning of shared library archives on AIX. While
13945 # this would work for both with and without runtime linking, it will
13946 # prevent static linking of such archives. So we do filename-based
13947 # shared library versioning with .so extension only, which is used
13948 # when both runtime linking and shared linking is enabled.
13949 # Unfortunately, runtime linking may impact performance, so we do
13950 # not want this to be the default eventually. Also, we use the
13951 # versioned .so libs for executables only if there is the -brtl
13952 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
13953 # To allow for filename-based versioning support, we need to create
13954 # libNAME.so.V as an archive file, containing:
13955 # *) an Import File, referring to the versioned filename of the
13956 # archive as well as the shared archive member, telling the
13957 # bitwidth (32 or 64) of that shared object, and providing the
13958 # list of exported symbols of that shared object, eventually
13959 # decorated with the 'weak' keyword
13960 # *) the shared object with the F_LOADONLY flag set, to really avoid
13961 # it being seen by the linker.
13962 # At run time we better use the real file rather than another symlink,
13963 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13964
13965 case $with_aix_soname,$aix_use_runtimelinking in
13966 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13967 # soname into executable. Probably we can add versioning support to
13968 # collect2, so additional links can be useful in future.
13969 aix,yes) # traditional libtool
13970 dynamic_linker='AIX unversionable lib.so'
13971 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13972 # instead of lib<name>.a to let people know that these are not
13973 # typical AIX shared libraries.
13974 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13975 ;;
13976 aix,no) # traditional AIX only
13977 dynamic_linker='AIX lib.a(lib.so.V)'
13978 # We preserve .a as extension for shared libraries through AIX4.2
13979 # and later when we are not doing run time linking.
13980 library_names_spec='$libname$release.a $libname.a'
13981 soname_spec='$libname$release$shared_ext$major'
13982 ;;
13983 svr4,*) # full svr4 only
13984 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
13985 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13986 # We do not specify a path in Import Files, so LIBPATH fires.
13987 shlibpath_overrides_runpath=yes
13988 ;;
13989 *,yes) # both, prefer svr4
13990 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13991 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13992 # unpreferred sharedlib libNAME.a needs extra handling
13993 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"'
13994 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"'
13995 # We do not specify a path in Import Files, so LIBPATH fires.
13996 shlibpath_overrides_runpath=yes
13997 ;;
13998 *,no) # both, prefer aix
13999 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
14000 library_names_spec='$libname$release.a $libname.a'
14001 soname_spec='$libname$release$shared_ext$major'
14002 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
14003 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)'
14004 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"'
14005 ;;
14006 esac
14007 shlibpath_var=LIBPATH
14008 fi
14009 ;;
14010
14011 amigaos*)
14012 case $host_cpu in
14013 powerpc)
14014 # Since July 2007 AmigaOS4 officially supports .so libraries.
14015 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14016 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14017 ;;
14018 m68k)
14019 library_names_spec='$libname.ixlibrary $libname.a'
14020 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14021 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'
14022 ;;
14023 esac
14024 ;;
14025
14026 beos*)
14027 library_names_spec='$libname$shared_ext'
14028 dynamic_linker="$host_os ld.so"
14029 shlibpath_var=LIBRARY_PATH
14030 ;;
14031
14032 bsdi[45]*)
14033 version_type=linux # correct to gnu/linux during the next big refactor
14034 need_version=no
14035 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14036 soname_spec='$libname$release$shared_ext$major'
14037 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14038 shlibpath_var=LD_LIBRARY_PATH
14039 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`."
14040 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`."
14041 # the default ld.so.conf also contains /usr/contrib/lib and
14042 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14043 # libtool to hard-code these into programs
14044 ;;
14045
14046 cygwin* | mingw* | windows* | pw32* | cegcc*)
14047 version_type=windows
14048 shrext_cmds=.dll
14049 need_version=no
14050 need_lib_prefix=no
14051
14052 case $GCC,$cc_basename in
14053 yes,*)
14054 # gcc
14055 library_names_spec='$libname.dll.a'
14056 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14057 # If user builds GCC with multilib enabled,
14058 # it should just install on $(libdir)
14059 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
14060 if testscip-shell system . . test. xyes = x"$multilib"; then
14061 postinstall_cmds='base_file=`basename \$file`~
14062 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14063 dldir=$destdir/`dirname \$dlpath`~
14064 $install_prog $dir/$dlname $destdir/$dlname~
14065 chmod a+x $destdir/$dlname~
14066 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14067 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
14068 fi'
14069 else
14070 postinstall_cmds='base_file=`basename \$file`~
14071 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14072 dldir=$destdir/`dirname \$dlpath`~
14073 test -d \$dldir || mkdir -p \$dldir~
14074 $install_prog $dir/$dlname \$dldir/$dlname~
14075 chmod a+x \$dldir/$dlname~
14076 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14077 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14078 fi'
14079 fi
14080 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14081 dlpath=$dir/\$dldll~
14082 $RM \$dlpath'
14083 shlibpath_overrides_runpath=yes
14084
14085 case $host_os in
14086 cygwin*)
14087 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14088 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14089
14090 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
14091 ;;
14092 mingw* | windows* | cegcc*)
14093 # MinGW DLLs use traditional 'lib' prefix
14094 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14095 ;;
14096 pw32*)
14097 # pw32 DLLs use 'pw' prefix rather than 'lib'
14098 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14099 ;;
14100 esac
14101 dynamic_linker='Win32 ld.exe'
14102 ;;
14103
14104 *,cl* | *,icl*)
14105 # Native MSVC or ICC
14106 libname_spec='$name'
14107 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14108 library_names_spec='$libname.dll.lib'
14109
14110 case $build_os in
14111 mingw* | windows*)
14112 sys_lib_search_path_spec=
14113 lt_save_ifs=$IFS
14114 IFS=';'
14115 for lt_path in $LIB
14116 do
14117 IFS=$lt_save_ifs
14118 # Let DOS variable expansion print the short 8.3 style file name.
14119 lt_path=`cd "$lt_path" 2>/dev/nullscip-shell filesystem . . `/dev/null`. && cmd //C "for %i in (".") do @echo %~si"`
14120 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14121 done
14122 IFS=$lt_save_ifs
14123 # Convert to MSYS style.
14124 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14125 ;;
14126 cygwin*)
14127 # Convert to unix form, then to dos form, then back to unix form
14128 # but this time dos style (no spaces!) so that the unix form looks
14129 # like /cygdrive/c/PROGRA~1:/cygdr...
14130 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14131 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14132 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14133 ;;
14134 *)
14135 sys_lib_search_path_spec=$LIB
14136 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
14137 # It is most probably a Windows format PATH.
14138 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14139 else
14140 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14141 fi
14142 # FIXME: find the short name or the path components, as spaces are
14143 # common. (e.g. "Program Files" -> "PROGRA~1")
14144 ;;
14145 esac
14146
14147 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14148 postinstall_cmds='base_file=`basename \$file`~
14149 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14150 dldir=$destdir/`dirname \$dlpath`~
14151 test -d \$dldir || mkdir -p \$dldir~
14152 $install_prog $dir/$dlname \$dldir/$dlname'
14153 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14154 dlpath=$dir/\$dldll~
14155 $RM \$dlpath'
14156 shlibpath_overrides_runpath=yes
14157 dynamic_linker='Win32 link.exe'
14158 ;;
14159
14160 *)
14161 # Assume MSVC and ICC wrapper
14162 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
14163 dynamic_linker='Win32 ld.exe'
14164 ;;
14165 esac
14166 # FIXME: first we should search . and the directory the executable is in
14167 shlibpath_var=PATH
14168 ;;
14169
14170 darwin* | rhapsody*)
14171 dynamic_linker="$host_os dyld"
14172 version_type=darwin
14173 need_lib_prefix=no
14174 need_version=no
14175 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
14176 soname_spec='$libname$release$major$shared_ext'
14177 shlibpath_overrides_runpath=yes
14178 shlibpath_var=DYLD_LIBRARY_PATH
14179 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14180
14181 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
14182 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.'
14183 ;;
14184
14185 dgux*)
14186 version_type=linux # correct to gnu/linux during the next big refactor
14187 need_lib_prefix=no
14188 need_version=no
14189 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14190 soname_spec='$libname$release$shared_ext$major'
14191 shlibpath_var=LD_LIBRARY_PATH
14192 ;;
14193
14194 freebsd* | dragonfly* | midnightbsd*)
14195 # DragonFly does not have aout. When/if they implement a new
14196 # versioning mechanism, adjust this.
14197 if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then
14198 objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.`
14199 else
14200 case $host_os in
14201 freebsd[23].*) objformat=aout ;;
14202 *) objformat=elf ;;
14203 esac
14204 fi
14205 version_type=freebsd-$objformat
14206 case $version_type in
14207 freebsd-elf*)
14208 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14209 soname_spec='$libname$release$shared_ext$major'
14210 need_version=no
14211 need_lib_prefix=no
14212 ;;
14213 freebsd-*)
14214 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14215 need_version=yes
14216 ;;
14217 esac
14218 case $host_cpu in
14219 powerpc64)
14220 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
14221 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
14222 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 int test_pointer_size[sizeof (void *) - 5];
14225
14226 _ACEOF
14227 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
14228 then :
14229 shlibpath_var=LD_LIBRARY_PATH
14230 else case e in #(
14231 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
14232 esac
14233 fi
14234 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14235 ;;
14236 *)
14237 shlibpath_var=LD_LIBRARY_PATH
14238 ;;
14239 esac
14240 case $host_os in
14241 freebsd2.*)
14242 shlibpath_overrides_runpath=yes
14243 ;;
14244 freebsd3.[01]* | freebsdelf3.[01]*)
14245 shlibpath_overrides_runpath=yes
14246 hardcode_into_libs=yes
14247 ;;
14248 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14249 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14250 shlibpath_overrides_runpath=no
14251 hardcode_into_libs=yes
14252 ;;
14253 *) # from 4.6 on, and DragonFly
14254 shlibpath_overrides_runpath=yes
14255 hardcode_into_libs=yes
14256 ;;
14257 esac
14258 ;;
14259
14260 haiku*)
14261 version_type=linux # correct to gnu/linux during the next big refactor
14262 need_lib_prefix=no
14263 need_version=no
14264 dynamic_linker="$host_os runtime_loader"
14265 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14266 soname_spec='$libname$release$shared_ext$major'
14267 shlibpath_var=LIBRARY_PATH
14268 shlibpath_overrides_runpath=no
14269 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/libscip-shell filesystem . . `/boot/system/non-packaged/develop/lib /boot/system/develop/lib`.'
14270 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/libscip-shell filesystem . . `/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib`.'
14271 hardcode_into_libs=no
14272 ;;
14273
14274 hpux9* | hpux10* | hpux11*)
14275 # Give a soname corresponding to the major version so that dld.sl refuses to
14276 # link against other versions.
14277 version_type=sunos
14278 need_lib_prefix=no
14279 need_version=no
14280 case $host_cpu in
14281 ia64*)
14282 shrext_cmds='.so'
14283 hardcode_into_libs=yes
14284 dynamic_linker="$host_os dld.so"
14285 shlibpath_var=LD_LIBRARY_PATH
14286 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14287 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14288 soname_spec='$libname$release$shared_ext$major'
14289 if testscip-shell system . . test. 32 = "$HPUX_IA64_MODE"; then
14290 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`."
14291 sys_lib_dlsearch_path_spec=/usr/lib/hpux32scip-shell filesystem . . `/usr/lib/hpux32`.
14292 else
14293 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`."
14294 sys_lib_dlsearch_path_spec=/usr/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64`.
14295 fi
14296 ;;
14297 hppa*64*)
14298 shrext_cmds='.sl'
14299 hardcode_into_libs=yes
14300 dynamic_linker="$host_os dld.sl"
14301 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14302 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14303 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14304 soname_spec='$libname$release$shared_ext$major'
14305 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`."
14306 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14307 ;;
14308 *)
14309 shrext_cmds='.sl'
14310 dynamic_linker="$host_os dld.sl"
14311 shlibpath_var=SHLIB_PATH
14312 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14313 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14314 soname_spec='$libname$release$shared_ext$major'
14315 ;;
14316 esac
14317 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14318 postinstall_cmds='chmod 555 $lib'
14319 # or fails outright, so override atomically:
14320 install_override_mode=555
14321 ;;
14322
14323 interix[3-9]*)
14324 version_type=linux # correct to gnu/linux during the next big refactor
14325 need_lib_prefix=no
14326 need_version=no
14327 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14328 soname_spec='$libname$release$shared_ext$major'
14329 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14330 shlibpath_var=LD_LIBRARY_PATH
14331 shlibpath_overrides_runpath=no
14332 hardcode_into_libs=yes
14333 ;;
14334
14335 irix5* | irix6* | nonstopux*)
14336 case $host_os in
14337 nonstopux*) version_type=nonstopux ;;
14338 *)
14339 if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then
14340 version_type=linux # correct to gnu/linux during the next big refactor
14341 else
14342 version_type=irix
14343 fi ;;
14344 esac
14345 need_lib_prefix=no
14346 need_version=no
14347 soname_spec='$libname$release$shared_ext$major'
14348 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
14349 case $host_os in
14350 irix5* | nonstopux*)
14351 libsuff= shlibsuff=
14352 ;;
14353 *)
14354 case $LD in # libtool.m4 will add one of these switches to LD
14355 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14356 libsuff= shlibsuff= libmagic=32-bit;;
14357 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14358 libsuff=32 shlibsuff=N32 libmagic=N32;;
14359 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14360 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14361 *) libsuff= shlibsuff= libmagic=never-match;;
14362 esac
14363 ;;
14364 esac
14365 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14366 shlibpath_overrides_runpath=no
14367 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
14368 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
14369 hardcode_into_libs=yes
14370 ;;
14371
14372 # No shared lib support for Linux oldld, aout, or coff.
14373 linux*oldld* | linux*aout* | linux*coff*)
14374 dynamic_linker=no
14375 ;;
14376
14377 linux*android*)
14378 version_type=none # Android doesn't support versioned libraries.
14379 need_lib_prefix=no
14380 need_version=no
14381 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
14382 soname_spec='$libname$release$shared_ext'
14383 finish_cmds=
14384 shlibpath_var=LD_LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes
14386
14387 # This implies no fast_install, which is unacceptable.
14388 # Some rework will be needed to allow for fast_install
14389 # before this can be enabled.
14390 hardcode_into_libs=yes
14391
14392 dynamic_linker='Android linker'
14393 # -rpath works at least for libraries that are not overridden by
14394 # libraries installed in system locations.
14395 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14396 ;;
14397
14398 # This must be glibc/ELF.
14399 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14400 version_type=linux # correct to gnu/linux during the next big refactor
14401 need_lib_prefix=no
14402 need_version=no
14403 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14404 soname_spec='$libname$release$shared_ext$major'
14405 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14406 shlibpath_var=LD_LIBRARY_PATH
14407 shlibpath_overrides_runpath=no
14408
14409 # Some binutils ld are patched to set DT_RUNPATH
14410 if testscip-shell system . . test. ${lt_cv_shlibpath_overrides_runpath+y}
14411 then :
14412 printfscip-shell system . . printf. %s "(cached) " >&6
14413 else case e in #(
14414 e) lt_cv_shlibpath_overrides_runpath=no
14415 save_LDFLAGS=$LDFLAGS
14416 save_libdir=$libdir
14417 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14418 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14419 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14421
14422 int
14423 main (void)
14424 {
14425
14426 ;
14427 return 0;
14428 }
14429 _ACEOF
14430 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
14431 then :
14432 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`.
14433 then :
14434 lt_cv_shlibpath_overrides_runpath=yes
14435 fi
14436 fi
14437 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14438 conftest$ac_exeext conftest.$ac_ext
14439 LDFLAGS=$save_LDFLAGS
14440 libdir=$save_libdir
14441 ;;
14442 esac
14443 fi
14444
14445 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14446
14447 # This implies no fast_install, which is unacceptable.
14448 # Some rework will be needed to allow for fast_install
14449 # before this can be enabled.
14450 hardcode_into_libs=yes
14451
14452 # Add ABI-specific directories to the system library path.
14453 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/libscip-shell filesystem . . `/lib64 /usr/lib64 /lib /usr/lib`."
14454
14455 # Ideally, we could use ldconfig to report *all* directories which are
14456 # searched for libraries, however this is still not possible. Aside from not
14457 # being certain /sbin/ldconfig is available, command
14458 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14459 # even though it is searched at run-time. Try to do the best guess by
14460 # appending ld.so.conf contents (and includes) to the search path.
14461 if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then
14462 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' ' '`
14463 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14464 fi
14465
14466 # We used to test for /lib/ld.so.1 and disable shared libraries on
14467 # powerpc, because MkLinux only supported shared libraries with the
14468 # GNU dynamic linker. Since this was broken with cross compilers,
14469 # most powerpc-linux boxes support dynamic linking these days and
14470 # people can always --disable-shared, the test was removed, and we
14471 # assume the GNU/Linux dynamic linker is in use.
14472 dynamic_linker='GNU/Linux ld.so'
14473 ;;
14474
14475 netbsdelf*-gnu)
14476 version_type=linux
14477 need_lib_prefix=no
14478 need_version=no
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 shlibpath_var=LD_LIBRARY_PATH
14482 shlibpath_overrides_runpath=no
14483 hardcode_into_libs=yes
14484 dynamic_linker='NetBSD ld.elf_so'
14485 ;;
14486
14487 netbsd*)
14488 version_type=sunos
14489 need_lib_prefix=no
14490 need_version=no
14491 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
14492 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14493 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14494 dynamic_linker='NetBSD (a.out) ld.so'
14495 else
14496 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14497 soname_spec='$libname$release$shared_ext$major'
14498 dynamic_linker='NetBSD ld.elf_so'
14499 fi
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=yes
14502 hardcode_into_libs=yes
14503 ;;
14504
14505 *-mlibc)
14506 version_type=linux # correct to gnu/linux during the next big refactor
14507 need_lib_prefix=no
14508 need_version=no
14509 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14510 soname_spec='$libname$release$shared_ext$major'
14511 dynamic_linker='mlibc ld.so'
14512 shlibpath_var=LD_LIBRARY_PATH
14513 shlibpath_overrides_runpath=no
14514 hardcode_into_libs=yes
14515 ;;
14516
14517 newsos6)
14518 version_type=linux # correct to gnu/linux during the next big refactor
14519 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14520 shlibpath_var=LD_LIBRARY_PATH
14521 shlibpath_overrides_runpath=yes
14522 ;;
14523
14524 *nto* | *qnx*)
14525 version_type=qnx
14526 need_lib_prefix=no
14527 need_version=no
14528 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14529 soname_spec='$libname$release$shared_ext$major'
14530 shlibpath_var=LD_LIBRARY_PATH
14531 shlibpath_overrides_runpath=no
14532 hardcode_into_libs=yes
14533 dynamic_linker='ldqnx.so'
14534 ;;
14535
14536 openbsd*)
14537 version_type=sunos
14538 sys_lib_dlsearch_path_spec=/usr/libscip-shell filesystem . . `/usr/lib`.
14539 need_lib_prefix=no
14540 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
14541 need_version=no
14542 else
14543 need_version=yes
14544 fi
14545 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14546 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14547 shlibpath_var=LD_LIBRARY_PATH
14548 shlibpath_overrides_runpath=yes
14549 ;;
14550
14551 os2*)
14552 libname_spec='$name'
14553 version_type=windows
14554 shrext_cmds=.dll
14555 need_version=no
14556 need_lib_prefix=no
14557 # OS/2 can only load a DLL with a base name of 8 characters or less.
14558 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14559 v=$($ECHO $release$versuffix | tr -d .-);
14560 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14561 $ECHO $n$v`$shared_ext'
14562 library_names_spec='${libname}_dll.$libext'
14563 dynamic_linker='OS/2 ld.exe'
14564 shlibpath_var=BEGINLIBPATH
14565 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
14566 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14567 postinstall_cmds='base_file=`basename \$file`~
14568 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14569 dldir=$destdir/`dirname \$dlpath`~
14570 test -d \$dldir || mkdir -p \$dldir~
14571 $install_prog $dir/$dlname \$dldir/$dlname~
14572 chmod a+x \$dldir/$dlname~
14573 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14574 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14575 fi'
14576 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14577 dlpath=$dir/\$dldll~
14578 $RM \$dlpath'
14579 ;;
14580
14581 osf3* | osf4* | osf5*)
14582 version_type=osf
14583 need_lib_prefix=no
14584 need_version=no
14585 soname_spec='$libname$release$shared_ext$major'
14586 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14587 shlibpath_var=LD_LIBRARY_PATH
14588 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`."
14589 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14590 ;;
14591
14592 rdos*)
14593 dynamic_linker=no
14594 ;;
14595
14596 serenity*)
14597 version_type=linux # correct to gnu/linux during the next big refactor
14598 need_lib_prefix=no
14599 need_version=no
14600 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14601 soname_spec='$libname$release$shared_ext$major'
14602 shlibpath_var=LD_LIBRARY_PATH
14603 shlibpath_overrides_runpath=no
14604 dynamic_linker='SerenityOS LibELF'
14605 ;;
14606
14607 solaris*)
14608 version_type=linux # correct to gnu/linux during the next big refactor
14609 need_lib_prefix=no
14610 need_version=no
14611 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14612 soname_spec='$libname$release$shared_ext$major'
14613 shlibpath_var=LD_LIBRARY_PATH
14614 shlibpath_overrides_runpath=yes
14615 hardcode_into_libs=yes
14616 # ldd complains unless libraries are executable
14617 postinstall_cmds='chmod +x $lib'
14618 ;;
14619
14620 sunos4*)
14621 version_type=sunos
14622 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14623 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14624 shlibpath_var=LD_LIBRARY_PATH
14625 shlibpath_overrides_runpath=yes
14626 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
14627 need_lib_prefix=no
14628 fi
14629 need_version=yes
14630 ;;
14631
14632 sysv4 | sysv4.3*)
14633 version_type=linux # correct to gnu/linux during the next big refactor
14634 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14635 soname_spec='$libname$release$shared_ext$major'
14636 shlibpath_var=LD_LIBRARY_PATH
14637 case $host_vendor in
14638 sni)
14639 shlibpath_overrides_runpath=no
14640 need_lib_prefix=no
14641 runpath_var=LD_RUN_PATH
14642 ;;
14643 siemens)
14644 need_lib_prefix=no
14645 ;;
14646 motorola)
14647 need_lib_prefix=no
14648 need_version=no
14649 shlibpath_overrides_runpath=no
14650 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.'
14651 ;;
14652 esac
14653 ;;
14654
14655 sysv4*MP*)
14656 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
14657 version_type=linux # correct to gnu/linux during the next big refactor
14658 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14659 soname_spec='$libname$shared_ext.$major'
14660 shlibpath_var=LD_LIBRARY_PATH
14661 fi
14662 ;;
14663
14664 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14665 version_type=sco
14666 need_lib_prefix=no
14667 need_version=no
14668 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14669 soname_spec='$libname$release$shared_ext$major'
14670 shlibpath_var=LD_LIBRARY_PATH
14671 shlibpath_overrides_runpath=yes
14672 hardcode_into_libs=yes
14673 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
14674 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`.'
14675 else
14676 sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.'
14677 case $host_os in
14678 sco3.2v5*)
14679 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14680 ;;
14681 esac
14682 fi
14683 sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.'
14684 ;;
14685
14686 tpf*)
14687 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14688 version_type=linux # correct to gnu/linux during the next big refactor
14689 need_lib_prefix=no
14690 need_version=no
14691 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14692 shlibpath_var=LD_LIBRARY_PATH
14693 shlibpath_overrides_runpath=no
14694 hardcode_into_libs=yes
14695 ;;
14696
14697 uts4*)
14698 version_type=linux # correct to gnu/linux during the next big refactor
14699 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14700 soname_spec='$libname$release$shared_ext$major'
14701 shlibpath_var=LD_LIBRARY_PATH
14702 ;;
14703
14704 emscripten*)
14705 version_type=none
14706 need_lib_prefix=no
14707 need_version=no
14708 library_names_spec='$libname$release$shared_ext'
14709 soname_spec='$libname$release$shared_ext'
14710 finish_cmds=
14711 dynamic_linker="Emscripten linker"
14712 lt_prog_compiler_wl=
14713 lt_prog_compiler_pic=
14714 lt_prog_compiler_static=
14715
14716
14717 if testscip-shell system . . test. yes = "$GCC"; then
14718 lt_prog_compiler_wl='-Wl,'
14719 lt_prog_compiler_static='-static'
14720
14721 case $host_os in
14722 aix*)
14723 # All AIX code is PIC.
14724 if testscip-shell system . . test. ia64 = "$host_cpu"; then
14725 # AIX 5 now supports IA64 processor
14726 lt_prog_compiler_static='-Bstatic'
14727 fi
14728 lt_prog_compiler_pic='-fPIC'
14729 ;;
14730
14731 amigaos*)
14732 case $host_cpu in
14733 powerpc)
14734 # see comment about AmigaOS4 .so support
14735 lt_prog_compiler_pic='-fPIC'
14736 ;;
14737 m68k)
14738 # FIXME: we need at least 68020 code to build shared libraries, but
14739 # adding the '-m68020' flag to GCC prevents building anything better,
14740 # like '-m68040'.
14741 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14742 ;;
14743 esac
14744 ;;
14745
14746 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14747 # PIC is the default for these OSes.
14748 ;;
14749
14750 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
14751 # This hack is so that the source file can tell whether it is being
14752 # built for inclusion in a dll (and should export symbols for example).
14753 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14754 # (--disable-auto-import) libraries
14755 lt_prog_compiler_pic='-DDLL_EXPORT'
14756 case $host_os in
14757 os2*)
14758 lt_prog_compiler_static='$wl-static'
14759 ;;
14760 esac
14761 ;;
14762
14763 darwin* | rhapsody*)
14764 # PIC is the default on this platform
14765 # Common symbols not allowed in MH_DYLIB files
14766 lt_prog_compiler_pic='-fno-common'
14767 ;;
14768
14769 haiku*)
14770 # PIC is the default for Haiku.
14771 # The "-static" flag exists, but is broken.
14772 lt_prog_compiler_static=
14773 ;;
14774
14775 hpux*)
14776 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14777 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14778 # sets the default TLS model and affects inlining.
14779 case $host_cpu in
14780 hppa*64*)
14781 # +Z the default
14782 ;;
14783 *)
14784 lt_prog_compiler_pic='-fPIC'
14785 ;;
14786 esac
14787 ;;
14788
14789 interix[3-9]*)
14790 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14791 # Instead, we relocate shared libraries at runtime.
14792 ;;
14793
14794 msdosdjgpp*)
14795 # Just because we use GCC doesn't mean we suddenly get shared libraries
14796 # on systems that don't support them.
14797 lt_prog_compiler_can_build_shared=no
14798 enable_shared=no
14799 ;;
14800
14801 *nto* | *qnx*)
14802 # QNX uses GNU C++, but need to define -shared option too, otherwise
14803 # it will coredump.
14804 lt_prog_compiler_pic='-fPIC -shared'
14805 ;;
14806
14807 sysv4*MP*)
14808 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
14809 lt_prog_compiler_pic=-Kconform_pic
14810 fi
14811 ;;
14812
14813 *)
14814 lt_prog_compiler_pic='-fPIC'
14815 ;;
14816 esac
14817
14818 case $cc_basename in
14819 nvcc*) # Cuda Compiler Driver 2.2
14820 lt_prog_compiler_wl='-Xlinker '
14821 if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then
14822 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
14823 fi
14824 ;;
14825 esac
14826 else
14827 # PORTME Check for flag to pass linker flags through the system compiler.
14828 case $host_os in
14829 aix*)
14830 lt_prog_compiler_wl='-Wl,'
14831 if testscip-shell system . . test. ia64 = "$host_cpu"; then
14832 # AIX 5 now supports IA64 processor
14833 lt_prog_compiler_static='-Bstatic'
14834 else
14835 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14836 fi
14837 ;;
14838
14839 darwin* | rhapsody*)
14840 # PIC is the default on this platform
14841 # Common symbols not allowed in MH_DYLIB files
14842 lt_prog_compiler_pic='-fno-common'
14843 case $cc_basename in
14844 nagfor*)
14845 # NAG Fortran compiler
14846 lt_prog_compiler_wl='-Wl,-Wl,,'
14847 lt_prog_compiler_pic='-PIC'
14848 lt_prog_compiler_static='-Bstatic'
14849 ;;
14850 esac
14851 ;;
14852
14853 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
14854 # This hack is so that the source file can tell whether it is being
14855 # built for inclusion in a dll (and should export symbols for example).
14856 lt_prog_compiler_pic='-DDLL_EXPORT'
14857 case $host_os in
14858 os2*)
14859 lt_prog_compiler_static='$wl-static'
14860 ;;
14861 esac
14862 ;;
14863
14864 hpux9* | hpux10* | hpux11*)
14865 lt_prog_compiler_wl='-Wl,'
14866 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14867 # not for PA HP-UX.
14868 case $host_cpu in
14869 hppa*64*|ia64*)
14870 # +Z the default
14871 ;;
14872 *)
14873 lt_prog_compiler_pic='+Z'
14874 ;;
14875 esac
14876 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14877 lt_prog_compiler_static='$wl-a ${wl}archive'
14878 ;;
14879
14880 irix5* | irix6* | nonstopux*)
14881 lt_prog_compiler_wl='-Wl,'
14882 # PIC (with -KPIC) is the default.
14883 lt_prog_compiler_static='-non_shared'
14884 ;;
14885
14886 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14887 case $cc_basename in
14888 # old Intel for x86_64, which still supported -KPIC.
14889 ecc*)
14890 lt_prog_compiler_wl='-Wl,'
14891 lt_prog_compiler_pic='-KPIC'
14892 lt_prog_compiler_static='-static'
14893 ;;
14894 *flang* | ftn | f18* | f95*)
14895 # Flang compiler.
14896 lt_prog_compiler_wl='-Wl,'
14897 lt_prog_compiler_pic='-fPIC'
14898 lt_prog_compiler_static='-static'
14899 ;;
14900 # icc used to be incompatible with GCC.
14901 # ICC 10 doesn't accept -KPIC any more.
14902 icc* | ifort*)
14903 lt_prog_compiler_wl='-Wl,'
14904 lt_prog_compiler_pic='-fPIC'
14905 lt_prog_compiler_static='-static'
14906 ;;
14907 # Lahey Fortran 8.1.
14908 lf95*)
14909 lt_prog_compiler_wl='-Wl,'
14910 lt_prog_compiler_pic='--shared'
14911 lt_prog_compiler_static='--static'
14912 ;;
14913 nagfor*)
14914 # NAG Fortran compiler
14915 lt_prog_compiler_wl='-Wl,-Wl,,'
14916 lt_prog_compiler_pic='-PIC'
14917 lt_prog_compiler_static='-Bstatic'
14918 ;;
14919 tcc*)
14920 # Fabrice Bellard et al's Tiny C Compiler
14921 lt_prog_compiler_wl='-Wl,'
14922 lt_prog_compiler_pic='-fPIC'
14923 lt_prog_compiler_static='-static'
14924 ;;
14925 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
14926 # Portland Group compilers (*not* the Pentium gcc compiler,
14927 # which looks to be a dead project)
14928 lt_prog_compiler_wl='-Wl,'
14929 lt_prog_compiler_pic='-fpic'
14930 lt_prog_compiler_static='-Bstatic'
14931 ;;
14932 ccc*)
14933 lt_prog_compiler_wl='-Wl,'
14934 # All Alpha code is PIC.
14935 lt_prog_compiler_static='-non_shared'
14936 ;;
14937 xl* | bgxl* | bgf* | mpixl*)
14938 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14939 lt_prog_compiler_wl='-Wl,'
14940 lt_prog_compiler_pic='-qpic'
14941 lt_prog_compiler_static='-qstaticlink'
14942 ;;
14943 *)
14944 case `$CC -V 2>&1 | $SED 5q` in
14945 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
14946 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14947 lt_prog_compiler_pic='-KPIC'
14948 lt_prog_compiler_static='-Bstatic'
14949 lt_prog_compiler_wl=''
14950 ;;
14951 *Sun\ F* | *Sun*Fortran*)
14952 lt_prog_compiler_pic='-KPIC'
14953 lt_prog_compiler_static='-Bstatic'
14954 lt_prog_compiler_wl='-Qoption ld '
14955 ;;
14956 *Sun\ C*)
14957 # Sun C 5.9
14958 lt_prog_compiler_pic='-KPIC'
14959 lt_prog_compiler_static='-Bstatic'
14960 lt_prog_compiler_wl='-Wl,'
14961 ;;
14962 *Intel*\ [CF]*Compiler*)
14963 lt_prog_compiler_wl='-Wl,'
14964 lt_prog_compiler_pic='-fPIC'
14965 lt_prog_compiler_static='-static'
14966 ;;
14967 *Portland\ Group*)
14968 lt_prog_compiler_wl='-Wl,'
14969 lt_prog_compiler_pic='-fpic'
14970 lt_prog_compiler_static='-Bstatic'
14971 ;;
14972 esac
14973 ;;
14974 esac
14975 ;;
14976
14977 newsos6)
14978 lt_prog_compiler_pic='-KPIC'
14979 lt_prog_compiler_static='-Bstatic'
14980 ;;
14981
14982 *-mlibc)
14983 lt_prog_compiler_wl='-Wl,'
14984 lt_prog_compiler_pic='-fPIC'
14985 lt_prog_compiler_static='-static'
14986 ;;
14987
14988 *nto* | *qnx*)
14989 # QNX uses GNU C++, but need to define -shared option too, otherwise
14990 # it will coredump.
14991 lt_prog_compiler_pic='-fPIC -shared'
14992 ;;
14993
14994 osf3* | osf4* | osf5*)
14995 lt_prog_compiler_wl='-Wl,'
14996 # All OSF/1 code is PIC.
14997 lt_prog_compiler_static='-non_shared'
14998 ;;
14999
15000 rdos*)
15001 lt_prog_compiler_static='-non_shared'
15002 ;;
15003
15004 serenity*)
15005 ;;
15006
15007 solaris*)
15008 lt_prog_compiler_pic='-KPIC'
15009 lt_prog_compiler_static='-Bstatic'
15010 case $cc_basename in
15011 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
15012 lt_prog_compiler_wl='-Qoption ld ';;
15013 *)
15014 lt_prog_compiler_wl='-Wl,';;
15015 esac
15016 ;;
15017
15018 sunos4*)
15019 lt_prog_compiler_wl='-Qoption ld '
15020 lt_prog_compiler_pic='-PIC'
15021 lt_prog_compiler_static='-Bstatic'
15022 ;;
15023
15024 sysv4 | sysv4.2uw2* | sysv4.3*)
15025 lt_prog_compiler_wl='-Wl,'
15026 lt_prog_compiler_pic='-KPIC'
15027 lt_prog_compiler_static='-Bstatic'
15028 ;;
15029
15030 sysv4*MP*)
15031 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
15032 lt_prog_compiler_pic='-Kconform_pic'
15033 lt_prog_compiler_static='-Bstatic'
15034 fi
15035 ;;
15036
15037 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15038 lt_prog_compiler_wl='-Wl,'
15039 lt_prog_compiler_pic='-KPIC'
15040 lt_prog_compiler_static='-Bstatic'
15041 ;;
15042
15043 unicos*)
15044 lt_prog_compiler_wl='-Wl,'
15045 lt_prog_compiler_can_build_shared=no
15046 ;;
15047
15048 uts4*)
15049 lt_prog_compiler_pic='-pic'
15050 lt_prog_compiler_static='-Bstatic'
15051 ;;
15052
15053 *)
15054 lt_prog_compiler_can_build_shared=no
15055 ;;
15056 esac
15057 fi
15058
15059 case $host_os in
15060 # For platforms that do not support PIC, -DPIC is meaningless:
15061 *djgpp*)
15062 lt_prog_compiler_pic=
15063 ;;
15064 *)
15065 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15066 ;;
15067 esac
15068
15069 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15070 printfscip-shell system . . printf. %s "checking for $compiler option to produce PIC... " >&6; }
15071 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic+y}
15072 then :
15073 printfscip-shell system . . printf. %s "(cached) " >&6
15074 else case e in #(
15075 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
15076 esac
15077 fi
15078 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
15079 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
15080 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
15081
15082 #
15083 # Check to make sure the PIC flag actually works.
15084 #
15085 if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then
15086 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
15087 printfscip-shell system . . printf. %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
15088 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_works+y}
15089 then :
15090 printfscip-shell system . . printf. %s "(cached) " >&6
15091 else case e in #(
15092 e) lt_cv_prog_compiler_pic_works=no
15093 ac_outfile=conftest.$ac_objext
15094 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
15095 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
15096 # Insert the option either (1) after the last *FLAGS variable, or
15097 # (2) before a word containing "conftest.", or (3) at the end.
15098 # Note that $ac_compile itself does not contain backslashes and begins
15099 # with a dollar sign (not a hyphen), so the echo should work correctly.
15100 # The option is referenced via a variable to avoid confusing sed.
15101 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
15102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15104 -e 's:$: $lt_compiler_flag:'`
15105 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15106 (eval "$lt_compile" 2>conftest.err)
15107 ac_status=$?
15108 catscip-shell system . . cat. conftest.err >&5
15109 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
15110 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
15111 # The compiler can only warn and ignore the option if not recognized
15112 # So say no if there are warnings other than the usual output.
15113 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
15114 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
15115 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15116 lt_cv_prog_compiler_pic_works=yes
15117 fi
15118 fi
15119 $RM conftest*
15120 ;;
15121 esac
15122 fi
15123 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
15124 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
15125
15126 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works"; then
15127 case $lt_prog_compiler_pic in
15128 "" | " "*) ;;
15129 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15130 esac
15131 else
15132 lt_prog_compiler_pic=
15133 lt_prog_compiler_can_build_shared=no
15134 fi
15135
15136 fi
15137
15138
15139
15140
15141
15142 #
15143 # Check to make sure the static flag actually works.
15144 #
15145 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
15146 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15147 printfscip-shell system . . printf. %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15148 if testscip-shell system . . test. ${lt_cv_prog_compiler_static_works+y}
15149 then :
15150 printfscip-shell system . . printf. %s "(cached) " >&6
15151 else case e in #(
15152 e) lt_cv_prog_compiler_static_works=no
15153 save_LDFLAGS=$LDFLAGS
15154 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15155 echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext
15156 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
15157 # The linker can only warn and ignore the option if not recognized
15158 # So say no if there are warnings
15159 if testscip-shell system . . test. -s conftest.err; then
15160 # Append any errors to the config.log.
15161 catscip-shell system . . cat. conftest.err 1>&5
15162 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
15163 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
15164 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15165 lt_cv_prog_compiler_static_works=yes
15166 fi
15167 else
15168 lt_cv_prog_compiler_static_works=yes
15169 fi
15170 fi
15171 $RM -r conftest*
15172 LDFLAGS=$save_LDFLAGS
15173 ;;
15174 esac
15175 fi
15176 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
15177 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
15178
15179 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works"; then
15180 :
15181 else
15182 lt_prog_compiler_static=
15183 fi
15184
15185
15186
15187 ='-fPIC'
15188 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
15189 archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
15190 archive_cmds_need_lc=no
15191 no_undefined_flag=
15192 ;;
15193
15194 *)
15195 dynamic_linker=no
15196 ;;
15197 esac
15198 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15199 printfscip-shell system . . printf. "%s\n" "$dynamic_linker" >&6; }
15200 testscip-shell system . . test. no = "$dynamic_linker" && can_build_shared=no
15201
15202 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15203 if testscip-shell system . . test. yes = "$GCC"; then
15204 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15205 fi
15206
15207 if testscip-shell system . . test. set = "${lt_cv_sys_lib_search_path_spec+set}"; then
15208 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
15209 fi
15210
15211 if testscip-shell system . . test. set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
15212 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
15213 fi
15214
15215 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
15216 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
15217
15218 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
15219 func_munge_path_listscip-shell shell shell-project 0.0.0 func_munge_path_list(). sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
15220
15221 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
15222 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15321 printfscip-shell system . . printf. %s "checking how to hardcode library paths into programs... " >&6; }
15322 hardcode_action=
15323 if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec" ||
15324 testscip-shell system . . test. -n "$runpath_var" ||
15325 testscip-shell system . . test. yes = "$hardcode_automatic"; then
15326
15327 # We can hardcode non-existent directories.
15328 if testscip-shell system . . test. no != "$hardcode_direct" &&
15329 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15330 # have to relink, otherwise we might link with an installed library
15331 # when we should be linking with a yet-to-be-installed one
15332 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
15333 testscip-shell system . . test. no != "$hardcode_minus_L"; then
15334 # Linking always hardcodes the temporary library directory.
15335 hardcode_action=relink
15336 else
15337 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15338 hardcode_action=immediate
15339 fi
15340 else
15341 # We cannot hardcode anything, or else we can only hardcode existing
15342 # directories.
15343 hardcode_action=unsupported
15344 fi
15345 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
15346 printfscip-shell system . . printf. "%s\n" "$hardcode_action" >&6; }
15347
15348 if testscip-shell system . . test. relink = "$hardcode_action" ||
15349 testscip-shell system . . test. yes = "$inherit_rpath"; then
15350 # Fast installation is not supported
15351 enable_fast_install=no
15352 elif testscip-shell system . . test. yes = "$shlibpath_overrides_runpath" ||
15353 testscip-shell system . . test. no = "$enable_shared"; then
15354 # Fast installation is not necessary
15355 enable_fast_install=needless
15356 fi
15357
15358
15359
15360
15361
15362
15363 if testscip-shell system . . test. yes != "$enable_dlopen"; then
15364 enable_dlopen=unknown
15365 enable_dlopen_self=unknown
15366 enable_dlopen_self_static=unknown
15367 else
15368 lt_cv_dlopen=no
15369 lt_cv_dlopen_libs=
15370
15371 case $host_os in
15372 beos*)
15373 lt_cv_dlopen=load_add_on
15374 lt_cv_dlopen_libs=
15375 lt_cv_dlopen_self=yes
15376 ;;
15377
15378 mingw* | windows* | pw32* | cegcc*)
15379 lt_cv_dlopen=LoadLibrary
15380 lt_cv_dlopen_libs=
15381 ;;
15382
15383 cygwin*)
15384 lt_cv_dlopen=dlopen
15385 lt_cv_dlopen_libs=
15386 ;;
15387
15388 darwin*)
15389 # if libdl is installed we need to link against it
15390 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15391 printfscip-shell system . . printf. %s "checking for dlopen in -ldl... " >&6; }
15392 if testscip-shell system . . test. ${ac_cv_lib_dl_dlopen+y}
15393 then :
15394 printfscip-shell system . . printf. %s "(cached) " >&6
15395 else case e in #(
15396 e) ac_check_lib_save_LIBS=$LIBS
15397 LIBS="-ldl $LIBS"
15398 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15400
15401 /* Override any GCC internal prototype to avoid an error.
15402 Use char because int might match the return type of a GCC
15403 builtin and then its argument prototype would still apply.
15404 The 'extern "C"' is for builds by C++ compilers;
15405 although this is not generally supported in C code supporting it here
15406 has little cost and some practical benefit (sr 110532). */
15407 #ifdef __cplusplus
15408 extern "C"
15409 #endif
15410 char dlopen (void);
15411 int
15412 main (void)
15413 {
15414 return dlopen ();
15415 ;
15416 return 0;
15417 }
15418 _ACEOF
15419 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
15420 then :
15421 ac_cv_lib_dl_dlopen=yes
15422 else case e in #(
15423 e) ac_cv_lib_dl_dlopen=no ;;
15424 esac
15425 fi
15426 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15427 conftest$ac_exeext conftest.$ac_ext
15428 LIBS=$ac_check_lib_save_LIBS ;;
15429 esac
15430 fi
15431 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15432 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
15433 if testscip-shell system . . test. "x$ac_cv_lib_dl_dlopen" = xyes
15434 then :
15435 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15436 else case e in #(
15437 e)
15438 lt_cv_dlopen=dyld
15439 lt_cv_dlopen_libs=
15440 lt_cv_dlopen_self=yes
15441 ;;
15442 esac
15443 fi
15444
15445 ;;
15446
15447 tpf*)
15448 # Don't try to run any link tests for TPF. We know it's impossible
15449 # because TPF is a cross-compiler, and we know how we open DSOs.
15450 lt_cv_dlopen=dlopen
15451 lt_cv_dlopen_libs=
15452 lt_cv_dlopen_self=no
15453 ;;
15454
15455 *)
15456 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"
15457 if testscip-shell system . . test. "x$ac_cv_func_shl_load" = xyes
15458 then :
15459 lt_cv_dlopen=shl_load
15460 else case e in #(
15461 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
15462 printfscip-shell system . . printf. %s "checking for shl_load in -ldld... " >&6; }
15463 if testscip-shell system . . test. ${ac_cv_lib_dld_shl_load+y}
15464 then :
15465 printfscip-shell system . . printf. %s "(cached) " >&6
15466 else case e in #(
15467 e) ac_check_lib_save_LIBS=$LIBS
15468 LIBS="-ldld $LIBS"
15469 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15470 /* end confdefs.h. */
15471
15472 /* Override any GCC internal prototype to avoid an error.
15473 Use char because int might match the return type of a GCC
15474 builtin and then its argument prototype would still apply.
15475 The 'extern "C"' is for builds by C++ compilers;
15476 although this is not generally supported in C code supporting it here
15477 has little cost and some practical benefit (sr 110532). */
15478 #ifdef __cplusplus
15479 extern "C"
15480 #endif
15481 char shl_load (void);
15482 int
15483 main (void)
15484 {
15485 return shl_load ();
15486 ;
15487 return 0;
15488 }
15489 _ACEOF
15490 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
15491 then :
15492 ac_cv_lib_dld_shl_load=yes
15493 else case e in #(
15494 e) ac_cv_lib_dld_shl_load=no ;;
15495 esac
15496 fi
15497 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15498 conftest$ac_exeext conftest.$ac_ext
15499 LIBS=$ac_check_lib_save_LIBS ;;
15500 esac
15501 fi
15502 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
15503 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
15504 if testscip-shell system . . test. "x$ac_cv_lib_dld_shl_load" = xyes
15505 then :
15506 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
15507 else case e in #(
15508 e) ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "dlopen" "ac_cv_func_dlopen"
15509 if testscip-shell system . . test. "x$ac_cv_func_dlopen" = xyes
15510 then :
15511 lt_cv_dlopen=dlopen
15512 else case e in #(
15513 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15514 printfscip-shell system . . printf. %s "checking for dlopen in -ldl... " >&6; }
15515 if testscip-shell system . . test. ${ac_cv_lib_dl_dlopen+y}
15516 then :
15517 printfscip-shell system . . printf. %s "(cached) " >&6
15518 else case e in #(
15519 e) ac_check_lib_save_LIBS=$LIBS
15520 LIBS="-ldl $LIBS"
15521 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15523
15524 /* Override any GCC internal prototype to avoid an error.
15525 Use char because int might match the return type of a GCC
15526 builtin and then its argument prototype would still apply.
15527 The 'extern "C"' is for builds by C++ compilers;
15528 although this is not generally supported in C code supporting it here
15529 has little cost and some practical benefit (sr 110532). */
15530 #ifdef __cplusplus
15531 extern "C"
15532 #endif
15533 char dlopen (void);
15534 int
15535 main (void)
15536 {
15537 return dlopen ();
15538 ;
15539 return 0;
15540 }
15541 _ACEOF
15542 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
15543 then :
15544 ac_cv_lib_dl_dlopen=yes
15545 else case e in #(
15546 e) ac_cv_lib_dl_dlopen=no ;;
15547 esac
15548 fi
15549 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15550 conftest$ac_exeext conftest.$ac_ext
15551 LIBS=$ac_check_lib_save_LIBS ;;
15552 esac
15553 fi
15554 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15555 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
15556 if testscip-shell system . . test. "x$ac_cv_lib_dl_dlopen" = xyes
15557 then :
15558 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15559 else case e in #(
15560 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
15561 printfscip-shell system . . printf. %s "checking for dlopen in -lsvld... " >&6; }
15562 if testscip-shell system . . test. ${ac_cv_lib_svld_dlopen+y}
15563 then :
15564 printfscip-shell system . . printf. %s "(cached) " >&6
15565 else case e in #(
15566 e) ac_check_lib_save_LIBS=$LIBS
15567 LIBS="-lsvld $LIBS"
15568 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15570
15571 /* Override any GCC internal prototype to avoid an error.
15572 Use char because int might match the return type of a GCC
15573 builtin and then its argument prototype would still apply.
15574 The 'extern "C"' is for builds by C++ compilers;
15575 although this is not generally supported in C code supporting it here
15576 has little cost and some practical benefit (sr 110532). */
15577 #ifdef __cplusplus
15578 extern "C"
15579 #endif
15580 char dlopen (void);
15581 int
15582 main (void)
15583 {
15584 return dlopen ();
15585 ;
15586 return 0;
15587 }
15588 _ACEOF
15589 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
15590 then :
15591 ac_cv_lib_svld_dlopen=yes
15592 else case e in #(
15593 e) ac_cv_lib_svld_dlopen=no ;;
15594 esac
15595 fi
15596 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15597 conftest$ac_exeext conftest.$ac_ext
15598 LIBS=$ac_check_lib_save_LIBS ;;
15599 esac
15600 fi
15601 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15602 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
15603 if testscip-shell system . . test. "x$ac_cv_lib_svld_dlopen" = xyes
15604 then :
15605 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
15606 else case e in #(
15607 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15608 printfscip-shell system . . printf. %s "checking for dld_link in -ldld... " >&6; }
15609 if testscip-shell system . . test. ${ac_cv_lib_dld_dld_link+y}
15610 then :
15611 printfscip-shell system . . printf. %s "(cached) " >&6
15612 else case e in #(
15613 e) ac_check_lib_save_LIBS=$LIBS
15614 LIBS="-ldld $LIBS"
15615 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15616 /* end confdefs.h. */
15617
15618 /* Override any GCC internal prototype to avoid an error.
15619 Use char because int might match the return type of a GCC
15620 builtin and then its argument prototype would still apply.
15621 The 'extern "C"' is for builds by C++ compilers;
15622 although this is not generally supported in C code supporting it here
15623 has little cost and some practical benefit (sr 110532). */
15624 #ifdef __cplusplus
15625 extern "C"
15626 #endif
15627 char dld_link (void);
15628 int
15629 main (void)
15630 {
15631 return dld_link ();
15632 ;
15633 return 0;
15634 }
15635 _ACEOF
15636 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
15637 then :
15638 ac_cv_lib_dld_dld_link=yes
15639 else case e in #(
15640 e) ac_cv_lib_dld_dld_link=no ;;
15641 esac
15642 fi
15643 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15644 conftest$ac_exeext conftest.$ac_ext
15645 LIBS=$ac_check_lib_save_LIBS ;;
15646 esac
15647 fi
15648 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15649 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
15650 if testscip-shell system . . test. "x$ac_cv_lib_dld_dld_link" = xyes
15651 then :
15652 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
15653 fi
15654
15655 ;;
15656 esac
15657 fi
15658
15659 ;;
15660 esac
15661 fi
15662
15663 ;;
15664 esac
15665 fi
15666
15667 ;;
15668 esac
15669 fi
15670
15671 ;;
15672 esac
15673 fi
15674
15675 ;;
15676 esac
15677
15678 if testscip-shell system . . test. no = "$lt_cv_dlopen"; then
15679 enable_dlopen=no
15680 else
15681 enable_dlopen=yes
15682 fi
15683
15684 case $lt_cv_dlopen in
15685 dlopen)
15686 save_CPPFLAGS=$CPPFLAGS
15687 testscip-shell system . . test. yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15688
15689 save_LDFLAGS=$LDFLAGS
15690 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15691
15692 save_LIBS=$LIBS
15693 LIBS="$lt_cv_dlopen_libs $LIBS"
15694
15695 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15696 printfscip-shell system . . printf. %s "checking whether a program can dlopen itself... " >&6; }
15697 if testscip-shell system . . test. ${lt_cv_dlopen_self+y}
15698 then :
15699 printfscip-shell system . . printf. %s "(cached) " >&6
15700 else case e in #(
15701 e) if testscip-shell system . . test. yes = "$cross_compiling"; then :
15702 lt_cv_dlopen_self=cross
15703 else
15704 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15705 lt_status=$lt_dlunknown
15706 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
15707 #line $LINENO "configure"
15708 #include "confdefs.h"
15709
15710 #if HAVE_DLFCN_H
15711 #include <dlfcn.h>
15712 #endif
15713
15714 #include <stdio.h>
15715
15716 #ifdef RTLD_GLOBAL
15717 # define LT_DLGLOBAL RTLD_GLOBAL
15718 #else
15719 # ifdef DL_GLOBAL
15720 # define LT_DLGLOBAL DL_GLOBAL
15721 # else
15722 # define LT_DLGLOBAL 0
15723 # endif
15724 #endif
15725
15726 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15727 find out it does not work in some platform. */
15728 #ifndef LT_DLLAZY_OR_NOW
15729 # ifdef RTLD_LAZY
15730 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15731 # else
15732 # ifdef DL_LAZY
15733 # define LT_DLLAZY_OR_NOW DL_LAZY
15734 # else
15735 # ifdef RTLD_NOW
15736 # define LT_DLLAZY_OR_NOW RTLD_NOW
15737 # else
15738 # ifdef DL_NOW
15739 # define LT_DLLAZY_OR_NOW DL_NOW
15740 # else
15741 # define LT_DLLAZY_OR_NOW 0
15742 # endif
15743 # endif
15744 # endif
15745 # endif
15746 #endif
15747
15748 /* When -fvisibility=hidden is used, assume the code has been annotated
15749 correspondingly for the symbols needed. */
15750 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15751 int fnord (void) __attribute__((visibility("default")));
15752 #endif
15753
15754 int fnord (void) { return 42; }
15755 int main (void)
15756 {
15757 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15758 int status = $lt_dlunknown;
15759
15760 if (self)
15761 {
15762 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15763 else
15764 {
15765 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15766 else puts (dlerror ());
15767 }
15768 /* dlclose (self); */
15769 }
15770 else
15771 puts (dlerror ());
15772
15773 return status;
15774 }
15775 _LT_EOF
15776 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15777 (eval $ac_link) 2>&5
15778 ac_status=$?
15779 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15780 testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s "conftest$ac_exeext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
15781 (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`.
15782 lt_status=$?
15783 case x$lt_status in
15784 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15785 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15786 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15787 esac
15788 else :
15789 # compilation failed
15790 lt_cv_dlopen_self=no
15791 fi
15792 fi
15793 rmscip-shell system . . rm. -fr conftest*
15794
15795 ;;
15796 esac
15797 fi
15798 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15799 printfscip-shell system . . printf. "%s\n" "$lt_cv_dlopen_self" >&6; }
15800
15801 if testscip-shell system . . test. yes = "$lt_cv_dlopen_self"; then
15802 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
15803 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
15804 printfscip-shell system . . printf. %s "checking whether a statically linked program can dlopen itself... " >&6; }
15805 if testscip-shell system . . test. ${lt_cv_dlopen_self_static+y}
15806 then :
15807 printfscip-shell system . . printf. %s "(cached) " >&6
15808 else case e in #(
15809 e) if testscip-shell system . . test. yes = "$cross_compiling"; then :
15810 lt_cv_dlopen_self_static=cross
15811 else
15812 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15813 lt_status=$lt_dlunknown
15814 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
15815 #line $LINENO "configure"
15816 #include "confdefs.h"
15817
15818 #if HAVE_DLFCN_H
15819 #include <dlfcn.h>
15820 #endif
15821
15822 #include <stdio.h>
15823
15824 #ifdef RTLD_GLOBAL
15825 # define LT_DLGLOBAL RTLD_GLOBAL
15826 #else
15827 # ifdef DL_GLOBAL
15828 # define LT_DLGLOBAL DL_GLOBAL
15829 # else
15830 # define LT_DLGLOBAL 0
15831 # endif
15832 #endif
15833
15834 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15835 find out it does not work in some platform. */
15836 #ifndef LT_DLLAZY_OR_NOW
15837 # ifdef RTLD_LAZY
15838 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15839 # else
15840 # ifdef DL_LAZY
15841 # define LT_DLLAZY_OR_NOW DL_LAZY
15842 # else
15843 # ifdef RTLD_NOW
15844 # define LT_DLLAZY_OR_NOW RTLD_NOW
15845 # else
15846 # ifdef DL_NOW
15847 # define LT_DLLAZY_OR_NOW DL_NOW
15848 # else
15849 # define LT_DLLAZY_OR_NOW 0
15850 # endif
15851 # endif
15852 # endif
15853 # endif
15854 #endif
15855
15856 /* When -fvisibility=hidden is used, assume the code has been annotated
15857 correspondingly for the symbols needed. */
15858 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15859 int fnord (void) __attribute__((visibility("default")));
15860 #endif
15861
15862 int fnord (void) { return 42; }
15863 int main (void)
15864 {
15865 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15866 int status = $lt_dlunknown;
15867
15868 if (self)
15869 {
15870 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15871 else
15872 {
15873 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15874 else puts (dlerror ());
15875 }
15876 /* dlclose (self); */
15877 }
15878 else
15879 puts (dlerror ());
15880
15881 return status;
15882 }
15883 _LT_EOF
15884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15885 (eval $ac_link) 2>&5
15886 ac_status=$?
15887 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15888 testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s "conftest$ac_exeext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
15889 (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`.
15890 lt_status=$?
15891 case x$lt_status in
15892 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15893 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15894 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
15895 esac
15896 else :
15897 # compilation failed
15898 lt_cv_dlopen_self_static=no
15899 fi
15900 fi
15901 rmscip-shell system . . rm. -fr conftest*
15902
15903 ;;
15904 esac
15905 fi
15906 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15907 printfscip-shell system . . printf. "%s\n" "$lt_cv_dlopen_self_static" >&6; }
15908 fi
15909
15910 CPPFLAGS=$save_CPPFLAGS
15911 LDFLAGS=$save_LDFLAGS
15912 LIBS=$save_LIBS
15913 ;;
15914 esac
15915
15916 case $lt_cv_dlopen_self in
15917 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15918 *) enable_dlopen_self=unknown ;;
15919 esac
15920
15921 case $lt_cv_dlopen_self_static in
15922 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15923 *) enable_dlopen_self_static=unknown ;;
15924 esac
15925 fi
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943 striplib=
15944 old_striplib=
15945 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15946 printfscip-shell system . . printf. %s "checking whether stripping libraries is possible... " >&6; }
15947 if testscip-shell system . . test. -z "$STRIP"; then
15948 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15949 printfscip-shell system . . printf. "%s\n" "no" >&6; }
15950 else
15951 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15952 old_striplib="$STRIP --strip-debug"
15953 striplib="$STRIP --strip-unneeded"
15954 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15955 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15956 else
15957 case $host_os in
15958 darwin*)
15959 # FIXME - insert some real tests, host_os isn't really good enough
15960 striplib="$STRIP -x"
15961 old_striplib="$STRIP -S"
15962 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15963 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15964 ;;
15965 freebsd*)
15966 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15967 old_striplib="$STRIP --strip-debug"
15968 striplib="$STRIP --strip-unneeded"
15969 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15970 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15971 else
15972 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15973 printfscip-shell system . . printf. "%s\n" "no" >&6; }
15974 fi
15975 ;;
15976 *)
15977 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15978 printfscip-shell system . . printf. "%s\n" "no" >&6; }
15979 ;;
15980 esac
15981 fi
15982 fi
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995 # Report what library types will actually be built
15996 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15997 printfscip-shell system . . printf. %s "checking if libtool supports shared libraries... " >&6; }
15998 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15999 printfscip-shell system . . printf. "%s\n" "$can_build_shared" >&6; }
16000
16001 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
16002 printfscip-shell system . . printf. %s "checking whether to build shared libraries... " >&6; }
16003 testscip-shell system . . test. no = "$can_build_shared" && enable_shared=no
16004
16005 # On AIX, shared libraries and static libraries use the same namespace, and
16006 # are all built from PIC.
16007 case $host_os in
16008 aix3*)
16009 testscip-shell system . . test. yes = "$enable_shared" && enable_static=no
16010 if testscip-shell system . . test. -n "$RANLIB"; then
16011 archive_cmds="$archive_cmds~\$RANLIB \$lib"
16012 postinstall_cmds='$RANLIB $lib'
16013 fi
16014 ;;
16015
16016 aix[4-9]*)
16017 if testscip-shell system . . test. ia64 != "$host_cpu"; then
16018 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
16019 yes,aix,yes) ;; # shared object as lib.so file only
16020 yes,svr4,*) ;; # shared object as lib.so archive member only
16021 yes,*) enable_static=no ;; # shared object in lib.a archive as well
16022 esac
16023 fi
16024 ;;
16025 esac
16026 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
16027 printfscip-shell system . . printf. "%s\n" "$enable_shared" >&6; }
16028
16029 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
16030 printfscip-shell system . . printf. %s "checking whether to build static libraries... " >&6; }
16031 # Make sure either enable_shared or enable_static is yes.
16032 testscip-shell system . . test. yes = "$enable_shared" || enable_static=yes
16033 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
16034 printfscip-shell system . . printf. "%s\n" "$enable_static" >&6; }
16035
16036
16037
16038
16039 fi
16040 ac_ext=c
16041 ac_cpp='$CPP $CPPFLAGS'
16042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16045
16046 CC=$lt_save_CC
16047
16048 if testscip-shell system . . test. -n "$CXX" && ( testscip-shell system . . test. no != "$CXX" &&
16049 ( (testscip-shell system . . test. g++ = "$CXX" && `g++ -v >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1` ) ||
16050 (testscip-shell system . . test. g++ != "$CXX"))); then
16051 ac_ext=cpp
16052 ac_cpp='$CXXCPP $CPPFLAGS'
16053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16056 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
16057 printfscip-shell system . . printf. %s "checking how to run the C++ preprocessor... " >&6; }
16058 if testscip-shell system . . test. -z "$CXXCPP"; then
16059 if testscip-shell system . . test. ${ac_cv_prog_CXXCPP+y}
16060 then :
16061 printfscip-shell system . . printf. %s "(cached) " >&6
16062 else case e in #(
16063 e) # Double quotes because $CXX needs to be expanded
16064 for CXXCPP in "$CXX -E" cpp /lib/cppscip-shell filesystem . . `/lib/cpp`.
16065 do
16066 ac_preproc_ok=false
16067 for ac_cxx_preproc_warn_flag in '' yes
16068 do
16069 # Use a header file that comes with gcc, so configuring glibc
16070 # with a fresh cross-compiler works.
16071 # On the NeXT, cc -E runs the code through the compiler's parser,
16072 # not just through cpp. "Syntax error" is here to catch this case.
16073 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16074 /* end confdefs.h. */
16075 #include <limits.h>
16076 Syntax error
16077 _ACEOF
16078 if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO"
16079 then :
16080
16081 else case e in #(
16082 e) # Broken: fails on valid input.
16083 continue ;;
16084 esac
16085 fi
16086 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
16087
16088 # OK, works on sane cases. Now check whether nonexistent headers
16089 # can be detected and how.
16090 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16091 /* end confdefs.h. */
16092 #include <ac_nonexistent.h>
16093 _ACEOF
16094 if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO"
16095 then :
16096 # Broken: success on invalid input.
16097 continue
16098 else case e in #(
16099 e) # Passes both tests.
16100 ac_preproc_ok=:
16101 break ;;
16102 esac
16103 fi
16104 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
16105
16106 done
16107 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16108 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
16109 if $ac_preproc_ok
16110 then :
16111 break
16112 fi
16113
16114 done
16115 ac_cv_prog_CXXCPP=$CXXCPP
16116 ;;
16117 esac
16118 fi
16119 CXXCPP=$ac_cv_prog_CXXCPP
16120 else
16121 ac_cv_prog_CXXCPP=$CXXCPP
16122 fi
16123 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
16124 printfscip-shell system . . printf. "%s\n" "$CXXCPP" >&6; }
16125 ac_preproc_ok=false
16126 for ac_cxx_preproc_warn_flag in '' yes
16127 do
16128 # Use a header file that comes with gcc, so configuring glibc
16129 # with a fresh cross-compiler works.
16130 # On the NeXT, cc -E runs the code through the compiler's parser,
16131 # not just through cpp. "Syntax error" is here to catch this case.
16132 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16134 #include <limits.h>
16135 Syntax error
16136 _ACEOF
16137 if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO"
16138 then :
16139
16140 else case e in #(
16141 e) # Broken: fails on valid input.
16142 continue ;;
16143 esac
16144 fi
16145 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
16146
16147 # OK, works on sane cases. Now check whether nonexistent headers
16148 # can be detected and how.
16149 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16150 /* end confdefs.h. */
16151 #include <ac_nonexistent.h>
16152 _ACEOF
16153 if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO"
16154 then :
16155 # Broken: success on invalid input.
16156 continue
16157 else case e in #(
16158 e) # Passes both tests.
16159 ac_preproc_ok=:
16160 break ;;
16161 esac
16162 fi
16163 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
16164
16165 done
16166 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16167 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
16168 if $ac_preproc_ok
16169 then :
16170
16171 else case e in #(
16172 e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
16173 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
16174 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "C++ preprocessor \"$CXXCPP\" fails sanity check
16175 See 'config.log' for more details" "$LINENO" 5; } ;;
16176 esac
16177 fi
16178
16179 ac_ext=c
16180 ac_cpp='$CPP $CPPFLAGS'
16181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16184
16185 else
16186 _lt_caught_CXX_error=yes
16187 fi
16188
16189 ac_ext=cpp
16190 ac_cpp='$CXXCPP $CPPFLAGS'
16191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16194
16195 archive_cmds_need_lc_CXX=no
16196 allow_undefined_flag_CXX=
16197 always_export_symbols_CXX=no
16198 archive_expsym_cmds_CXX=
16199 compiler_needs_object_CXX=no
16200 export_dynamic_flag_spec_CXX=
16201 hardcode_direct_CXX=no
16202 hardcode_direct_absolute_CXX=no
16203 hardcode_libdir_flag_spec_CXX=
16204 hardcode_libdir_separator_CXX=
16205 hardcode_minus_L_CXX=no
16206 hardcode_shlibpath_var_CXX=unsupported
16207 hardcode_automatic_CXX=no
16208 inherit_rpath_CXX=no
16209 module_cmds_CXX=
16210 module_expsym_cmds_CXX=
16211 link_all_deplibs_CXX=unknown
16212 old_archive_cmds_CXX=$old_archive_cmds
16213 reload_flag_CXX=$reload_flag
16214 reload_cmds_CXX=$reload_cmds
16215 no_undefined_flag_CXX=
16216 whole_archive_flag_spec_CXX=
16217 enable_shared_with_static_runtimes_CXX=no
16218
16219 # Source file extension for C++ test sources.
16220 ac_ext=cpp
16221
16222 # Object file extension for compiled C++ test sources.
16223 objext=o
16224 objext_CXX=$objext
16225
16226 # No sense in running all these tests if we already determined that
16227 # the CXX compiler isn't working. Some variables (like enable_shared)
16228 # are currently assumed to apply to all compilers on this platform,
16229 # and will be corrupted by setting them based on a non-working compiler.
16230 if testscip-shell system . . test. yes != "$_lt_caught_CXX_error"; then
16231 # Code to be used in simple compile tests
16232 lt_simple_compile_test_code="int some_variable = 0;"
16233
16234 # Code to be used in simple link tests
16235 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
16236
16237 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16238
16239
16240
16241
16242
16243
16244 # If no C compiler was specified, use CC.
16245 LTCC=${LTCC-"$CC"}
16246
16247 # If no C compiler flags were specified, use CFLAGS.
16248 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16249
16250 # Allow CC to be a program name with arguments.
16251 compiler=$CC
16252
16253
16254 # save warnings/boilerplate of simple test code
16255 ac_outfile=conftest.$ac_objext
16256 echoscip-shell system . . echo. "$lt_simple_compile_test_code" >conftest.$ac_ext
16257 eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
16258 _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err`
16259 $RM conftest*
16260
16261 ac_outfile=conftest.$ac_objext
16262 echoscip-shell system . . echo. "$lt_simple_link_test_code" >conftest.$ac_ext
16263 eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
16264 _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err`
16265 $RM -r conftest*
16266
16267
16268 # Allow CC to be a program name with arguments.
16269 lt_save_CC=$CC
16270 lt_save_CFLAGS=$CFLAGS
16271 lt_save_LD=$LD
16272 lt_save_GCC=$GCC
16273 GCC=$GXX
16274 lt_save_with_gnu_ld=$with_gnu_ld
16275 lt_save_path_LD=$lt_cv_path_LD
16276 if testscip-shell system . . test. -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16277 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16278 else
16279 $as_unset lt_cv_prog_gnu_ld
16280 fi
16281 if testscip-shell system . . test. -n "${lt_cv_path_LDCXX+set}"; then
16282 lt_cv_path_LD=$lt_cv_path_LDCXX
16283 else
16284 $as_unset lt_cv_path_LD
16285 fi
16286 testscip-shell system . . test. -z "${LDCXX+set}" || LD=$LDCXX
16287 CC=${CXX-"c++"}
16288 CFLAGS=$CXXFLAGS
16289 compiler=$CC
16290 compiler_CXX=$CC
16291 func_cc_basenamescip-shell shell shell-project 0.0.0 func_cc_basename(). $compiler
16292 cc_basename=$func_cc_basename_result
16293
16294
16295 if testscip-shell system . . test. -n "$compiler"; then
16296 # We don't want -fno-exception when compiling C++ code, so set the
16297 # no_builtin_flag separately
16298 if testscip-shell system . . test. yes = "$GXX"; then
16299 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16300 else
16301 lt_prog_compiler_no_builtin_flag_CXX=
16302 fi
16303
16304 if testscip-shell system . . test. yes = "$GXX"; then
16305 # Set up default GNU C++ configuration
16306
16307
16308
16309 # Check whether --with-gnu-ld was given.
16310 if testscip-shell system . . test. ${with_gnu_ld+y}
16311 then :
16312 withval=$with_gnu_ld; testscip-shell system . . test. no = "$withval" || with_gnu_ld=yes
16313 else case e in #(
16314 e) with_gnu_ld=no ;;
16315 esac
16316 fi
16317
16318 ac_prog=ld
16319 if testscip-shell system . . test. yes = "$GCC"; then
16320 # Check if gcc -print-prog-name=ld gives a path.
16321 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16322 printfscip-shell system . . printf. %s "checking for ld used by $CC... " >&6; }
16323 case $host in
16324 *-*-mingw* | *-*-windows*)
16325 # gcc leaves a trailing carriage return, which upsets mingw
16326 ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;;
16327 *)
16328 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16329 esac
16330 case $ac_prog in
16331 # Accept absolute paths.
16332 [\\/]* | ?:[\\/]*)
16333 re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.'
16334 # Canonicalize the pathname of ld
16335 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16336 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do
16337 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16338 done
16339 testscip-shell system . . test. -z "$LD" && LD=$ac_prog
16340 ;;
16341 "")
16342 # If it fails, then pretend we aren't using GCC.
16343 ac_prog=ld
16344 ;;
16345 *)
16346 # If it is relative, then search for the first ld in PATH.
16347 with_gnu_ld=unknown
16348 ;;
16349 esac
16350 elif testscip-shell system . . test. yes = "$with_gnu_ld"; then
16351 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16352 printfscip-shell system . . printf. %s "checking for GNU ld... " >&6; }
16353 else
16354 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16355 printfscip-shell system . . printf. %s "checking for non-GNU ld... " >&6; }
16356 fi
16357 if testscip-shell system . . test. ${lt_cv_path_LD+y}
16358 then :
16359 printfscip-shell system . . printf. %s "(cached) " >&6
16360 else case e in #(
16361 e) if testscip-shell system . . test. -z "$LD"; then
16362 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
16363 for ac_dir in $PATH; do
16364 IFS=$lt_save_ifs
16365 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
16366 if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then
16367 lt_cv_path_LD=$ac_dir/$ac_prog
16368 # Check to see if the program is GNU ld. I'd rather use --version,
16369 # but apparently some variants of GNU ld only accept -v.
16370 # Break only if it was the GNU/non-GNU ld that we prefer.
16371 case `"$lt_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
16372 *GNU* | *'with BFD'*)
16373 testscip-shell system . . test. no != "$with_gnu_ld" && break
16374 ;;
16375 *)
16376 testscip-shell system . . test. yes != "$with_gnu_ld" && break
16377 ;;
16378 esac
16379 fi
16380 done
16381 IFS=$lt_save_ifs
16382 else
16383 lt_cv_path_LD=$LD # Let the user override the test with a path.
16384 fi ;;
16385 esac
16386 fi
16387
16388 LD=$lt_cv_path_LD
16389 if testscip-shell system . . test. -n "$LD"; then
16390 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16391 printfscip-shell system . . printf. "%s\n" "$LD" >&6; }
16392 else
16393 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16394 printfscip-shell system . . printf. "%s\n" "no" >&6; }
16395 fi
16396 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
16397 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16398 printfscip-shell system . . printf. %s "checking if the linker ($LD) is GNU ld... " >&6; }
16399 if testscip-shell system . . test. ${lt_cv_prog_gnu_ld+y}
16400 then :
16401 printfscip-shell system . . printf. %s "(cached) " >&6
16402 else case e in #(
16403 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
16404 case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
16405 *GNU* | *'with BFD'*)
16406 lt_cv_prog_gnu_ld=yes
16407 ;;
16408 *)
16409 lt_cv_prog_gnu_ld=no
16410 ;;
16411 esac ;;
16412 esac
16413 fi
16414 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16415 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
16416 with_gnu_ld=$lt_cv_prog_gnu_ld
16417
16418
16419
16420
16421
16422
16423
16424 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16425 # archiving commands below assume that GNU ld is being used.
16426 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
16427 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16428 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'
16429
16430 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16431 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16432
16433 # If archive_cmds runs LD, not CC, wlarc should be empty
16434 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16435 # investigate it a little bit more. (MM)
16436 wlarc='$wl'
16437
16438 # ancient GNU ld didn't support --whole-archive et. al.
16439 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
16440 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16441 else
16442 whole_archive_flag_spec_CXX=
16443 fi
16444 else
16445 with_gnu_ld=no
16446 wlarc=
16447
16448 # A generic and very simple default shared library creation
16449 # command for GNU C++ for the case where it uses the native
16450 # linker, instead of GNU ld. If possible, this setting should
16451 # overridden to take advantage of the native linker features on
16452 # the platform it is being used on.
16453 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16454 fi
16455
16456 # Commands to make compiler produce verbose output that lists
16457 # what "hidden" libraries, object files and flags are used when
16458 # linking a shared library.
16459 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
16460
16461 else
16462 GXX=no
16463 with_gnu_ld=no
16464 wlarc=
16465 fi
16466
16467 # PORTME: fill in a description of your system's C++ link characteristics
16468 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16469 printfscip-shell system . . printf. %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16470 ld_shlibs_CXX=yes
16471 case $host_os in
16472 aix3*)
16473 # FIXME: insert proper C++ library support
16474 ld_shlibs_CXX=no
16475 ;;
16476 aix[4-9]*)
16477 if testscip-shell system . . test. ia64 = "$host_cpu"; then
16478 # On IA64, the linker does run time linking by default, so we don't
16479 # have to do anything special.
16480 aix_use_runtimelinking=no
16481 exp_sym_flag='-Bexport'
16482 no_entry_flag=
16483 else
16484 aix_use_runtimelinking=no
16485
16486 # Test if we are trying to use run time linking or normal
16487 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16488 # have runtime linking enabled, and use it for executables.
16489 # For shared libraries, we enable/disable runtime linking
16490 # depending on the kind of the shared library created -
16491 # when "with_aix_soname,aix_use_runtimelinking" is:
16492 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
16493 # "aix,yes" lib.so shared, rtl:yes, for executables
16494 # lib.a static archive
16495 # "both,no" lib.so.V(shr.o) shared, rtl:yes
16496 # lib.a(lib.so.V) shared, rtl:no, for executables
16497 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
16498 # lib.a(lib.so.V) shared, rtl:no
16499 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
16500 # lib.a static archive
16501 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16502 for ld_flag in $LDFLAGS; do
16503 case $ld_flag in
16504 *-brtl*)
16505 aix_use_runtimelinking=yes
16506 break
16507 ;;
16508 esac
16509 done
16510 if testscip-shell system . . test. svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
16511 # With aix-soname=svr4, we create the lib.so.V shared archives only,
16512 # so we don't have lib.a shared libs to link our executables.
16513 # We have to force runtime linking in this case.
16514 aix_use_runtimelinking=yes
16515 LDFLAGS="$LDFLAGS -Wl,-brtl"
16516 fi
16517 ;;
16518 esac
16519
16520 exp_sym_flag='-bexport'
16521 no_entry_flag='-bnoentry'
16522 fi
16523
16524 # When large executables or shared objects are built, AIX ld can
16525 # have problems creating the table of contents. If linking a library
16526 # or program results in "error TOC overflow" add -mminimal-toc to
16527 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16528 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16529
16530 archive_cmds_CXX=''
16531 hardcode_direct_CXX=yes
16532 hardcode_direct_absolute_CXX=yes
16533 hardcode_libdir_separator_CXX=':'
16534 link_all_deplibs_CXX=yes
16535 file_list_spec_CXX='$wl-f,'
16536 case $with_aix_soname,$aix_use_runtimelinking in
16537 aix,*) ;; # no import file
16538 svr4,* | *,yes) # use import file
16539 # The Import File defines what to hardcode.
16540 hardcode_direct_CXX=no
16541 hardcode_direct_absolute_CXX=no
16542 ;;
16543 esac
16544
16545 if testscip-shell system . . test. yes = "$GXX"; then
16546 case $host_os in aix4.[012]|aix4.[012].*)
16547 # We only want to do this on AIX 4.2 and lower, the check
16548 # below for broken collect2 doesn't work under 4.3+
16549 collect2name=`$CC -print-prog-name=collect2`
16550 if testscip-shell system . . test. -f "$collect2name" &&
16551 stringsscip-shell system . . strings. "$collect2name" | $GREP resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`.
16552 then
16553 # We have reworked collect2
16554 :
16555 else
16556 # We have old collect2
16557 hardcode_direct_CXX=unsupported
16558 # It fails to find uninstalled libraries when the uninstalled
16559 # path is not listed in the libpath. Setting hardcode_minus_L
16560 # to unsupported forces relinking
16561 hardcode_minus_L_CXX=yes
16562 hardcode_libdir_flag_spec_CXX='-L$libdir'
16563 hardcode_libdir_separator_CXX=
16564 fi
16565 esac
16566 shared_flag='-shared'
16567 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
16568 shared_flag=$shared_flag' $wl-G'
16569 fi
16570 # Need to ensure runtime linking is disabled for the traditional
16571 # shared library, or the linker may eventually find shared libraries
16572 # /with/ Import File - we do not want to mix them.
16573 shared_flag_aix='-shared'
16574 shared_flag_svr4='-shared $wl-G'
16575 else
16576 # not using gcc
16577 if testscip-shell system . . test. ia64 = "$host_cpu"; then
16578 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16579 # chokes on -Wl,-G. The following line is correct:
16580 shared_flag='-G'
16581 else
16582 if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then
16583 shared_flag='$wl-G'
16584 else
16585 shared_flag='$wl-bM:SRE'
16586 fi
16587 shared_flag_aix='$wl-bM:SRE'
16588 shared_flag_svr4='$wl-G'
16589 fi
16590 fi
16591
16592 export_dynamic_flag_spec_CXX='$wl-bexpall'
16593 # It seems that -bexpall does not export symbols beginning with
16594 # underscore (_), so it is better to generate a list of symbols to
16595 # export.
16596 always_export_symbols_CXX=yes
16597 if testscip-shell system . . test. aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
16598 # Warning - without using the other runtime loading flags (-brtl),
16599 # -berok will link without error, but may produce a broken library.
16600 # The "-G" linker flag allows undefined symbols.
16601 no_undefined_flag_CXX='-bernotok'
16602 # Determine the default libpath from the value encoded in an empty
16603 # executable.
16604 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
16605 aix_libpath=$lt_cv_aix_libpath
16606 else
16607 if testscip-shell system . . test. ${lt_cv_aix_libpath__CXX+y}
16608 then :
16609 printfscip-shell system . . printf. %s "(cached) " >&6
16610 else case e in #(
16611 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16612 /* end confdefs.h. */
16613
16614 int
16615 main (void)
16616 {
16617
16618 ;
16619 return 0;
16620 }
16621 _ACEOF
16622 if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO"
16623 then :
16624
16625 lt_aix_libpath_sed='
16626 /Import File Strings/,/^$/ {
16627 /^0/ {
16628 s/^0 *\([^ ]*\) *$/\1/
16629 p
16630 }
16631 }'
16632 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
16633 # Check for a 64-bit object if we didn't find anything.
16634 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
16635 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
16636 fi
16637 fi
16638 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
16639 conftest$ac_exeext conftest.$ac_ext
16640 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
16641 lt_cv_aix_libpath__CXX=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
16642 fi
16643 ;;
16644 esac
16645 fi
16646
16647 aix_libpath=$lt_cv_aix_libpath__CXX
16648 fi
16649
16650 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
16651
16652 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
16653 else
16654 if testscip-shell system . . test. ia64 = "$host_cpu"; then
16655 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
16656 allow_undefined_flag_CXX="-z nodefs"
16657 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"
16658 else
16659 # Determine the default libpath from the value encoded in an
16660 # empty executable.
16661 if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then
16662 aix_libpath=$lt_cv_aix_libpath
16663 else
16664 if testscip-shell system . . test. ${lt_cv_aix_libpath__CXX+y}
16665 then :
16666 printfscip-shell system . . printf. %s "(cached) " >&6
16667 else case e in #(
16668 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670
16671 int
16672 main (void)
16673 {
16674
16675 ;
16676 return 0;
16677 }
16678 _ACEOF
16679 if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO"
16680 then :
16681
16682 lt_aix_libpath_sed='
16683 /Import File Strings/,/^$/ {
16684 /^0/ {
16685 s/^0 *\([^ ]*\) *$/\1/
16686 p
16687 }
16688 }'
16689 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
16690 # Check for a 64-bit object if we didn't find anything.
16691 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
16692 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"`
16693 fi
16694 fi
16695 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
16696 conftest$ac_exeext conftest.$ac_ext
16697 if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then
16698 lt_cv_aix_libpath__CXX=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`.
16699 fi
16700 ;;
16701 esac
16702 fi
16703
16704 aix_libpath=$lt_cv_aix_libpath__CXX
16705 fi
16706
16707 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
16708 # Warning - without using the other run time loading flags,
16709 # -berok will link without error, but may produce a broken library.
16710 no_undefined_flag_CXX=' $wl-bernotok'
16711 allow_undefined_flag_CXX=' $wl-berok'
16712 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
16713 # We only use this code for GNU lds that support --whole-archive.
16714 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
16715 else
16716 # Exported symbols can be pulled into shared objects from archives
16717 whole_archive_flag_spec_CXX='$convenience'
16718 fi
16719 archive_cmds_need_lc_CXX=yes
16720 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
16721 # -brtl affects multiple linker settings, -berok does not and is overridden later
16722 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
16723 if testscip-shell system . . test. svr4 != "$with_aix_soname"; then
16724 # This is similar to how AIX traditionally builds its shared
16725 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
16726 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'
16727 fi
16728 if testscip-shell system . . test. aix != "$with_aix_soname"; then
16729 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'
16730 else
16731 # used by -dlpreopen to get the symbols
16732 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
16733 fi
16734 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
16735 fi
16736 fi
16737 ;;
16738
16739 beos*)
16740 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
16741 allow_undefined_flag_CXX=unsupported
16742 # Joseph Beckenbach <[email protected]> says some releases of gcc
16743 # support --undefined. This deserves some investigation. FIXME
16744 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16745 else
16746 ld_shlibs_CXX=no
16747 fi
16748 ;;
16749
16750 chorus*)
16751 case $cc_basename in
16752 *)
16753 # FIXME: insert proper C++ library support
16754 ld_shlibs_CXX=no
16755 ;;
16756 esac
16757 ;;
16758
16759 cygwin* | mingw* | windows* | pw32* | cegcc*)
16760 case $GXX,$cc_basename in
16761 ,cl* | no,cl* | ,icl* | no,icl*)
16762 # Native MSVC or ICC
16763 # hardcode_libdir_flag_spec is actually meaningless, as there is
16764 # no search path for DLLs.
16765 hardcode_libdir_flag_spec_CXX=' '
16766 allow_undefined_flag_CXX=unsupported
16767 always_export_symbols_CXX=yes
16768 file_list_spec_CXX='@'
16769 # Tell ltmain to make .lib files, not .a files.
16770 libext=lib
16771 # Tell ltmain to make .dll files, not .so files.
16772 shrext_cmds=.dll
16773 # FIXME: Setting linknames here is a bad hack.
16774 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
16775 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16776 cp "$export_symbols" "$output_objdir/$soname.def";
16777 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
16778 else
16779 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
16780 fi~
16781 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
16782 linknames='
16783 # The linker will not automatically build a static lib if we build a DLL.
16784 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
16785 enable_shared_with_static_runtimes_CXX=yes
16786 # Don't use ranlib
16787 old_postinstall_cmds_CXX='chmod 644 $oldlib'
16788 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
16789 lt_tool_outputfile="@TOOL_OUTPUT@"~
16790 case $lt_outputfile in
16791 *.exe|*.EXE) ;;
16792 *)
16793 lt_outputfile=$lt_outputfile.exe
16794 lt_tool_outputfile=$lt_tool_outputfile.exe
16795 ;;
16796 esac~
16797 func_to_tool_file "$lt_outputfile"~
16798 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
16799 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
16800 $RM "$lt_outputfile.manifest";
16801 fi'
16802 ;;
16803 *)
16804 # g++
16805 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16806 # as there is no search path for DLLs.
16807 hardcode_libdir_flag_spec_CXX='-L$libdir'
16808 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
16809 allow_undefined_flag_CXX=unsupported
16810 always_export_symbols_CXX=no
16811 enable_shared_with_static_runtimes_CXX=yes
16812 file_list_spec_CXX='@'
16813
16814 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
16815 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'
16816 # If the export-symbols file already is a .def file, use it as
16817 # is; otherwise, prepend EXPORTS...
16818 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16819 cp $export_symbols $output_objdir/$soname.def;
16820 else
16821 echo EXPORTS > $output_objdir/$soname.def;
16822 cat $export_symbols >> $output_objdir/$soname.def;
16823 fi~
16824 $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'
16825 else
16826 ld_shlibs_CXX=no
16827 fi
16828 ;;
16829 esac
16830 ;;
16831 darwin* | rhapsody*)
16832
16833
16834 archive_cmds_need_lc_CXX=no
16835 hardcode_direct_CXX=no
16836 hardcode_automatic_CXX=yes
16837 hardcode_shlibpath_var_CXX=unsupported
16838 if testscip-shell system . . test. yes = "$lt_cv_ld_force_load"; then
16839 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\"`'
16840
16841 else
16842 whole_archive_flag_spec_CXX=''
16843 fi
16844 link_all_deplibs_CXX=yes
16845 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
16846 case $cc_basename in
16847 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
16848 *) _lt_dar_can_shared=$GCC ;;
16849 esac
16850 if testscip-shell system . . test. yes = "$_lt_dar_can_shared"; then
16851 output_verbose_link_cmd=func_echo_all
16852 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"
16853 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
16854 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"
16855 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"
16856 if testscip-shell system . . test. yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then
16857 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"
16858 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"
16859 fi
16860
16861 else
16862 ld_shlibs_CXX=no
16863 fi
16864
16865 ;;
16866
16867 os2*)
16868 hardcode_libdir_flag_spec_CXX='-L$libdir'
16869 hardcode_minus_L_CXX=yes
16870 allow_undefined_flag_CXX=unsupported
16871 shrext_cmds=.dll
16872 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16873 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16874 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16875 $ECHO EXPORTS >> $output_objdir/$libname.def~
16876 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
16877 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16878 emximp -o $lib $output_objdir/$libname.def'
16879 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16880 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16881 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16882 $ECHO EXPORTS >> $output_objdir/$libname.def~
16883 prefix_cmds="$SED"~
16884 if test EXPORTS = "`$SED 1q $export_symbols`"; then
16885 prefix_cmds="$prefix_cmds -e 1d";
16886 fi~
16887 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
16888 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
16889 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16890 emximp -o $lib $output_objdir/$libname.def'
16891 old_archive_from_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
16892 enable_shared_with_static_runtimes_CXX=yes
16893 file_list_spec_CXX='@'
16894 ;;
16895
16896 dgux*)
16897 case $cc_basename in
16898 ec++*)
16899 # FIXME: insert proper C++ library support
16900 ld_shlibs_CXX=no
16901 ;;
16902 ghcx*)
16903 # Green Hills C++ Compiler
16904 # FIXME: insert proper C++ library support
16905 ld_shlibs_CXX=no
16906 ;;
16907 *)
16908 # FIXME: insert proper C++ library support
16909 ld_shlibs_CXX=no
16910 ;;
16911 esac
16912 ;;
16913
16914 freebsd2.*)
16915 # C++ shared libraries reported to be fairly broken before
16916 # switch to ELF
16917 ld_shlibs_CXX=no
16918 ;;
16919
16920 freebsd-elf*)
16921 archive_cmds_need_lc_CXX=no
16922 ;;
16923
16924 freebsd* | dragonfly* | midnightbsd*)
16925 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16926 # conventions
16927 ld_shlibs_CXX=yes
16928 ;;
16929
16930 haiku*)
16931 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16932 link_all_deplibs_CXX=no
16933 ;;
16934
16935 hpux9*)
16936 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
16937 hardcode_libdir_separator_CXX=:
16938 export_dynamic_flag_spec_CXX='$wl-E'
16939 hardcode_direct_CXX=yes
16940 hardcode_minus_L_CXX=yes # Not in the search PATH,
16941 # but as the default
16942 # location of the library.
16943
16944 case $cc_basename in
16945 CC*)
16946 # FIXME: insert proper C++ library support
16947 ld_shlibs_CXX=no
16948 ;;
16949 aCC*)
16950 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'
16951 # Commands to make compiler produce verbose output that lists
16952 # what "hidden" libraries, object files and flags are used when
16953 # linking a shared library.
16954 #
16955 # There doesn't appear to be a way to prevent this compiler from
16956 # explicitly linking system object files so we need to strip them
16957 # from the output so that they don't get included in the library
16958 # dependencies.
16959 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"'
16960 ;;
16961 *)
16962 if testscip-shell system . . test. yes = "$GXX"; then
16963 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'
16964 else
16965 # FIXME: insert proper C++ library support
16966 ld_shlibs_CXX=no
16967 fi
16968 ;;
16969 esac
16970 ;;
16971
16972 hpux10*|hpux11*)
16973 if testscip-shell system . . test. no = "$with_gnu_ld"; then
16974 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
16975 hardcode_libdir_separator_CXX=:
16976
16977 case $host_cpu in
16978 hppa*64*|ia64*)
16979 ;;
16980 *)
16981 export_dynamic_flag_spec_CXX='$wl-E'
16982 ;;
16983 esac
16984 fi
16985 case $host_cpu in
16986 hppa*64*|ia64*)
16987 hardcode_direct_CXX=no
16988 hardcode_shlibpath_var_CXX=no
16989 ;;
16990 *)
16991 hardcode_direct_CXX=yes
16992 hardcode_direct_absolute_CXX=yes
16993 hardcode_minus_L_CXX=yes # Not in the search PATH,
16994 # but as the default
16995 # location of the library.
16996 ;;
16997 esac
16998
16999 case $cc_basename in
17000 CC*)
17001 # FIXME: insert proper C++ library support
17002 ld_shlibs_CXX=no
17003 ;;
17004 aCC*)
17005 case $host_cpu in
17006 hppa*64*)
17007 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17008 ;;
17009 ia64*)
17010 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17011 ;;
17012 *)
17013 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17014 ;;
17015 esac
17016 # Commands to make compiler produce verbose output that lists
17017 # what "hidden" libraries, object files and flags are used when
17018 # linking a shared library.
17019 #
17020 # There doesn't appear to be a way to prevent this compiler from
17021 # explicitly linking system object files so we need to strip them
17022 # from the output so that they don't get included in the library
17023 # dependencies.
17024 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"'
17025 ;;
17026 *)
17027 if testscip-shell system . . test. yes = "$GXX"; then
17028 if testscip-shell system . . test. no = "$with_gnu_ld"; then
17029 case $host_cpu in
17030 hppa*64*)
17031 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17032 ;;
17033 ia64*)
17034 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17035 ;;
17036 *)
17037 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'
17038 ;;
17039 esac
17040 fi
17041 else
17042 # FIXME: insert proper C++ library support
17043 ld_shlibs_CXX=no
17044 fi
17045 ;;
17046 esac
17047 ;;
17048
17049 interix[3-9]*)
17050 hardcode_direct_CXX=no
17051 hardcode_shlibpath_var_CXX=no
17052 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
17053 export_dynamic_flag_spec_CXX='$wl-E'
17054 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17055 # Instead, shared libraries are loaded at an image base (0x10000000 by
17056 # default) and relocated if they conflict, which is a slow very memory
17057 # consuming and fragmenting process. To avoid this, we pick a random,
17058 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17059 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17060 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'
17061 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'
17062 ;;
17063 irix5* | irix6*)
17064 case $cc_basename in
17065 CC*)
17066 # SGI C++
17067 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'
17068
17069 # Archives containing C++ object files must be created using
17070 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
17071 # necessary to make sure instantiated templates are included
17072 # in the archive.
17073 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
17074 ;;
17075 *)
17076 if testscip-shell system . . test. yes = "$GXX"; then
17077 if testscip-shell system . . test. no = "$with_gnu_ld"; then
17078 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'
17079 else
17080 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'
17081 fi
17082 fi
17083 link_all_deplibs_CXX=yes
17084 ;;
17085 esac
17086 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
17087 hardcode_libdir_separator_CXX=:
17088 inherit_rpath_CXX=yes
17089 ;;
17090
17091 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17092 case $cc_basename in
17093 KCC*)
17094 # Kuck and Associates, Inc. (KAI) C++ Compiler
17095
17096 # KCC will only create a shared library if the output file
17097 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17098 # to its proper name (with version) after linking.
17099 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'
17100 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'
17101 # Commands to make compiler produce verbose output that lists
17102 # what "hidden" libraries, object files and flags are used when
17103 # linking a shared library.
17104 #
17105 # There doesn't appear to be a way to prevent this compiler from
17106 # explicitly linking system object files so we need to strip them
17107 # from the output so that they don't get included in the library
17108 # dependencies.
17109 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"'
17110
17111 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
17112 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
17113
17114 # Archives containing C++ object files must be created using
17115 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17116 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
17117 ;;
17118 icpc* | ecpc* )
17119 # Intel C++
17120 with_gnu_ld=yes
17121 # version 8.0 and above of icpc choke on multiply defined symbols
17122 # if we add $predep_objects and $postdep_objects, however 7.1 and
17123 # earlier do not add the objects themselves.
17124 case `$CC -V 2>&1` in
17125 *"Version 7."*)
17126 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17127 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'
17128 ;;
17129 *) # Version 8.0 or newer
17130 tmp_idyn=
17131 case $host_cpu in
17132 ia64*) tmp_idyn=' -i_dynamic';;
17133 esac
17134 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17135 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'
17136 ;;
17137 esac
17138 archive_cmds_need_lc_CXX=no
17139 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
17140 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
17141 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
17142 ;;
17143 pgCC* | pgcpp*)
17144 # Portland Group C++ compiler
17145 case `$CC -V` in
17146 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
17147 prelink_cmds_CXX='tpldir=Template.dir~
17148 rm -rf $tpldir~
17149 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
17150 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
17151 old_archive_cmds_CXX='tpldir=Template.dir~
17152 rm -rf $tpldir~
17153 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
17154 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
17155 $RANLIB $oldlib'
17156 archive_cmds_CXX='tpldir=Template.dir~
17157 rm -rf $tpldir~
17158 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17159 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17160 archive_expsym_cmds_CXX='tpldir=Template.dir~
17161 rm -rf $tpldir~
17162 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17163 $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'
17164 ;;
17165 *) # Version 6 and above use weak symbols
17166 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17167 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'
17168 ;;
17169 esac
17170
17171 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
17172 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
17173 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'
17174 ;;
17175 cxx*)
17176 # Compaq C++
17177 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17178 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'
17179
17180 runpath_var=LD_RUN_PATH
17181 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17182 hardcode_libdir_separator_CXX=:
17183
17184 # Commands to make compiler produce verbose output that lists
17185 # what "hidden" libraries, object files and flags are used when
17186 # linking a shared library.
17187 #
17188 # There doesn't appear to be a way to prevent this compiler from
17189 # explicitly linking system object files so we need to strip them
17190 # from the output so that they don't get included in the library
17191 # dependencies.
17192 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'
17193 ;;
17194 xl* | mpixl* | bgxl*)
17195 # IBM XL 8.0 on PPC, with GNU ld
17196 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
17197 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
17198 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17199 if testscip-shell system . . test. yes = "$supports_anon_versioning"; then
17200 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
17201 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17202 echo "local: *; };" >> $output_objdir/$libname.ver~
17203 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
17204 fi
17205 ;;
17206 *)
17207 case `$CC -V 2>&1 | $SED 5q` in
17208 *Sun\ C*)
17209 # Sun C++ 5.9
17210 no_undefined_flag_CXX=' -zdefs'
17211 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17212 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'
17213 hardcode_libdir_flag_spec_CXX='-R$libdir'
17214 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'
17215 compiler_needs_object_CXX=yes
17216
17217 # Not sure whether something based on
17218 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
17219 # would be better.
17220 output_verbose_link_cmd='func_echo_all'
17221
17222 # Archives containing C++ object files must be created using
17223 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17224 # necessary to make sure instantiated templates are included
17225 # in the archive.
17226 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17227 ;;
17228 esac
17229 ;;
17230 esac
17231 ;;
17232
17233 lynxos*)
17234 # FIXME: insert proper C++ library support
17235 ld_shlibs_CXX=no
17236 ;;
17237
17238 m88k*)
17239 # FIXME: insert proper C++ library support
17240 ld_shlibs_CXX=no
17241 ;;
17242
17243 mvs*)
17244 case $cc_basename in
17245 cxx*)
17246 # FIXME: insert proper C++ library support
17247 ld_shlibs_CXX=no
17248 ;;
17249 *)
17250 # FIXME: insert proper C++ library support
17251 ld_shlibs_CXX=no
17252 ;;
17253 esac
17254 ;;
17255
17256 *-mlibc)
17257 ld_shlibs_CXX=yes
17258 ;;
17259
17260 netbsd*)
17261 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
17262 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17263 wlarc=
17264 hardcode_libdir_flag_spec_CXX='-R$libdir'
17265 hardcode_direct_CXX=yes
17266 hardcode_shlibpath_var_CXX=no
17267 fi
17268 # Workaround some broken pre-1.5 toolchains
17269 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17270 ;;
17271
17272 *nto* | *qnx*)
17273 ld_shlibs_CXX=yes
17274 ;;
17275
17276 openbsd*)
17277 if testscip-shell system . . test. -f /usr/libexec/ld.soscip-shell filesystem . . `/usr/libexec/ld.so`.; then
17278 hardcode_direct_CXX=yes
17279 hardcode_shlibpath_var_CXX=no
17280 hardcode_direct_absolute_CXX=yes
17281 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17282 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
17283 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`"; then
17284 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
17285 export_dynamic_flag_spec_CXX='$wl-E'
17286 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
17287 fi
17288 output_verbose_link_cmd=func_echo_all
17289 else
17290 ld_shlibs_CXX=no
17291 fi
17292 ;;
17293
17294 osf3* | osf4* | osf5*)
17295 case $cc_basename in
17296 KCC*)
17297 # Kuck and Associates, Inc. (KAI) C++ Compiler
17298
17299 # KCC will only create a shared library if the output file
17300 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17301 # to its proper name (with version) after linking.
17302 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'
17303
17304 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
17305 hardcode_libdir_separator_CXX=:
17306
17307 # Archives containing C++ object files must be created using
17308 # the KAI C++ compiler.
17309 case $host in
17310 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
17311 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
17312 esac
17313 ;;
17314 RCC*)
17315 # Rational C++ 2.4.1
17316 # FIXME: insert proper C++ library support
17317 ld_shlibs_CXX=no
17318 ;;
17319 cxx*)
17320 case $host in
17321 osf3*)
17322 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
17323 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'
17324 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
17325 ;;
17326 *)
17327 allow_undefined_flag_CXX=' -expect_unresolved \*'
17328 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'
17329 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17330 echo "-hidden">> $lib.exp~
17331 $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~
17332 $RM $lib.exp'
17333 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17334 ;;
17335 esac
17336
17337 hardcode_libdir_separator_CXX=:
17338
17339 # Commands to make compiler produce verbose output that lists
17340 # what "hidden" libraries, object files and flags are used when
17341 # linking a shared library.
17342 #
17343 # There doesn't appear to be a way to prevent this compiler from
17344 # explicitly linking system object files so we need to strip them
17345 # from the output so that they don't get included in the library
17346 # dependencies.
17347 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"'
17348 ;;
17349 *)
17350 if testscip-shell system . . test. yes,no = "$GXX,$with_gnu_ld"; then
17351 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
17352 case $host in
17353 osf3*)
17354 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'
17355 ;;
17356 *)
17357 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'
17358 ;;
17359 esac
17360
17361 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
17362 hardcode_libdir_separator_CXX=:
17363
17364 # Commands to make compiler produce verbose output that lists
17365 # what "hidden" libraries, object files and flags are used when
17366 # linking a shared library.
17367 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
17368
17369 else
17370 # FIXME: insert proper C++ library support
17371 ld_shlibs_CXX=no
17372 fi
17373 ;;
17374 esac
17375 ;;
17376
17377 psos*)
17378 # FIXME: insert proper C++ library support
17379 ld_shlibs_CXX=no
17380 ;;
17381
17382 serenity*)
17383 ;;
17384
17385 sunos4*)
17386 case $cc_basename in
17387 CC*)
17388 # Sun C++ 4.x
17389 # FIXME: insert proper C++ library support
17390 ld_shlibs_CXX=no
17391 ;;
17392 lcc*)
17393 # Lucid
17394 # FIXME: insert proper C++ library support
17395 ld_shlibs_CXX=no
17396 ;;
17397 *)
17398 # FIXME: insert proper C++ library support
17399 ld_shlibs_CXX=no
17400 ;;
17401 esac
17402 ;;
17403
17404 solaris*)
17405 case $cc_basename in
17406 CC* | sunCC*)
17407 # Sun C++ 4.2, 5.x and Centerline C++
17408 archive_cmds_need_lc_CXX=yes
17409 no_undefined_flag_CXX=' -zdefs'
17410 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17411 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17412 $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'
17413
17414 hardcode_libdir_flag_spec_CXX='-R$libdir'
17415 hardcode_shlibpath_var_CXX=no
17416 case $host_os in
17417 solaris2.[0-5] | solaris2.[0-5].*) ;;
17418 *)
17419 # The compiler driver will combine and reorder linker options,
17420 # but understands '-z linker_flag'.
17421 # Supported since Solaris 2.6 (maybe 2.5.1?)
17422 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
17423 ;;
17424 esac
17425 link_all_deplibs_CXX=yes
17426
17427 output_verbose_link_cmd='func_echo_all'
17428
17429 # Archives containing C++ object files must be created using
17430 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17431 # necessary to make sure instantiated templates are included
17432 # in the archive.
17433 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17434 ;;
17435 gcx*)
17436 # Green Hills C++ Compiler
17437 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17438
17439 # The C++ compiler must be used to create the archive.
17440 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17441 ;;
17442 *)
17443 # GNU C++ compiler with Solaris linker
17444 if testscip-shell system . . test. yes,no = "$GXX,$with_gnu_ld"; then
17445 no_undefined_flag_CXX=' $wl-z ${wl}defs'
17446 if $CC --version | $GREP -v '^2\.7' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
17447 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17448 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17449 $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'
17450
17451 # Commands to make compiler produce verbose output that lists
17452 # what "hidden" libraries, object files and flags are used when
17453 # linking a shared library.
17454 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
17455 else
17456 # g++ 2.7 appears to require '-G' NOT '-shared' on this
17457 # platform.
17458 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17459 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17460 $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'
17461
17462 # Commands to make compiler produce verbose output that lists
17463 # what "hidden" libraries, object files and flags are used when
17464 # linking a shared library.
17465 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
17466 fi
17467
17468 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
17469 case $host_os in
17470 solaris2.[0-5] | solaris2.[0-5].*) ;;
17471 *)
17472 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
17473 ;;
17474 esac
17475 fi
17476 ;;
17477 esac
17478 ;;
17479
17480 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17481 no_undefined_flag_CXX='$wl-z,text'
17482 archive_cmds_need_lc_CXX=no
17483 hardcode_shlibpath_var_CXX=no
17484 runpath_var='LD_RUN_PATH'
17485
17486 case $cc_basename in
17487 CC*)
17488 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17489 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17490 ;;
17491 *)
17492 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17493 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17494 ;;
17495 esac
17496 ;;
17497
17498 sysv5* | sco3.2v5* | sco5v6*)
17499 # Note: We CANNOT use -z defs as we might desire, because we do not
17500 # link with -lc, and that would cause any symbols used from libc to
17501 # always be unresolved, which means just about no library would
17502 # ever link correctly. If we're not using GNU ld we use -z text
17503 # though, which does catch some bad symbols but isn't as heavy-handed
17504 # as -z defs.
17505 no_undefined_flag_CXX='$wl-z,text'
17506 allow_undefined_flag_CXX='$wl-z,nodefs'
17507 archive_cmds_need_lc_CXX=no
17508 hardcode_shlibpath_var_CXX=no
17509 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
17510 hardcode_libdir_separator_CXX=':'
17511 link_all_deplibs_CXX=yes
17512 export_dynamic_flag_spec_CXX='$wl-Bexport'
17513 runpath_var='LD_RUN_PATH'
17514
17515 case $cc_basename in
17516 CC*)
17517 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17518 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17519 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
17520 '"$old_archive_cmds_CXX"
17521 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
17522 '"$reload_cmds_CXX"
17523 ;;
17524 *)
17525 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17526 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17527 ;;
17528 esac
17529 ;;
17530
17531 tandem*)
17532 case $cc_basename in
17533 NCC*)
17534 # NonStop-UX NCC 3.20
17535 # FIXME: insert proper C++ library support
17536 ld_shlibs_CXX=no
17537 ;;
17538 *)
17539 # FIXME: insert proper C++ library support
17540 ld_shlibs_CXX=no
17541 ;;
17542 esac
17543 ;;
17544
17545 vxworks*)
17546 # FIXME: insert proper C++ library support
17547 ld_shlibs_CXX=no
17548 ;;
17549
17550 *)
17551 # FIXME: insert proper C++ library support
17552 ld_shlibs_CXX=no
17553 ;;
17554 esac
17555
17556 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17557 printfscip-shell system . . printf. "%s\n" "$ld_shlibs_CXX" >&6; }
17558 testscip-shell system . . test. no = "$ld_shlibs_CXX" && can_build_shared=no
17559
17560 GCC_CXX=$GXX
17561 LD_CXX=$LD
17562
17563 ## CAVEAT EMPTOR:
17564 ## There is no encapsulation within the following macros, do not change
17565 ## the running order or otherwise move them around unless you know exactly
17566 ## what you are doing...
17567 # Dependencies to place before and after the object being linked:
17568 predep_objects_CXX=
17569 postdep_objects_CXX=
17570 predeps_CXX=
17571 postdeps_CXX=
17572 compiler_lib_search_path_CXX=
17573
17574 catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF
17575 class Foo
17576 {
17577 public:
17578 Foo (void) { a = 0; }
17579 private:
17580 int a;
17581 };
17582 _LT_EOF
17583
17584
17585 _lt_libdeps_save_CFLAGS=$CFLAGS
17586 case "$CC $CFLAGS " in #(
17587 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
17588 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
17589 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
17590 esac
17591
17592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17593 (eval $ac_compile) 2>&5
17594 ac_status=$?
17595 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17596 testscip-shell system . . test. $ac_status = 0; }; then
17597 # Parse the compiler output and extract the necessary
17598 # objects, libraries and library flags.
17599
17600 # Sentinel used to keep track of whether or not we are before
17601 # the conftest object file.
17602 pre_test_object_deps_done=no
17603
17604 for p in `eval "$output_verbose_link_cmd"`; do
17605 case $prev$p in
17606
17607 -L* | -R* | -l*)
17608 # Some compilers place space between "-{L,R,l}" and the path.
17609 # Remove the space.
17610 if testscip-shell system . . test. x-L = x"$p" ||
17611 testscip-shell system . . test. x-R = x"$p" ||
17612 testscip-shell system . . test. x-l = x"$p"; then
17613 prev=$p
17614 continue
17615 fi
17616
17617 # Expand the sysroot to ease extracting the directories later.
17618 if testscip-shell system . . test. -z "$prev"; then
17619 case $p in
17620 -L*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
17621 -R*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
17622 -l*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
17623 esac
17624 fi
17625 case $p in
17626 =*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
17627 esac
17628 if testscip-shell system . . test. no = "$pre_test_object_deps_done"; then
17629 case $prev in
17630 -L | -R)
17631 # Internal compiler library paths should come after those
17632 # provided the user. The postdeps already come after the
17633 # user supplied libs so there is no need to process them.
17634 if testscip-shell system . . test. -z "$compiler_lib_search_path_CXX"; then
17635 compiler_lib_search_path_CXX=$prev$p
17636 else
17637 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
17638 fi
17639 ;;
17640 # The "-l" case would never come before the object being
17641 # linked, so don't bother handling this case.
17642 esac
17643 else
17644 if testscip-shell system . . test. -z "$postdeps_CXX"; then
17645 postdeps_CXX=$prev$p
17646 else
17647 postdeps_CXX="${postdeps_CXX} $prev$p"
17648 fi
17649 fi
17650 prev=
17651 ;;
17652
17653 *.lto.$objext) ;; # Ignore GCC LTO objects
17654 *.$objext)
17655 # This assumes that the test object file only shows up
17656 # once in the compiler output.
17657 if testscip-shell system . . test. "$p" = "conftest.$objext"; then
17658 pre_test_object_deps_done=yes
17659 continue
17660 fi
17661
17662 if testscip-shell system . . test. no = "$pre_test_object_deps_done"; then
17663 if testscip-shell system . . test. -z "$predep_objects_CXX"; then
17664 predep_objects_CXX=$p
17665 else
17666 predep_objects_CXX="$predep_objects_CXX $p"
17667 fi
17668 else
17669 if testscip-shell system . . test. -z "$postdep_objects_CXX"; then
17670 postdep_objects_CXX=$p
17671 else
17672 postdep_objects_CXX="$postdep_objects_CXX $p"
17673 fi
17674 fi
17675 ;;
17676
17677 *) ;; # Ignore the rest.
17678
17679 esac
17680 done
17681
17682 # Clean up.
17683 rmscip-shell system . . rm. -f a.out a.exe
17684 else
17685 echoscip-shell system . . echo. "libtool.m4: error: problem compiling CXX test program"
17686 fi
17687
17688 $RM -f confest.$objext
17689 CFLAGS=$_lt_libdeps_save_CFLAGS
17690
17691 # PORTME: override above test on systems where it is broken
17692 case $host_os in
17693 interix[3-9]*)
17694 # Interix 3.5 installs completely hosed .la files for C++, so rather than
17695 # hack all around it, let's just trust "g++" to DTRT.
17696 predep_objects_CXX=
17697 postdep_objects_CXX=
17698 postdeps_CXX=
17699 ;;
17700 esac
17701
17702
17703 case " $postdeps_CXX " in
17704 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
17705 esac
17706 compiler_lib_search_dirs_CXX=
17707 if testscip-shell system . . test. -n "${compiler_lib_search_path_CXX}"; then
17708 compiler_lib_search_dirs_CXX=`echoscip-shell system . . echo. " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
17709 fi
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741 lt_prog_compiler_wl_CXX=
17742 lt_prog_compiler_pic_CXX=
17743 lt_prog_compiler_static_CXX=
17744
17745
17746 # C++ specific cases for pic, static, wl, etc.
17747 if testscip-shell system . . test. yes = "$GXX"; then
17748 lt_prog_compiler_wl_CXX='-Wl,'
17749 lt_prog_compiler_static_CXX='-static'
17750
17751 case $host_os in
17752 aix*)
17753 # All AIX code is PIC.
17754 if testscip-shell system . . test. ia64 = "$host_cpu"; then
17755 # AIX 5 now supports IA64 processor
17756 lt_prog_compiler_static_CXX='-Bstatic'
17757 fi
17758 lt_prog_compiler_pic_CXX='-fPIC'
17759 ;;
17760
17761 amigaos*)
17762 case $host_cpu in
17763 powerpc)
17764 # see comment about AmigaOS4 .so support
17765 lt_prog_compiler_pic_CXX='-fPIC'
17766 ;;
17767 m68k)
17768 # FIXME: we need at least 68020 code to build shared libraries, but
17769 # adding the '-m68020' flag to GCC prevents building anything better,
17770 # like '-m68040'.
17771 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17772 ;;
17773 esac
17774 ;;
17775
17776 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17777 # PIC is the default for these OSes.
17778 ;;
17779 mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
17780 # This hack is so that the source file can tell whether it is being
17781 # built for inclusion in a dll (and should export symbols for example).
17782 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17783 # (--disable-auto-import) libraries
17784 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17785 case $host_os in
17786 os2*)
17787 lt_prog_compiler_static_CXX='$wl-static'
17788 ;;
17789 esac
17790 ;;
17791 darwin* | rhapsody*)
17792 # PIC is the default on this platform
17793 # Common symbols not allowed in MH_DYLIB files
17794 lt_prog_compiler_pic_CXX='-fno-common'
17795 ;;
17796 *djgpp*)
17797 # DJGPP does not support shared libraries at all
17798 lt_prog_compiler_pic_CXX=
17799 ;;
17800 haiku*)
17801 # PIC is the default for Haiku.
17802 # The "-static" flag exists, but is broken.
17803 lt_prog_compiler_static_CXX=
17804 ;;
17805 interix[3-9]*)
17806 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17807 # Instead, we relocate shared libraries at runtime.
17808 ;;
17809 sysv4*MP*)
17810 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
17811 lt_prog_compiler_pic_CXX=-Kconform_pic
17812 fi
17813 ;;
17814 hpux*)
17815 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17816 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17817 # sets the default TLS model and affects inlining.
17818 case $host_cpu in
17819 hppa*64*)
17820 ;;
17821 *)
17822 lt_prog_compiler_pic_CXX='-fPIC'
17823 ;;
17824 esac
17825 ;;
17826 *qnx* | *nto*)
17827 # QNX uses GNU C++, but need to define -shared option too, otherwise
17828 # it will coredump.
17829 lt_prog_compiler_pic_CXX='-fPIC -shared'
17830 ;;
17831 *)
17832 lt_prog_compiler_pic_CXX='-fPIC'
17833 ;;
17834 esac
17835 else
17836 case $host_os in
17837 aix[4-9]*)
17838 # All AIX code is PIC.
17839 if testscip-shell system . . test. ia64 = "$host_cpu"; then
17840 # AIX 5 now supports IA64 processor
17841 lt_prog_compiler_static_CXX='-Bstatic'
17842 else
17843 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17844 fi
17845 ;;
17846 chorus*)
17847 case $cc_basename in
17848 cxch68*)
17849 # Green Hills C++ Compiler
17850 # _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"
17851 ;;
17852 esac
17853 ;;
17854 mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
17855 # This hack is so that the source file can tell whether it is being
17856 # built for inclusion in a dll (and should export symbols for example).
17857 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17858 ;;
17859 dgux*)
17860 case $cc_basename in
17861 ec++*)
17862 lt_prog_compiler_pic_CXX='-KPIC'
17863 ;;
17864 ghcx*)
17865 # Green Hills C++ Compiler
17866 lt_prog_compiler_pic_CXX='-pic'
17867 ;;
17868 *)
17869 ;;
17870 esac
17871 ;;
17872 freebsd* | dragonfly* | midnightbsd*)
17873 # FreeBSD uses GNU C++
17874 ;;
17875 hpux9* | hpux10* | hpux11*)
17876 case $cc_basename in
17877 CC*)
17878 lt_prog_compiler_wl_CXX='-Wl,'
17879 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
17880 if testscip-shell system . . test. ia64 != "$host_cpu"; then
17881 lt_prog_compiler_pic_CXX='+Z'
17882 fi
17883 ;;
17884 aCC*)
17885 lt_prog_compiler_wl_CXX='-Wl,'
17886 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
17887 case $host_cpu in
17888 hppa*64*|ia64*)
17889 # +Z the default
17890 ;;
17891 *)
17892 lt_prog_compiler_pic_CXX='+Z'
17893 ;;
17894 esac
17895 ;;
17896 *)
17897 ;;
17898 esac
17899 ;;
17900 interix*)
17901 # This is c89, which is MS Visual C++ (no shared libs)
17902 # Anyone wants to do a port?
17903 ;;
17904 irix5* | irix6* | nonstopux*)
17905 case $cc_basename in
17906 CC*)
17907 lt_prog_compiler_wl_CXX='-Wl,'
17908 lt_prog_compiler_static_CXX='-non_shared'
17909 # CC pic flag -KPIC is the default.
17910 ;;
17911 *)
17912 ;;
17913 esac
17914 ;;
17915 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17916 case $cc_basename in
17917 KCC*)
17918 # KAI C++ Compiler
17919 lt_prog_compiler_wl_CXX='--backend -Wl,'
17920 lt_prog_compiler_pic_CXX='-fPIC'
17921 ;;
17922 ecpc* )
17923 # old Intel C++ for x86_64, which still supported -KPIC.
17924 lt_prog_compiler_wl_CXX='-Wl,'
17925 lt_prog_compiler_pic_CXX='-KPIC'
17926 lt_prog_compiler_static_CXX='-static'
17927 ;;
17928 icpc* )
17929 # Intel C++, used to be incompatible with GCC.
17930 # ICC 10 doesn't accept -KPIC any more.
17931 lt_prog_compiler_wl_CXX='-Wl,'
17932 lt_prog_compiler_pic_CXX='-fPIC'
17933 lt_prog_compiler_static_CXX='-static'
17934 ;;
17935 pgCC* | pgcpp*)
17936 # Portland Group C++ compiler
17937 lt_prog_compiler_wl_CXX='-Wl,'
17938 lt_prog_compiler_pic_CXX='-fpic'
17939 lt_prog_compiler_static_CXX='-Bstatic'
17940 ;;
17941 cxx*)
17942 # Compaq C++
17943 # Make sure the PIC flag is empty. It appears that all Alpha
17944 # Linux and Compaq Tru64 Unix objects are PIC.
17945 lt_prog_compiler_pic_CXX=
17946 lt_prog_compiler_static_CXX='-non_shared'
17947 ;;
17948 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
17949 # IBM XL 8.0, 9.0 on PPC and BlueGene
17950 lt_prog_compiler_wl_CXX='-Wl,'
17951 lt_prog_compiler_pic_CXX='-qpic'
17952 lt_prog_compiler_static_CXX='-qstaticlink'
17953 ;;
17954 *)
17955 case `$CC -V 2>&1 | $SED 5q` in
17956 *Sun\ C*)
17957 # Sun C++ 5.9
17958 lt_prog_compiler_pic_CXX='-KPIC'
17959 lt_prog_compiler_static_CXX='-Bstatic'
17960 lt_prog_compiler_wl_CXX='-Qoption ld '
17961 ;;
17962 esac
17963 ;;
17964 esac
17965 ;;
17966 lynxos*)
17967 ;;
17968 m88k*)
17969 ;;
17970 mvs*)
17971 case $cc_basename in
17972 cxx*)
17973 lt_prog_compiler_pic_CXX='-W c,exportall'
17974 ;;
17975 *)
17976 ;;
17977 esac
17978 ;;
17979 netbsd* | netbsdelf*-gnu)
17980 ;;
17981 *-mlibc)
17982 ;;
17983 *qnx* | *nto*)
17984 # QNX uses GNU C++, but need to define -shared option too, otherwise
17985 # it will coredump.
17986 lt_prog_compiler_pic_CXX='-fPIC -shared'
17987 ;;
17988 osf3* | osf4* | osf5*)
17989 case $cc_basename in
17990 KCC*)
17991 lt_prog_compiler_wl_CXX='--backend -Wl,'
17992 ;;
17993 RCC*)
17994 # Rational C++ 2.4.1
17995 lt_prog_compiler_pic_CXX='-pic'
17996 ;;
17997 cxx*)
17998 # Digital/Compaq C++
17999 lt_prog_compiler_wl_CXX='-Wl,'
18000 # Make sure the PIC flag is empty. It appears that all Alpha
18001 # Linux and Compaq Tru64 Unix objects are PIC.
18002 lt_prog_compiler_pic_CXX=
18003 lt_prog_compiler_static_CXX='-non_shared'
18004 ;;
18005 *)
18006 ;;
18007 esac
18008 ;;
18009 psos*)
18010 ;;
18011 serenity*)
18012 ;;
18013 solaris*)
18014 case $cc_basename in
18015 CC* | sunCC*)
18016 # Sun C++ 4.2, 5.x and Centerline C++
18017 lt_prog_compiler_pic_CXX='-KPIC'
18018 lt_prog_compiler_static_CXX='-Bstatic'
18019 lt_prog_compiler_wl_CXX='-Qoption ld '
18020 ;;
18021 gcx*)
18022 # Green Hills C++ Compiler
18023 lt_prog_compiler_pic_CXX='-PIC'
18024 ;;
18025 *)
18026 ;;
18027 esac
18028 ;;
18029 sunos4*)
18030 case $cc_basename in
18031 CC*)
18032 # Sun C++ 4.x
18033 lt_prog_compiler_pic_CXX='-pic'
18034 lt_prog_compiler_static_CXX='-Bstatic'
18035 ;;
18036 lcc*)
18037 # Lucid
18038 lt_prog_compiler_pic_CXX='-pic'
18039 ;;
18040 *)
18041 ;;
18042 esac
18043 ;;
18044 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18045 case $cc_basename in
18046 CC*)
18047 lt_prog_compiler_wl_CXX='-Wl,'
18048 lt_prog_compiler_pic_CXX='-KPIC'
18049 lt_prog_compiler_static_CXX='-Bstatic'
18050 ;;
18051 esac
18052 ;;
18053 tandem*)
18054 case $cc_basename in
18055 NCC*)
18056 # NonStop-UX NCC 3.20
18057 lt_prog_compiler_pic_CXX='-KPIC'
18058 ;;
18059 *)
18060 ;;
18061 esac
18062 ;;
18063 vxworks*)
18064 ;;
18065 *)
18066 lt_prog_compiler_can_build_shared_CXX=no
18067 ;;
18068 esac
18069 fi
18070
18071 case $host_os in
18072 # For platforms that do not support PIC, -DPIC is meaningless:
18073 *djgpp*)
18074 lt_prog_compiler_pic_CXX=
18075 ;;
18076 *)
18077 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
18078 ;;
18079 esac
18080
18081 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18082 printfscip-shell system . . printf. %s "checking for $compiler option to produce PIC... " >&6; }
18083 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_CXX+y}
18084 then :
18085 printfscip-shell system . . printf. %s "(cached) " >&6
18086 else case e in #(
18087 e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
18088 esac
18089 fi
18090 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
18091 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
18092 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
18093
18094 #
18095 # Check to make sure the PIC flag actually works.
18096 #
18097 if testscip-shell system . . test. -n "$lt_prog_compiler_pic_CXX"; then
18098 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
18099 printfscip-shell system . . printf. %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
18100 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_works_CXX+y}
18101 then :
18102 printfscip-shell system . . printf. %s "(cached) " >&6
18103 else case e in #(
18104 e) lt_cv_prog_compiler_pic_works_CXX=no
18105 ac_outfile=conftest.$ac_objext
18106 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
18107 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
18108 # Insert the option either (1) after the last *FLAGS variable, or
18109 # (2) before a word containing "conftest.", or (3) at the end.
18110 # Note that $ac_compile itself does not contain backslashes and begins
18111 # with a dollar sign (not a hyphen), so the echo should work correctly.
18112 # The option is referenced via a variable to avoid confusing sed.
18113 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
18114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18116 -e 's:$: $lt_compiler_flag:'`
18117 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18118 (eval "$lt_compile" 2>conftest.err)
18119 ac_status=$?
18120 catscip-shell system . . cat. conftest.err >&5
18121 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18122 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
18123 # The compiler can only warn and ignore the option if not recognized
18124 # So say no if there are warnings other than the usual output.
18125 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
18126 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
18127 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
18128 lt_cv_prog_compiler_pic_works_CXX=yes
18129 fi
18130 fi
18131 $RM conftest*
18132 ;;
18133 esac
18134 fi
18135 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
18136 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
18137
18138 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
18139 case $lt_prog_compiler_pic_CXX in
18140 "" | " "*) ;;
18141 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
18142 esac
18143 else
18144 lt_prog_compiler_pic_CXX=
18145 lt_prog_compiler_can_build_shared_CXX=no
18146 fi
18147
18148 fi
18149
18150
18151
18152
18153
18154 #
18155 # Check to make sure the static flag actually works.
18156 #
18157 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
18158 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18159 printfscip-shell system . . printf. %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18160 if testscip-shell system . . test. ${lt_cv_prog_compiler_static_works_CXX+y}
18161 then :
18162 printfscip-shell system . . printf. %s "(cached) " >&6
18163 else case e in #(
18164 e) lt_cv_prog_compiler_static_works_CXX=no
18165 save_LDFLAGS=$LDFLAGS
18166 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18167 echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext
18168 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
18169 # The linker can only warn and ignore the option if not recognized
18170 # So say no if there are warnings
18171 if testscip-shell system . . test. -s conftest.err; then
18172 # Append any errors to the config.log.
18173 catscip-shell system . . cat. conftest.err 1>&5
18174 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
18175 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
18176 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
18177 lt_cv_prog_compiler_static_works_CXX=yes
18178 fi
18179 else
18180 lt_cv_prog_compiler_static_works_CXX=yes
18181 fi
18182 fi
18183 $RM -r conftest*
18184 LDFLAGS=$save_LDFLAGS
18185 ;;
18186 esac
18187 fi
18188 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
18189 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
18190
18191 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works_CXX"; then
18192 :
18193 else
18194 lt_prog_compiler_static_CXX=
18195 fi
18196
18197
18198
18199
18200 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18201 printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18202 if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o_CXX+y}
18203 then :
18204 printfscip-shell system . . printf. %s "(cached) " >&6
18205 else case e in #(
18206 e) lt_cv_prog_compiler_c_o_CXX=no
18207 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
18208 mkdirscip-shell system . . mkdir. conftest
18209 cd conftest
18210 mkdirscip-shell system . . mkdir. out
18211 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
18212
18213 lt_compiler_flag="-o out/conftest2.$ac_objext"
18214 # Insert the option either (1) after the last *FLAGS variable, or
18215 # (2) before a word containing "conftest.", or (3) at the end.
18216 # Note that $ac_compile itself does not contain backslashes and begins
18217 # with a dollar sign (not a hyphen), so the echo should work correctly.
18218 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
18219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18221 -e 's:$: $lt_compiler_flag:'`
18222 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18223 (eval "$lt_compile" 2>out/conftest.err)
18224 ac_status=$?
18225 catscip-shell system . . cat. out/conftest.err >&5
18226 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18227 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
18228 then
18229 # The compiler can only warn and ignore the option if not recognized
18230 # So say no if there are warnings
18231 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
18232 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
18233 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
18234 lt_cv_prog_compiler_c_o_CXX=yes
18235 fi
18236 fi
18237 chmodscip-shell system . . chmod. u+w . 2>&5
18238 $RM conftest*
18239 # SGI C++ compiler will create directory out/ii_files/ for
18240 # template instantiation
18241 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
18242 $RM out/* && rmdirscip-shell system . . rmdir. out
18243 cd ..
18244 $RM -r conftest
18245 $RM conftest*
18246 ;;
18247 esac
18248 fi
18249 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18250 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18251
18252
18253
18254 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18255 printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18256 if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o_CXX+y}
18257 then :
18258 printfscip-shell system . . printf. %s "(cached) " >&6
18259 else case e in #(
18260 e) lt_cv_prog_compiler_c_o_CXX=no
18261 $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
18262 mkdirscip-shell system . . mkdir. conftest
18263 cd conftest
18264 mkdirscip-shell system . . mkdir. out
18265 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
18266
18267 lt_compiler_flag="-o out/conftest2.$ac_objext"
18268 # Insert the option either (1) after the last *FLAGS variable, or
18269 # (2) before a word containing "conftest.", or (3) at the end.
18270 # Note that $ac_compile itself does not contain backslashes and begins
18271 # with a dollar sign (not a hyphen), so the echo should work correctly.
18272 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
18273 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18274 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18275 -e 's:$: $lt_compiler_flag:'`
18276 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18277 (eval "$lt_compile" 2>out/conftest.err)
18278 ac_status=$?
18279 catscip-shell system . . cat. out/conftest.err >&5
18280 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18281 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
18282 then
18283 # The compiler can only warn and ignore the option if not recognized
18284 # So say no if there are warnings
18285 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
18286 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
18287 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
18288 lt_cv_prog_compiler_c_o_CXX=yes
18289 fi
18290 fi
18291 chmodscip-shell system . . chmod. u+w . 2>&5
18292 $RM conftest*
18293 # SGI C++ compiler will create directory out/ii_files/ for
18294 # template instantiation
18295 testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
18296 $RM out/* && rmdirscip-shell system . . rmdir. out
18297 cd ..
18298 $RM -r conftest
18299 $RM conftest*
18300 ;;
18301 esac
18302 fi
18303 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18304 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18305
18306
18307
18308
18309 hard_links=nottested
18310 if testscip-shell system . . test. no = "$lt_cv_prog_compiler_c_o_CXX" && testscip-shell system . . test. no != "$need_locks"; then
18311 # do not overwrite the value of need_locks provided by the user
18312 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
18313 printfscip-shell system . . printf. %s "checking if we can lock with hard links... " >&6; }
18314 hard_links=yes
18315 $RM conftest*
18316 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
18317 touchscip-shell system . . touch. conftest.a
18318 lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no
18319 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
18320 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
18321 printfscip-shell system . . printf. "%s\n" "$hard_links" >&6; }
18322 if testscip-shell system . . test. no = "$hard_links"; then
18323 { 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
18324 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
18325 need_locks=warn
18326 fi
18327 else
18328 need_locks=no
18329 fi
18330
18331
18332
18333 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18334 printfscip-shell system . . printf. %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18335
18336 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18337 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18338 case $host_os in
18339 aix[4-9]*)
18340 # If we're using GNU nm, then we don't want the "-C" option.
18341 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
18342 # Without the "-l" option, or with the "-B" option, AIX nm treats
18343 # weak defined symbols like other global defined symbols, whereas
18344 # GNU nm marks them as "W".
18345 # While the 'weak' keyword is ignored in the Export File, we need
18346 # it in the Import File for the 'aix-soname' feature, so we have
18347 # to replace the "-B" option with "-P" for AIX nm.
18348 if $NM -V 2>&1 | $GREP 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
18349 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'
18350 else
18351 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'
18352 fi
18353 ;;
18354 pw32*)
18355 export_symbols_cmds_CXX=$ltdll_cmds
18356 ;;
18357 cygwin* | mingw* | windows* | cegcc*)
18358 case $cc_basename in
18359 cl* | icl*)
18360 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
18361 ;;
18362 *)
18363 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'
18364 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
18365 ;;
18366 esac
18367 ;;
18368 *)
18369 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18370 ;;
18371 esac
18372
18373 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18374 printfscip-shell system . . printf. "%s\n" "$ld_shlibs_CXX" >&6; }
18375 testscip-shell system . . test. no = "$ld_shlibs_CXX" && can_build_shared=no
18376
18377 with_gnu_ld_CXX=$with_gnu_ld
18378
18379
18380
18381
18382
18383
18384 #
18385 # Do we need to explicitly link libc?
18386 #
18387 case "x$archive_cmds_need_lc_CXX" in
18388 x|xyes)
18389 # Assume -lc should be added
18390 archive_cmds_need_lc_CXX=yes
18391
18392 if testscip-shell system . . test. yes,yes = "$GCC,$enable_shared"; then
18393 case $archive_cmds_CXX in
18394 *'~'*)
18395 # FIXME: we may have to deal with multi-command sequences.
18396 ;;
18397 '$CC '*)
18398 # Test whether the compiler implicitly links with -lc since on some
18399 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18400 # to ld, don't add -lc before -lgcc.
18401 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18402 printfscip-shell system . . printf. %s "checking whether -lc should be explicitly linked in... " >&6; }
18403 if testscip-shell system . . test. ${lt_cv_archive_cmds_need_lc_CXX+y}
18404 then :
18405 printfscip-shell system . . printf. %s "(cached) " >&6
18406 else case e in #(
18407 e) $RM conftest*
18408 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
18409
18410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18411 (eval $ac_compile) 2>&5
18412 ac_status=$?
18413 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18414 testscip-shell system . . test. $ac_status = 0; } 2>conftest.err; then
18415 soname=conftest
18416 lib=conftest
18417 libobjs=conftest.$ac_objext
18418 deplibs=
18419 wl=$lt_prog_compiler_wl_CXX
18420 pic_flag=$lt_prog_compiler_pic_CXX
18421 compiler_flags=-v
18422 linker_flags=-v
18423 verstring=
18424 output_objdir=.
18425 libname=conftest
18426 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
18427 allow_undefined_flag_CXX=
18428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18429 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
18430 ac_status=$?
18431 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18432 testscip-shell system . . test. $ac_status = 0; }
18433 then
18434 lt_cv_archive_cmds_need_lc_CXX=no
18435 else
18436 lt_cv_archive_cmds_need_lc_CXX=yes
18437 fi
18438 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
18439 else
18440 catscip-shell system . . cat. conftest.err 1>&5
18441 fi
18442 $RM conftest*
18443 ;;
18444 esac
18445 fi
18446 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
18447 printfscip-shell system . . printf. "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
18448 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
18449 ;;
18450 esac
18451 fi
18452 ;;
18453 esac
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18517 printfscip-shell system . . printf. %s "checking dynamic linker characteristics... " >&6; }
18518
18519 library_names_spec=
18520 libname_spec='lib$name'
18521 soname_spec=
18522 shrext_cmds=.so
18523 postinstall_cmds=
18524 postuninstall_cmds=
18525 finish_cmds=
18526 finish_eval=
18527 shlibpath_var=
18528 shlibpath_overrides_runpath=unknown
18529 version_type=none
18530 dynamic_linker="$host_os ld.so"
18531 sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`."
18532 need_lib_prefix=unknown
18533 hardcode_into_libs=no
18534
18535 # when you set need_version to no, make sure it does not cause -set_version
18536 # flags to be left without arguments
18537 need_version=unknown
18538
18539
18540
18541 case $host_os in
18542 aix3*)
18543 version_type=linux # correct to gnu/linux during the next big refactor
18544 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
18545 shlibpath_var=LIBPATH
18546
18547 # AIX 3 has no versioning support, so we append a major version to the name.
18548 soname_spec='$libname$release$shared_ext$major'
18549 ;;
18550
18551 aix[4-9]*)
18552 version_type=linux # correct to gnu/linux during the next big refactor
18553 need_lib_prefix=no
18554 need_version=no
18555 hardcode_into_libs=yes
18556 if testscip-shell system . . test. ia64 = "$host_cpu"; then
18557 # AIX 5 supports IA64
18558 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
18559 shlibpath_var=LD_LIBRARY_PATH
18560 else
18561 # With GCC up to 2.95.x, collect2 would create an import file
18562 # for dependence libraries. The import file would start with
18563 # the line '#! .'. This would cause the generated library to
18564 # depend on '.', always an invalid library. This was fixed in
18565 # development snapshots of GCC prior to 3.0.
18566 case $host_os in
18567 aix4 | aix4.[01] | aix4.[01].*)
18568 if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18569 echoscip-shell system . . echo. ' yes '
18570 echoscip-shell system . . echo. '#endif'; } | $CC -E - | $GREP yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then
18571 :
18572 else
18573 can_build_shared=no
18574 fi
18575 ;;
18576 esac
18577 # Using Import Files as archive members, it is possible to support
18578 # filename-based versioning of shared library archives on AIX. While
18579 # this would work for both with and without runtime linking, it will
18580 # prevent static linking of such archives. So we do filename-based
18581 # shared library versioning with .so extension only, which is used
18582 # when both runtime linking and shared linking is enabled.
18583 # Unfortunately, runtime linking may impact performance, so we do
18584 # not want this to be the default eventually. Also, we use the
18585 # versioned .so libs for executables only if there is the -brtl
18586 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
18587 # To allow for filename-based versioning support, we need to create
18588 # libNAME.so.V as an archive file, containing:
18589 # *) an Import File, referring to the versioned filename of the
18590 # archive as well as the shared archive member, telling the
18591 # bitwidth (32 or 64) of that shared object, and providing the
18592 # list of exported symbols of that shared object, eventually
18593 # decorated with the 'weak' keyword
18594 # *) the shared object with the F_LOADONLY flag set, to really avoid
18595 # it being seen by the linker.
18596 # At run time we better use the real file rather than another symlink,
18597 # but for link time we create the symlink libNAME.so -> libNAME.so.V
18598
18599 case $with_aix_soname,$aix_use_runtimelinking in
18600 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
18601 # soname into executable. Probably we can add versioning support to
18602 # collect2, so additional links can be useful in future.
18603 aix,yes) # traditional libtool
18604 dynamic_linker='AIX unversionable lib.so'
18605 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18606 # instead of lib<name>.a to let people know that these are not
18607 # typical AIX shared libraries.
18608 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18609 ;;
18610 aix,no) # traditional AIX only
18611 dynamic_linker='AIX lib.a(lib.so.V)'
18612 # We preserve .a as extension for shared libraries through AIX4.2
18613 # and later when we are not doing run time linking.
18614 library_names_spec='$libname$release.a $libname.a'
18615 soname_spec='$libname$release$shared_ext$major'
18616 ;;
18617 svr4,*) # full svr4 only
18618 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
18619 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
18620 # We do not specify a path in Import Files, so LIBPATH fires.
18621 shlibpath_overrides_runpath=yes
18622 ;;
18623 *,yes) # both, prefer svr4
18624 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
18625 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
18626 # unpreferred sharedlib libNAME.a needs extra handling
18627 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"'
18628 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"'
18629 # We do not specify a path in Import Files, so LIBPATH fires.
18630 shlibpath_overrides_runpath=yes
18631 ;;
18632 *,no) # both, prefer aix
18633 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
18634 library_names_spec='$libname$release.a $libname.a'
18635 soname_spec='$libname$release$shared_ext$major'
18636 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
18637 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)'
18638 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"'
18639 ;;
18640 esac
18641 shlibpath_var=LIBPATH
18642 fi
18643 ;;
18644
18645 amigaos*)
18646 case $host_cpu in
18647 powerpc)
18648 # Since July 2007 AmigaOS4 officially supports .so libraries.
18649 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18650 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18651 ;;
18652 m68k)
18653 library_names_spec='$libname.ixlibrary $libname.a'
18654 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18655 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'
18656 ;;
18657 esac
18658 ;;
18659
18660 beos*)
18661 library_names_spec='$libname$shared_ext'
18662 dynamic_linker="$host_os ld.so"
18663 shlibpath_var=LIBRARY_PATH
18664 ;;
18665
18666 bsdi[45]*)
18667 version_type=linux # correct to gnu/linux during the next big refactor
18668 need_version=no
18669 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18670 soname_spec='$libname$release$shared_ext$major'
18671 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18672 shlibpath_var=LD_LIBRARY_PATH
18673 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`."
18674 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`."
18675 # the default ld.so.conf also contains /usr/contrib/lib and
18676 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18677 # libtool to hard-code these into programs
18678 ;;
18679
18680 cygwin* | mingw* | windows* | pw32* | cegcc*)
18681 version_type=windows
18682 shrext_cmds=.dll
18683 need_version=no
18684 need_lib_prefix=no
18685
18686 case $GCC,$cc_basename in
18687 yes,*)
18688 # gcc
18689 library_names_spec='$libname.dll.a'
18690 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18691 # If user builds GCC with multilib enabled,
18692 # it should just install on $(libdir)
18693 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
18694 if testscip-shell system . . test. xyes = x"$multilib"; then
18695 postinstall_cmds='base_file=`basename \$file`~
18696 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18697 dldir=$destdir/`dirname \$dlpath`~
18698 $install_prog $dir/$dlname $destdir/$dlname~
18699 chmod a+x $destdir/$dlname~
18700 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18701 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
18702 fi'
18703 else
18704 postinstall_cmds='base_file=`basename \$file`~
18705 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18706 dldir=$destdir/`dirname \$dlpath`~
18707 test -d \$dldir || mkdir -p \$dldir~
18708 $install_prog $dir/$dlname \$dldir/$dlname~
18709 chmod a+x \$dldir/$dlname~
18710 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18711 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18712 fi'
18713 fi
18714 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18715 dlpath=$dir/\$dldll~
18716 $RM \$dlpath'
18717 shlibpath_overrides_runpath=yes
18718
18719 case $host_os in
18720 cygwin*)
18721 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18722 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18723
18724 ;;
18725 mingw* | windows* | cegcc*)
18726 # MinGW DLLs use traditional 'lib' prefix
18727 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18728 ;;
18729 pw32*)
18730 # pw32 DLLs use 'pw' prefix rather than 'lib'
18731 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18732 ;;
18733 esac
18734 dynamic_linker='Win32 ld.exe'
18735 ;;
18736
18737 *,cl* | *,icl*)
18738 # Native MSVC or ICC
18739 libname_spec='$name'
18740 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18741 library_names_spec='$libname.dll.lib'
18742
18743 case $build_os in
18744 mingw* | windows*)
18745 sys_lib_search_path_spec=
18746 lt_save_ifs=$IFS
18747 IFS=';'
18748 for lt_path in $LIB
18749 do
18750 IFS=$lt_save_ifs
18751 # Let DOS variable expansion print the short 8.3 style file name.
18752 lt_path=`cd "$lt_path" 2>/dev/nullscip-shell filesystem . . `/dev/null`. && cmd //C "for %i in (".") do @echo %~si"`
18753 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
18754 done
18755 IFS=$lt_save_ifs
18756 # Convert to MSYS style.
18757 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18758 ;;
18759 cygwin*)
18760 # Convert to unix form, then to dos form, then back to unix form
18761 # but this time dos style (no spaces!) so that the unix form looks
18762 # like /cygdrive/c/PROGRA~1:/cygdr...
18763 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
18764 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
18765 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18766 ;;
18767 *)
18768 sys_lib_search_path_spec=$LIB
18769 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
18770 # It is most probably a Windows format PATH.
18771 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18772 else
18773 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18774 fi
18775 # FIXME: find the short name or the path components, as spaces are
18776 # common. (e.g. "Program Files" -> "PROGRA~1")
18777 ;;
18778 esac
18779
18780 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18781 postinstall_cmds='base_file=`basename \$file`~
18782 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18783 dldir=$destdir/`dirname \$dlpath`~
18784 test -d \$dldir || mkdir -p \$dldir~
18785 $install_prog $dir/$dlname \$dldir/$dlname'
18786 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18787 dlpath=$dir/\$dldll~
18788 $RM \$dlpath'
18789 shlibpath_overrides_runpath=yes
18790 dynamic_linker='Win32 link.exe'
18791 ;;
18792
18793 *)
18794 # Assume MSVC and ICC wrapper
18795 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
18796 dynamic_linker='Win32 ld.exe'
18797 ;;
18798 esac
18799 # FIXME: first we should search . and the directory the executable is in
18800 shlibpath_var=PATH
18801 ;;
18802
18803 darwin* | rhapsody*)
18804 dynamic_linker="$host_os dyld"
18805 version_type=darwin
18806 need_lib_prefix=no
18807 need_version=no
18808 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
18809 soname_spec='$libname$release$major$shared_ext'
18810 shlibpath_overrides_runpath=yes
18811 shlibpath_var=DYLD_LIBRARY_PATH
18812 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18813
18814 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.'
18815 ;;
18816
18817 dgux*)
18818 version_type=linux # correct to gnu/linux during the next big refactor
18819 need_lib_prefix=no
18820 need_version=no
18821 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18822 soname_spec='$libname$release$shared_ext$major'
18823 shlibpath_var=LD_LIBRARY_PATH
18824 ;;
18825
18826 freebsd* | dragonfly* | midnightbsd*)
18827 # DragonFly does not have aout. When/if they implement a new
18828 # versioning mechanism, adjust this.
18829 if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then
18830 objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.`
18831 else
18832 case $host_os in
18833 freebsd[23].*) objformat=aout ;;
18834 *) objformat=elf ;;
18835 esac
18836 fi
18837 version_type=freebsd-$objformat
18838 case $version_type in
18839 freebsd-elf*)
18840 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18841 soname_spec='$libname$release$shared_ext$major'
18842 need_version=no
18843 need_lib_prefix=no
18844 ;;
18845 freebsd-*)
18846 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18847 need_version=yes
18848 ;;
18849 esac
18850 case $host_cpu in
18851 powerpc64)
18852 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
18853 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
18854 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 int test_pointer_size[sizeof (void *) - 5];
18857
18858 _ACEOF
18859 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
18860 then :
18861 shlibpath_var=LD_LIBRARY_PATH
18862 else case e in #(
18863 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
18864 esac
18865 fi
18866 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18867 ;;
18868 *)
18869 shlibpath_var=LD_LIBRARY_PATH
18870 ;;
18871 esac
18872 case $host_os in
18873 freebsd2.*)
18874 shlibpath_overrides_runpath=yes
18875 ;;
18876 freebsd3.[01]* | freebsdelf3.[01]*)
18877 shlibpath_overrides_runpath=yes
18878 hardcode_into_libs=yes
18879 ;;
18880 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18881 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18882 shlibpath_overrides_runpath=no
18883 hardcode_into_libs=yes
18884 ;;
18885 *) # from 4.6 on, and DragonFly
18886 shlibpath_overrides_runpath=yes
18887 hardcode_into_libs=yes
18888 ;;
18889 esac
18890 ;;
18891
18892 haiku*)
18893 version_type=linux # correct to gnu/linux during the next big refactor
18894 need_lib_prefix=no
18895 need_version=no
18896 dynamic_linker="$host_os runtime_loader"
18897 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18898 soname_spec='$libname$release$shared_ext$major'
18899 shlibpath_var=LIBRARY_PATH
18900 shlibpath_overrides_runpath=no
18901 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/libscip-shell filesystem . . `/boot/system/non-packaged/develop/lib /boot/system/develop/lib`.'
18902 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/libscip-shell filesystem . . `/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib`.'
18903 hardcode_into_libs=no
18904 ;;
18905
18906 hpux9* | hpux10* | hpux11*)
18907 # Give a soname corresponding to the major version so that dld.sl refuses to
18908 # link against other versions.
18909 version_type=sunos
18910 need_lib_prefix=no
18911 need_version=no
18912 case $host_cpu in
18913 ia64*)
18914 shrext_cmds='.so'
18915 hardcode_into_libs=yes
18916 dynamic_linker="$host_os dld.so"
18917 shlibpath_var=LD_LIBRARY_PATH
18918 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18919 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18920 soname_spec='$libname$release$shared_ext$major'
18921 if testscip-shell system . . test. 32 = "$HPUX_IA64_MODE"; then
18922 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`."
18923 sys_lib_dlsearch_path_spec=/usr/lib/hpux32scip-shell filesystem . . `/usr/lib/hpux32`.
18924 else
18925 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`."
18926 sys_lib_dlsearch_path_spec=/usr/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64`.
18927 fi
18928 ;;
18929 hppa*64*)
18930 shrext_cmds='.sl'
18931 hardcode_into_libs=yes
18932 dynamic_linker="$host_os dld.sl"
18933 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18934 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18935 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18936 soname_spec='$libname$release$shared_ext$major'
18937 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`."
18938 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18939 ;;
18940 *)
18941 shrext_cmds='.sl'
18942 dynamic_linker="$host_os dld.sl"
18943 shlibpath_var=SHLIB_PATH
18944 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18945 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18946 soname_spec='$libname$release$shared_ext$major'
18947 ;;
18948 esac
18949 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18950 postinstall_cmds='chmod 555 $lib'
18951 # or fails outright, so override atomically:
18952 install_override_mode=555
18953 ;;
18954
18955 interix[3-9]*)
18956 version_type=linux # correct to gnu/linux during the next big refactor
18957 need_lib_prefix=no
18958 need_version=no
18959 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18960 soname_spec='$libname$release$shared_ext$major'
18961 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18962 shlibpath_var=LD_LIBRARY_PATH
18963 shlibpath_overrides_runpath=no
18964 hardcode_into_libs=yes
18965 ;;
18966
18967 irix5* | irix6* | nonstopux*)
18968 case $host_os in
18969 nonstopux*) version_type=nonstopux ;;
18970 *)
18971 if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then
18972 version_type=linux # correct to gnu/linux during the next big refactor
18973 else
18974 version_type=irix
18975 fi ;;
18976 esac
18977 need_lib_prefix=no
18978 need_version=no
18979 soname_spec='$libname$release$shared_ext$major'
18980 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
18981 case $host_os in
18982 irix5* | nonstopux*)
18983 libsuff= shlibsuff=
18984 ;;
18985 *)
18986 case $LD in # libtool.m4 will add one of these switches to LD
18987 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18988 libsuff= shlibsuff= libmagic=32-bit;;
18989 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18990 libsuff=32 shlibsuff=N32 libmagic=N32;;
18991 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18992 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18993 *) libsuff= shlibsuff= libmagic=never-match;;
18994 esac
18995 ;;
18996 esac
18997 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18998 shlibpath_overrides_runpath=no
18999 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
19000 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
19001 hardcode_into_libs=yes
19002 ;;
19003
19004 # No shared lib support for Linux oldld, aout, or coff.
19005 linux*oldld* | linux*aout* | linux*coff*)
19006 dynamic_linker=no
19007 ;;
19008
19009 linux*android*)
19010 version_type=none # Android doesn't support versioned libraries.
19011 need_lib_prefix=no
19012 need_version=no
19013 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
19014 soname_spec='$libname$release$shared_ext'
19015 finish_cmds=
19016 shlibpath_var=LD_LIBRARY_PATH
19017 shlibpath_overrides_runpath=yes
19018
19019 # This implies no fast_install, which is unacceptable.
19020 # Some rework will be needed to allow for fast_install
19021 # before this can be enabled.
19022 hardcode_into_libs=yes
19023
19024 dynamic_linker='Android linker'
19025 # -rpath works at least for libraries that are not overridden by
19026 # libraries installed in system locations.
19027 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
19028 ;;
19029
19030 # This must be glibc/ELF.
19031 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
19032 version_type=linux # correct to gnu/linux during the next big refactor
19033 need_lib_prefix=no
19034 need_version=no
19035 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19036 soname_spec='$libname$release$shared_ext$major'
19037 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19038 shlibpath_var=LD_LIBRARY_PATH
19039 shlibpath_overrides_runpath=no
19040
19041 # Some binutils ld are patched to set DT_RUNPATH
19042 if testscip-shell system . . test. ${lt_cv_shlibpath_overrides_runpath+y}
19043 then :
19044 printfscip-shell system . . printf. %s "(cached) " >&6
19045 else case e in #(
19046 e) lt_cv_shlibpath_overrides_runpath=no
19047 save_LDFLAGS=$LDFLAGS
19048 save_libdir=$libdir
19049 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
19050 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
19051 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h. */
19053
19054 int
19055 main (void)
19056 {
19057
19058 ;
19059 return 0;
19060 }
19061 _ACEOF
19062 if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO"
19063 then :
19064 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`.
19065 then :
19066 lt_cv_shlibpath_overrides_runpath=yes
19067 fi
19068 fi
19069 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
19070 conftest$ac_exeext conftest.$ac_ext
19071 LDFLAGS=$save_LDFLAGS
19072 libdir=$save_libdir
19073 ;;
19074 esac
19075 fi
19076
19077 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
19078
19079 # This implies no fast_install, which is unacceptable.
19080 # Some rework will be needed to allow for fast_install
19081 # before this can be enabled.
19082 hardcode_into_libs=yes
19083
19084 # Add ABI-specific directories to the system library path.
19085 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/libscip-shell filesystem . . `/lib64 /usr/lib64 /lib /usr/lib`."
19086
19087 # Ideally, we could use ldconfig to report *all* directories which are
19088 # searched for libraries, however this is still not possible. Aside from not
19089 # being certain /sbin/ldconfig is available, command
19090 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
19091 # even though it is searched at run-time. Try to do the best guess by
19092 # appending ld.so.conf contents (and includes) to the search path.
19093 if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then
19094 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' ' '`
19095 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19096 fi
19097
19098 # We used to test for /lib/ld.so.1 and disable shared libraries on
19099 # powerpc, because MkLinux only supported shared libraries with the
19100 # GNU dynamic linker. Since this was broken with cross compilers,
19101 # most powerpc-linux boxes support dynamic linking these days and
19102 # people can always --disable-shared, the test was removed, and we
19103 # assume the GNU/Linux dynamic linker is in use.
19104 dynamic_linker='GNU/Linux ld.so'
19105 ;;
19106
19107 netbsdelf*-gnu)
19108 version_type=linux
19109 need_lib_prefix=no
19110 need_version=no
19111 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19112 soname_spec='$libname$release$shared_ext$major'
19113 shlibpath_var=LD_LIBRARY_PATH
19114 shlibpath_overrides_runpath=no
19115 hardcode_into_libs=yes
19116 dynamic_linker='NetBSD ld.elf_so'
19117 ;;
19118
19119 netbsd*)
19120 version_type=sunos
19121 need_lib_prefix=no
19122 need_version=no
19123 if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
19124 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19125 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19126 dynamic_linker='NetBSD (a.out) ld.so'
19127 else
19128 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19129 soname_spec='$libname$release$shared_ext$major'
19130 dynamic_linker='NetBSD ld.elf_so'
19131 fi
19132 shlibpath_var=LD_LIBRARY_PATH
19133 shlibpath_overrides_runpath=yes
19134 hardcode_into_libs=yes
19135 ;;
19136
19137 *-mlibc)
19138 version_type=linux # correct to gnu/linux during the next big refactor
19139 need_lib_prefix=no
19140 need_version=no
19141 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19142 soname_spec='$libname$release$shared_ext$major'
19143 dynamic_linker='mlibc ld.so'
19144 shlibpath_var=LD_LIBRARY_PATH
19145 shlibpath_overrides_runpath=no
19146 hardcode_into_libs=yes
19147 ;;
19148
19149 newsos6)
19150 version_type=linux # correct to gnu/linux during the next big refactor
19151 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19152 shlibpath_var=LD_LIBRARY_PATH
19153 shlibpath_overrides_runpath=yes
19154 ;;
19155
19156 *nto* | *qnx*)
19157 version_type=qnx
19158 need_lib_prefix=no
19159 need_version=no
19160 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19161 soname_spec='$libname$release$shared_ext$major'
19162 shlibpath_var=LD_LIBRARY_PATH
19163 shlibpath_overrides_runpath=no
19164 hardcode_into_libs=yes
19165 dynamic_linker='ldqnx.so'
19166 ;;
19167
19168 openbsd*)
19169 version_type=sunos
19170 sys_lib_dlsearch_path_spec=/usr/libscip-shell filesystem . . `/usr/lib`.
19171 need_lib_prefix=no
19172 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then
19173 need_version=no
19174 else
19175 need_version=yes
19176 fi
19177 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19178 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19179 shlibpath_var=LD_LIBRARY_PATH
19180 shlibpath_overrides_runpath=yes
19181 ;;
19182
19183 os2*)
19184 libname_spec='$name'
19185 version_type=windows
19186 shrext_cmds=.dll
19187 need_version=no
19188 need_lib_prefix=no
19189 # OS/2 can only load a DLL with a base name of 8 characters or less.
19190 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
19191 v=$($ECHO $release$versuffix | tr -d .-);
19192 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
19193 $ECHO $n$v`$shared_ext'
19194 library_names_spec='${libname}_dll.$libext'
19195 dynamic_linker='OS/2 ld.exe'
19196 shlibpath_var=BEGINLIBPATH
19197 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
19198 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19199 postinstall_cmds='base_file=`basename \$file`~
19200 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
19201 dldir=$destdir/`dirname \$dlpath`~
19202 test -d \$dldir || mkdir -p \$dldir~
19203 $install_prog $dir/$dlname \$dldir/$dlname~
19204 chmod a+x \$dldir/$dlname~
19205 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19206 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19207 fi'
19208 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
19209 dlpath=$dir/\$dldll~
19210 $RM \$dlpath'
19211 ;;
19212
19213 osf3* | osf4* | osf5*)
19214 version_type=osf
19215 need_lib_prefix=no
19216 need_version=no
19217 soname_spec='$libname$release$shared_ext$major'
19218 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19219 shlibpath_var=LD_LIBRARY_PATH
19220 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`."
19221 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19222 ;;
19223
19224 rdos*)
19225 dynamic_linker=no
19226 ;;
19227
19228 serenity*)
19229 version_type=linux # correct to gnu/linux during the next big refactor
19230 need_lib_prefix=no
19231 need_version=no
19232 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19233 soname_spec='$libname$release$shared_ext$major'
19234 shlibpath_var=LD_LIBRARY_PATH
19235 shlibpath_overrides_runpath=no
19236 dynamic_linker='SerenityOS LibELF'
19237 ;;
19238
19239 solaris*)
19240 version_type=linux # correct to gnu/linux during the next big refactor
19241 need_lib_prefix=no
19242 need_version=no
19243 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19244 soname_spec='$libname$release$shared_ext$major'
19245 shlibpath_var=LD_LIBRARY_PATH
19246 shlibpath_overrides_runpath=yes
19247 hardcode_into_libs=yes
19248 # ldd complains unless libraries are executable
19249 postinstall_cmds='chmod +x $lib'
19250 ;;
19251
19252 sunos4*)
19253 version_type=sunos
19254 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19255 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19256 shlibpath_var=LD_LIBRARY_PATH
19257 shlibpath_overrides_runpath=yes
19258 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
19259 need_lib_prefix=no
19260 fi
19261 need_version=yes
19262 ;;
19263
19264 sysv4 | sysv4.3*)
19265 version_type=linux # correct to gnu/linux during the next big refactor
19266 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19267 soname_spec='$libname$release$shared_ext$major'
19268 shlibpath_var=LD_LIBRARY_PATH
19269 case $host_vendor in
19270 sni)
19271 shlibpath_overrides_runpath=no
19272 need_lib_prefix=no
19273 runpath_var=LD_RUN_PATH
19274 ;;
19275 siemens)
19276 need_lib_prefix=no
19277 ;;
19278 motorola)
19279 need_lib_prefix=no
19280 need_version=no
19281 shlibpath_overrides_runpath=no
19282 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.'
19283 ;;
19284 esac
19285 ;;
19286
19287 sysv4*MP*)
19288 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
19289 version_type=linux # correct to gnu/linux during the next big refactor
19290 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
19291 soname_spec='$libname$shared_ext.$major'
19292 shlibpath_var=LD_LIBRARY_PATH
19293 fi
19294 ;;
19295
19296 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19297 version_type=sco
19298 need_lib_prefix=no
19299 need_version=no
19300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
19301 soname_spec='$libname$release$shared_ext$major'
19302 shlibpath_var=LD_LIBRARY_PATH
19303 shlibpath_overrides_runpath=yes
19304 hardcode_into_libs=yes
19305 if testscip-shell system . . test. yes = "$with_gnu_ld"; then
19306 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`.'
19307 else
19308 sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.'
19309 case $host_os in
19310 sco3.2v5*)
19311 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19312 ;;
19313 esac
19314 fi
19315 sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.'
19316 ;;
19317
19318 tpf*)
19319 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
19320 version_type=linux # correct to gnu/linux during the next big refactor
19321 need_lib_prefix=no
19322 need_version=no
19323 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19324 shlibpath_var=LD_LIBRARY_PATH
19325 shlibpath_overrides_runpath=no
19326 hardcode_into_libs=yes
19327 ;;
19328
19329 uts4*)
19330 version_type=linux # correct to gnu/linux during the next big refactor
19331 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19332 soname_spec='$libname$release$shared_ext$major'
19333 shlibpath_var=LD_LIBRARY_PATH
19334 ;;
19335
19336 emscripten*)
19337 version_type=none
19338 need_lib_prefix=no
19339 need_version=no
19340 library_names_spec='$libname$release$shared_ext'
19341 soname_spec='$libname$release$shared_ext'
19342 finish_cmds=
19343 dynamic_linker="Emscripten linker"
19344 lt_prog_compiler_wl_CXX=
19345 lt_prog_compiler_pic_CXX=
19346 lt_prog_compiler_static_CXX=
19347
19348
19349 # C++ specific cases for pic, static, wl, etc.
19350 if testscip-shell system . . test. yes = "$GXX"; then
19351 lt_prog_compiler_wl_CXX='-Wl,'
19352 lt_prog_compiler_static_CXX='-static'
19353
19354 case $host_os in
19355 aix*)
19356 # All AIX code is PIC.
19357 if testscip-shell system . . test. ia64 = "$host_cpu"; then
19358 # AIX 5 now supports IA64 processor
19359 lt_prog_compiler_static_CXX='-Bstatic'
19360 fi
19361 lt_prog_compiler_pic_CXX='-fPIC'
19362 ;;
19363
19364 amigaos*)
19365 case $host_cpu in
19366 powerpc)
19367 # see comment about AmigaOS4 .so support
19368 lt_prog_compiler_pic_CXX='-fPIC'
19369 ;;
19370 m68k)
19371 # FIXME: we need at least 68020 code to build shared libraries, but
19372 # adding the '-m68020' flag to GCC prevents building anything better,
19373 # like '-m68040'.
19374 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19375 ;;
19376 esac
19377 ;;
19378
19379 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19380 # PIC is the default for these OSes.
19381 ;;
19382 mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
19383 # This hack is so that the source file can tell whether it is being
19384 # built for inclusion in a dll (and should export symbols for example).
19385 # Although the cygwin gcc ignores -fPIC, still need this for old-style
19386 # (--disable-auto-import) libraries
19387 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19388 case $host_os in
19389 os2*)
19390 lt_prog_compiler_static_CXX='$wl-static'
19391 ;;
19392 esac
19393 ;;
19394 darwin* | rhapsody*)
19395 # PIC is the default on this platform
19396 # Common symbols not allowed in MH_DYLIB files
19397 lt_prog_compiler_pic_CXX='-fno-common'
19398 ;;
19399 *djgpp*)
19400 # DJGPP does not support shared libraries at all
19401 lt_prog_compiler_pic_CXX=
19402 ;;
19403 haiku*)
19404 # PIC is the default for Haiku.
19405 # The "-static" flag exists, but is broken.
19406 lt_prog_compiler_static_CXX=
19407 ;;
19408 interix[3-9]*)
19409 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19410 # Instead, we relocate shared libraries at runtime.
19411 ;;
19412 sysv4*MP*)
19413 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
19414 lt_prog_compiler_pic_CXX=-Kconform_pic
19415 fi
19416 ;;
19417 hpux*)
19418 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
19419 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
19420 # sets the default TLS model and affects inlining.
19421 case $host_cpu in
19422 hppa*64*)
19423 ;;
19424 *)
19425 lt_prog_compiler_pic_CXX='-fPIC'
19426 ;;
19427 esac
19428 ;;
19429 *qnx* | *nto*)
19430 # QNX uses GNU C++, but need to define -shared option too, otherwise
19431 # it will coredump.
19432 lt_prog_compiler_pic_CXX='-fPIC -shared'
19433 ;;
19434 *)
19435 lt_prog_compiler_pic_CXX='-fPIC'
19436 ;;
19437 esac
19438 else
19439 case $host_os in
19440 aix[4-9]*)
19441 # All AIX code is PIC.
19442 if testscip-shell system . . test. ia64 = "$host_cpu"; then
19443 # AIX 5 now supports IA64 processor
19444 lt_prog_compiler_static_CXX='-Bstatic'
19445 else
19446 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19447 fi
19448 ;;
19449 chorus*)
19450 case $cc_basename in
19451 cxch68*)
19452 # Green Hills C++ Compiler
19453 # _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"
19454 ;;
19455 esac
19456 ;;
19457 mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
19458 # This hack is so that the source file can tell whether it is being
19459 # built for inclusion in a dll (and should export symbols for example).
19460 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19461 ;;
19462 dgux*)
19463 case $cc_basename in
19464 ec++*)
19465 lt_prog_compiler_pic_CXX='-KPIC'
19466 ;;
19467 ghcx*)
19468 # Green Hills C++ Compiler
19469 lt_prog_compiler_pic_CXX='-pic'
19470 ;;
19471 *)
19472 ;;
19473 esac
19474 ;;
19475 freebsd* | dragonfly* | midnightbsd*)
19476 # FreeBSD uses GNU C++
19477 ;;
19478 hpux9* | hpux10* | hpux11*)
19479 case $cc_basename in
19480 CC*)
19481 lt_prog_compiler_wl_CXX='-Wl,'
19482 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
19483 if testscip-shell system . . test. ia64 != "$host_cpu"; then
19484 lt_prog_compiler_pic_CXX='+Z'
19485 fi
19486 ;;
19487 aCC*)
19488 lt_prog_compiler_wl_CXX='-Wl,'
19489 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
19490 case $host_cpu in
19491 hppa*64*|ia64*)
19492 # +Z the default
19493 ;;
19494 *)
19495 lt_prog_compiler_pic_CXX='+Z'
19496 ;;
19497 esac
19498 ;;
19499 *)
19500 ;;
19501 esac
19502 ;;
19503 interix*)
19504 # This is c89, which is MS Visual C++ (no shared libs)
19505 # Anyone wants to do a port?
19506 ;;
19507 irix5* | irix6* | nonstopux*)
19508 case $cc_basename in
19509 CC*)
19510 lt_prog_compiler_wl_CXX='-Wl,'
19511 lt_prog_compiler_static_CXX='-non_shared'
19512 # CC pic flag -KPIC is the default.
19513 ;;
19514 *)
19515 ;;
19516 esac
19517 ;;
19518 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
19519 case $cc_basename in
19520 KCC*)
19521 # KAI C++ Compiler
19522 lt_prog_compiler_wl_CXX='--backend -Wl,'
19523 lt_prog_compiler_pic_CXX='-fPIC'
19524 ;;
19525 ecpc* )
19526 # old Intel C++ for x86_64, which still supported -KPIC.
19527 lt_prog_compiler_wl_CXX='-Wl,'
19528 lt_prog_compiler_pic_CXX='-KPIC'
19529 lt_prog_compiler_static_CXX='-static'
19530 ;;
19531 icpc* )
19532 # Intel C++, used to be incompatible with GCC.
19533 # ICC 10 doesn't accept -KPIC any more.
19534 lt_prog_compiler_wl_CXX='-Wl,'
19535 lt_prog_compiler_pic_CXX='-fPIC'
19536 lt_prog_compiler_static_CXX='-static'
19537 ;;
19538 pgCC* | pgcpp*)
19539 # Portland Group C++ compiler
19540 lt_prog_compiler_wl_CXX='-Wl,'
19541 lt_prog_compiler_pic_CXX='-fpic'
19542 lt_prog_compiler_static_CXX='-Bstatic'
19543 ;;
19544 cxx*)
19545 # Compaq C++
19546 # Make sure the PIC flag is empty. It appears that all Alpha
19547 # Linux and Compaq Tru64 Unix objects are PIC.
19548 lt_prog_compiler_pic_CXX=
19549 lt_prog_compiler_static_CXX='-non_shared'
19550 ;;
19551 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
19552 # IBM XL 8.0, 9.0 on PPC and BlueGene
19553 lt_prog_compiler_wl_CXX='-Wl,'
19554 lt_prog_compiler_pic_CXX='-qpic'
19555 lt_prog_compiler_static_CXX='-qstaticlink'
19556 ;;
19557 *)
19558 case `$CC -V 2>&1 | $SED 5q` in
19559 *Sun\ C*)
19560 # Sun C++ 5.9
19561 lt_prog_compiler_pic_CXX='-KPIC'
19562 lt_prog_compiler_static_CXX='-Bstatic'
19563 lt_prog_compiler_wl_CXX='-Qoption ld '
19564 ;;
19565 esac
19566 ;;
19567 esac
19568 ;;
19569 lynxos*)
19570 ;;
19571 m88k*)
19572 ;;
19573 mvs*)
19574 case $cc_basename in
19575 cxx*)
19576 lt_prog_compiler_pic_CXX='-W c,exportall'
19577 ;;
19578 *)
19579 ;;
19580 esac
19581 ;;
19582 netbsd* | netbsdelf*-gnu)
19583 ;;
19584 *-mlibc)
19585 ;;
19586 *qnx* | *nto*)
19587 # QNX uses GNU C++, but need to define -shared option too, otherwise
19588 # it will coredump.
19589 lt_prog_compiler_pic_CXX='-fPIC -shared'
19590 ;;
19591 osf3* | osf4* | osf5*)
19592 case $cc_basename in
19593 KCC*)
19594 lt_prog_compiler_wl_CXX='--backend -Wl,'
19595 ;;
19596 RCC*)
19597 # Rational C++ 2.4.1
19598 lt_prog_compiler_pic_CXX='-pic'
19599 ;;
19600 cxx*)
19601 # Digital/Compaq C++
19602 lt_prog_compiler_wl_CXX='-Wl,'
19603 # Make sure the PIC flag is empty. It appears that all Alpha
19604 # Linux and Compaq Tru64 Unix objects are PIC.
19605 lt_prog_compiler_pic_CXX=
19606 lt_prog_compiler_static_CXX='-non_shared'
19607 ;;
19608 *)
19609 ;;
19610 esac
19611 ;;
19612 psos*)
19613 ;;
19614 serenity*)
19615 ;;
19616 solaris*)
19617 case $cc_basename in
19618 CC* | sunCC*)
19619 # Sun C++ 4.2, 5.x and Centerline C++
19620 lt_prog_compiler_pic_CXX='-KPIC'
19621 lt_prog_compiler_static_CXX='-Bstatic'
19622 lt_prog_compiler_wl_CXX='-Qoption ld '
19623 ;;
19624 gcx*)
19625 # Green Hills C++ Compiler
19626 lt_prog_compiler_pic_CXX='-PIC'
19627 ;;
19628 *)
19629 ;;
19630 esac
19631 ;;
19632 sunos4*)
19633 case $cc_basename in
19634 CC*)
19635 # Sun C++ 4.x
19636 lt_prog_compiler_pic_CXX='-pic'
19637 lt_prog_compiler_static_CXX='-Bstatic'
19638 ;;
19639 lcc*)
19640 # Lucid
19641 lt_prog_compiler_pic_CXX='-pic'
19642 ;;
19643 *)
19644 ;;
19645 esac
19646 ;;
19647 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19648 case $cc_basename in
19649 CC*)
19650 lt_prog_compiler_wl_CXX='-Wl,'
19651 lt_prog_compiler_pic_CXX='-KPIC'
19652 lt_prog_compiler_static_CXX='-Bstatic'
19653 ;;
19654 esac
19655 ;;
19656 tandem*)
19657 case $cc_basename in
19658 NCC*)
19659 # NonStop-UX NCC 3.20
19660 lt_prog_compiler_pic_CXX='-KPIC'
19661 ;;
19662 *)
19663 ;;
19664 esac
19665 ;;
19666 vxworks*)
19667 ;;
19668 *)
19669 lt_prog_compiler_can_build_shared_CXX=no
19670 ;;
19671 esac
19672 fi
19673
19674 case $host_os in
19675 # For platforms that do not support PIC, -DPIC is meaningless:
19676 *djgpp*)
19677 lt_prog_compiler_pic_CXX=
19678 ;;
19679 *)
19680 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19681 ;;
19682 esac
19683
19684 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
19685 printfscip-shell system . . printf. %s "checking for $compiler option to produce PIC... " >&6; }
19686 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_CXX+y}
19687 then :
19688 printfscip-shell system . . printf. %s "(cached) " >&6
19689 else case e in #(
19690 e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
19691 esac
19692 fi
19693 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
19694 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
19695 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
19696
19697 #
19698 # Check to make sure the PIC flag actually works.
19699 #
19700 if testscip-shell system . . test. -n "$lt_prog_compiler_pic_CXX"; then
19701 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19702 printfscip-shell system . . printf. %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19703 if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_works_CXX+y}
19704 then :
19705 printfscip-shell system . . printf. %s "(cached) " >&6
19706 else case e in #(
19707 e) lt_cv_prog_compiler_pic_works_CXX=no
19708 ac_outfile=conftest.$ac_objext
19709 echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext
19710 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
19711 # Insert the option either (1) after the last *FLAGS variable, or
19712 # (2) before a word containing "conftest.", or (3) at the end.
19713 # Note that $ac_compile itself does not contain backslashes and begins
19714 # with a dollar sign (not a hyphen), so the echo should work correctly.
19715 # The option is referenced via a variable to avoid confusing sed.
19716 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
19717 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19718 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19719 -e 's:$: $lt_compiler_flag:'`
19720 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19721 (eval "$lt_compile" 2>conftest.err)
19722 ac_status=$?
19723 catscip-shell system . . cat. conftest.err >&5
19724 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19725 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
19726 # The compiler can only warn and ignore the option if not recognized
19727 # So say no if there are warnings other than the usual output.
19728 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
19729 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
19730 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
19731 lt_cv_prog_compiler_pic_works_CXX=yes
19732 fi
19733 fi
19734 $RM conftest*
19735 ;;
19736 esac
19737 fi
19738 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19739 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19740
19741 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
19742 case $lt_prog_compiler_pic_CXX in
19743 "" | " "*) ;;
19744 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19745 esac
19746 else
19747 lt_prog_compiler_pic_CXX=
19748 lt_prog_compiler_can_build_shared_CXX=no
19749 fi
19750
19751 fi
19752
19753
19754
19755
19756
19757 #
19758 # Check to make sure the static flag actually works.
19759 #
19760 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19761 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19762 printfscip-shell system . . printf. %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19763 if testscip-shell system . . test. ${lt_cv_prog_compiler_static_works_CXX+y}
19764 then :
19765 printfscip-shell system . . printf. %s "(cached) " >&6
19766 else case e in #(
19767 e) lt_cv_prog_compiler_static_works_CXX=no
19768 save_LDFLAGS=$LDFLAGS
19769 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19770 echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext
19771 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
19772 # The linker can only warn and ignore the option if not recognized
19773 # So say no if there are warnings
19774 if testscip-shell system . . test. -s conftest.err; then
19775 # Append any errors to the config.log.
19776 catscip-shell system . . cat. conftest.err 1>&5
19777 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
19778 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
19779 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
19780 lt_cv_prog_compiler_static_works_CXX=yes
19781 fi
19782 else
19783 lt_cv_prog_compiler_static_works_CXX=yes
19784 fi
19785 fi
19786 $RM -r conftest*
19787 LDFLAGS=$save_LDFLAGS
19788 ;;
19789 esac
19790 fi
19791 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19792 printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19793
19794 if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works_CXX"; then
19795 :
19796 else
19797 lt_prog_compiler_static_CXX=
19798 fi
19799
19800
19801
19802 ='-fPIC'
19803 archive_cmds_CXX='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
19804 archive_expsym_cmds_CXX='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
19805 archive_cmds_need_lc_CXX=no
19806 no_undefined_flag_CXX=
19807 ;;
19808
19809 *)
19810 dynamic_linker=no
19811 ;;
19812 esac
19813 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19814 printfscip-shell system . . printf. "%s\n" "$dynamic_linker" >&6; }
19815 testscip-shell system . . test. no = "$dynamic_linker" && can_build_shared=no
19816
19817 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19818 if testscip-shell system . . test. yes = "$GCC"; then
19819 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19820 fi
19821
19822 if testscip-shell system . . test. set = "${lt_cv_sys_lib_search_path_spec+set}"; then
19823 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
19824 fi
19825
19826 if testscip-shell system . . test. set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
19827 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
19828 fi
19829
19830 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
19831 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
19832
19833 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
19834 func_munge_path_listscip-shell shell shell-project 0.0.0 func_munge_path_list(). sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
19835
19836 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
19837 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19879 printfscip-shell system . . printf. %s "checking how to hardcode library paths into programs... " >&6; }
19880 hardcode_action_CXX=
19881 if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec_CXX" ||
19882 testscip-shell system . . test. -n "$runpath_var_CXX" ||
19883 testscip-shell system . . test. yes = "$hardcode_automatic_CXX"; then
19884
19885 # We can hardcode non-existent directories.
19886 if testscip-shell system . . test. no != "$hardcode_direct_CXX" &&
19887 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19888 # have to relink, otherwise we might link with an installed library
19889 # when we should be linking with a yet-to-be-installed one
19890 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
19891 testscip-shell system . . test. no != "$hardcode_minus_L_CXX"; then
19892 # Linking always hardcodes the temporary library directory.
19893 hardcode_action_CXX=relink
19894 else
19895 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19896 hardcode_action_CXX=immediate
19897 fi
19898 else
19899 # We cannot hardcode anything, or else we can only hardcode existing
19900 # directories.
19901 hardcode_action_CXX=unsupported
19902 fi
19903 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
19904 printfscip-shell system . . printf. "%s\n" "$hardcode_action_CXX" >&6; }
19905
19906 if testscip-shell system . . test. relink = "$hardcode_action_CXX" ||
19907 testscip-shell system . . test. yes = "$inherit_rpath_CXX"; then
19908 # Fast installation is not supported
19909 enable_fast_install=no
19910 elif testscip-shell system . . test. yes = "$shlibpath_overrides_runpath" ||
19911 testscip-shell system . . test. no = "$enable_shared"; then
19912 # Fast installation is not necessary
19913 enable_fast_install=needless
19914 fi
19915
19916
19917
19918
19919
19920
19921
19922 fi # test -n "$compiler"
19923
19924 CC=$lt_save_CC
19925 CFLAGS=$lt_save_CFLAGS
19926 LDCXX=$LD
19927 LD=$lt_save_LD
19928 GCC=$lt_save_GCC
19929 with_gnu_ld=$lt_save_with_gnu_ld
19930 lt_cv_path_LDCXX=$lt_cv_path_LD
19931 lt_cv_path_LD=$lt_save_path_LD
19932 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
19933 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
19934 fi # test yes != "$_lt_caught_CXX_error"
19935
19936 ac_ext=c
19937 ac_cpp='$CPP $CPPFLAGS'
19938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956 ac_config_commands="$ac_config_commands libtool"
19957
19958
19959
19960
19961 # Only expand once:
19962
19963
19964
19965
19966 # libtool option to control which symbols are exported
19967 # right now, symbols starting with _ are not exported
19968 LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[^_].*"'
19969
19970
19971 # Checks for libraries.
19972
19973
19974
19975
19976
19977
19978
19979 if testscip-shell system . . test. "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19980 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
19981 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19982 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19983 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19984 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
19985 if testscip-shell system . . test. ${ac_cv_path_PKG_CONFIG+y}
19986 then :
19987 printfscip-shell system . . printf. %s "(cached) " >&6
19988 else case e in #(
19989 e) case $PKG_CONFIG in
19990 [\\/]* | ?:[\\/]*)
19991 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19992 ;;
19993 *)
19994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19995 for as_dir in $PATH
19996 do
19997 IFS=$as_save_IFS
19998 case $as_dir in #(((
19999 '') as_dir=./ ;;
20000 */) ;;
20001 *) as_dir=$as_dir/ ;;
20002 esac
20003 for ac_exec_ext in '' $ac_executable_extensions; do
20004 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
20005 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20006 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20007 break 2
20008 fi
20009 done
20010 done
20011 IFS=$as_save_IFS
20012
20013 ;;
20014 esac ;;
20015 esac
20016 fi
20017 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20018 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
20019 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20020 printfscip-shell system . . printf. "%s\n" "$PKG_CONFIG" >&6; }
20021 else
20022 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20023 printfscip-shell system . . printf. "%s\n" "no" >&6; }
20024 fi
20025
20026
20027 fi
20028 if testscip-shell system . . test. -z "$ac_cv_path_PKG_CONFIG"; then
20029 ac_pt_PKG_CONFIG=$PKG_CONFIG
20030 # Extract the first word of "pkg-config", so it can be a program name with args.
20031 set dummy pkg-config; ac_word=$2
20032 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20033 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
20034 if testscip-shell system . . test. ${ac_cv_path_ac_pt_PKG_CONFIG+y}
20035 then :
20036 printfscip-shell system . . printf. %s "(cached) " >&6
20037 else case e in #(
20038 e) case $ac_pt_PKG_CONFIG in
20039 [\\/]* | ?:[\\/]*)
20040 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20041 ;;
20042 *)
20043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20044 for as_dir in $PATH
20045 do
20046 IFS=$as_save_IFS
20047 case $as_dir in #(((
20048 '') as_dir=./ ;;
20049 */) ;;
20050 *) as_dir=$as_dir/ ;;
20051 esac
20052 for ac_exec_ext in '' $ac_executable_extensions; do
20053 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
20054 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20055 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20056 break 2
20057 fi
20058 done
20059 done
20060 IFS=$as_save_IFS
20061
20062 ;;
20063 esac ;;
20064 esac
20065 fi
20066 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20067 if testscip-shell system . . test. -n "$ac_pt_PKG_CONFIG"; then
20068 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20069 printfscip-shell system . . printf. "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
20070 else
20071 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20072 printfscip-shell system . . printf. "%s\n" "no" >&6; }
20073 fi
20074
20075 if testscip-shell system . . test. "x$ac_pt_PKG_CONFIG" = x; then
20076 PKG_CONFIG=""
20077 else
20078 case $cross_compiling:$ac_tool_warned in
20079 yes:)
20080 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20081 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20082 ac_tool_warned=yes ;;
20083 esac
20084 PKG_CONFIG=$ac_pt_PKG_CONFIG
20085 fi
20086 else
20087 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20088 fi
20089
20090 fi
20091 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
20092 _pkg_min_version=0.9.0
20093 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20094 printfscip-shell system . . printf. %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20095 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20096 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20097 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
20098 else
20099 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20100 printfscip-shell system . . printf. "%s\n" "no" >&6; }
20101 PKG_CONFIG=""
20102 fi
20103 fi
20104 if testscip-shell system . . test. -z "$PKG_CONFIG"; then
20105 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "pkg-config not found" "$LINENO" 5
20106 fi
20107
20108 pkg_failed=no
20109 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.4.0" >&5
20110 printfscip-shell system . . printf. %s "checking for glib-2.0 >= 2.4.0... " >&6; }
20111
20112 if testscip-shell system . . test. -n "$GLIB2_CFLAGS"; then
20113 pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
20114 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
20115 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
20116 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4.0\""; } >&5
20117 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4.0") 2>&5
20118 ac_status=$?
20119 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20120 testscip-shell system . . test. $ac_status = 0; }; then
20121 pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
20122 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
20123 else
20124 pkg_failed=yes
20125 fi
20126 else
20127 pkg_failed=untried
20128 fi
20129 if testscip-shell system . . test. -n "$GLIB2_LIBS"; then
20130 pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
20131 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
20132 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
20133 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4.0\""; } >&5
20134 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4.0") 2>&5
20135 ac_status=$?
20136 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20137 testscip-shell system . . test. $ac_status = 0; }; then
20138 pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.4.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
20139 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
20140 else
20141 pkg_failed=yes
20142 fi
20143 else
20144 pkg_failed=untried
20145 fi
20146
20147
20148
20149 if testscip-shell system . . test. $pkg_failed = yes; then
20150 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20151 printfscip-shell system . . printf. "%s\n" "no" >&6; }
20152
20153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20154 _pkg_short_errors_supported=yes
20155 else
20156 _pkg_short_errors_supported=no
20157 fi
20158 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
20159 GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.4.0" 2>&1`
20160 else
20161 GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.4.0" 2>&1`
20162 fi
20163 # Put the nasty error message in config.log where it belongs
20164 echoscip-shell system . . echo. "$GLIB2_PKG_ERRORS" >&5
20165
20166 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (glib-2.0 >= 2.4.0) were not met:
20167
20168 $GLIB2_PKG_ERRORS
20169
20170 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20171 installed software in a non-standard prefix.
20172
20173 Alternatively, you may set the environment variables GLIB2_CFLAGS
20174 and GLIB2_LIBS to avoid the need to call pkg-config.
20175 See the pkg-config man page for more details." "$LINENO" 5
20176 elif testscip-shell system . . test. $pkg_failed = untried; then
20177 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20178 printfscip-shell system . . printf. "%s\n" "no" >&6; }
20179 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
20180 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
20181 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it
20182 is in your PATH or set the PKG_CONFIG environment variable to the full
20183 path to pkg-config.
20184
20185 Alternatively, you may set the environment variables GLIB2_CFLAGS
20186 and GLIB2_LIBS to avoid the need to call pkg-config.
20187 See the pkg-config man page for more details.
20188
20189 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20190 See 'config.log' for more details" "$LINENO" 5; }
20191 else
20192 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
20193 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
20194 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20195 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
20196
20197 fi
20198
20199 # Checks for header files.
20200 # Autoupdate added the next two lines to ensure that your configure
20201 # script's behavior did not change. They are probably safe to remove.
20202
20203 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
20204 printfscip-shell system . . printf. %s "checking for egrep... " >&6; }
20205 if testscip-shell system . . test. ${ac_cv_path_EGREP+y}
20206 then :
20207 printfscip-shell system . . printf. %s "(cached) " >&6
20208 else case e in #(
20209 e) if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
20210 then ac_cv_path_EGREP="$GREP -E"
20211 else
20212 if testscip-shell system . . test. -z "$EGREP"; then
20213 ac_path_EGREP_found=false
20214 # Loop through the user's path and test for each of PROGNAME-LIST
20215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20216 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
20217 do
20218 IFS=$as_save_IFS
20219 case $as_dir in #(((
20220 '') as_dir=./ ;;
20221 */) ;;
20222 *) as_dir=$as_dir/ ;;
20223 esac
20224 for ac_prog in egrep
20225 do
20226 for ac_exec_ext in '' $ac_executable_extensions; do
20227 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
20228 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_EGREP" || continue
20229 # Check for GNU ac_path_EGREP and select it if it is found.
20230 # Check for GNU $ac_path_EGREP
20231 case `"$ac_path_EGREP" --version 2>&1` in #(
20232 *GNU*)
20233 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
20234 #(
20235 *)
20236 ac_count=0
20237 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
20238 while :
20239 do
20240 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
20241 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
20242 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
20243 printfscip-shell system . . printf. "%s\n" 'EGREP' >> "conftest.nl"
20244 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
20245 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
20246 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
20247 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then
20248 # Best one so far, save it but keep looking for a better one
20249 ac_cv_path_EGREP="$ac_path_EGREP"
20250 ac_path_EGREP_max=$ac_count
20251 fi
20252 # 10*(2^10) chars as input seems more than enough
20253 testscip-shell system . . test. $ac_count -gt 10 && break
20254 done
20255 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
20256 esac
20257
20258 $ac_path_EGREP_found && break 3
20259 done
20260 done
20261 done
20262 IFS=$as_save_IFS
20263 if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then
20264 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
20265 fi
20266 else
20267 ac_cv_path_EGREP=$EGREP
20268 fi
20269
20270 fi ;;
20271 esac
20272 fi
20273 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
20274 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP" >&6; }
20275 EGREP="$ac_cv_path_EGREP"
20276
20277 EGREP_TRADITIONAL=$EGREP
20278 ac_cv_path_EGREP_TRADITIONAL=$EGREP
20279
20280
20281 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20282 if testscip-shell system . . test. "x$ac_cv_header_locale_h" = xyes
20283 then :
20284 printfscip-shell system . . printf. "%s\n" "#define HAVE_LOCALE_H 1" >>confdefs.h
20285
20286 fi
20287 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
20288 if testscip-shell system . . test. "x$ac_cv_header_stdlib_h" = xyes
20289 then :
20290 printfscip-shell system . . printf. "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
20291
20292 fi
20293 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
20294 if testscip-shell system . . test. "x$ac_cv_header_string_h" = xyes
20295 then :
20296 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
20297
20298 fi
20299 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" "$ac_includes_default"
20300 if testscip-shell system . . test. "x$ac_cv_header_sys_time_h" = xyes
20301 then :
20302 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
20303
20304 fi
20305 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20306 if testscip-shell system . . test. "x$ac_cv_header_unistd_h" = xyes
20307 then :
20308 printfscip-shell system . . printf. "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
20309
20310 fi
20311
20312
20313 # Checks for typedefs, structures, and compiler characteristics.
20314 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
20315 if testscip-shell system . . test. "x$ac_cv_type__Bool" = xyes
20316 then :
20317
20318 printfscip-shell system . . printf. "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
20319
20320
20321 fi
20322
20323 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99 or later" >&5
20324 printfscip-shell system . . printf. %s "checking for stdbool.h that conforms to C99 or later... " >&6; }
20325 if testscip-shell system . . test. ${ac_cv_header_stdbool_h+y}
20326 then :
20327 printfscip-shell system . . printf. %s "(cached) " >&6
20328 else case e in #(
20329 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20330 /* end confdefs.h. */
20331 #include <stdbool.h>
20332
20333 /* "true" and "false" should be usable in #if expressions and
20334 integer constant expressions, and "bool" should be a valid
20335 type name.
20336
20337 Although C99 requires bool, true, and false to be macros,
20338 C23 and C++11 overrule that, so do not test for that.
20339 Although C99 requires __bool_true_false_are_defined and
20340 _Bool, C23 says they are obsolescent, so do not require
20341 them. */
20342
20343 #if !true
20344 #error "'true' is not true"
20345 #endif
20346 #if true != 1
20347 #error "'true' is not equal to 1"
20348 #endif
20349 char b[true == 1 ? 1 : -1];
20350 char c[true];
20351
20352 #if false
20353 #error "'false' is not false"
20354 #endif
20355 #if false != 0
20356 #error "'false' is not equal to 0"
20357 #endif
20358 char d[false == 0 ? 1 : -1];
20359
20360 enum { e = false, f = true, g = false * true, h = true * 256 };
20361
20362 char i[(bool) 0.5 == true ? 1 : -1];
20363 char j[(bool) 0.0 == false ? 1 : -1];
20364 char k[sizeof (bool) > 0 ? 1 : -1];
20365
20366 struct sb { bool s: 1; bool t; } s;
20367 char l[sizeof s.t > 0 ? 1 : -1];
20368
20369 /* The following fails for
20370 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
20371 bool m[h];
20372 char n[sizeof m == h * sizeof m[0] ? 1 : -1];
20373 char o[-1 - (bool) 0 < 0 ? 1 : -1];
20374 /* Catch a bug in an HP-UX C compiler. See
20375 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
20376 https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
20377 */
20378 bool p = true;
20379 bool *pp = &p;
20380
20381 int
20382 main (void)
20383 {
20384
20385 bool ps = &s;
20386 *pp |= p;
20387 *pp |= ! p;
20388
20389 /* Refer to every declared value, so they cannot be
20390 discarded as unused. */
20391 return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k
20392 + !l + !m + !n + !o + !p + !pp + !ps);
20393
20394 ;
20395 return 0;
20396 }
20397 _ACEOF
20398 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
20399 then :
20400 ac_cv_header_stdbool_h=yes
20401 else case e in #(
20402 e) ac_cv_header_stdbool_h=no ;;
20403 esac
20404 fi
20405 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
20406 esac
20407 fi
20408 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
20409 printfscip-shell system . . printf. "%s\n" "$ac_cv_header_stdbool_h" >&6; }
20410
20411 if testscip-shell system . . test. $ac_cv_header_stdbool_h = yes; then
20412
20413 printfscip-shell system . . printf. "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h
20414
20415 fi
20416
20417 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20418 printfscip-shell system . . printf. %s "checking for an ANSI C-conforming const... " >&6; }
20419 if testscip-shell system . . test. ${ac_cv_c_const+y}
20420 then :
20421 printfscip-shell system . . printf. %s "(cached) " >&6
20422 else case e in #(
20423 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20424 /* end confdefs.h. */
20425
20426 int
20427 main (void)
20428 {
20429
20430 #ifndef __cplusplus
20431 /* Ultrix mips cc rejects this sort of thing. */
20432 typedef int charset[2];
20433 const charset cs = { 0, 0 };
20434 /* SunOS 4.1.1 cc rejects this. */
20435 char const *const *pcpcc;
20436 char **ppc;
20437 /* NEC SVR4.0.2 mips cc rejects this. */
20438 struct point {int x, y;};
20439 static struct point const zero = {0,0};
20440 /* IBM XL C 1.02.0.0 rejects this.
20441 It does not let you subtract one const X* pointer from another in
20442 an arm of an if-expression whose if-part is not a constant
20443 expression */
20444 const char *g = "string";
20445 pcpcc = &g + (g ? g-g : 0);
20446 /* HPUX 7.0 cc rejects these. */
20447 ++pcpcc;
20448 ppc = (char**) pcpcc;
20449 pcpcc = (char const *const *) ppc;
20450 { /* SCO 3.2v4 cc rejects this sort of thing. */
20451 char tx;
20452 char *t = &tx;
20453 char const *s = 0 ? (char *) 0 : (char const *) 0;
20454
20455 *t++ = 0;
20456 if (s) return 0;
20457 }
20458 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20459 int x[] = {25, 17};
20460 const int *foo = &x[0];
20461 ++foo;
20462 }
20463 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20464 typedef const int *iptr;
20465 iptr p = 0;
20466 ++p;
20467 }
20468 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
20469 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20470 struct s { int j; const int *ap[3]; } bx;
20471 struct s *b = &bx; b->j = 5;
20472 }
20473 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20474 const int foo = 10;
20475 if (!foo) return 0;
20476 }
20477 return !cs[0] && !zero.x;
20478 #endif
20479
20480 ;
20481 return 0;
20482 }
20483 _ACEOF
20484 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
20485 then :
20486 ac_cv_c_const=yes
20487 else case e in #(
20488 e) ac_cv_c_const=no ;;
20489 esac
20490 fi
20491 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
20492 esac
20493 fi
20494 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20495 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_const" >&6; }
20496 if testscip-shell system . . test. $ac_cv_c_const = no; then
20497
20498 printfscip-shell system . . printf. "%s\n" "#define const /**/" >>confdefs.h
20499
20500 fi
20501
20502 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20503 printfscip-shell system . . printf. %s "checking for inline... " >&6; }
20504 if testscip-shell system . . test. ${ac_cv_c_inline+y}
20505 then :
20506 printfscip-shell system . . printf. %s "(cached) " >&6
20507 else case e in #(
20508 e) ac_cv_c_inline=no
20509 for ac_kw in inline __inline__ __inline; do
20510 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20511 /* end confdefs.h. */
20512 #ifndef __cplusplus
20513 typedef int foo_t;
20514 static $ac_kw foo_t static_foo (void) {return 0; }
20515 $ac_kw foo_t foo (void) {return 0; }
20516 #endif
20517
20518 _ACEOF
20519 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
20520 then :
20521 ac_cv_c_inline=$ac_kw
20522 fi
20523 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20524 testscip-shell system . . test. "$ac_cv_c_inline" != no && break
20525 done
20526 ;;
20527 esac
20528 fi
20529 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20530 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_inline" >&6; }
20531
20532 case $ac_cv_c_inline in
20533 inline | yes) ;;
20534 *)
20535 case $ac_cv_c_inline in
20536 no) ac_val=;;
20537 *) ac_val=$ac_cv_c_inline;;
20538 esac
20539 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
20540 #ifndef __cplusplus
20541 #define inline $ac_val
20542 #endif
20543 _ACEOF
20544 ;;
20545 esac
20546
20547 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"
20548 if testscip-shell system . . test. "x$ac_cv_type_size_t" = xyes
20549 then :
20550
20551 else case e in #(
20552 e)
20553 printfscip-shell system . . printf. "%s\n" "#define size_t unsigned int" >>confdefs.h
20554 ;;
20555 esac
20556 fi
20557
20558
20559
20560 # Obsolete code to be removed.
20561 if testscip-shell system . . test. $ac_cv_header_sys_time_h = yes; then
20562
20563 printfscip-shell system . . printf. "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
20564
20565 fi
20566 # End of obsolete code.
20567
20568
20569 # Checks for library functions.
20570 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
20571 printfscip-shell system . . printf. %s "checking for GNU libc compatible malloc... " >&6; }
20572 if testscip-shell system . . test. ${ac_cv_func_malloc_0_nonnull+y}
20573 then :
20574 printfscip-shell system . . printf. %s "(cached) " >&6
20575 else case e in #(
20576 e) if testscip-shell system . . test. "$cross_compiling" = yes
20577 then :
20578 case "$host_os" in # ((
20579 # Guess yes on platforms where we know the result.
20580 *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
20581 | hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
20582 ac_cv_func_malloc_0_nonnull=yes ;;
20583 # If we don't know, assume the worst.
20584 *) ac_cv_func_malloc_0_nonnull=no ;;
20585 esac
20586 else case e in #(
20587 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20588 /* end confdefs.h. */
20589 #include <stdlib.h>
20590
20591 int
20592 main (void)
20593 {
20594 void *p = malloc (0);
20595 int result = !p;
20596 free (p);
20597 return result;
20598 ;
20599 return 0;
20600 }
20601 _ACEOF
20602 if ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). "$LINENO"
20603 then :
20604 ac_cv_func_malloc_0_nonnull=yes
20605 else case e in #(
20606 e) ac_cv_func_malloc_0_nonnull=no ;;
20607 esac
20608 fi
20609 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20610 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
20611 esac
20612 fi
20613 ;;
20614 esac
20615 fi
20616 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
20617 printfscip-shell system . . printf. "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; }
20618 if testscip-shell system . . test. $ac_cv_func_malloc_0_nonnull = yes
20619 then :
20620
20621 printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLOC 1" >>confdefs.h
20622
20623 else case e in #(
20624 e) printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLOC 0" >>confdefs.h
20625
20626 case " $LIBOBJS " in
20627 *" malloc.$ac_objext "* ) ;;
20628 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
20629 ;;
20630 esac
20631
20632
20633 printfscip-shell system . . printf. "%s\n" "#define malloc rpl_malloc" >>confdefs.h
20634 ;;
20635 esac
20636 fi
20637
20638
20639 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
20640 printfscip-shell system . . printf. %s "checking for working memcmp... " >&6; }
20641 if testscip-shell system . . test. ${ac_cv_func_memcmp_working+y}
20642 then :
20643 printfscip-shell system . . printf. %s "(cached) " >&6
20644 else case e in #(
20645 e) if testscip-shell system . . test. "$cross_compiling" = yes
20646 then :
20647 ac_cv_func_memcmp_working=no
20648 else case e in #(
20649 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20650 /* end confdefs.h. */
20651 $ac_includes_default
20652 int
20653 main (void)
20654 {
20655
20656 /* Some versions of memcmp are not 8-bit clean. */
20657 char c0 = '\100', c1 = '\200', c2 = '\201';
20658 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
20659 return 1;
20660
20661 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
20662 or more and with at least one buffer not starting on a 4-byte boundary.
20663 William Lewis provided this test program. */
20664 {
20665 char foo[21];
20666 char bar[21];
20667 int i;
20668 for (i = 0; i < 4; i++)
20669 {
20670 char *a = foo + i;
20671 char *b = bar + i;
20672 strcpy (a, "--------01111111");
20673 strcpy (b, "--------10000000");
20674 if (memcmp (a, b, 16) >= 0)
20675 return 1;
20676 }
20677 return 0;
20678 }
20679
20680 ;
20681 return 0;
20682 }
20683 _ACEOF
20684 if ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). "$LINENO"
20685 then :
20686 ac_cv_func_memcmp_working=yes
20687 else case e in #(
20688 e) ac_cv_func_memcmp_working=no ;;
20689 esac
20690 fi
20691 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20692 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
20693 esac
20694 fi
20695 ;;
20696 esac
20697 fi
20698 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
20699 printfscip-shell system . . printf. "%s\n" "$ac_cv_func_memcmp_working" >&6; }
20700 testscip-shell system . . test. $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
20701 *" memcmp.$ac_objext "* ) ;;
20702 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
20703 ;;
20704 esac
20705
20706
20707 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
20708 printfscip-shell system . . printf. %s "checking for GNU libc compatible realloc... " >&6; }
20709 if testscip-shell system . . test. ${ac_cv_func_realloc_0_nonnull+y}
20710 then :
20711 printfscip-shell system . . printf. %s "(cached) " >&6
20712 else case e in #(
20713 e) if testscip-shell system . . test. "$cross_compiling" = yes
20714 then :
20715 case "$host_os" in # ((
20716 # Guess yes on platforms where we know the result.
20717 *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
20718 | hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
20719 ac_cv_func_realloc_0_nonnull=yes ;;
20720 # If we don't know, assume the worst.
20721 *) ac_cv_func_realloc_0_nonnull=no ;;
20722 esac
20723 else case e in #(
20724 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20725 /* end confdefs.h. */
20726 #include <stdlib.h>
20727
20728 int
20729 main (void)
20730 {
20731 void *p = realloc (0, 0);
20732 int result = !p;
20733 free (p);
20734 return result;
20735 ;
20736 return 0;
20737 }
20738 _ACEOF
20739 if ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). "$LINENO"
20740 then :
20741 ac_cv_func_realloc_0_nonnull=yes
20742 else case e in #(
20743 e) ac_cv_func_realloc_0_nonnull=no ;;
20744 esac
20745 fi
20746 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20747 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
20748 esac
20749 fi
20750 ;;
20751 esac
20752 fi
20753 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
20754 printfscip-shell system . . printf. "%s\n" "$ac_cv_func_realloc_0_nonnull" >&6; }
20755 if testscip-shell system . . test. $ac_cv_func_realloc_0_nonnull = yes
20756 then :
20757
20758 printfscip-shell system . . printf. "%s\n" "#define HAVE_REALLOC 1" >>confdefs.h
20759
20760 else case e in #(
20761 e) printfscip-shell system . . printf. "%s\n" "#define HAVE_REALLOC 0" >>confdefs.h
20762
20763 case " $LIBOBJS " in
20764 *" realloc.$ac_objext "* ) ;;
20765 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
20766 ;;
20767 esac
20768
20769
20770 printfscip-shell system . . printf. "%s\n" "#define realloc rpl_realloc" >>confdefs.h
20771 ;;
20772 esac
20773 fi
20774
20775
20776 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
20777 printfscip-shell system . . printf. %s "checking whether lstat correctly handles trailing slash... " >&6; }
20778 if testscip-shell system . . test. ${ac_cv_func_lstat_dereferences_slashed_symlink+y}
20779 then :
20780 printfscip-shell system . . printf. %s "(cached) " >&6
20781 else case e in #(
20782 e) rmscip-shell system . . rm. -f conftest.sym conftest.file
20783 echoscip-shell system . . echo. >conftest.file
20784 if testscip-shell system . . test. "$as_ln_s" = "ln -s" && lnscip-shell system . . ln. -s conftest.file conftest.sym; then
20785 if testscip-shell system . . test. "$cross_compiling" = yes
20786 then :
20787 case "$host_os" in # ((
20788 # Guess yes on glibc systems.
20789 *-gnu*) ac_cv_func_lstat_dereferences_slashed_symlink=yes ;;
20790 # If we don't know, assume the worst.
20791 *) ac_cv_func_lstat_dereferences_slashed_symlink=no ;;
20792 esac
20793 else case e in #(
20794 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 int
20798 main (void)
20799 {
20800 struct stat sbuf;
20801 /* Linux will dereference the symlink and fail, as required by POSIX.
20802 That is better in the sense that it means we will not
20803 have to compile and use the lstat wrapper. */
20804 return lstat ("conftest.sym/", &sbuf) == 0;
20805 ;
20806 return 0;
20807 }
20808 _ACEOF
20809 if ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). "$LINENO"
20810 then :
20811 ac_cv_func_lstat_dereferences_slashed_symlink=yes
20812 else case e in #(
20813 e) ac_cv_func_lstat_dereferences_slashed_symlink=no ;;
20814 esac
20815 fi
20816 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20817 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
20818 esac
20819 fi
20820
20821 else
20822 # If the 'ln -s' command failed, then we probably don't even
20823 # have an lstat function.
20824 ac_cv_func_lstat_dereferences_slashed_symlink=no
20825 fi
20826 rmscip-shell system . . rm. -f conftest.sym conftest.file
20827 ;;
20828 esac
20829 fi
20830 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
20831 printfscip-shell system . . printf. "%s\n" "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
20832
20833 testscip-shell system . . test. $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
20834
20835 printfscip-shell system . . printf. "%s\n" "#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1" >>confdefs.h
20836
20837
20838 if testscip-shell system . . test. "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
20839 case " $LIBOBJS " in
20840 *" lstat.$ac_objext "* ) ;;
20841 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
20842 ;;
20843 esac
20844
20845 fi
20846
20847 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
20848 printfscip-shell system . . printf. %s "checking whether stat accepts an empty string... " >&6; }
20849 if testscip-shell system . . test. ${ac_cv_func_stat_empty_string_bug+y}
20850 then :
20851 printfscip-shell system . . printf. %s "(cached) " >&6
20852 else case e in #(
20853 e) if testscip-shell system . . test. "$cross_compiling" = yes
20854 then :
20855 ac_cv_func_stat_empty_string_bug=yes
20856 else case e in #(
20857 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20859 $ac_includes_default
20860 int
20861 main (void)
20862 {
20863 struct stat sbuf;
20864 return stat ("", &sbuf) == 0;
20865 ;
20866 return 0;
20867 }
20868 _ACEOF
20869 if ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). "$LINENO"
20870 then :
20871 ac_cv_func_stat_empty_string_bug=no
20872 else case e in #(
20873 e) ac_cv_func_stat_empty_string_bug=yes ;;
20874 esac
20875 fi
20876 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20877 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
20878 esac
20879 fi
20880 ;;
20881 esac
20882 fi
20883 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
20884 printfscip-shell system . . printf. "%s\n" "$ac_cv_func_stat_empty_string_bug" >&6; }
20885 if testscip-shell system . . test. $ac_cv_func_stat_empty_string_bug = yes; then
20886 case " $LIBOBJS " in
20887 *" stat.$ac_objext "* ) ;;
20888 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
20889 ;;
20890 esac
20891
20892
20893 printfscip-shell system . . printf. "%s\n" "#define HAVE_STAT_EMPTY_STRING_BUG 1" >>confdefs.h
20894
20895 fi
20896
20897
20898 ac_func=
20899 for ac_item in $ac_func_c_list
20900 do
20901 if testscip-shell system . . test. $ac_func; then
20902 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" $ac_func ac_cv_func_$ac_func
20903 if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
20904 echoscip-shell system . . echo. "#define $ac_item 1" >> confdefs.h
20905 fi
20906 ac_func=
20907 else
20908 ac_func=$ac_item
20909 fi
20910 done
20911
20912
20913 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
20914 printfscip-shell system . . printf. %s "checking for working mmap... " >&6; }
20915 if testscip-shell system . . test. ${ac_cv_func_mmap_fixed_mapped+y}
20916 then :
20917 printfscip-shell system . . printf. %s "(cached) " >&6
20918 else case e in #(
20919 e) if testscip-shell system . . test. "$cross_compiling" = yes
20920 then :
20921 case "$host_os" in # ((
20922 # Guess yes on platforms where we know the result.
20923 linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
20924 # If we don't know, assume the worst.
20925 *) ac_cv_func_mmap_fixed_mapped=no ;;
20926 esac
20927 else case e in #(
20928 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
20929 /* end confdefs.h. */
20930 $ac_includes_default
20931 /* malloc might have been renamed as rpl_malloc. */
20932 #undef malloc
20933
20934 /* Thanks to Mike Haertel and Jim Avera for this test.
20935 Here is a matrix of mmap possibilities:
20936 mmap private not fixed
20937 mmap private fixed at somewhere currently unmapped
20938 mmap private fixed at somewhere already mapped
20939 mmap shared not fixed
20940 mmap shared fixed at somewhere currently unmapped
20941 mmap shared fixed at somewhere already mapped
20942 For private mappings, we should verify that changes cannot be read()
20943 back from the file, nor mmap's back from the file at a different
20944 address. (There have been systems where private was not correctly
20945 implemented like the infamous i386 svr4.0, and systems where the
20946 VM page cache was not coherent with the file system buffer cache
20947 like early versions of FreeBSD and possibly contemporary NetBSD.)
20948 For shared mappings, we should conversely verify that changes get
20949 propagated back to all the places they're supposed to be. */
20950
20951 #include <fcntl.h>
20952 #include <sys/mman.h>
20953
20954 #ifndef getpagesize
20955 /* Prefer sysconf to the legacy getpagesize function, as getpagesize has
20956 been removed from POSIX and is limited to page sizes that fit in 'int'. */
20957 # ifdef _SC_PAGESIZE
20958 # define getpagesize() sysconf (_SC_PAGESIZE)
20959 # elif defined _SC_PAGE_SIZE
20960 # define getpagesize() sysconf (_SC_PAGE_SIZE)
20961 # elif HAVE_GETPAGESIZE
20962 int getpagesize ();
20963 # else
20964 # ifdef HAVE_SYS_PARAM_H
20965 # include <sys/param.h>
20966 # ifdef EXEC_PAGESIZE
20967 # define getpagesize() EXEC_PAGESIZE
20968 # else /* no EXEC_PAGESIZE */
20969 # ifdef NBPG
20970 # define getpagesize() NBPG * CLSIZE
20971 # ifndef CLSIZE
20972 # define CLSIZE 1
20973 # endif /* no CLSIZE */
20974 # else /* no NBPG */
20975 # ifdef NBPC
20976 # define getpagesize() NBPC
20977 # else /* no NBPC */
20978 # ifdef PAGESIZE
20979 # define getpagesize() PAGESIZE
20980 # endif /* PAGESIZE */
20981 # endif /* no NBPC */
20982 # endif /* no NBPG */
20983 # endif /* no EXEC_PAGESIZE */
20984 # else /* no HAVE_SYS_PARAM_H */
20985 # define getpagesize() 8192 /* punt totally */
20986 # endif /* no HAVE_SYS_PARAM_H */
20987 # endif
20988 #endif
20989
20990 int
20991 main (void)
20992 {
20993 char *data, *data2, *data3;
20994 const char *cdata2;
20995 long i, pagesize;
20996 int fd, fd2;
20997
20998 pagesize = getpagesize ();
20999
21000 /* First, make a file with some known garbage in it. */
21001 data = (char *) malloc (pagesize);
21002 if (!data)
21003 return 1;
21004 for (i = 0; i < pagesize; ++i)
21005 *(data + i) = rand ();
21006 umask (0);
21007 fd = creat ("conftest.mmap", 0600);
21008 if (fd < 0)
21009 return 2;
21010 if (write (fd, data, pagesize) != pagesize)
21011 return 3;
21012 close (fd);
21013
21014 /* Next, check that the tail of a page is zero-filled. File must have
21015 non-zero length, otherwise we risk SIGBUS for entire page. */
21016 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
21017 if (fd2 < 0)
21018 return 4;
21019 cdata2 = "";
21020 if (write (fd2, cdata2, 1) != 1)
21021 return 5;
21022 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
21023 if (data2 == MAP_FAILED)
21024 return 6;
21025 for (i = 0; i < pagesize; ++i)
21026 if (*(data2 + i))
21027 return 7;
21028 close (fd2);
21029 /* 'return 8;' not currently used. */
21030
21031 /* Next, try to mmap the file at a fixed address which already has
21032 something else allocated at it. If we can, also make sure that
21033 we see the same garbage. */
21034 fd = open ("conftest.mmap", O_RDWR);
21035 if (fd < 0)
21036 return 9;
21037 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21038 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21039 return 10;
21040 for (i = 0; i < pagesize; ++i)
21041 if (*(data + i) != *(data2 + i))
21042 return 11;
21043
21044 /* Finally, make sure that changes to the mapped area do not
21045 percolate back to the file as seen by read(). (This is a bug on
21046 some variants of i386 svr4.0.) */
21047 for (i = 0; i < pagesize; ++i)
21048 *(data2 + i) = *(data2 + i) + 1;
21049 data3 = (char *) malloc (pagesize);
21050 if (!data3)
21051 return 12;
21052 if (read (fd, data3, pagesize) != pagesize)
21053 return 13;
21054 for (i = 0; i < pagesize; ++i)
21055 if (*(data + i) != *(data3 + i))
21056 return 14;
21057 close (fd);
21058 free (data);
21059 free (data3);
21060 return 0;
21061 }
21062 _ACEOF
21063 if ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). "$LINENO"
21064 then :
21065 ac_cv_func_mmap_fixed_mapped=yes
21066 else case e in #(
21067 e) ac_cv_func_mmap_fixed_mapped=no ;;
21068 esac
21069 fi
21070 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21071 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
21072 esac
21073 fi
21074 ;;
21075 esac
21076 fi
21077 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
21078 printfscip-shell system . . printf. "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
21079 if testscip-shell system . . test. $ac_cv_func_mmap_fixed_mapped = yes; then
21080
21081 printfscip-shell system . . printf. "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
21082
21083 fi
21084 rmscip-shell system . . rm. -f conftest.mmap conftest.txt
21085
21086 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
21087 if testscip-shell system . . test. "x$ac_cv_func_gettimeofday" = xyes
21088 then :
21089 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
21090
21091 fi
21092 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "memmove" "ac_cv_func_memmove"
21093 if testscip-shell system . . test. "x$ac_cv_func_memmove" = xyes
21094 then :
21095 printfscip-shell system . . printf. "%s\n" "#define HAVE_MEMMOVE 1" >>confdefs.h
21096
21097 fi
21098 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "memset" "ac_cv_func_memset"
21099 if testscip-shell system . . test. "x$ac_cv_func_memset" = xyes
21100 then :
21101 printfscip-shell system . . printf. "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
21102
21103 fi
21104 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "setlocale" "ac_cv_func_setlocale"
21105 if testscip-shell system . . test. "x$ac_cv_func_setlocale" = xyes
21106 then :
21107 printfscip-shell system . . printf. "%s\n" "#define HAVE_SETLOCALE 1" >>confdefs.h
21108
21109 fi
21110
21111
21112 for ac_header in string.h
21113 do :
21114 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
21115 if testscip-shell system . . test. "x$ac_cv_header_string_h" = xyes
21116 then :
21117 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
21118
21119 else case e in #(
21120 e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Cannot find string.h" "$LINENO" 5 ;;
21121 esac
21122 fi
21123
21124 done
21125
21126 # Check Berkeley DB or Kyoto Cabinet
21127 DBM="BerkeleyDB"
21128
21129 # Check whether --with-dbm was given.
21130 if testscip-shell system . . test. ${with_dbm+y}
21131 then :
21132 withval=$with_dbm; DBM=$with_dbm
21133 fi
21134
21135
21136 if testscip-shell system . . test. x"$DBM" = x"BerkeleyDB"; then
21137 # Check Berkeley DB
21138 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "db.h" "ac_cv_header_db_h" "$ac_includes_default"
21139 if testscip-shell system . . test. "x$ac_cv_header_db_h" = xyes
21140 then :
21141
21142 else case e in #(
21143 e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Cannot find Berkeley DB library version 5" "$LINENO" 5 ;;
21144 esac
21145 fi
21146
21147
21148 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing db_create" >&5
21149 printfscip-shell system . . printf. %s "checking for library containing db_create... " >&6; }
21150 if testscip-shell system . . test. ${ac_cv_search_db_create+y}
21151 then :
21152 printfscip-shell system . . printf. %s "(cached) " >&6
21153 else case e in #(
21154 e) ac_func_search_save_LIBS=$LIBS
21155 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21156 /* end confdefs.h. */
21157
21158 /* Override any GCC internal prototype to avoid an error.
21159 Use char because int might match the return type of a GCC
21160 builtin and then its argument prototype would still apply.
21161 The 'extern "C"' is for builds by C++ compilers;
21162 although this is not generally supported in C code supporting it here
21163 has little cost and some practical benefit (sr 110532). */
21164 #ifdef __cplusplus
21165 extern "C"
21166 #endif
21167 char db_create (void);
21168 int
21169 main (void)
21170 {
21171 return db_create ();
21172 ;
21173 return 0;
21174 }
21175 _ACEOF
21176 for ac_lib in '' db
21177 do
21178 if testscip-shell system . . test. -z "$ac_lib"; then
21179 ac_res="none required"
21180 else
21181 ac_res=-l$ac_lib
21182 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21183 fi
21184 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
21185 then :
21186 ac_cv_search_db_create=$ac_res
21187 fi
21188 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
21189 conftest$ac_exeext
21190 if testscip-shell system . . test. ${ac_cv_search_db_create+y}
21191 then :
21192 break
21193 fi
21194 done
21195 if testscip-shell system . . test. ${ac_cv_search_db_create+y}
21196 then :
21197
21198 else case e in #(
21199 e) ac_cv_search_db_create=no ;;
21200 esac
21201 fi
21202 rmscip-shell system . . rm. conftest.$ac_ext
21203 LIBS=$ac_func_search_save_LIBS ;;
21204 esac
21205 fi
21206 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_db_create" >&5
21207 printfscip-shell system . . printf. "%s\n" "$ac_cv_search_db_create" >&6; }
21208 ac_res=$ac_cv_search_db_create
21209 if testscip-shell system . . test. "$ac_res" != no
21210 then :
21211 testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21212
21213 else case e in #(
21214 e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Cannot find Berkeley DB library version 5" "$LINENO" 5 ;;
21215 esac
21216 fi
21217
21218
21219
21220 printfscip-shell system . . printf. "%s\n" "#define HAVE_BERKELEY_DB /**/" >>confdefs.h
21221
21222 fi
21223
21224 if testscip-shell system . . test. x"$DBM" = x"BerkeleyDB"; then
21225 BERKELEYDB_TRUE=
21226 BERKELEYDB_FALSE='#'
21227 else
21228 BERKELEYDB_TRUE='#'
21229 BERKELEYDB_FALSE=
21230 fi
21231
21232
21233 if testscip-shell system . . test. x"$DBM" = x"KyotoCabinet"; then
21234 # Check Kyoto Cabinet
21235
21236 pkg_failed=no
21237 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kyotocabinet" >&5
21238 printfscip-shell system . . printf. %s "checking for kyotocabinet... " >&6; }
21239
21240 if testscip-shell system . . test. -n "$KYOTOCABINET_CFLAGS"; then
21241 pkg_cv_KYOTOCABINET_CFLAGS="$KYOTOCABINET_CFLAGS"
21242 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
21243 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
21244 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kyotocabinet\""; } >&5
21245 ($PKG_CONFIG --exists --print-errors "kyotocabinet") 2>&5
21246 ac_status=$?
21247 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21248 testscip-shell system . . test. $ac_status = 0; }; then
21249 pkg_cv_KYOTOCABINET_CFLAGS=`$PKG_CONFIG --cflags "kyotocabinet" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
21250 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
21251 else
21252 pkg_failed=yes
21253 fi
21254 else
21255 pkg_failed=untried
21256 fi
21257 if testscip-shell system . . test. -n "$KYOTOCABINET_LIBS"; then
21258 pkg_cv_KYOTOCABINET_LIBS="$KYOTOCABINET_LIBS"
21259 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
21260 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
21261 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kyotocabinet\""; } >&5
21262 ($PKG_CONFIG --exists --print-errors "kyotocabinet") 2>&5
21263 ac_status=$?
21264 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21265 testscip-shell system . . test. $ac_status = 0; }; then
21266 pkg_cv_KYOTOCABINET_LIBS=`$PKG_CONFIG --libs "kyotocabinet" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
21267 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
21268 else
21269 pkg_failed=yes
21270 fi
21271 else
21272 pkg_failed=untried
21273 fi
21274
21275
21276
21277 if testscip-shell system . . test. $pkg_failed = yes; then
21278 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21279 printfscip-shell system . . printf. "%s\n" "no" >&6; }
21280
21281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21282 _pkg_short_errors_supported=yes
21283 else
21284 _pkg_short_errors_supported=no
21285 fi
21286 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
21287 KYOTOCABINET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "kyotocabinet" 2>&1`
21288 else
21289 KYOTOCABINET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "kyotocabinet" 2>&1`
21290 fi
21291 # Put the nasty error message in config.log where it belongs
21292 echoscip-shell system . . echo. "$KYOTOCABINET_PKG_ERRORS" >&5
21293
21294 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (kyotocabinet) were not met:
21295
21296 $KYOTOCABINET_PKG_ERRORS
21297
21298 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21299 installed software in a non-standard prefix.
21300
21301 Alternatively, you may set the environment variables KYOTOCABINET_CFLAGS
21302 and KYOTOCABINET_LIBS to avoid the need to call pkg-config.
21303 See the pkg-config man page for more details." "$LINENO" 5
21304 elif testscip-shell system . . test. $pkg_failed = untried; then
21305 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21306 printfscip-shell system . . printf. "%s\n" "no" >&6; }
21307 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
21308 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
21309 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it
21310 is in your PATH or set the PKG_CONFIG environment variable to the full
21311 path to pkg-config.
21312
21313 Alternatively, you may set the environment variables KYOTOCABINET_CFLAGS
21314 and KYOTOCABINET_LIBS to avoid the need to call pkg-config.
21315 See the pkg-config man page for more details.
21316
21317 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21318 See 'config.log' for more details" "$LINENO" 5; }
21319 else
21320 KYOTOCABINET_CFLAGS=$pkg_cv_KYOTOCABINET_CFLAGS
21321 KYOTOCABINET_LIBS=$pkg_cv_KYOTOCABINET_LIBS
21322 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21323 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
21324
21325 fi
21326
21327 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing kcdbopen" >&5
21328 printfscip-shell system . . printf. %s "checking for library containing kcdbopen... " >&6; }
21329 if testscip-shell system . . test. ${ac_cv_search_kcdbopen+y}
21330 then :
21331 printfscip-shell system . . printf. %s "(cached) " >&6
21332 else case e in #(
21333 e) ac_func_search_save_LIBS=$LIBS
21334 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21335 /* end confdefs.h. */
21336
21337 /* Override any GCC internal prototype to avoid an error.
21338 Use char because int might match the return type of a GCC
21339 builtin and then its argument prototype would still apply.
21340 The 'extern "C"' is for builds by C++ compilers;
21341 although this is not generally supported in C code supporting it here
21342 has little cost and some practical benefit (sr 110532). */
21343 #ifdef __cplusplus
21344 extern "C"
21345 #endif
21346 char kcdbopen (void);
21347 int
21348 main (void)
21349 {
21350 return kcdbopen ();
21351 ;
21352 return 0;
21353 }
21354 _ACEOF
21355 for ac_lib in '' kyotocabinet
21356 do
21357 if testscip-shell system . . test. -z "$ac_lib"; then
21358 ac_res="none required"
21359 else
21360 ac_res=-l$ac_lib
21361 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21362 fi
21363 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
21364 then :
21365 ac_cv_search_kcdbopen=$ac_res
21366 fi
21367 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
21368 conftest$ac_exeext
21369 if testscip-shell system . . test. ${ac_cv_search_kcdbopen+y}
21370 then :
21371 break
21372 fi
21373 done
21374 if testscip-shell system . . test. ${ac_cv_search_kcdbopen+y}
21375 then :
21376
21377 else case e in #(
21378 e) ac_cv_search_kcdbopen=no ;;
21379 esac
21380 fi
21381 rmscip-shell system . . rm. conftest.$ac_ext
21382 LIBS=$ac_func_search_save_LIBS ;;
21383 esac
21384 fi
21385 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_kcdbopen" >&5
21386 printfscip-shell system . . printf. "%s\n" "$ac_cv_search_kcdbopen" >&6; }
21387 ac_res=$ac_cv_search_kcdbopen
21388 if testscip-shell system . . test. "$ac_res" != no
21389 then :
21390 testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21391
21392 else case e in #(
21393 e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Cannot find Kyoto Cabinet library" "$LINENO" 5 ;;
21394 esac
21395 fi
21396
21397
21398
21399 printfscip-shell system . . printf. "%s\n" "#define HAVE_KYOTO_CABINET /**/" >>confdefs.h
21400
21401 fi
21402
21403 if testscip-shell system . . test. x"$DBM" = x"KyotoCabinet"; then
21404 KYOTOCABINET_TRUE=
21405 KYOTOCABINET_FALSE='#'
21406 else
21407 KYOTOCABINET_TRUE='#'
21408 KYOTOCABINET_FALSE=
21409 fi
21410
21411
21412 if testscip-shell system . . test. x"$DBM" = x"Tkrzw"; then
21413 # Check Tkrzw
21414
21415 pkg_failed=no
21416 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tkrzw" >&5
21417 printfscip-shell system . . printf. %s "checking for tkrzw... " >&6; }
21418
21419 if testscip-shell system . . test. -n "$TKRZW_CFLAGS"; then
21420 pkg_cv_TKRZW_CFLAGS="$TKRZW_CFLAGS"
21421 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
21422 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
21423 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tkrzw\""; } >&5
21424 ($PKG_CONFIG --exists --print-errors "tkrzw") 2>&5
21425 ac_status=$?
21426 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21427 testscip-shell system . . test. $ac_status = 0; }; then
21428 pkg_cv_TKRZW_CFLAGS=`$PKG_CONFIG --cflags "tkrzw" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
21429 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
21430 else
21431 pkg_failed=yes
21432 fi
21433 else
21434 pkg_failed=untried
21435 fi
21436 if testscip-shell system . . test. -n "$TKRZW_LIBS"; then
21437 pkg_cv_TKRZW_LIBS="$TKRZW_LIBS"
21438 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
21439 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
21440 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tkrzw\""; } >&5
21441 ($PKG_CONFIG --exists --print-errors "tkrzw") 2>&5
21442 ac_status=$?
21443 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21444 testscip-shell system . . test. $ac_status = 0; }; then
21445 pkg_cv_TKRZW_LIBS=`$PKG_CONFIG --libs "tkrzw" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
21446 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
21447 else
21448 pkg_failed=yes
21449 fi
21450 else
21451 pkg_failed=untried
21452 fi
21453
21454
21455
21456 if testscip-shell system . . test. $pkg_failed = yes; then
21457 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21458 printfscip-shell system . . printf. "%s\n" "no" >&6; }
21459
21460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21461 _pkg_short_errors_supported=yes
21462 else
21463 _pkg_short_errors_supported=no
21464 fi
21465 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
21466 TKRZW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tkrzw" 2>&1`
21467 else
21468 TKRZW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tkrzw" 2>&1`
21469 fi
21470 # Put the nasty error message in config.log where it belongs
21471 echoscip-shell system . . echo. "$TKRZW_PKG_ERRORS" >&5
21472
21473 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (tkrzw) were not met:
21474
21475 $TKRZW_PKG_ERRORS
21476
21477 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21478 installed software in a non-standard prefix.
21479
21480 Alternatively, you may set the environment variables TKRZW_CFLAGS
21481 and TKRZW_LIBS to avoid the need to call pkg-config.
21482 See the pkg-config man page for more details." "$LINENO" 5
21483 elif testscip-shell system . . test. $pkg_failed = untried; then
21484 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21485 printfscip-shell system . . printf. "%s\n" "no" >&6; }
21486 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
21487 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
21488 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it
21489 is in your PATH or set the PKG_CONFIG environment variable to the full
21490 path to pkg-config.
21491
21492 Alternatively, you may set the environment variables TKRZW_CFLAGS
21493 and TKRZW_LIBS to avoid the need to call pkg-config.
21494 See the pkg-config man page for more details.
21495
21496 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21497 See 'config.log' for more details" "$LINENO" 5; }
21498 else
21499 TKRZW_CFLAGS=$pkg_cv_TKRZW_CFLAGS
21500 TKRZW_LIBS=$pkg_cv_TKRZW_LIBS
21501 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21502 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
21503
21504 fi
21505
21506 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing tkrzw_dbm_open" >&5
21507 printfscip-shell system . . printf. %s "checking for library containing tkrzw_dbm_open... " >&6; }
21508 if testscip-shell system . . test. ${ac_cv_search_tkrzw_dbm_open+y}
21509 then :
21510 printfscip-shell system . . printf. %s "(cached) " >&6
21511 else case e in #(
21512 e) ac_func_search_save_LIBS=$LIBS
21513 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
21514 /* end confdefs.h. */
21515
21516 /* Override any GCC internal prototype to avoid an error.
21517 Use char because int might match the return type of a GCC
21518 builtin and then its argument prototype would still apply.
21519 The 'extern "C"' is for builds by C++ compilers;
21520 although this is not generally supported in C code supporting it here
21521 has little cost and some practical benefit (sr 110532). */
21522 #ifdef __cplusplus
21523 extern "C"
21524 #endif
21525 char tkrzw_dbm_open (void);
21526 int
21527 main (void)
21528 {
21529 return tkrzw_dbm_open ();
21530 ;
21531 return 0;
21532 }
21533 _ACEOF
21534 for ac_lib in '' tkrzw
21535 do
21536 if testscip-shell system . . test. -z "$ac_lib"; then
21537 ac_res="none required"
21538 else
21539 ac_res=-l$ac_lib
21540 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21541 fi
21542 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
21543 then :
21544 ac_cv_search_tkrzw_dbm_open=$ac_res
21545 fi
21546 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
21547 conftest$ac_exeext
21548 if testscip-shell system . . test. ${ac_cv_search_tkrzw_dbm_open+y}
21549 then :
21550 break
21551 fi
21552 done
21553 if testscip-shell system . . test. ${ac_cv_search_tkrzw_dbm_open+y}
21554 then :
21555
21556 else case e in #(
21557 e) ac_cv_search_tkrzw_dbm_open=no ;;
21558 esac
21559 fi
21560 rmscip-shell system . . rm. conftest.$ac_ext
21561 LIBS=$ac_func_search_save_LIBS ;;
21562 esac
21563 fi
21564 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tkrzw_dbm_open" >&5
21565 printfscip-shell system . . printf. "%s\n" "$ac_cv_search_tkrzw_dbm_open" >&6; }
21566 ac_res=$ac_cv_search_tkrzw_dbm_open
21567 if testscip-shell system . . test. "$ac_res" != no
21568 then :
21569 testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21570
21571 else case e in #(
21572 e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Cannot find Tkrzw library" "$LINENO" 5 ;;
21573 esac
21574 fi
21575
21576
21577
21578 printfscip-shell system . . printf. "%s\n" "#define HAVE_TKRZW /**/" >>confdefs.h
21579
21580 fi
21581
21582 if testscip-shell system . . test. x"$DBM" = x"Tkrzw"; then
21583 TKRZW_TRUE=
21584 TKRZW_FALSE='#'
21585 else
21586 TKRZW_TRUE='#'
21587 TKRZW_FALSE=
21588 fi
21589
21590
21591 DATABASE_FORMAT="$DBM"
21592
21593
21594 # --enable-libzhuyin
21595 # Check whether --enable-libzhuyin was given.
21596 if testscip-shell system . . test. ${enable_libzhuyin+y}
21597 then :
21598 enableval=$enable_libzhuyin; enable_libzhuyin=$enableval
21599 else case e in #(
21600 e) enable_libzhuyin=no
21601 ;;
21602 esac
21603 fi
21604
21605 if testscip-shell system . . test. x"$enable_libzhuyin" = x"yes"; then
21606 ENABLE_LIBZHUYIN_TRUE=
21607 ENABLE_LIBZHUYIN_FALSE='#'
21608 else
21609 ENABLE_LIBZHUYIN_TRUE='#'
21610 ENABLE_LIBZHUYIN_FALSE=
21611 fi
21612
21613
21614
21615 build_windows=no
21616 case "${host_os}" in
21617 cygwin*|mingw*)
21618 build_windows=yes
21619 ;;
21620 *)
21621 ;;
21622 esac
21623 if testscip-shell system . . test. x"$build_windows" = x"yes"; then
21624 WINDOWS_TRUE=
21625 WINDOWS_FALSE='#'
21626 else
21627 WINDOWS_TRUE='#'
21628 WINDOWS_FALSE=
21629 fi
21630
21631
21632 ac_config_files="$ac_config_files libpinyin.pc libzhuyin.pc libpinyin.spec Makefile doc/Makefile data/Makefile data/table.conf src/Makefile src/include/Makefile src/storage/Makefile src/lookup/Makefile tests/Makefile tests/include/Makefile tests/storage/Makefile tests/lookup/Makefile utils/Makefile utils/storage/Makefile utils/segment/Makefile utils/training/Makefile"
21633
21634
21635 catscip-shell system . . cat. >confcache <<\_ACEOF
21636 # This file is a shell script that caches the results of configure
21637 # tests run on this system so they can be shared between configure
21638 # scripts and configure runs, see configure's option --config-cache.
21639 # It is not useful on other systems. If it contains results you don't
21640 # want to keep, you may remove or edit it.
21641 #
21642 # config.status only pays attention to the cache file if you give it
21643 # the --recheck option to rerun configure.
21644 #
21645 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
21646 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
21647 # following values.
21648
21649 _ACEOF
21650
21651 # The following way of writing the cache mishandles newlines in values,
21652 # but we know of no workaround that is simple, portable, and efficient.
21653 # So, we kill variables containing newlines.
21654 # Ultrix sh set writes to stderr and can't be redirected directly,
21655 # and sets the high bit in the cache file unless we assign to the vars.
21656 (
21657 for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21658 eval ac_val=\$$ac_var
21659 case $ac_val in #(
21660 *${as_nl}*)
21661 case $ac_var in #(
21662 *_cv_*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21663 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21664 esac
21665 case $ac_var in #(
21666 _ | IFS | as_nl) ;; #(
21667 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21668 *) { eval $ac_var=; unset $ac_var;} ;;
21669 esac ;;
21670 esac
21671 done
21672
21673 (set) 2>&1 |
21674 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21675 *${as_nl}ac_space=\ *)
21676 # 'set' does not quote correctly, so add quotes: double-quote
21677 # substitution turns \\\\ into \\, and sed turns \\ into \.
21678 sedscip-shell system . . sed. -n \
21679 "s/'/'\\\\''/g;
21680 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21681 ;; #(
21682 *)
21683 # 'set' quotes correctly as required by POSIX, so do not add quotes.
21684 sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21685 ;;
21686 esac |
21687 sortscip-shell system . . sort.
21688 ) |
21689 sedscip-shell system . . sed. '
21690 /^ac_cv_env_/b end
21691 t clear
21692 :clear
21693 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
21694 t end
21695 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21696 :end' >>confcache
21697 if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
21698 if testscip-shell system . . test. -w "$cache_file"; then
21699 if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then
21700 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21701 printfscip-shell system . . printf. "%s\n" "$as_me: updating cache $cache_file" >&6;}
21702 if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then
21703 catscip-shell system . . cat. confcache >"$cache_file"
21704 else
21705 case $cache_file in #(
21706 */* | ?:*)
21707 mvscip-shell system . . mv. -f confcache "$cache_file"$$ &&
21708 mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #(
21709 *)
21710 mvscip-shell system . . mv. -f confcache "$cache_file" ;;
21711 esac
21712 fi
21713 fi
21714 else
21715 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21716 printfscip-shell system . . printf. "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
21717 fi
21718 fi
21719 rmscip-shell system . . rm. -f confcache
21720
21721 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
21722 # Let make expand exec_prefix.
21723 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21724
21725 DEFS=-DHAVE_CONFIG_H
21726
21727 ac_libobjs=
21728 ac_ltlibobjs=
21729 U=
21730 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
21731 # 1. Remove the extension, and $U if already installed.
21732 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21733 ac_i=`printfscip-shell system . . printf. "%s\n" "$ac_i" | sedscip-shell system . . sed. "$ac_script"`
21734 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21735 # will be set to the directory where LIBOBJS objects are built.
21736 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21737 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21738 done
21739 LIBOBJS=$ac_libobjs
21740
21741 LTLIBOBJS=$ac_ltlibobjs
21742
21743
21744 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21745 printfscip-shell system . . printf. %s "checking that generated files are newer than configure... " >&6; }
21746 if testscip-shell system . . test. -n "$am_sleep_pid"; then
21747 # Hide warnings about reused PIDs.
21748 wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`.
21749 fi
21750 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
21751 printfscip-shell system . . printf. "%s\n" "done" >&6; }
21752 case $enable_silent_rules in # (((
21753 yes) AM_DEFAULT_VERBOSITY=0;;
21754 no) AM_DEFAULT_VERBOSITY=1;;
21755 esac
21756 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
21757 AM_V='$(V)'
21758 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
21759 else
21760 AM_V=$AM_DEFAULT_VERBOSITY
21761 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
21762 fi
21763
21764 if testscip-shell system . . test. -n "$EXEEXT"; then
21765 am__EXEEXT_TRUE=
21766 am__EXEEXT_FALSE='#'
21767 else
21768 am__EXEEXT_TRUE='#'
21769 am__EXEEXT_FALSE=
21770 fi
21771
21772 if testscip-shell system . . test. -z "${AMDEP_TRUE}" && testscip-shell system . . test. -z "${AMDEP_FALSE}"; then
21773 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"AMDEP\" was never defined.
21774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21775 fi
21776 if testscip-shell system . . test. -z "${am__fastdepCXX_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCXX_FALSE}"; then
21777 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"am__fastdepCXX\" was never defined.
21778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21779 fi
21780 if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then
21781 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined.
21782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21783 fi
21784 if testscip-shell system . . test. -z "${LLVMLD_TRUE}" && testscip-shell system . . test. -z "${LLVMLD_FALSE}"; then
21785 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"LLVMLD\" was never defined.
21786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21787 fi
21788 if testscip-shell system . . test. -z "${BERKELEYDB_TRUE}" && testscip-shell system . . test. -z "${BERKELEYDB_FALSE}"; then
21789 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BERKELEYDB\" was never defined.
21790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21791 fi
21792 if testscip-shell system . . test. -z "${KYOTOCABINET_TRUE}" && testscip-shell system . . test. -z "${KYOTOCABINET_FALSE}"; then
21793 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"KYOTOCABINET\" was never defined.
21794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21795 fi
21796 if testscip-shell system . . test. -z "${TKRZW_TRUE}" && testscip-shell system . . test. -z "${TKRZW_FALSE}"; then
21797 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"TKRZW\" was never defined.
21798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21799 fi
21800 if testscip-shell system . . test. -z "${ENABLE_LIBZHUYIN_TRUE}" && testscip-shell system . . test. -z "${ENABLE_LIBZHUYIN_FALSE}"; then
21801 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"ENABLE_LIBZHUYIN\" was never defined.
21802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21803 fi
21804 if testscip-shell system . . test. -z "${WINDOWS_TRUE}" && testscip-shell system . . test. -z "${WINDOWS_FALSE}"; then
21805 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WINDOWS\" was never defined.
21806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21807 fi
21808
21809 : "${CONFIG_STATUS=./config.status}"
21810 ac_write_fail=0
21811 ac_clean_files_save=$ac_clean_files
21812 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21813 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21814 printfscip-shell system . . printf. "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
21815 as_write_fail=0
21816 catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21817 #! $SHELL
21818 # Generated by $as_me.
21819 # Run this file to recreate the current configuration.
21820 # Compiler output produced by configure, useful for debugging
21821 # configure, is in config.log if it exists.
21822
21823 debug=false
21824 ac_cs_recheck=false
21825 ac_cs_silent=false
21826
21827 SHELL=\${CONFIG_SHELL-$SHELL}
21828 export SHELL
21829 _ASEOF
21830 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21831 ## -------------------- ##
21832 ## M4sh Initialization. ##
21833 ## -------------------- ##
21834
21835 # Be more Bourne compatible
21836 DUALCASE=1; export DUALCASE # for MKS sh
21837 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21838 then :
21839 emulate sh
21840 NULLCMD=:
21841 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21842 # is contrary to our usage. Disable this feature.
21843 alias -g '${1+"$@"}'='"$@"'
21844 setopt NO_GLOB_SUBST
21845 else case e in #(
21846 e) case `(set -o) 2>/dev/null` in #(
21847 *posix*) :
21848 set -o posix ;; #(
21849 *) :
21850 ;;
21851 esac ;;
21852 esac
21853 fi
21854
21855
21856
21857 # Reset variables that may have inherited troublesome values from
21858 # the environment.
21859
21860 # IFS needs to be set, to space, tab, and newline, in precisely that order.
21861 # (If _AS_PATH_WALK were called with IFS unset, it would have the
21862 # side effect of setting IFS to empty, thus disabling word splitting.)
21863 # Quoting is to prevent editors from complaining about space-tab.
21864 as_nl='
21865 '
21866 export as_nl
21867 IFS=" "" $as_nl"
21868
21869 PS1='$ '
21870 PS2='> '
21871 PS4='+ '
21872
21873 # Ensure predictable behavior from utilities with locale-dependent output.
21874 LC_ALL=C
21875 export LC_ALL
21876 LANGUAGE=C
21877 export LANGUAGE
21878
21879 # We cannot yet rely on "unset" to work, but we need these variables
21880 # to be unset--not just set to an empty or harmless value--now, to
21881 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
21882 # also avoids known problems related to "unset" and subshell syntax
21883 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
21884 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
21885 do eval test \${$as_var+y} \
21886 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21887 done
21888
21889 # Ensure that fds 0, 1, and 2 are open.
21890 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
21891 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
21892 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
21893
21894 # The user is always right.
21895 if ${PATH_SEPARATOR+false} :; then
21896 PATH_SEPARATOR=:
21897 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21898 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21899 PATH_SEPARATOR=';'
21900 }
21901 fi
21902
21903
21904 # Find who we are. Look in the path if we contain no directory separator.
21905 as_myself=
21906 case $0 in #((
21907 *[\\/]* ) as_myself=$0 ;;
21908 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21909 for as_dir in $PATH
21910 do
21911 IFS=$as_save_IFS
21912 case $as_dir in #(((
21913 '') as_dir=./ ;;
21914 */) ;;
21915 *) as_dir=$as_dir/ ;;
21916 esac
21917 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
21918 done
21919 IFS=$as_save_IFS
21920
21921 ;;
21922 esac
21923 # We did not find ourselves, most probably we were run as 'sh COMMAND'
21924 # in which case we are not to be found in the path.
21925 if test "x$as_myself" = x; then
21926 as_myself=$0
21927 fi
21928 if test ! -f "$as_myself"; then
21929 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21930 exit 1
21931 fi
21932
21933
21934
21935 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21936 # ----------------------------------------
21937 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21938 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21939 # script with STATUS, using 1 if that was 0.
21940 as_fn_error ()
21941 {
21942 as_status=$1; test $as_status -eq 0 && as_status=1
21943 if test "$4"; then
21944 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21946 fi
21947 printf "%s\n" "$as_me: error: $2" >&2
21948 as_fn_exit $as_status
21949 } # as_fn_error
21950
21951
21952 # as_fn_set_status STATUS
21953 # -----------------------
21954 # Set $? to STATUS, without forking.
21955 as_fn_set_status ()
21956 {
21957 return $1
21958 } # as_fn_set_status
21959
21960 # as_fn_exit STATUS
21961 # -----------------
21962 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21963 as_fn_exit ()
21964 {
21965 set +e
21966 as_fn_set_status $1
21967 exit $1
21968 } # as_fn_exit
21969
21970 # as_fn_unset VAR
21971 # ---------------
21972 # Portably unset VAR.
21973 as_fn_unset ()
21974 {
21975 { eval $1=; unset $1;}
21976 }
21977 as_unset=as_fn_unset
21978
21979 # as_fn_append VAR VALUE
21980 # ----------------------
21981 # Append the text in VALUE to the end of the definition contained in VAR. Take
21982 # advantage of any shell optimizations that allow amortized linear growth over
21983 # repeated appends, instead of the typical quadratic growth present in naive
21984 # implementations.
21985 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
21986 then :
21987 eval 'as_fn_append ()
21988 {
21989 eval $1+=\$2
21990 }'
21991 else case e in #(
21992 e) as_fn_append ()
21993 {
21994 eval $1=\$$1\$2
21995 } ;;
21996 esac
21997 fi # as_fn_append
21998
21999 # as_fn_arith ARG...
22000 # ------------------
22001 # Perform arithmetic evaluation on the ARGs, and store the result in the
22002 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22003 # must be portable across $(()) and expr.
22004 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22005 then :
22006 eval 'as_fn_arith ()
22007 {
22008 as_val=$(( $* ))
22009 }'
22010 else case e in #(
22011 e) as_fn_arith ()
22012 {
22013 as_val=`expr "$@" || test $? -eq 1`
22014 } ;;
22015 esac
22016 fi # as_fn_arith
22017
22018
22019 if expr a : '\(a\)' >/dev/null 2>&1 &&
22020 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22021 as_expr=expr
22022 else
22023 as_expr=false
22024 fi
22025
22026 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22027 as_basename=basename
22028 else
22029 as_basename=false
22030 fi
22031
22032 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22033 as_dirname=dirname
22034 else
22035 as_dirname=false
22036 fi
22037
22038 as_me=`$as_basename -- "$0" ||
22039 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22040 X"$0" : 'X\(//\)$' \| \
22041 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22042 printf "%s\n" X/"$0" |
22043 sed '/^.*\/\([^/][^/]*\)\/*$/{
22044 s//\1/
22045 q
22046 }
22047 /^X\/\(\/\/\)$/{
22048 s//\1/
22049 q
22050 }
22051 /^X\/\(\/\).*/{
22052 s//\1/
22053 q
22054 }
22055 s/.*/./; q'`
22056
22057 # Avoid depending upon Character Ranges.
22058 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22059 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22060 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22061 as_cr_digits='0123456789'
22062 as_cr_alnum=$as_cr_Letters$as_cr_digits
22063
22064
22065 # Determine whether it's possible to make 'echo' print without a newline.
22066 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22067 # for compatibility with existing Makefiles.
22068 ECHO_C= ECHO_N= ECHO_T=
22069 case `echo -n x` in #(((((
22070 -n*)
22071 case `echo 'xy\c'` in
22072 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22073 xy) ECHO_C='\c';;
22074 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22075 ECHO_T=' ';;
22076 esac;;
22077 *)
22078 ECHO_N='-n';;
22079 esac
22080
22081 # For backward compatibility with old third-party macros, we provide
22082 # the shell variables $as_echo and $as_echo_n. New code should use
22083 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22084 as_echo='printf %s\n'
22085 as_echo_n='printf %s'
22086
22087 rm -f conf$$ conf$$.exe conf$$.file
22088 if test -d conf$$.dir; then
22089 rm -f conf$$.dir/conf$$.file
22090 else
22091 rm -f conf$$.dir
22092 mkdir conf$$.dir 2>/dev/null
22093 fi
22094 if (echo >conf$$.file) 2>/dev/null; then
22095 if ln -s conf$$.file conf$$ 2>/dev/null; then
22096 as_ln_s='ln -s'
22097 # ... but there are two gotchas:
22098 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
22099 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
22100 # In both cases, we have to default to 'cp -pR'.
22101 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22102 as_ln_s='cp -pR'
22103 elif ln conf$$.file conf$$ 2>/dev/null; then
22104 as_ln_s=ln
22105 else
22106 as_ln_s='cp -pR'
22107 fi
22108 else
22109 as_ln_s='cp -pR'
22110 fi
22111 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22112 rmdir conf$$.dir 2>/dev/null
22113
22114
22115 # as_fn_mkdir_p
22116 # -------------
22117 # Create "$as_dir" as a directory, including parents if necessary.
22118 as_fn_mkdir_p ()
22119 {
22120
22121 case $as_dir in #(
22122 -*) as_dir=./$as_dir;;
22123 esac
22124 test -d "$as_dir" || eval $as_mkdir_p || {
22125 as_dirs=
22126 while :; do
22127 case $as_dir in #(
22128 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22129 *) as_qdir=$as_dir;;
22130 esac
22131 as_dirs="'$as_qdir' $as_dirs"
22132 as_dir=`$as_dirname -- "$as_dir" ||
22133 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22134 X"$as_dir" : 'X\(//\)[^/]' \| \
22135 X"$as_dir" : 'X\(//\)$' \| \
22136 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22137 printf "%s\n" X"$as_dir" |
22138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22139 s//\1/
22140 q
22141 }
22142 /^X\(\/\/\)[^/].*/{
22143 s//\1/
22144 q
22145 }
22146 /^X\(\/\/\)$/{
22147 s//\1/
22148 q
22149 }
22150 /^X\(\/\).*/{
22151 s//\1/
22152 q
22153 }
22154 s/.*/./; q'`
22155 test -d "$as_dir" && break
22156 done
22157 test -z "$as_dirs" || eval "mkdir $as_dirs"
22158 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22159
22160
22161 } # as_fn_mkdir_p
22162 if mkdir -p . 2>/dev/null; then
22163 as_mkdir_p='mkdir -p "$as_dir"'
22164 else
22165 test -d ./-p && rmdir ./-p
22166 as_mkdir_p=false
22167 fi
22168
22169
22170 # as_fn_executable_p FILE
22171 # -----------------------
22172 # Test if FILE is an executable regular file.
22173 as_fn_executable_p ()
22174 {
22175 test -f "$1" && test -x "$1"
22176 } # as_fn_executable_p
22177 as_test_x='test -x'
22178 as_executable_p=as_fn_executable_p
22179
22180 # Sed expression to map a string onto a valid CPP name.
22181 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
22182 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
22183
22184 # Sed expression to map a string onto a valid variable name.
22185 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
22186 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
22187
22188
22189 exec 6>&1
22190 ## ----------------------------------- ##
22191 ## Main body of $CONFIG_STATUS script. ##
22192 ## ----------------------------------- ##
22193 _ASEOF
22194 testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1
22195
22196 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22197 # Save the log message, to keep $0 and so on meaningful, and to
22198 # report actual input values of CONFIG_FILES etc. instead of their
22199 # values after options handling.
22200 ac_log="
22201 This file was extended by libpinyin $as_me 2.11.91, which was
22202 generated by GNU Autoconf 2.72. Invocation command line was
22203
22204 CONFIG_FILES = $CONFIG_FILES
22205 CONFIG_HEADERS = $CONFIG_HEADERS
22206 CONFIG_LINKS = $CONFIG_LINKS
22207 CONFIG_COMMANDS = $CONFIG_COMMANDS
22208 $ $0 $@
22209
22210 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22211 "
22212
22213 _ACEOF
22214
22215 case $ac_config_files in *"
22216 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22217 esac
22218
22219 case $ac_config_headers in *"
22220 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22221 esac
22222
22223
22224 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22225 # Files that config.status was made for.
22226 config_files="$ac_config_files"
22227 config_headers="$ac_config_headers"
22228 config_commands="$ac_config_commands"
22229
22230 _ACEOF
22231
22232 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22233 ac_cs_usage="\
22234 '$as_me' instantiates files and other configuration actions
22235 from templates according to the current configuration. Unless the files
22236 and actions are specified as TAGs, all are instantiated by default.
22237
22238 Usage: $0 [OPTION]... [TAG]...
22239
22240 -h, --help print this help, then exit
22241 -V, --version print version number and configuration settings, then exit
22242 --config print configuration, then exit
22243 -q, --quiet, --silent
22244 do not print progress messages
22245 -d, --debug don't remove temporary files
22246 --recheck update $as_me by reconfiguring in the same conditions
22247 --file=FILE[:TEMPLATE]
22248 instantiate the configuration file FILE
22249 --header=FILE[:TEMPLATE]
22250 instantiate the configuration header FILE
22251
22252 Configuration files:
22253 $config_files
22254
22255 Configuration headers:
22256 $config_headers
22257
22258 Configuration commands:
22259 $config_commands
22260
22261 Report bugs to <https://github.com/libpinyin/libpinyin/issues/new>."
22262
22263 _ACEOF
22264 ac_cs_config=`printfscip-shell system . . printf. "%s\n" "$ac_configure_args" | sedscip-shell system . . sed. "$ac_safe_unquote"`
22265 ac_cs_config_escaped=`printfscip-shell system . . printf. "%s\n" "$ac_cs_config" | sedscip-shell system . . sed. "s/^ //; s/'/'\\\\\\\\''/g"`
22266 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22267 ac_cs_config='$ac_cs_config_escaped'
22268 ac_cs_version="\\
22269 libpinyin config.status 2.11.91
22270 configured by $0, generated by GNU Autoconf 2.72,
22271 with options \\"\$ac_cs_config\\"
22272
22273 Copyright (C) 2023 Free Software Foundation, Inc.
22274 This config.status script is free software; the Free Software Foundation
22275 gives unlimited permission to copy, distribute and modify it."
22276
22277 ac_pwd='$ac_pwd'
22278 srcdir='$srcdir'
22279 INSTALL='$INSTALL'
22280 MKDIR_P='$MKDIR_P'
22281 AWK='$AWK'
22282 test -n "\$AWK" || AWK=awk
22283 _ACEOF
22284
22285 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22286 # The default lists apply if the user does not specify any file.
22287 ac_need_defaults=:
22288 while test $# != 0
22289 do
22290 case $1 in
22291 --*=?*)
22292 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22293 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22294 ac_shift=:
22295 ;;
22296 --*=)
22297 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22298 ac_optarg=
22299 ac_shift=:
22300 ;;
22301 *)
22302 ac_option=$1
22303 ac_optarg=$2
22304 ac_shift=shift
22305 ;;
22306 esac
22307
22308 case $ac_option in
22309 # Handling of the options.
22310 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22311 ac_cs_recheck=: ;;
22312 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22313 printf "%s\n" "$ac_cs_version"; exit ;;
22314 --config | --confi | --conf | --con | --co | --c )
22315 printf "%s\n" "$ac_cs_config"; exit ;;
22316 --debug | --debu | --deb | --de | --d | -d )
22317 debug=: ;;
22318 --file | --fil | --fi | --f )
22319 $ac_shift
22320 case $ac_optarg in
22321 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22322 '') as_fn_error $? "missing file argument" ;;
22323 esac
22324 as_fn_append CONFIG_FILES " '$ac_optarg'"
22325 ac_need_defaults=false;;
22326 --header | --heade | --head | --hea )
22327 $ac_shift
22328 case $ac_optarg in
22329 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22330 esac
22331 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22332 ac_need_defaults=false;;
22333 --he | --h)
22334 # Conflict between --help and --header
22335 as_fn_error $? "ambiguous option: '$1'
22336 Try '$0 --help' for more information.";;
22337 --help | --hel | -h )
22338 printf "%s\n" "$ac_cs_usage"; exit ;;
22339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22340 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22341 ac_cs_silent=: ;;
22342
22343 # This is an error.
22344 -*) as_fn_error $? "unrecognized option: '$1'
22345 Try '$0 --help' for more information." ;;
22346
22347 *) as_fn_append ac_config_targets " $1"
22348 ac_need_defaults=false ;;
22349
22350 esac
22351 shift
22352 done
22353
22354 ac_configure_extra_args=
22355
22356 if $ac_cs_silent; then
22357 exec 6>/dev/null
22358 ac_configure_extra_args="$ac_configure_extra_args --silent"
22359 fi
22360
22361 _ACEOF
22362 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22363 if \$ac_cs_recheck; then
22364 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22365 shift
22366 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22367 CONFIG_SHELL='$SHELL'
22368 export CONFIG_SHELL
22369 exec "\$@"
22370 fi
22371
22372 _ACEOF
22373 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22374 exec 5>>config.log
22375 {
22376 echo
22377 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22378 ## Running $as_me. ##
22379 _ASBOX
22380 printf "%s\n" "$ac_log"
22381 } >&5
22382
22383 _ACEOF
22384 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22385 #
22386 # INIT-COMMANDS
22387 #
22388 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
22389
22390
22391 # The HP-UX ksh and POSIX shell print the target directory to stdout
22392 # if CDPATH is set.
22393 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22394
22395 sed_quote_subst='$sed_quote_subst'
22396 double_quote_subst='$double_quote_subst'
22397 delay_variable_subst='$delay_variable_subst'
22398 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22399 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22400 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22401 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22402 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22403 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22404 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22405 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22406 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22407 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22408 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22409 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22410 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22411 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22412 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22413 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22414 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22415 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22416 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22417 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22418 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22419 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22420 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22421 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22422 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22423 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22424 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22425 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22426 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22427 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22428 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22429 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22430 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22431 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22432 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
22433 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22434 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22435 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22436 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22437 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22438 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22439 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22440 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22441 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
22442 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22443 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22444 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22445 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22446 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22447 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22448 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22449 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22450 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22451 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22452 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22453 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22454 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22455 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22456 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22457 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22458 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"`'
22459 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22460 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22461 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22462 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22463 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22464 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22465 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22466 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22467 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22468 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22469 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22470 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22471 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22472 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22473 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22474 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22475 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22476 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22477 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22478 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22479 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22480 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22481 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22482 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22483 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22484 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22485 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22486 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22487 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22488 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22489 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22490 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22491 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22492 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22493 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22494 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22495 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22496 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22497 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22498 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22499 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22500 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22501 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22502 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22503 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22504 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22505 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22506 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22507 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22508 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22509 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22510 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22511 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22512 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22513 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22514 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22515 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22516 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22517 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22518 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22519 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22520 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22521 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22522 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22523 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22524 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22525 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22526 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22527 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22528 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22529 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22530 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22531 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22532 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22533 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22534 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22535 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22536 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22537 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22538 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22539 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22540 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22541 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22542 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22543 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22544 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22545 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22546 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22547 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22548 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22549 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22550 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22551 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22552 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22553 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22554 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22555 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22556 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22557 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22558 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22559 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22560 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22561 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22562 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22563 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22564 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22565 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22566 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22567 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22568 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22569 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22570 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22571 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22572 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22573 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22574 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22575 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22576 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22577 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22578 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22579 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22580 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22581 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22582 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22583 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22584 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22585 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22586 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22587 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22588 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22589
22590 LTCC='$LTCC'
22591 LTCFLAGS='$LTCFLAGS'
22592 compiler='$compiler_DEFAULT'
22593
22594 # A function that is used when there is no print builtin or printf.
22595 func_fallback_echo ()
22596 {
22597 eval 'cat <<_LTECHO_EOF
22598 \$1
22599 _LTECHO_EOF'
22600 }
22601
22602 # Quote evaled strings.
22603 for var in SED \
22604 GREP \
22605 EGREP \
22606 FGREP \
22607 SHELL \
22608 ECHO \
22609 LD \
22610 PATH_SEPARATOR \
22611 NM \
22612 LN_S \
22613 lt_SP2NL \
22614 lt_NL2SP \
22615 reload_flag \
22616 FILECMD \
22617 OBJDUMP \
22618 deplibs_check_method \
22619 file_magic_cmd \
22620 file_magic_glob \
22621 want_nocaseglob \
22622 DLLTOOL \
22623 sharedlib_from_linklib_cmd \
22624 AR \
22625 archiver_list_spec \
22626 STRIP \
22627 RANLIB \
22628 CC \
22629 CFLAGS \
22630 compiler \
22631 lt_cv_sys_global_symbol_pipe \
22632 lt_cv_sys_global_symbol_to_cdecl \
22633 lt_cv_sys_global_symbol_to_import \
22634 lt_cv_sys_global_symbol_to_c_name_address \
22635 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22636 lt_cv_nm_interface \
22637 nm_file_list_spec \
22638 lt_cv_truncate_bin \
22639 lt_prog_compiler_no_builtin_flag \
22640 lt_prog_compiler_pic \
22641 lt_prog_compiler_wl \
22642 lt_prog_compiler_static \
22643 lt_cv_prog_compiler_c_o \
22644 need_locks \
22645 MANIFEST_TOOL \
22646 DSYMUTIL \
22647 NMEDIT \
22648 LIPO \
22649 OTOOL \
22650 OTOOL64 \
22651 shrext_cmds \
22652 export_dynamic_flag_spec \
22653 whole_archive_flag_spec \
22654 compiler_needs_object \
22655 with_gnu_ld \
22656 allow_undefined_flag \
22657 no_undefined_flag \
22658 hardcode_libdir_flag_spec \
22659 hardcode_libdir_separator \
22660 exclude_expsyms \
22661 include_expsyms \
22662 file_list_spec \
22663 variables_saved_for_relink \
22664 libname_spec \
22665 library_names_spec \
22666 soname_spec \
22667 install_override_mode \
22668 finish_eval \
22669 old_striplib \
22670 striplib \
22671 compiler_lib_search_dirs \
22672 predep_objects \
22673 postdep_objects \
22674 predeps \
22675 postdeps \
22676 compiler_lib_search_path \
22677 LD_CXX \
22678 reload_flag_CXX \
22679 compiler_CXX \
22680 lt_prog_compiler_no_builtin_flag_CXX \
22681 lt_prog_compiler_pic_CXX \
22682 lt_prog_compiler_wl_CXX \
22683 lt_prog_compiler_static_CXX \
22684 lt_cv_prog_compiler_c_o_CXX \
22685 export_dynamic_flag_spec_CXX \
22686 whole_archive_flag_spec_CXX \
22687 compiler_needs_object_CXX \
22688 with_gnu_ld_CXX \
22689 allow_undefined_flag_CXX \
22690 no_undefined_flag_CXX \
22691 hardcode_libdir_flag_spec_CXX \
22692 hardcode_libdir_separator_CXX \
22693 exclude_expsyms_CXX \
22694 include_expsyms_CXX \
22695 file_list_spec_CXX \
22696 compiler_lib_search_dirs_CXX \
22697 predep_objects_CXX \
22698 postdep_objects_CXX \
22699 predeps_CXX \
22700 postdeps_CXX \
22701 compiler_lib_search_path_CXX; do
22702 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22703 *[\\\\\\\`\\"\\\$]*)
22704 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22705 ;;
22706 *)
22707 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22708 ;;
22709 esac
22710 done
22711
22712 # Double-quote double-evaled strings.
22713 for var in reload_cmds \
22714 old_postinstall_cmds \
22715 old_postuninstall_cmds \
22716 old_archive_cmds \
22717 extract_expsyms_cmds \
22718 old_archive_from_new_cmds \
22719 old_archive_from_expsyms_cmds \
22720 archive_cmds \
22721 archive_expsym_cmds \
22722 module_cmds \
22723 module_expsym_cmds \
22724 export_symbols_cmds \
22725 prelink_cmds \
22726 postlink_cmds \
22727 postinstall_cmds \
22728 postuninstall_cmds \
22729 finish_cmds \
22730 sys_lib_search_path_spec \
22731 configure_time_dlsearch_path \
22732 configure_time_lt_sys_library_path \
22733 reload_cmds_CXX \
22734 old_archive_cmds_CXX \
22735 old_archive_from_new_cmds_CXX \
22736 old_archive_from_expsyms_cmds_CXX \
22737 archive_cmds_CXX \
22738 archive_expsym_cmds_CXX \
22739 module_cmds_CXX \
22740 module_expsym_cmds_CXX \
22741 export_symbols_cmds_CXX \
22742 prelink_cmds_CXX \
22743 postlink_cmds_CXX; do
22744 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22745 *[\\\\\\\`\\"\\\$]*)
22746 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22747 ;;
22748 *)
22749 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22750 ;;
22751 esac
22752 done
22753
22754 ac_aux_dir='$ac_aux_dir'
22755
22756 # See if we are running on zsh, and set the options that allow our
22757 # commands through without removal of \ escapes INIT.
22758 if test -n "\${ZSH_VERSION+set}"; then
22759 setopt NO_GLOB_SUBST
22760 fi
22761
22762
22763 PACKAGE='$PACKAGE'
22764 VERSION='$VERSION'
22765 RM='$RM'
22766 ofile='$ofile'
22767
22768
22769
22770
22771
22772
22773 _ACEOF
22774
22775 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22776
22777 # Handling of arguments.
22778 for ac_config_target in $ac_config_targets
22779 do
22780 case $ac_config_target in
22781 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22782 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22783 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22784 "libpinyin.pc") CONFIG_FILES="$CONFIG_FILES libpinyin.pc" ;;
22785 "libzhuyin.pc") CONFIG_FILES="$CONFIG_FILES libzhuyin.pc" ;;
22786 "libpinyin.spec") CONFIG_FILES="$CONFIG_FILES libpinyin.spec" ;;
22787 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22788 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
22789 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
22790 "data/table.conf") CONFIG_FILES="$CONFIG_FILES data/table.conf" ;;
22791 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22792 "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
22793 "src/storage/Makefile") CONFIG_FILES="$CONFIG_FILES src/storage/Makefile" ;;
22794 "src/lookup/Makefile") CONFIG_FILES="$CONFIG_FILES src/lookup/Makefile" ;;
22795 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
22796 "tests/include/Makefile") CONFIG_FILES="$CONFIG_FILES tests/include/Makefile" ;;
22797 "tests/storage/Makefile") CONFIG_FILES="$CONFIG_FILES tests/storage/Makefile" ;;
22798 "tests/lookup/Makefile") CONFIG_FILES="$CONFIG_FILES tests/lookup/Makefile" ;;
22799 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
22800 "utils/storage/Makefile") CONFIG_FILES="$CONFIG_FILES utils/storage/Makefile" ;;
22801 "utils/segment/Makefile") CONFIG_FILES="$CONFIG_FILES utils/segment/Makefile" ;;
22802 "utils/training/Makefile") CONFIG_FILES="$CONFIG_FILES utils/training/Makefile" ;;
22803
22804 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
22805 esac
22806 done
22807
22808
22809 # If the user did not use the arguments to specify the items to instantiate,
22810 # then the envvar interface is used. Set only those that are not.
22811 # We use the long form for the default assignment because of an extremely
22812 # bizarre bug on SunOS 4.1.3.
22813 if $ac_need_defaults; then
22814 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
22815 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
22816 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
22817 fi
22818
22819 # Have a temporary directory for convenience. Make it in the build tree
22820 # simply because there is no reason against having it here, and in addition,
22821 # creating and moving files from /tmp can sometimes cause problems.
22822 # Hook for its removal unless debugging.
22823 # Note that there is a small window in which the directory will not be cleaned:
22824 # after its creation but before its name has been assigned to '$tmp'.
22825 $debug ||
22826 {
22827 tmp= ac_tmp=
22828 trap 'exit_status=$?
22829 : "${ac_tmp:=$tmp}"
22830 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22831 ' 0
22832 trap 'as_fn_exit 1' 1 2 13 15
22833 }
22834 # Create a (secure) tmp directory for tmp files.
22835
22836 {
22837 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22838 test -d "$tmp"
22839 } ||
22840 {
22841 tmp=./conf$$-$RANDOM
22842 (umask 077 && mkdir "$tmp")
22843 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22844 ac_tmp=$tmp
22845
22846 # Set up the scripts for CONFIG_FILES section.
22847 # No need to generate them if there are no CONFIG_FILES.
22848 # This happens for instance with './config.status config.h'.
22849 if test -n "$CONFIG_FILES"; then
22850
22851
22852 ac_cr=`echo X | tr X '\015'`
22853 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22854 # But we know of no other shell where ac_cr would be empty at this
22855 # point, so we can use a bashism as a fallback.
22856 if test "x$ac_cr" = x; then
22857 eval ac_cr=\$\'\\r\'
22858 fi
22859 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22860 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22861 ac_cs_awk_cr='\\r'
22862 else
22863 ac_cs_awk_cr=$ac_cr
22864 fi
22865
22866 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22867 _ACEOF
22868
22869
22870 {
22871 echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" &&
22872 echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' &&
22873 echoscip-shell system . . echo. "_ACEOF"
22874 } >conf$$subs.sh ||
22875 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
22876 ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'`
22877 ac_delim='%!_!# '
22878 for ac_last_try in false false false false false :; do
22879 . ./conf$$subs.sh ||
22880 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
22881
22882 ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X`
22883 if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then
22884 break
22885 elif $ac_last_try; then
22886 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
22887 else
22888 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22889 fi
22890 done
22891 rmscip-shell system . . rm. -f conf$$subs.sh
22892
22893 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22894 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22895 _ACEOF
22896 sedscip-shell system . . sed. -n '
22897 h
22898 s/^/S["/; s/!.*/"]=/
22899 p
22900 g
22901 s/^[^!]*!//
22902 :repl
22903 t repl
22904 s/'"$ac_delim"'$//
22905 t delim
22906 :nl
22907 h
22908 s/\(.\{148\}\)..*/\1/
22909 t more1
22910 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22911 p
22912 n
22913 b repl
22914 :more1
22915 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22916 p
22917 g
22918 s/.\{148\}//
22919 t nl
22920 :delim
22921 h
22922 s/\(.\{148\}\)..*/\1/
22923 t more2
22924 s/["\\]/\\&/g; s/^/"/; s/$/"/
22925 p
22926 b
22927 :more2
22928 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22929 p
22930 g
22931 s/.\{148\}//
22932 t delim
22933 ' <conf$$subs.awk | sedscip-shell system . . sed. '
22934 /^[^""]/{
22935 N
22936 s/\n//
22937 }
22938 ' >>$CONFIG_STATUS || ac_write_fail=1
22939 rmscip-shell system . . rm. -f conf$$subs.awk
22940 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22941 _ACAWK
22942 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22943 for (key in S) S_is_set[key] = 1
22944 FS = ""
22945
22946 }
22947 {
22948 line = $ 0
22949 nfields = split(line, field, "@")
22950 substed = 0
22951 len = length(field[1])
22952 for (i = 2; i < nfields; i++) {
22953 key = field[i]
22954 keylen = length(key)
22955 if (S_is_set[key]) {
22956 value = S[key]
22957 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22958 len += length(value) + length(field[++i])
22959 substed = 1
22960 } else
22961 len += 1 + keylen
22962 }
22963
22964 print line
22965 }
22966
22967 _ACAWK
22968 _ACEOF
22969 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22970 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22971 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22972 else
22973 cat
22974 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22975 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22976 _ACEOF
22977
22978 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22979 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22980 # trailing colons and then remove the whole line if VPATH becomes empty
22981 # (actually we leave an empty line to preserve line numbers).
22982 if testscip-shell system . . test. "x$srcdir" = x.; then
22983 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22984 h
22985 s///
22986 s/^/:/
22987 s/[ ]*$/:/
22988 s/:\$(srcdir):/:/g
22989 s/:\${srcdir}:/:/g
22990 s/:@srcdir@:/:/g
22991 s/^:*//
22992 s/:*$//
22993 x
22994 s/\(=[ ]*\).*/\1/
22995 G
22996 s/\n//
22997 s/^[^=]*=[ ]*$//
22998 }'
22999 fi
23000
23001 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23002 fi # test -n "$CONFIG_FILES"
23003
23004 # Set up the scripts for CONFIG_HEADERS section.
23005 # No need to generate them if there are no CONFIG_HEADERS.
23006 # This happens for instance with './config.status Makefile'.
23007 if test -n "$CONFIG_HEADERS"; then
23008 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23009 BEGIN {
23010 _ACEOF
23011
23012 # Transform confdefs.h into an awk script 'defines.awk', embedded as
23013 # here-document in config.status, that substitutes the proper values into
23014 # config.h.in to produce config.h.
23015
23016 # Create a delimiter string that does not exist in confdefs.h, to ease
23017 # handling of long lines.
23018 ac_delim='%!_!# '
23019 for ac_last_try in false false :; do
23020 ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h`
23021 if testscip-shell system . . test. -z "$ac_tt"; then
23022 break
23023 elif $ac_last_try; then
23024 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23025 else
23026 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23027 fi
23028 done
23029
23030 # For the awk script, D is an array of macro values keyed by name,
23031 # likewise P contains macro parameters if any. Preserve backslash
23032 # newline sequences.
23033
23034 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23035 sedscip-shell system . . sed. -n '
23036 s/.\{148\}/&'"$ac_delim"'/g
23037 t rset
23038 :rset
23039 s/^[ ]*#[ ]*define[ ][ ]*/ /
23040 t def
23041 d
23042 :def
23043 s/\\$//
23044 t bsnl
23045 s/["\\]/\\&/g
23046 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23047 D["\1"]=" \3"/p
23048 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23049 d
23050 :bsnl
23051 s/["\\]/\\&/g
23052 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23053 D["\1"]=" \3\\\\\\n"\\/p
23054 t cont
23055 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23056 t cont
23057 d
23058 :cont
23059 n
23060 s/.\{148\}/&'"$ac_delim"'/g
23061 t clear
23062 :clear
23063 s/\\$//
23064 t bsnlc
23065 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23066 d
23067 :bsnlc
23068 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23069 b cont
23070 ' <confdefs.h | sedscip-shell system . . sed. '
23071 s/'"$ac_delim"'/"\\\
23072 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23073
23074 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23075 for (key in D) D_is_set[key] = 1
23076 FS = ""
23077 }
23078 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23079 line = \$ 0
23080 split(line, arg, " ")
23081 if (arg[1] == "#") {
23082 defundef = arg[2]
23083 mac1 = arg[3]
23084 } else {
23085 defundef = substr(arg[1], 2)
23086 mac1 = arg[2]
23087 }
23088 split(mac1, mac2, "(") #)
23089 macro = mac2[1]
23090 prefix = substr(line, 1, index(line, defundef) - 1)
23091 if (D_is_set[macro]) {
23092 # Preserve the white space surrounding the "#".
23093 print prefix "define", macro P[macro] D[macro]
23094 next
23095 } else {
23096 # Replace #undef with comments. This is necessary, for example,
23097 # in the case of _POSIX_SOURCE, which is predefined and required
23098 # on some systems where configure will not decide to define it.
23099 if (defundef == "undef") {
23100 print "/*", prefix defundef, macro, "*/"
23101 next
23102 }
23103 }
23104 }
23105 { print }
23106 _ACAWK
23107 _ACEOF
23108 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23109 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23110 fi # test -n "$CONFIG_HEADERS"
23111
23112
23113 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23114 shift
23115 for ac_tag
23116 do
23117 case $ac_tag in
23118 :[FHLC]) ac_mode=$ac_tag; continue;;
23119 esac
23120 case $ac_mode$ac_tag in
23121 :[FHL]*:*);;
23122 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
23123 :[FH]-) ac_tag=-:-;;
23124 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23125 esac
23126 ac_save_IFS=$IFS
23127 IFS=:
23128 set x $ac_tag
23129 IFS=$ac_save_IFS
23130 shift
23131 ac_file=$1
23132 shift
23133
23134 case $ac_mode in
23135 :L) ac_source=$1;;
23136 :[FH])
23137 ac_file_inputs=
23138 for ac_f
23139 do
23140 case $ac_f in
23141 -) ac_f="$ac_tmp/stdin";;
23142 *) # Look for the file first in the build tree, then in the source tree
23143 # (if the path is not absolute). The absolute path cannot be DOS-style,
23144 # because $ac_f cannot contain ':'.
23145 test -f "$ac_f" ||
23146 case $ac_f in
23147 [\\/$]*) false;;
23148 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23149 esac ||
23150 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
23151 esac
23152 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23153 as_fn_append ac_file_inputs " '$ac_f'"
23154 done
23155
23156 # Let's still pretend it is 'configure' which instantiates (i.e., don't
23157 # use $as_me), people would be surprised to read:
23158 # /* config.h. Generated by config.status. */
23159 configure_input='Generated from '`
23160 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23161 `' by configure.'
23162 if test x"$ac_file" != x-; then
23163 configure_input="$ac_file. $configure_input"
23164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23165 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23166 fi
23167 # Neutralize special characters interpreted by sed in replacement strings.
23168 case $configure_input in #(
23169 *\&* | *\|* | *\\* )
23170 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23171 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23172 *) ac_sed_conf_input=$configure_input;;
23173 esac
23174
23175 case $ac_tag in
23176 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23177 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23178 esac
23179 ;;
23180 esac
23181
23182 ac_dir=`$as_dirname -- "$ac_file" ||
23183 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23184 X"$ac_file" : 'X\(//\)[^/]' \| \
23185 X"$ac_file" : 'X\(//\)$' \| \
23186 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23187 printf "%s\n" X"$ac_file" |
23188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23189 s//\1/
23190 q
23191 }
23192 /^X\(\/\/\)[^/].*/{
23193 s//\1/
23194 q
23195 }
23196 /^X\(\/\/\)$/{
23197 s//\1/
23198 q
23199 }
23200 /^X\(\/\).*/{
23201 s//\1/
23202 q
23203 }
23204 s/.*/./; q'`
23205 as_dir="$ac_dir"; as_fn_mkdir_p
23206 ac_builddir=.
23207
23208 case "$ac_dir" in
23209 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23210 *)
23211 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23212 # A ".." for each directory in $ac_dir_suffix.
23213 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23214 case $ac_top_builddir_sub in
23215 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23216 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23217 esac ;;
23218 esac
23219 ac_abs_top_builddir=$ac_pwd
23220 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23221 # for backward compatibility:
23222 ac_top_builddir=$ac_top_build_prefix
23223
23224 case $srcdir in
23225 .) # We are building in place.
23226 ac_srcdir=.
23227 ac_top_srcdir=$ac_top_builddir_sub
23228 ac_abs_top_srcdir=$ac_pwd ;;
23229 [\\/]* | ?:[\\/]* ) # Absolute name.
23230 ac_srcdir=$srcdir$ac_dir_suffix;
23231 ac_top_srcdir=$srcdir
23232 ac_abs_top_srcdir=$srcdir ;;
23233 *) # Relative name.
23234 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23235 ac_top_srcdir=$ac_top_build_prefix$srcdir
23236 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23237 esac
23238 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23239
23240
23241 case $ac_mode in
23242 :F)
23243 #
23244 # CONFIG_FILE
23245 #
23246
23247 case $INSTALL in
23248 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23249 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23250 esac
23251 ac_MKDIR_P=$MKDIR_P
23252 case $MKDIR_P in
23253 [\\/$]* | ?:[\\/]* ) ;;
23254 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23255 esac
23256 _ACEOF
23257
23258 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23259 # If the template does not know about datarootdir, expand it.
23260 # FIXME: This hack should be removed a few years after 2.60.
23261 ac_datarootdir_hack=; ac_datarootdir_seen=
23262 ac_sed_dataroot='
23263 /datarootdir/ {
23264 p
23265 q
23266 }
23267 /@datadir@/p
23268 /@docdir@/p
23269 /@infodir@/p
23270 /@localedir@/p
23271 /@mandir@/p'
23272 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23273 *datarootdir*) ac_datarootdir_seen=yes;;
23274 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23276 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23277 _ACEOF
23278 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23279 ac_datarootdir_hack='
23280 s&@datadir@&$datadir&g
23281 s&@docdir@&$docdir&g
23282 s&@infodir@&$infodir&g
23283 s&@localedir@&$localedir&g
23284 s&@mandir@&$mandir&g
23285 s&\\\${datarootdir}&$datarootdir&g' ;;
23286 esac
23287 _ACEOF
23288
23289 # Neutralize VPATH when '$srcdir' = '.'.
23290 # Shell code in configure.ac might set extrasub.
23291 # FIXME: do we really want to maintain this feature?
23292 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23293 ac_sed_extra="$ac_vpsub
23294 $extrasub
23295 _ACEOF
23296 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23297 :t
23298 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23299 s|@configure_input@|$ac_sed_conf_input|;t t
23300 s&@top_builddir@&$ac_top_builddir_sub&;t t
23301 s&@top_build_prefix@&$ac_top_build_prefix&;t t
23302 s&@srcdir@&$ac_srcdir&;t t
23303 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23304 s&@top_srcdir@&$ac_top_srcdir&;t t
23305 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23306 s&@builddir@&$ac_builddir&;t t
23307 s&@abs_builddir@&$ac_abs_builddir&;t t
23308 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23309 s&@INSTALL@&$ac_INSTALL&;t t
23310 s&@MKDIR_P@&$ac_MKDIR_P&;t t
23311 $ac_datarootdir_hack
23312 "
23313 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
23314 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23315
23316 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23317 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
23318 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23319 "$ac_tmp/out"`; test -z "$ac_out"; } &&
23320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
23321 which seems to be undefined. Please make sure it is defined" >&5
23322 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
23323 which seems to be undefined. Please make sure it is defined" >&2;}
23324
23325 rm -f "$ac_tmp/stdin"
23326 case $ac_file in
23327 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23328 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23329 esac \
23330 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23331 ;;
23332 :H)
23333 #
23334 # CONFIG_HEADER
23335 #
23336 if test x"$ac_file" != x-; then
23337 {
23338 printf "%s\n" "/* $configure_input */" >&1 \
23339 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23340 } >"$ac_tmp/config.h" \
23341 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23342 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23344 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23345 else
23346 rm -f "$ac_file"
23347 mv "$ac_tmp/config.h" "$ac_file" \
23348 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23349 fi
23350 else
23351 printf "%s\n" "/* $configure_input */" >&1 \
23352 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23353 || as_fn_error $? "could not create -" "$LINENO" 5
23354 fi
23355 # Compute "$ac_file"'s index in $config_headers.
23356 _am_arg="$ac_file"
23357 _am_stamp_count=1
23358 for _am_header in $config_headers :; do
23359 case $_am_header in
23360 $_am_arg | $_am_arg:* )
23361 break ;;
23362 * )
23363 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23364 esac
23365 done
23366 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23367 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23368 X"$_am_arg" : 'X\(//\)[^/]' \| \
23369 X"$_am_arg" : 'X\(//\)$' \| \
23370 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23371 printf "%s\n" X"$_am_arg" |
23372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23373 s//\1/
23374 q
23375 }
23376 /^X\(\/\/\)[^/].*/{
23377 s//\1/
23378 q
23379 }
23380 /^X\(\/\/\)$/{
23381 s//\1/
23382 q
23383 }
23384 /^X\(\/\).*/{
23385 s//\1/
23386 q
23387 }
23388 s/.*/./; q'`/stamp-h$_am_stamp_count
23389 ;;
23390
23391 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23392 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23393 ;;
23394 esac
23395
23396
23397 case $ac_file$ac_mode in
23398 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23399 # Older Autoconf quotes --file arguments for eval, but not when files
23400 # are listed without --file. Let's play safe and only enable the eval
23401 # if we detect the quoting.
23402 # TODO: see whether this extra hack can be removed once we start
23403 # requiring Autoconf 2.70 or later.
23404 case $CONFIG_FILES in #(
23405 *\'*) :
23406 eval set x "$CONFIG_FILES" ;; #(
23407 *) :
23408 set x $CONFIG_FILES ;; #(
23409 *) :
23410 ;;
23411 esac
23412 shift
23413 # Used to flag and report bootstrapping failures.
23414 am_rc=0
23415 for am_mf
23416 do
23417 # Strip MF so we end up with the name of the file.
23418 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
23419 # Check whether this is an Automake generated Makefile which includes
23420 # dependency-tracking related rules and includes.
23421 # Grep'ing the whole file directly is not great: AIX grep has a line
23422 # limit of 2048, but all sed's we know have understand at least 4000.
23423 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
23424 || continue
23425 am_dirpart=`$as_dirname -- "$am_mf" ||
23426 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23427 X"$am_mf" : 'X\(//\)[^/]' \| \
23428 X"$am_mf" : 'X\(//\)$' \| \
23429 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
23430 printf "%s\n" X"$am_mf" |
23431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23432 s//\1/
23433 q
23434 }
23435 /^X\(\/\/\)[^/].*/{
23436 s//\1/
23437 q
23438 }
23439 /^X\(\/\/\)$/{
23440 s//\1/
23441 q
23442 }
23443 /^X\(\/\).*/{
23444 s//\1/
23445 q
23446 }
23447 s/.*/./; q'`
23448 am_filepart=`$as_basename -- "$am_mf" ||
23449 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
23450 X"$am_mf" : 'X\(//\)$' \| \
23451 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
23452 printf "%s\n" X/"$am_mf" |
23453 sed '/^.*\/\([^/][^/]*\)\/*$/{
23454 s//\1/
23455 q
23456 }
23457 /^X\/\(\/\/\)$/{
23458 s//\1/
23459 q
23460 }
23461 /^X\/\(\/\).*/{
23462 s//\1/
23463 q
23464 }
23465 s/.*/./; q'`
23466 { echo "$as_me:$LINENO: cd "$am_dirpart" \
23467 && sed -e '/# am--include-marker/d' "$am_filepart" \
23468 | $MAKE -f - am--depfiles" >&5
23469 (cd "$am_dirpart" \
23470 && sed -e '/# am--include-marker/d' "$am_filepart" \
23471 | $MAKE -f - am--depfiles) >&5 2>&5
23472 ac_status=$?
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } || am_rc=$?
23475 done
23476 if test $am_rc -ne 0; then
23477 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
23478 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
23479 as_fn_error $? "Something went wrong bootstrapping makefile fragments
23480 for automatic dependency tracking. If GNU make was not used, consider
23481 re-running the configure script with MAKE=\"gmake\" (or whatever is
23482 necessary). You can also try re-running configure with the
23483 '--disable-dependency-tracking' option to at least be able to build
23484 the package (albeit without support for automatic dependency tracking).
23485 See 'config.log' for more details" "$LINENO" 5; }
23486 fi
23487 { am_dirpart=; unset am_dirpart;}
23488 { am_filepart=; unset am_filepart;}
23489 { am_mf=; unset am_mf;}
23490 { am_rc=; unset am_rc;}
23491 rm -f conftest-deps.mk
23492 }
23493 ;;
23494 "libtool":C)
23495
23496 # See if we are running on zsh, and set the options that allow our
23497 # commands through without removal of \ escapes.
23498 if test -n "${ZSH_VERSION+set}"; then
23499 setopt NO_GLOB_SUBST
23500 fi
23501
23502 cfgfile=${ofile}T
23503 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23504 $RM "$cfgfile"
23505
23506 cat <<_LT_EOF >> "$cfgfile"
23507 #! $SHELL
23508 # Generated automatically by $as_me ($PACKAGE) $VERSION
23509 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23510
23511 # Provide generalized library-building support services.
23512 # Written by Gordon Matzigkeit, 1996
23513
23514 # Copyright (C) 2024 Free Software Foundation, Inc.
23515 # This is free software; see the source for copying conditions. There is NO
23516 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23517
23518 # GNU Libtool is free software; you can redistribute it and/or modify
23519 # it under the terms of the GNU General Public License as published by
23520 # the Free Software Foundation; either version 2 of the License, or
23521 # (at your option) any later version.
23522 #
23523 # As a special exception to the GNU General Public License, if you
23524 # distribute this file as part of a program or library that is built
23525 # using GNU Libtool, you may include this file under the same
23526 # distribution terms that you use for the rest of that program.
23527 #
23528 # GNU Libtool is distributed in the hope that it will be useful, but
23529 # WITHOUT ANY WARRANTY; without even the implied warranty of
23530 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23531 # GNU General Public License for more details.
23532 #
23533 # You should have received a copy of the GNU General Public License
23534 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23535
23536
23537 # The names of the tagged configurations supported by this script.
23538 available_tags='CXX '
23539
23540 # Configured defaults for sys_lib_dlsearch_path munging.
23541 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23542
23543 # ### BEGIN LIBTOOL CONFIG
23544
23545 # A sed program that does not truncate output.
23546 SED=$lt_SED
23547
23548 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23549 Xsed="\$SED -e 1s/^X//"
23550
23551 # A grep program that handles long lines.
23552 GREP=$lt_GREP
23553
23554 # An ERE matcher.
23555 EGREP=$lt_EGREP
23556
23557 # A literal string matcher.
23558 FGREP=$lt_FGREP
23559
23560 # Shell to use when invoking shell scripts.
23561 SHELL=$lt_SHELL
23562
23563 # An echo program that protects backslashes.
23564 ECHO=$lt_ECHO
23565
23566 # Which release of libtool.m4 was used?
23567 macro_version=$macro_version
23568 macro_revision=$macro_revision
23569
23570 # Whether or not to build shared libraries.
23571 build_libtool_libs=$enable_shared
23572
23573 # Whether or not to build static libraries.
23574 build_old_libs=$enable_static
23575
23576 # What type of objects to build.
23577 pic_mode=$pic_mode
23578
23579 # Whether or not to optimize for fast installation.
23580 fast_install=$enable_fast_install
23581
23582 # Shared archive member basename,for filename based shared library versioning on AIX.
23583 shared_archive_member_spec=$shared_archive_member_spec
23584
23585 # The PATH separator for the build system.
23586 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23587
23588 # The host system.
23589 host_alias=$host_alias
23590 host=$host
23591 host_os=$host_os
23592
23593 # The build system.
23594 build_alias=$build_alias
23595 build=$build
23596 build_os=$build_os
23597
23598 # A BSD- or MS-compatible name lister.
23599 NM=$lt_NM
23600
23601 # Whether we need soft or hard links.
23602 LN_S=$lt_LN_S
23603
23604 # What is the maximum length of a command?
23605 max_cmd_len=$max_cmd_len
23606
23607 # Object file suffix (normally "o").
23608 objext=$ac_objext
23609
23610 # Executable file suffix (normally "").
23611 exeext=$exeext
23612
23613 # whether the shell understands "unset".
23614 lt_unset=$lt_unset
23615
23616 # turn spaces into newlines.
23617 SP2NL=$lt_lt_SP2NL
23618
23619 # turn newlines into spaces.
23620 NL2SP=$lt_lt_NL2SP
23621
23622 # convert \$build file names to \$host format.
23623 to_host_file_cmd=$lt_cv_to_host_file_cmd
23624
23625 # convert \$build files to toolchain format.
23626 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23627
23628 # A file(cmd) program that detects file types.
23629 FILECMD=$lt_FILECMD
23630
23631 # An object symbol dumper.
23632 OBJDUMP=$lt_OBJDUMP
23633
23634 # Method to check whether dependent libraries are shared objects.
23635 deplibs_check_method=$lt_deplibs_check_method
23636
23637 # Command to use when deplibs_check_method = "file_magic".
23638 file_magic_cmd=$lt_file_magic_cmd
23639
23640 # How to find potential files when deplibs_check_method = "file_magic".
23641 file_magic_glob=$lt_file_magic_glob
23642
23643 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23644 want_nocaseglob=$lt_want_nocaseglob
23645
23646 # DLL creation program.
23647 DLLTOOL=$lt_DLLTOOL
23648
23649 # Command to associate shared and link libraries.
23650 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23651
23652 # The archiver.
23653 AR=$lt_AR
23654
23655 # Flags to create an archive (by configure).
23656 lt_ar_flags=$lt_ar_flags
23657
23658 # Flags to create an archive.
23659 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
23660
23661 # How to feed a file listing to the archiver.
23662 archiver_list_spec=$lt_archiver_list_spec
23663
23664 # A symbol stripping program.
23665 STRIP=$lt_STRIP
23666
23667 # Commands used to install an old-style archive.
23668 RANLIB=$lt_RANLIB
23669 old_postinstall_cmds=$lt_old_postinstall_cmds
23670 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23671
23672 # Whether to use a lock for old archive extraction.
23673 lock_old_archive_extraction=$lock_old_archive_extraction
23674
23675 # A C compiler.
23676 LTCC=$lt_CC
23677
23678 # LTCC compiler flags.
23679 LTCFLAGS=$lt_CFLAGS
23680
23681 # Take the output of nm and produce a listing of raw symbols and C names.
23682 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23683
23684 # Transform the output of nm in a proper C declaration.
23685 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23686
23687 # Transform the output of nm into a list of symbols to manually relocate.
23688 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23689
23690 # Transform the output of nm in a C name address pair.
23691 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23692
23693 # Transform the output of nm in a C name address pair when lib prefix is needed.
23694 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23695
23696 # The name lister interface.
23697 nm_interface=$lt_lt_cv_nm_interface
23698
23699 # Specify filename containing input files for \$NM.
23700 nm_file_list_spec=$lt_nm_file_list_spec
23701
23702 # The root where to search for dependent libraries,and where our libraries should be installed.
23703 lt_sysroot=$lt_sysroot
23704
23705 # Command to truncate a binary pipe.
23706 lt_truncate_bin=$lt_lt_cv_truncate_bin
23707
23708 # The name of the directory that contains temporary libtool files.
23709 objdir=$objdir
23710
23711 # Used to examine libraries when file_magic_cmd begins with "file".
23712 MAGIC_CMD=$MAGIC_CMD
23713
23714 # Must we lock files when doing compilation?
23715 need_locks=$lt_need_locks
23716
23717 # Manifest tool.
23718 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23719
23720 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23721 DSYMUTIL=$lt_DSYMUTIL
23722
23723 # Tool to change global to local symbols on Mac OS X.
23724 NMEDIT=$lt_NMEDIT
23725
23726 # Tool to manipulate fat objects and archives on Mac OS X.
23727 LIPO=$lt_LIPO
23728
23729 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23730 OTOOL=$lt_OTOOL
23731
23732 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23733 OTOOL64=$lt_OTOOL64
23734
23735 # Old archive suffix (normally "a").
23736 libext=$libext
23737
23738 # Shared library suffix (normally ".so").
23739 shrext_cmds=$lt_shrext_cmds
23740
23741 # The commands to extract the exported symbol list from a shared archive.
23742 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23743
23744 # Variables whose values should be saved in libtool wrapper scripts and
23745 # restored at link time.
23746 variables_saved_for_relink=$lt_variables_saved_for_relink
23747
23748 # Do we need the "lib" prefix for modules?
23749 need_lib_prefix=$need_lib_prefix
23750
23751 # Do we need a version for libraries?
23752 need_version=$need_version
23753
23754 # Library versioning type.
23755 version_type=$version_type
23756
23757 # Shared library runtime path variable.
23758 runpath_var=$runpath_var
23759
23760 # Shared library path variable.
23761 shlibpath_var=$shlibpath_var
23762
23763 # Is shlibpath searched before the hard-coded library search path?
23764 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23765
23766 # Format of library name prefix.
23767 libname_spec=$lt_libname_spec
23768
23769 # List of archive names. First name is the real one, the rest are links.
23770 # The last name is the one that the linker finds with -lNAME
23771 library_names_spec=$lt_library_names_spec
23772
23773 # The coded name of the library, if different from the real name.
23774 soname_spec=$lt_soname_spec
23775
23776 # Permission mode override for installation of shared libraries.
23777 install_override_mode=$lt_install_override_mode
23778
23779 # Command to use after installation of a shared archive.
23780 postinstall_cmds=$lt_postinstall_cmds
23781
23782 # Command to use after uninstallation of a shared archive.
23783 postuninstall_cmds=$lt_postuninstall_cmds
23784
23785 # Commands used to finish a libtool library installation in a directory.
23786 finish_cmds=$lt_finish_cmds
23787
23788 # As "finish_cmds", except a single script fragment to be evaled but
23789 # not shown.
23790 finish_eval=$lt_finish_eval
23791
23792 # Whether we should hardcode library paths into libraries.
23793 hardcode_into_libs=$hardcode_into_libs
23794
23795 # Compile-time system search path for libraries.
23796 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23797
23798 # Detected run-time system search path for libraries.
23799 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23800
23801 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23802 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23803
23804 # Whether dlopen is supported.
23805 dlopen_support=$enable_dlopen
23806
23807 # Whether dlopen of programs is supported.
23808 dlopen_self=$enable_dlopen_self
23809
23810 # Whether dlopen of statically linked programs is supported.
23811 dlopen_self_static=$enable_dlopen_self_static
23812
23813 # Commands to strip libraries.
23814 old_striplib=$lt_old_striplib
23815 striplib=$lt_striplib
23816
23817
23818 # The linker used to build libraries.
23819 LD=$lt_LD
23820
23821 # How to create reloadable object files.
23822 reload_flag=$lt_reload_flag
23823 reload_cmds=$lt_reload_cmds
23824
23825 # Commands used to build an old-style archive.
23826 old_archive_cmds=$lt_old_archive_cmds
23827
23828 # A language specific compiler.
23829 CC=$lt_compiler
23830
23831 # Is the compiler the GNU compiler?
23832 with_gcc=$GCC
23833
23834 # Compiler flag to turn off builtin functions.
23835 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23836
23837 # Additional compiler flags for building library objects.
23838 pic_flag=$lt_lt_prog_compiler_pic
23839
23840 # How to pass a linker flag through the compiler.
23841 wl=$lt_lt_prog_compiler_wl
23842
23843 # Compiler flag to prevent dynamic linking.
23844 link_static_flag=$lt_lt_prog_compiler_static
23845
23846 # Does compiler simultaneously support -c and -o options?
23847 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23848
23849 # Whether or not to add -lc for building shared libraries.
23850 build_libtool_need_lc=$archive_cmds_need_lc
23851
23852 # Whether or not to disallow shared libs when runtime libs are static.
23853 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23854
23855 # Compiler flag to allow reflexive dlopens.
23856 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23857
23858 # Compiler flag to generate shared objects directly from archives.
23859 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23860
23861 # Whether the compiler copes with passing no objects directly.
23862 compiler_needs_object=$lt_compiler_needs_object
23863
23864 # Create an old-style archive from a shared archive.
23865 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23866
23867 # Create a temporary old-style archive to link instead of a shared archive.
23868 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23869
23870 # Commands used to build a shared archive.
23871 archive_cmds=$lt_archive_cmds
23872 archive_expsym_cmds=$lt_archive_expsym_cmds
23873
23874 # Commands used to build a loadable module if different from building
23875 # a shared archive.
23876 module_cmds=$lt_module_cmds
23877 module_expsym_cmds=$lt_module_expsym_cmds
23878
23879 # Whether we are building with GNU ld or not.
23880 with_gnu_ld=$lt_with_gnu_ld
23881
23882 # Flag that allows shared libraries with undefined symbols to be built.
23883 allow_undefined_flag=$lt_allow_undefined_flag
23884
23885 # Flag that enforces no undefined symbols.
23886 no_undefined_flag=$lt_no_undefined_flag
23887
23888 # Flag to hardcode \$libdir into a binary during linking.
23889 # This must work even if \$libdir does not exist
23890 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23891
23892 # Whether we need a single "-rpath" flag with a separated argument.
23893 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23894
23895 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23896 # DIR into the resulting binary.
23897 hardcode_direct=$hardcode_direct
23898
23899 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23900 # DIR into the resulting binary and the resulting library dependency is
23901 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
23902 # library is relocated.
23903 hardcode_direct_absolute=$hardcode_direct_absolute
23904
23905 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23906 # into the resulting binary.
23907 hardcode_minus_L=$hardcode_minus_L
23908
23909 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23910 # into the resulting binary.
23911 hardcode_shlibpath_var=$hardcode_shlibpath_var
23912
23913 # Set to "yes" if building a shared library automatically hardcodes DIR
23914 # into the library and all subsequent libraries and executables linked
23915 # against it.
23916 hardcode_automatic=$hardcode_automatic
23917
23918 # Set to yes if linker adds runtime paths of dependent libraries
23919 # to runtime path list.
23920 inherit_rpath=$inherit_rpath
23921
23922 # Whether libtool must link a program against all its dependency libraries.
23923 link_all_deplibs=$link_all_deplibs
23924
23925 # Set to "yes" if exported symbols are required.
23926 always_export_symbols=$always_export_symbols
23927
23928 # The commands to list exported symbols.
23929 export_symbols_cmds=$lt_export_symbols_cmds
23930
23931 # Symbols that should not be listed in the preloaded symbols.
23932 exclude_expsyms=$lt_exclude_expsyms
23933
23934 # Symbols that must always be exported.
23935 include_expsyms=$lt_include_expsyms
23936
23937 # Commands necessary for linking programs (against libraries) with templates.
23938 prelink_cmds=$lt_prelink_cmds
23939
23940 # Commands necessary for finishing linking programs.
23941 postlink_cmds=$lt_postlink_cmds
23942
23943 # Specify filename containing input files.
23944 file_list_spec=$lt_file_list_spec
23945
23946 # How to hardcode a shared library path into an executable.
23947 hardcode_action=$hardcode_action
23948
23949 # The directories searched by this compiler when creating a shared library.
23950 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23951
23952 # Dependencies to place before and after the objects being linked to
23953 # create a shared library.
23954 predep_objects=$lt_predep_objects
23955 postdep_objects=$lt_postdep_objects
23956 predeps=$lt_predeps
23957 postdeps=$lt_postdeps
23958
23959 # The library search path used internally by the compiler when linking
23960 # a shared library.
23961 compiler_lib_search_path=$lt_compiler_lib_search_path
23962
23963 # ### END LIBTOOL CONFIG
23964
23965 _LT_EOF
23966
23967 cat <<'_LT_EOF' >> "$cfgfile"
23968
23969 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23970
23971 # func_munge_path_list VARIABLE PATH
23972 # -----------------------------------
23973 # VARIABLE is name of variable containing _space_ separated list of
23974 # directories to be munged by the contents of PATH, which is string
23975 # having a format:
23976 # "DIR[:DIR]:"
23977 # string "DIR[ DIR]" will be prepended to VARIABLE
23978 # ":DIR[:DIR]"
23979 # string "DIR[ DIR]" will be appended to VARIABLE
23980 # "DIRP[:DIRP]::[DIRA:]DIRA"
23981 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23982 # "DIRA[ DIRA]" will be appended to VARIABLE
23983 # "DIR[:DIR]"
23984 # VARIABLE will be replaced by "DIR[ DIR]"
23985 func_munge_path_list ()
23986 {
23987 case x$2 in
23988 x)
23989 ;;
23990 *:)
23991 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23992 ;;
23993 x:*)
23994 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23995 ;;
23996 *::*)
23997 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23998 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23999 ;;
24000 *)
24001 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
24002 ;;
24003 esac
24004 }
24005
24006
24007 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
24008 func_cc_basename ()
24009 {
24010 for cc_temp in $*""; do
24011 case $cc_temp in
24012 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24013 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24014 \-*) ;;
24015 *) break;;
24016 esac
24017 done
24018 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
24019 }
24020
24021
24022 # ### END FUNCTIONS SHARED WITH CONFIGURE
24023
24024 _LT_EOF
24025
24026 case $host_os in
24027 aix3*)
24028 cat <<\_LT_EOF >> "$cfgfile"
24029 # AIX sometimes has problems with the GCC collect2 program. For some
24030 # reason, if we set the COLLECT_NAMES environment variable, the problems
24031 # vanish in a puff of smoke.
24032 if test set != "${COLLECT_NAMES+set}"; then
24033 COLLECT_NAMES=
24034 export COLLECT_NAMES
24035 fi
24036 _LT_EOF
24037 ;;
24038 esac
24039
24040
24041
24042 ltmain=$ac_aux_dir/ltmain.sh
24043
24044
24045 # We use sed instead of cat because bash on DJGPP gets confused if
24046 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24047 # text mode, it properly converts lines to CR/LF. This bash problem
24048 # is reportedly fixed, but why not run on old versions too?
24049 $SED '$q' "$ltmain" >> "$cfgfile" \
24050 || (rm -f "$cfgfile"; exit 1)
24051
24052 mv -f "$cfgfile" "$ofile" ||
24053 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24054 chmod +x "$ofile"
24055
24056
24057 cat <<_LT_EOF >> "$ofile"
24058
24059 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24060
24061 # The linker used to build libraries.
24062 LD=$lt_LD_CXX
24063
24064 # How to create reloadable object files.
24065 reload_flag=$lt_reload_flag_CXX
24066 reload_cmds=$lt_reload_cmds_CXX
24067
24068 # Commands used to build an old-style archive.
24069 old_archive_cmds=$lt_old_archive_cmds_CXX
24070
24071 # A language specific compiler.
24072 CC=$lt_compiler_CXX
24073
24074 # Is the compiler the GNU compiler?
24075 with_gcc=$GCC_CXX
24076
24077 # Compiler flag to turn off builtin functions.
24078 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24079
24080 # Additional compiler flags for building library objects.
24081 pic_flag=$lt_lt_prog_compiler_pic_CXX
24082
24083 # How to pass a linker flag through the compiler.
24084 wl=$lt_lt_prog_compiler_wl_CXX
24085
24086 # Compiler flag to prevent dynamic linking.
24087 link_static_flag=$lt_lt_prog_compiler_static_CXX
24088
24089 # Does compiler simultaneously support -c and -o options?
24090 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24091
24092 # Whether or not to add -lc for building shared libraries.
24093 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24094
24095 # Whether or not to disallow shared libs when runtime libs are static.
24096 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24097
24098 # Compiler flag to allow reflexive dlopens.
24099 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24100
24101 # Compiler flag to generate shared objects directly from archives.
24102 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24103
24104 # Whether the compiler copes with passing no objects directly.
24105 compiler_needs_object=$lt_compiler_needs_object_CXX
24106
24107 # Create an old-style archive from a shared archive.
24108 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24109
24110 # Create a temporary old-style archive to link instead of a shared archive.
24111 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24112
24113 # Commands used to build a shared archive.
24114 archive_cmds=$lt_archive_cmds_CXX
24115 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24116
24117 # Commands used to build a loadable module if different from building
24118 # a shared archive.
24119 module_cmds=$lt_module_cmds_CXX
24120 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24121
24122 # Whether we are building with GNU ld or not.
24123 with_gnu_ld=$lt_with_gnu_ld_CXX
24124
24125 # Flag that allows shared libraries with undefined symbols to be built.
24126 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24127
24128 # Flag that enforces no undefined symbols.
24129 no_undefined_flag=$lt_no_undefined_flag_CXX
24130
24131 # Flag to hardcode \$libdir into a binary during linking.
24132 # This must work even if \$libdir does not exist
24133 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24134
24135 # Whether we need a single "-rpath" flag with a separated argument.
24136 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24137
24138 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24139 # DIR into the resulting binary.
24140 hardcode_direct=$hardcode_direct_CXX
24141
24142 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24143 # DIR into the resulting binary and the resulting library dependency is
24144 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
24145 # library is relocated.
24146 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24147
24148 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24149 # into the resulting binary.
24150 hardcode_minus_L=$hardcode_minus_L_CXX
24151
24152 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24153 # into the resulting binary.
24154 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24155
24156 # Set to "yes" if building a shared library automatically hardcodes DIR
24157 # into the library and all subsequent libraries and executables linked
24158 # against it.
24159 hardcode_automatic=$hardcode_automatic_CXX
24160
24161 # Set to yes if linker adds runtime paths of dependent libraries
24162 # to runtime path list.
24163 inherit_rpath=$inherit_rpath_CXX
24164
24165 # Whether libtool must link a program against all its dependency libraries.
24166 link_all_deplibs=$link_all_deplibs_CXX
24167
24168 # Set to "yes" if exported symbols are required.
24169 always_export_symbols=$always_export_symbols_CXX
24170
24171 # The commands to list exported symbols.
24172 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24173
24174 # Symbols that should not be listed in the preloaded symbols.
24175 exclude_expsyms=$lt_exclude_expsyms_CXX
24176
24177 # Symbols that must always be exported.
24178 include_expsyms=$lt_include_expsyms_CXX
24179
24180 # Commands necessary for linking programs (against libraries) with templates.
24181 prelink_cmds=$lt_prelink_cmds_CXX
24182
24183 # Commands necessary for finishing linking programs.
24184 postlink_cmds=$lt_postlink_cmds_CXX
24185
24186 # Specify filename containing input files.
24187 file_list_spec=$lt_file_list_spec_CXX
24188
24189 # How to hardcode a shared library path into an executable.
24190 hardcode_action=$hardcode_action_CXX
24191
24192 # The directories searched by this compiler when creating a shared library.
24193 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24194
24195 # Dependencies to place before and after the objects being linked to
24196 # create a shared library.
24197 predep_objects=$lt_predep_objects_CXX
24198 postdep_objects=$lt_postdep_objects_CXX
24199 predeps=$lt_predeps_CXX
24200 postdeps=$lt_postdeps_CXX
24201
24202 # The library search path used internally by the compiler when linking
24203 # a shared library.
24204 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24205
24206 # ### END LIBTOOL TAG CONFIG: CXX
24207 _LT_EOF
24208
24209 ;;
24210
24211 esac
24212 done # for ac_tag
24213
24214
24215 as_fn_exit 0
24216 _ACEOF
24217 ac_clean_files=$ac_clean_files_save
24218
24219 testscip-shell system . . test. $ac_write_fail = 0 ||
24220 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24221
24222
24223 # configure is writing to config.log, and then calls config.status.
24224 # config.status does its own redirection, appending to config.log.
24225 # Unfortunately, on DOS this fails, as config.log is still kept open
24226 # by configure, so config.status won't be able to write to it; its
24227 # output is simply discarded. So we exec the FD to /dev/null,
24228 # effectively closing config.log, so it can be properly (re)opened and
24229 # appended to by config.status. When coming back to configure, we
24230 # need to make the FD available again.
24231 if testscip-shell system . . test. "$no_create" != yes; then
24232 ac_cs_success=:
24233 ac_config_status_args=
24234 testscip-shell system . . test. "$silent" = yes &&
24235 ac_config_status_args="$ac_config_status_args --quiet"
24236 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
24237 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24238 exec 5>>config.log
24239 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24240 # would make configure fail if this is the last instruction.
24241 $ac_cs_success || as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). 1
24242 fi
24243 if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then
24244 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24245 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24246 fi
24247
24248
24249 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result:
24250 Build options:
24251 Version $VERSION
24252 Install prefix $prefix
24253 DBM $DBM
24254 Enable libzhuyin $enable_libzhuyin
24255 " >&5
24256 printfscip-shell system . . printf. "%s\n" "
24257 Build options:
24258 Version $VERSION
24259 Install prefix $prefix
24260 DBM $DBM
24261 Enable libzhuyin $enable_libzhuyin
24262 " >&6; }
24263