Debian Codegraph @

3rdparty/iaxclient/lib/portaudio/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.59.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if testscip-shell system . . test. -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif testscip-shell system . . test. -n "${BASH_VERSION+set}" && (set -o posix) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
20 set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43 do
44 if (set +x; testscip-shell system . . test. -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
51 # Required to use basename.
52 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
56 fi
57
58 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
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
71 echoscip-shell system . . echo. X/"$0" |
72 sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then
88 echoscip-shell system . . echo. "#! /bin/sh" >conf$$.sh
89 echoscip-shell system . . echo. "exit 0" >>conf$$.sh
90 chmodscip-shell system . . chmod. +x conf$$.sh
91 if (PATH="/nonexistent;.scip-shell filesystem . . `/nonexistent;.`."; conf$$.sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rmscip-shell system . . rm. -f conf$$.sh
97 fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(exprscip-shell system . . expr. $as_lineno_1 + 1) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
103 testscip-shell system . . test. "x$as_lineno_1" != "x$as_lineno_2" &&
104 testscip-shell system . . test. "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112 IFS=$as_save_IFS
113 testscip-shell system . . test. -z "$as_dir" && as_dir=.
114 testscip-shell system . . test. -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if testscip-shell system . . test. "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if testscip-shell system . . test. ! -f "$as_myself"; then
125 { echoscip-shell system . . echo. "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133 IFS=$as_save_IFS
134 testscip-shell system . . test. -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
144 $as_unset BASH_ENV || testscip-shell system . . test. "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || testscip-shell system . . test. "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
153 ;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sedscip-shell system . . sed. '=' <$as_myself |
165 sedscip-shell system . . sed. '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmodscip-shell system . . chmod. +x $as_me.lineno ||
175 { echoscip-shell system . . echo. "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184 }
185
186
187 case `echoscip-shell system . . echo. "testing\c"; echoscip-shell system . . echo. 1,2,3`,`echoscip-shell system . . echo. -n testing; echoscip-shell system . . echo. 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
200 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
201 echoscip-shell system . . echo. >conf$$.file
202 if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if testscip-shell system . . test. -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211 elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
217
218 if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
219 as_mkdir_p=:
220 else
221 testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p
222 as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echoscip-shell system . . echo. "$ECHO" | sedscip-shell system . . sed. 's,\\\\\$\\$0,'$0','`
252 ;;
253 esac
254
255 echo=${ECHO-echo}
256 if testscip-shell system . . test. "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif testscip-shell system . . test. "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
261 :
262 elif testscip-shell system . . test. "X`($echo '\t') 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = 'X\t' ; then
263 # Yippee, $echo works!
264 :
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if testscip-shell system . . test. "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 catscip-shell system . . cat. <<EOF
274 $*
275 EOF
276 exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset CDPATH
282
283 if testscip-shell system . . test. -z "$ECHO"; then
284 if testscip-shell system . . test. "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if (echo_test_string=`eval $cmd`) 2>/dev/nullscip-shell filesystem . . `/dev/null`. &&
289 echo_test_string=`eval $cmd` &&
290 (testscip-shell system . . test. "X$echo_test_string" = "X$echo_test_string") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
291 then
292 break
293 fi
294 done
295 fi
296
297 if testscip-shell system . . test. "X`($echo '\t') 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = 'X\t' &&
298 echo_testing_string=`($echo "$echo_test_string") 2>/dev/nullscip-shell filesystem . . `/dev/null`.` &&
299 testscip-shell system . . test. "X$echo_testing_string" = "X$echo_test_string"; then
300 :
301 else
302 # The Solaris, AIX, and Digital Unix default echo programs unquote
303 # backslashes. This makes it impossible to quote backslashes using
304 # echo "$something" | sed 's/\\/\\\\/g'
305 #
306 # So, first we look for a working echo in the user's PATH.
307
308 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
309 for dir in $PATH /usr/ucbscip-shell filesystem . . `/usr/ucb`.; do
310 IFS="$lt_save_ifs"
311 if (testscip-shell system . . test. -f $dir/echo || testscip-shell system . . test. -f $dir/echo$ac_exeext) &&
312 testscip-shell system . . test. "X`($dir/echo '\t') 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = 'X\t' &&
313 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/nullscip-shell filesystem . . `/dev/null`.` &&
314 testscip-shell system . . test. "X$echo_testing_string" = "X$echo_test_string"; then
315 echo="$dir/echo"
316 break
317 fi
318 done
319 IFS="$lt_save_ifs"
320
321 if testscip-shell system . . test. "X$echo" = Xecho; then
322 # We didn't find a better echo, so look for alternatives.
323 if testscip-shell system . . test. "X`(print -r '\t') 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = 'X\t' &&
324 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/nullscip-shell filesystem . . `/dev/null`.` &&
325 testscip-shell system . . test. "X$echo_testing_string" = "X$echo_test_string"; then
326 # This shell has a builtin print -r that does the trick.
327 echo='print -r'
328 elif (testscip-shell system . . test. -f /bin/kshscip-shell filesystem . . `/bin/ksh`. || testscip-shell system . . test. -f /bin/ksh$ac_exeext) &&
329 testscip-shell system . . test. "X$CONFIG_SHELL" != X/bin/ksh; then
330 # If we have ksh, try running configure again with it.
331 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
332 export ORIGINAL_CONFIG_SHELL
333 CONFIG_SHELL=/bin/kshscip-shell filesystem . . `/bin/ksh`.
334 export CONFIG_SHELL
335 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
336 else
337 # Try using printf.
338 echo='printf %s\n'
339 if testscip-shell system . . test. "X`($echo '\t') 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = 'X\t' &&
340 echo_testing_string=`($echo "$echo_test_string") 2>/dev/nullscip-shell filesystem . . `/dev/null`.` &&
341 testscip-shell system . . test. "X$echo_testing_string" = "X$echo_test_string"; then
342 # Cool, printf works
343 :
344 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/nullscip-shell filesystem . . `/dev/null`.` &&
345 testscip-shell system . . test. "X$echo_testing_string" = 'X\t' &&
346 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/nullscip-shell filesystem . . `/dev/null`.` &&
347 testscip-shell system . . test. "X$echo_testing_string" = "X$echo_test_string"; then
348 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
349 export CONFIG_SHELL
350 SHELL="$CONFIG_SHELL"
351 export SHELL
352 echo="$CONFIG_SHELL $0 --fallback-echo"
353 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/nullscip-shell filesystem . . `/dev/null`.` &&
354 testscip-shell system . . test. "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/nullscip-shell filesystem . . `/dev/null`.` &&
356 testscip-shell system . . test. "X$echo_testing_string" = "X$echo_test_string"; then
357 echo="$CONFIG_SHELL $0 --fallback-echo"
358 else
359 # maybe with a smaller string...
360 prev=:
361
362 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363 if (testscip-shell system . . test. "X$echo_test_string" = "X`eval $cmd`") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
364 then
365 break
366 fi
367 prev="$cmd"
368 done
369
370 if testscip-shell system . . test. "$prev" != 'sed 50q "$0"'; then
371 echo_test_string=`eval $prev`
372 export echo_test_string
373 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 else
375 # Oops. We lost completely, so just stick with echo.
376 echo=echo
377 fi
378 fi
379 fi
380 fi
381 fi
382 fi
383
384 # Copy echo and quote the copy suitably for passing to libtool from
385 # the Makefile, instead of quoting the original, which is used later.
386 ECHO=$echo
387 if testscip-shell system . . test. "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
389 fi
390
391
392
393
394 tagnames=${tagnames+${tagnames},}CXX
395
396 tagnames=${tagnames+${tagnames},}F77
397
398 # Name of the host.
399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400 # so uname gets run too.
401 ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
402
403 exec 6>&1
404
405 #
406 # Initializations.
407 #
408 ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`.
409 ac_config_libobj_dir=.
410 cross_compiling=no
411 subdirs=
412 MFLAGS=
413 MAKEFLAGS=
414 SHELL=${CONFIG_SHELL-/bin/sh}
415
416 # Maximum number of lines to put in a shell here document.
417 # This variable seems obsolete. It should probably be removed, and
418 # only ac_max_sed_lines should be used.
419 : ${ac_max_here_lines=38}
420
421 # Identity of this package.
422 PACKAGE_NAME=
423 PACKAGE_TARNAME=
424 PACKAGE_VERSION=
425 PACKAGE_STRING=
426 PACKAGE_BUGREPORT=
427
428 ac_unique_file="include/portaudio.h"
429 # Factoring default headers for most tests.
430 ac_includes_default="\
431 #include <stdio.h>
432 #if HAVE_SYS_TYPES_H
433 # include <sys/types.h>
434 #endif
435 #if HAVE_SYS_STAT_H
436 # include <sys/stat.h>
437 #endif
438 #if STDC_HEADERS
439 # include <stdlib.h>
440 # include <stddef.h>
441 #else
442 # if HAVE_STDLIB_H
443 # include <stdlib.h>
444 # endif
445 #endif
446 #if HAVE_STRING_H
447 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <memory.h>
449 # endif
450 # include <string.h>
451 #endif
452 #if HAVE_STRINGS_H
453 # include <strings.h>
454 #endif
455 #if HAVE_INTTYPES_H
456 # include <inttypes.h>
457 #else
458 # if HAVE_STDINT_H
459 # include <stdint.h>
460 # endif
461 #endif
462 #if HAVE_UNISTD_H
463 # include <unistd.h>
464 #endif"
465
466 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PKG_CONFIG ac_pt_PKG_CONFIG JACK_CFLAGS JACK_LIBS LT_CURRENT LT_REVISION LT_AGE OTHER_OBJS PADLL SHARED_FLAGS THREAD_CFLAGS DLL_LIBS NASM NASMOPT LIBOBJS LTLIBOBJS'
467 ac_subst_files=''
468
469 # Initialize some variables set by options.
470 ac_init_help=
471 ac_init_version=false
472 # The variables have the same names as the options, with
473 # dashes changed to underlines.
474 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
475 exec_prefix=NONE
476 no_create=
477 no_recursion=
478 prefix=NONE
479 program_prefix=NONE
480 program_suffix=NONE
481 program_transform_name=s,x,x,
482 silent=
483 site=
484 srcdir=
485 verbose=
486 x_includes=NONE
487 x_libraries=NONE
488
489 # Installation directory options.
490 # These are left unexpanded so users can "make install exec_prefix=/foo"
491 # and all the variables that are supposed to be based on exec_prefix
492 # by default will actually change.
493 # Use braces instead of parens because sh, perl, etc. also accept them.
494 bindir='${exec_prefix}/bin'
495 sbindir='${exec_prefix}/sbin'
496 libexecdir='${exec_prefix}/libexec'
497 datadir='${prefix}/share'
498 sysconfdir='${prefix}/etc'
499 sharedstatedir='${prefix}/com'
500 localstatedir='${prefix}/var'
501 libdir='${exec_prefix}/lib'
502 includedir='${prefix}/include'
503 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
504 infodir='${prefix}/info'
505 mandir='${prefix}/man'
506
507 ac_prev=
508 for ac_option
509 do
510 # If the previous option needs an argument, assign it.
511 if testscip-shell system . . test. -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
513 ac_prev=
514 continue
515 fi
516
517 ac_optarg=`exprscip-shell system . . expr. "x$ac_option" : 'x[^=]*=\(.*\)'`
518
519 # Accept the important Cygnus configure options, so we can diagnose typos.
520
521 case $ac_option in
522
523 -bindir | --bindir | --bindi | --bind | --bin | --bi)
524 ac_prev=bindir ;;
525 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
526 bindir=$ac_optarg ;;
527
528 -build | --build | --buil | --bui | --bu)
529 ac_prev=build_alias ;;
530 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
531 build_alias=$ac_optarg ;;
532
533 -cache-file | --cache-file | --cache-fil | --cache-fi \
534 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
535 ac_prev=cache_file ;;
536 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
537 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
538 cache_file=$ac_optarg ;;
539
540 --config-cache | -C)
541 cache_file=config.cache ;;
542
543 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
544 ac_prev=datadir ;;
545 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546 | --da=*)
547 datadir=$ac_optarg ;;
548
549 -disable-* | --disable-*)
550 ac_feature=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
551 # Reject names that are not valid shell variable names.
552 exprscip-shell system . . expr. "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
553 { echoscip-shell system . . echo. "$as_me: error: invalid feature name: $ac_feature" >&2
554 { (exit 1); exit 1; }; }
555 ac_feature=`echoscip-shell system . . echo. $ac_feature | sedscip-shell system . . sed. 's/-/_/g'`
556 eval "enable_$ac_feature=no" ;;
557
558 -enable-* | --enable-*)
559 ac_feature=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
560 # Reject names that are not valid shell variable names.
561 exprscip-shell system . . expr. "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
562 { echoscip-shell system . . echo. "$as_me: error: invalid feature name: $ac_feature" >&2
563 { (exit 1); exit 1; }; }
564 ac_feature=`echoscip-shell system . . echo. $ac_feature | sedscip-shell system . . sed. 's/-/_/g'`
565 case $ac_option in
566 *=*) ac_optarg=`echoscip-shell system . . echo. "$ac_optarg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;;
567 *) ac_optarg=yes ;;
568 esac
569 eval "enable_$ac_feature='$ac_optarg'" ;;
570
571 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
573 | --exec | --exe | --ex)
574 ac_prev=exec_prefix ;;
575 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
576 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
577 | --exec=* | --exe=* | --ex=*)
578 exec_prefix=$ac_optarg ;;
579
580 -gas | --gas | --ga | --g)
581 # Obsolete; use --with-gas.
582 with_gas=yes ;;
583
584 -help | --help | --hel | --he | -h)
585 ac_init_help=long ;;
586 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
587 ac_init_help=recursive ;;
588 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
589 ac_init_help=short ;;
590
591 -host | --host | --hos | --ho)
592 ac_prev=host_alias ;;
593 -host=* | --host=* | --hos=* | --ho=*)
594 host_alias=$ac_optarg ;;
595
596 -includedir | --includedir | --includedi | --included | --include \
597 | --includ | --inclu | --incl | --inc)
598 ac_prev=includedir ;;
599 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
600 | --includ=* | --inclu=* | --incl=* | --inc=*)
601 includedir=$ac_optarg ;;
602
603 -infodir | --infodir | --infodi | --infod | --info | --inf)
604 ac_prev=infodir ;;
605 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
606 infodir=$ac_optarg ;;
607
608 -libdir | --libdir | --libdi | --libd)
609 ac_prev=libdir ;;
610 -libdir=* | --libdir=* | --libdi=* | --libd=*)
611 libdir=$ac_optarg ;;
612
613 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
614 | --libexe | --libex | --libe)
615 ac_prev=libexecdir ;;
616 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
617 | --libexe=* | --libex=* | --libe=*)
618 libexecdir=$ac_optarg ;;
619
620 -localstatedir | --localstatedir | --localstatedi | --localstated \
621 | --localstate | --localstat | --localsta | --localst \
622 | --locals | --local | --loca | --loc | --lo)
623 ac_prev=localstatedir ;;
624 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
625 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
626 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
627 localstatedir=$ac_optarg ;;
628
629 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
630 ac_prev=mandir ;;
631 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
632 mandir=$ac_optarg ;;
633
634 -nfp | --nfp | --nf)
635 # Obsolete; use --without-fp.
636 with_fp=no ;;
637
638 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
639 | --no-cr | --no-c | -n)
640 no_create=yes ;;
641
642 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
643 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
644 no_recursion=yes ;;
645
646 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
647 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
648 | --oldin | --oldi | --old | --ol | --o)
649 ac_prev=oldincludedir ;;
650 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
651 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
652 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
653 oldincludedir=$ac_optarg ;;
654
655 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
656 ac_prev=prefix ;;
657 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
658 prefix=$ac_optarg ;;
659
660 -program-prefix | --program-prefix | --program-prefi | --program-pref \
661 | --program-pre | --program-pr | --program-p)
662 ac_prev=program_prefix ;;
663 -program-prefix=* | --program-prefix=* | --program-prefi=* \
664 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
665 program_prefix=$ac_optarg ;;
666
667 -program-suffix | --program-suffix | --program-suffi | --program-suff \
668 | --program-suf | --program-su | --program-s)
669 ac_prev=program_suffix ;;
670 -program-suffix=* | --program-suffix=* | --program-suffi=* \
671 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
672 program_suffix=$ac_optarg ;;
673
674 -program-transform-name | --program-transform-name \
675 | --program-transform-nam | --program-transform-na \
676 | --program-transform-n | --program-transform- \
677 | --program-transform | --program-transfor \
678 | --program-transfo | --program-transf \
679 | --program-trans | --program-tran \
680 | --progr-tra | --program-tr | --program-t)
681 ac_prev=program_transform_name ;;
682 -program-transform-name=* | --program-transform-name=* \
683 | --program-transform-nam=* | --program-transform-na=* \
684 | --program-transform-n=* | --program-transform-=* \
685 | --program-transform=* | --program-transfor=* \
686 | --program-transfo=* | --program-transf=* \
687 | --program-trans=* | --program-tran=* \
688 | --progr-tra=* | --program-tr=* | --program-t=*)
689 program_transform_name=$ac_optarg ;;
690
691 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
692 | -silent | --silent | --silen | --sile | --sil)
693 silent=yes ;;
694
695 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
696 ac_prev=sbindir ;;
697 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
698 | --sbi=* | --sb=*)
699 sbindir=$ac_optarg ;;
700
701 -sharedstatedir | --sharedstatedir | --sharedstatedi \
702 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
703 | --sharedst | --shareds | --shared | --share | --shar \
704 | --sha | --sh)
705 ac_prev=sharedstatedir ;;
706 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
707 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
708 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
709 | --sha=* | --sh=*)
710 sharedstatedir=$ac_optarg ;;
711
712 -site | --site | --sit)
713 ac_prev=site ;;
714 -site=* | --site=* | --sit=*)
715 site=$ac_optarg ;;
716
717 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
718 ac_prev=srcdir ;;
719 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
720 srcdir=$ac_optarg ;;
721
722 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
723 | --syscon | --sysco | --sysc | --sys | --sy)
724 ac_prev=sysconfdir ;;
725 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
726 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
727 sysconfdir=$ac_optarg ;;
728
729 -target | --target | --targe | --targ | --tar | --ta | --t)
730 ac_prev=target_alias ;;
731 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
732 target_alias=$ac_optarg ;;
733
734 -v | -verbose | --verbose | --verbos | --verbo | --verb)
735 verbose=yes ;;
736
737 -version | --version | --versio | --versi | --vers | -V)
738 ac_init_version=: ;;
739
740 -with-* | --with-*)
741 ac_package=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
742 # Reject names that are not valid shell variable names.
743 exprscip-shell system . . expr. "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
744 { echoscip-shell system . . echo. "$as_me: error: invalid package name: $ac_package" >&2
745 { (exit 1); exit 1; }; }
746 ac_package=`echoscip-shell system . . echo. $ac_package| sedscip-shell system . . sed. 's/-/_/g'`
747 case $ac_option in
748 *=*) ac_optarg=`echoscip-shell system . . echo. "$ac_optarg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;;
749 *) ac_optarg=yes ;;
750 esac
751 eval "with_$ac_package='$ac_optarg'" ;;
752
753 -without-* | --without-*)
754 ac_package=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
755 # Reject names that are not valid shell variable names.
756 exprscip-shell system . . expr. "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
757 { echoscip-shell system . . echo. "$as_me: error: invalid package name: $ac_package" >&2
758 { (exit 1); exit 1; }; }
759 ac_package=`echoscip-shell system . . echo. $ac_package | sedscip-shell system . . sed. 's/-/_/g'`
760 eval "with_$ac_package=no" ;;
761
762 --x)
763 # Obsolete; use --with-x.
764 with_x=yes ;;
765
766 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
767 | --x-incl | --x-inc | --x-in | --x-i)
768 ac_prev=x_includes ;;
769 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
770 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
771 x_includes=$ac_optarg ;;
772
773 -x-libraries | --x-libraries | --x-librarie | --x-librari \
774 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
775 ac_prev=x_libraries ;;
776 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
777 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
778 x_libraries=$ac_optarg ;;
779
780 -*) { echoscip-shell system . . echo. "$as_me: error: unrecognized option: $ac_option
781 Try \`$0 --help' for more information." >&2
782 { (exit 1); exit 1; }; }
783 ;;
784
785 *=*)
786 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
787 # Reject names that are not valid shell variable names.
788 exprscip-shell system . . expr. "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
789 { echoscip-shell system . . echo. "$as_me: error: invalid variable name: $ac_envvar" >&2
790 { (exit 1); exit 1; }; }
791 ac_optarg=`echoscip-shell system . . echo. "$ac_optarg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`
792 eval "$ac_envvar='$ac_optarg'"
793 export $ac_envvar ;;
794
795 *)
796 # FIXME: should be removed in autoconf 3.0.
797 echoscip-shell system . . echo. "$as_me: WARNING: you should use --build, --host, --target" >&2
798 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
799 echoscip-shell system . . echo. "$as_me: WARNING: invalid host type: $ac_option" >&2
800 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 ;;
802
803 esac
804 done
805
806 if testscip-shell system . . test. -n "$ac_prev"; then
807 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
808 { echoscip-shell system . . echo. "$as_me: error: missing argument to $ac_option" >&2
809 { (exit 1); exit 1; }; }
810 fi
811
812 # Be sure to have absolute paths.
813 for ac_var in exec_prefix prefix
814 do
815 eval ac_val=$`echoscip-shell system . . echo. $ac_var`
816 case $ac_val in
817 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
818 *) { echoscip-shell system . . echo. "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819 { (exit 1); exit 1; }; };;
820 esac
821 done
822
823 # Be sure to have absolute paths.
824 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825 localstatedir libdir includedir oldincludedir infodir mandir
826 do
827 eval ac_val=$`echoscip-shell system . . echo. $ac_var`
828 case $ac_val in
829 [\\/$]* | ?:[\\/]* ) ;;
830 *) { echoscip-shell system . . echo. "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831 { (exit 1); exit 1; }; };;
832 esac
833 done
834
835 # There might be people who depend on the old broken behavior: `$host'
836 # used to hold the argument of --host etc.
837 # FIXME: To remove some day.
838 build=$build_alias
839 host=$host_alias
840 target=$target_alias
841
842 # FIXME: To remove some day.
843 if testscip-shell system . . test. "x$host_alias" != x; then
844 if testscip-shell system . . test. "x$build_alias" = x; then
845 cross_compiling=maybe
846 echoscip-shell system . . echo. "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
847 If a cross compiler is detected then cross compile mode will be used." >&2
848 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
849 cross_compiling=yes
850 fi
851 fi
852
853 ac_tool_prefix=
854 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
855
856 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
857
858
859 # Find the source files, if location was not specified.
860 if testscip-shell system . . test. -z "$srcdir"; then
861 ac_srcdir_defaulted=yes
862 # Try the directory containing this script, then its parent.
863 ac_confdir=`(dirnamescip-shell system . . dirname. "$0") 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865 X"$0" : 'X\(//\)[^/]' \| \
866 X"$0" : 'X\(//\)$' \| \
867 X"$0" : 'X\(/\)' \| \
868 . : '\(.\)' 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
869 echoscip-shell system . . echo. X"$0" |
870 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872 /^X\(\/\/\)$/{ s//\1/; q; }
873 /^X\(\/\).*/{ s//\1/; q; }
874 s/.*/./; q'`
875 srcdir=$ac_confdir
876 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
877 srcdir=..
878 fi
879 else
880 ac_srcdir_defaulted=no
881 fi
882 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
883 if testscip-shell system . . test. "$ac_srcdir_defaulted" = yes; then
884 { echoscip-shell system . . echo. "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885 { (exit 1); exit 1; }; }
886 else
887 { echoscip-shell system . . echo. "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888 { (exit 1); exit 1; }; }
889 fi
890 fi
891 (cd $srcdir && testscip-shell system . . test. -r "./$ac_unique_file") 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
892 { echoscip-shell system . . echo. "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893 { (exit 1); exit 1; }; }
894 srcdir=`echoscip-shell system . . echo. "$srcdir" | sedscip-shell system . . sed. 's%\([^\\/]\)[\\/]*$%\1%'`
895 ac_env_build_alias_set=${build_alias+set}
896 ac_env_build_alias_value=$build_alias
897 ac_cv_env_build_alias_set=${build_alias+set}
898 ac_cv_env_build_alias_value=$build_alias
899 ac_env_host_alias_set=${host_alias+set}
900 ac_env_host_alias_value=$host_alias
901 ac_cv_env_host_alias_set=${host_alias+set}
902 ac_cv_env_host_alias_value=$host_alias
903 ac_env_target_alias_set=${target_alias+set}
904 ac_env_target_alias_value=$target_alias
905 ac_cv_env_target_alias_set=${target_alias+set}
906 ac_cv_env_target_alias_value=$target_alias
907 ac_env_CC_set=${CC+set}
908 ac_env_CC_value=$CC
909 ac_cv_env_CC_set=${CC+set}
910 ac_cv_env_CC_value=$CC
911 ac_env_CFLAGS_set=${CFLAGS+set}
912 ac_env_CFLAGS_value=$CFLAGS
913 ac_cv_env_CFLAGS_set=${CFLAGS+set}
914 ac_cv_env_CFLAGS_value=$CFLAGS
915 ac_env_LDFLAGS_set=${LDFLAGS+set}
916 ac_env_LDFLAGS_value=$LDFLAGS
917 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918 ac_cv_env_LDFLAGS_value=$LDFLAGS
919 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920 ac_env_CPPFLAGS_value=$CPPFLAGS
921 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923 ac_env_CPP_set=${CPP+set}
924 ac_env_CPP_value=$CPP
925 ac_cv_env_CPP_set=${CPP+set}
926 ac_cv_env_CPP_value=$CPP
927 ac_env_CXX_set=${CXX+set}
928 ac_env_CXX_value=$CXX
929 ac_cv_env_CXX_set=${CXX+set}
930 ac_cv_env_CXX_value=$CXX
931 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932 ac_env_CXXFLAGS_value=$CXXFLAGS
933 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935 ac_env_CXXCPP_set=${CXXCPP+set}
936 ac_env_CXXCPP_value=$CXXCPP
937 ac_cv_env_CXXCPP_set=${CXXCPP+set}
938 ac_cv_env_CXXCPP_value=$CXXCPP
939 ac_env_F77_set=${F77+set}
940 ac_env_F77_value=$F77
941 ac_cv_env_F77_set=${F77+set}
942 ac_cv_env_F77_value=$F77
943 ac_env_FFLAGS_set=${FFLAGS+set}
944 ac_env_FFLAGS_value=$FFLAGS
945 ac_cv_env_FFLAGS_set=${FFLAGS+set}
946 ac_cv_env_FFLAGS_value=$FFLAGS
947 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
948 ac_env_PKG_CONFIG_value=$PKG_CONFIG
949 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
950 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
951 ac_env_JACK_CFLAGS_set=${JACK_CFLAGS+set}
952 ac_env_JACK_CFLAGS_value=$JACK_CFLAGS
953 ac_cv_env_JACK_CFLAGS_set=${JACK_CFLAGS+set}
954 ac_cv_env_JACK_CFLAGS_value=$JACK_CFLAGS
955 ac_env_JACK_LIBS_set=${JACK_LIBS+set}
956 ac_env_JACK_LIBS_value=$JACK_LIBS
957 ac_cv_env_JACK_LIBS_set=${JACK_LIBS+set}
958 ac_cv_env_JACK_LIBS_value=$JACK_LIBS
959
960 #
961 # Report the --help message.
962 #
963 if testscip-shell system . . test. "$ac_init_help" = "long"; then
964 # Omit some internal or obsolete options to make the list less imposing.
965 # This message is too long to be a string in the A/UX 3.1 sh.
966 catscip-shell system . . cat. <<_ACEOF
967 \`configure' configures this package to adapt to many kinds of systems.
968
969 Usage: $0 [OPTION]... [VAR=VALUE]...
970
971 To assign environment variables (e.g., CC, CFLAGS...), specify them as
972 VAR=VALUE. See below for descriptions of some of the useful variables.
973
974 Defaults for the options are specified in brackets.
975
976 Configuration:
977 -h, --help display this help and exit
978 --help=short display options specific to this package
979 --help=recursive display the short help of all the included packages
980 -V, --version display version information and exit
981 -q, --quiet, --silent do not print \`checking...' messages
982 --cache-file=FILE cache test results in FILE [disabled]
983 -C, --config-cache alias for \`--cache-file=config.cache'
984 -n, --no-create do not create output files
985 --srcdir=DIR find the sources in DIR [configure dir or \`..']
986
987 _ACEOF
988
989 catscip-shell system . . cat. <<_ACEOF
990 Installation directories:
991 --prefix=PREFIX install architecture-independent files in PREFIX
992 [$ac_default_prefix]
993 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
994 [PREFIX]
995
996 By default, \`make install' will install all the files in
997 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
998 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
999 for instance \`--prefix=\$HOME'.
1000
1001 For better control, use the options below.
1002
1003 Fine tuning of the installation directories:
1004 --bindir=DIR user executables [EPREFIX/bin]
1005 --sbindir=DIR system admin executables [EPREFIX/sbin]
1006 --libexecdir=DIR program executables [EPREFIX/libexec]
1007 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1008 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1009 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1010 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1011 --libdir=DIR object code libraries [EPREFIX/lib]
1012 --includedir=DIR C header files [PREFIX/include]
1013 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1014 --infodir=DIR info documentation [PREFIX/info]
1015 --mandir=DIR man documentation [PREFIX/man]
1016 _ACEOF
1017
1018 catscip-shell system . . cat. <<\_ACEOF
1019
1020 System types:
1021 --build=BUILD configure for building on BUILD [guessed]
1022 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1023 _ACEOF
1024 fi
1025
1026 if testscip-shell system . . test. -n "$ac_init_help"; then
1027
1028 catscip-shell system . . cat. <<\_ACEOF
1029
1030 Optional Features:
1031 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1032 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1033 --enable-debug-output
1034 --enable-shared[=PKGS]
1035 build shared libraries [default=yes]
1036 --enable-static[=PKGS]
1037 build static libraries [default=yes]
1038 --enable-fast-install[=PKGS]
1039 optimize for fast installation [default=yes]
1040 --disable-libtool-lock avoid locking (might break parallel builds)
1041
1042 Optional Packages:
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1045 --with-alsa (default=yes)
1046 --with-jack (default=yes)
1047 --with-oss (default=yes)
1048 --with-host_os (no default)
1049 --with-winapi ((wmme/directx/asio) default=wmme)
1050 --with-macapi ((asio/core/sm) default=core)
1051 --with-asiodir (default=/usr/local/asiosdk2)
1052 --with-dxdir (default=/usr/local/dx7sdk)
1053 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1054 --with-pic try to use only PIC/non-PIC objects [default=use
1055 both]
1056 --with-tags[=TAGS]
1057 include additional configurations [automatic]
1058
1059 Some influential environment variables:
1060 CC C compiler command
1061 CFLAGS C compiler flags
1062 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1063 nonstandard directory <lib dir>
1064 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1065 headers in a nonstandard directory <include dir>
1066 CPP C preprocessor
1067 CXX C++ compiler command
1068 CXXFLAGS C++ compiler flags
1069 CXXCPP C++ preprocessor
1070 F77 Fortran 77 compiler command
1071 FFLAGS Fortran 77 compiler flags
1072 PKG_CONFIG path to pkg-config utility
1073 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
1074 JACK_LIBS linker flags for JACK, overriding pkg-config
1075
1076 Use these variables to override the choices made by `configure' or to help
1077 it to find libraries and programs with nonstandard names/locations.
1078
1079 _ACEOF
1080 fi
1081
1082 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1083 # If there are subdirs, report their specific --help.
1084 ac_popdir=`pwdscip-shell system . . pwd.`
1085 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1086 testscip-shell system . . test. -d $ac_dir || continue
1087 ac_builddir=.
1088
1089 if testscip-shell system . . test. "$ac_dir" != .; then
1090 ac_dir_suffix=/`echoscip-shell system . . echo. "$ac_dir" | sedscip-shell system . . sed. 's,^\.[\\/],,'`
1091 # A "../" for each directory in $ac_dir_suffix.
1092 ac_top_builddir=`echoscip-shell system . . echo. "$ac_dir_suffix" | sedscip-shell system . . sed. 's,/[^\\/]*,../,g'`
1093 else
1094 ac_dir_suffix= ac_top_builddir=
1095 fi
1096
1097 case $srcdir in
1098 .) # No --srcdir option. We are building in place.
1099 ac_srcdir=.
1100 if testscip-shell system . . test. -z "$ac_top_builddir"; then
1101 ac_top_srcdir=.
1102 else
1103 ac_top_srcdir=`echoscip-shell system . . echo. $ac_top_builddir | sedscip-shell system . . sed. 's,/$,,'`
1104 fi ;;
1105 [\\/]* | ?:[\\/]* ) # Absolute path.
1106 ac_srcdir=$srcdir$ac_dir_suffix;
1107 ac_top_srcdir=$srcdir ;;
1108 *) # Relative path.
1109 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1110 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1111 esac
1112
1113 # Do not use `cd foo && pwd` to compute absolute paths, because
1114 # the directories may not exist.
1115 case `pwdscip-shell system . . pwd.` in
1116 .) ac_abs_builddir="$ac_dir";;
1117 *)
1118 case "$ac_dir" in
1119 .) ac_abs_builddir=`pwdscip-shell system . . pwd.`;;
1120 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1121 *) ac_abs_builddir=`pwdscip-shell system . . pwd.`/"$ac_dir";;
1122 esac;;
1123 esac
1124 case $ac_abs_builddir in
1125 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1126 *)
1127 case ${ac_top_builddir}. in
1128 .) ac_abs_top_builddir=$ac_abs_builddir;;
1129 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1130 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1131 esac;;
1132 esac
1133 case $ac_abs_builddir in
1134 .) ac_abs_srcdir=$ac_srcdir;;
1135 *)
1136 case $ac_srcdir in
1137 .) ac_abs_srcdir=$ac_abs_builddir;;
1138 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1139 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1140 esac;;
1141 esac
1142 case $ac_abs_builddir in
1143 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1144 *)
1145 case $ac_top_srcdir in
1146 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1148 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1149 esac;;
1150 esac
1151
1152 cd $ac_dir
1153 # Check for guested configure; otherwise get Cygnus style configure.
1154 if testscip-shell system . . test. -f $ac_srcdir/configure.gnu; then
1155 echoscip-shell system . . echo.
1156 $SHELL $ac_srcdir/configure.gnu --help=recursive
1157 elif testscip-shell system . . test. -f $ac_srcdir/configure; then
1158 echoscip-shell system . . echo.
1159 $SHELL $ac_srcdir/configure --help=recursive
1160 elif testscip-shell system . . test. -f $ac_srcdir/configure.ac ||
1161 testscip-shell system . . test. -f $ac_srcdir/configure.in; then
1162 echoscip-shell system . . echo.
1163 $ac_configure --help
1164 else
1165 echoscip-shell system . . echo. "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1166 fi
1167 cd $ac_popdir
1168 done
1169 fi
1170
1171 testscip-shell system . . test. -n "$ac_init_help" && exit 0
1172 if $ac_init_version; then
1173 catscip-shell system . . cat. <<\_ACEOF
1174
1175 Copyright (C) 2003 Free Software Foundation, Inc.
1176 This configure script is free software; the Free Software Foundation
1177 gives unlimited permission to copy, distribute and modify it.
1178 _ACEOF
1179 exit 0
1180 fi
1181 exec 5>config.log
1182 catscip-shell system . . cat. >&5 <<_ACEOF
1183 This file contains any messages produced by compilers while
1184 running configure, to aid debugging if configure makes a mistake.
1185
1186 It was created by $as_me, which was
1187 generated by GNU Autoconf 2.59. Invocation command line was
1188
1189 $ $0 $@
1190
1191 _ACEOF
1192 {
1193 catscip-shell system . . cat. <<_ASUNAME
1194 ## --------- ##
1195 ## Platform. ##
1196 ## --------- ##
1197
1198 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
1199 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1200 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1201 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1202 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1203
1204 /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`
1205 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1206
1207 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1208 /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`
1209 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1210 hostinfo = `(hostinfo) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1211 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1212 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1213 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1214
1215 _ASUNAME
1216
1217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1218 for as_dir in $PATH
1219 do
1220 IFS=$as_save_IFS
1221 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1222 echoscip-shell system . . echo. "PATH: $as_dir"
1223 done
1224
1225 } >&5
1226
1227 catscip-shell system . . cat. >&5 <<_ACEOF
1228
1229
1230 ## ----------- ##
1231 ## Core tests. ##
1232 ## ----------- ##
1233
1234 _ACEOF
1235
1236
1237 # Keep a trace of the command line.
1238 # Strip out --no-create and --no-recursion so they do not pile up.
1239 # Strip out --silent because we don't want to record it for future runs.
1240 # Also quote any args containing shell meta-characters.
1241 # Make two passes to allow for proper duplicate-argument suppression.
1242 ac_configure_args=
1243 ac_configure_args0=
1244 ac_configure_args1=
1245 ac_sep=
1246 ac_must_keep_next=false
1247 for ac_pass in 1 2
1248 do
1249 for ac_arg
1250 do
1251 case $ac_arg in
1252 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1253 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1254 | -silent | --silent | --silen | --sile | --sil)
1255 continue ;;
1256 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1257 ac_arg=`echoscip-shell system . . echo. "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1258 esac
1259 case $ac_pass in
1260 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1261 2)
1262 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1263 if testscip-shell system . . test. $ac_must_keep_next = true; then
1264 ac_must_keep_next=false # Got value, back to normal.
1265 else
1266 case $ac_arg in
1267 *=* | --config-cache | -C | -disable-* | --disable-* \
1268 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1269 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1270 | -with-* | --with-* | -without-* | --without-* | --x)
1271 case "$ac_configure_args0 " in
1272 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1273 esac
1274 ;;
1275 -* ) ac_must_keep_next=true ;;
1276 esac
1277 fi
1278 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1279 # Get rid of the leading space.
1280 ac_sep=" "
1281 ;;
1282 esac
1283 done
1284 done
1285 $as_unset ac_configure_args0 || testscip-shell system . . test. "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1286 $as_unset ac_configure_args1 || testscip-shell system . . test. "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1287
1288 # When interrupted or exit'd, cleanup temporary files, and complete
1289 # config.log. We remove comments because anyway the quotes in there
1290 # would cause problems or look ugly.
1291 # WARNING: Be sure not to use single quotes in there, as some shells,
1292 # such as our DU 5.0 friend, will then `close' the trap.
1293 trap 'exit_status=$?
1294 # Save into config.log some information that might help in debugging.
1295 {
1296 echo
1297
1298 cat <<\_ASBOX
1299 ## ---------------- ##
1300 ## Cache variables. ##
1301 ## ---------------- ##
1302 _ASBOX
1303 echo
1304 # The following way of writing the cache mishandles newlines in values,
1305 {
1306 (set) 2>&1 |
1307 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1308 *ac_space=\ *)
1309 sed -n \
1310 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1311 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1312 ;;
1313 *)
1314 sed -n \
1315 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1316 ;;
1317 esac;
1318 }
1319 echo
1320
1321 cat <<\_ASBOX
1322 ## ----------------- ##
1323 ## Output variables. ##
1324 ## ----------------- ##
1325 _ASBOX
1326 echo
1327 for ac_var in $ac_subst_vars
1328 do
1329 eval ac_val=$`echo $ac_var`
1330 echo "$ac_var='"'"'$ac_val'"'"'"
1331 done | sort
1332 echo
1333
1334 if test -n "$ac_subst_files"; then
1335 cat <<\_ASBOX
1336 ## ------------- ##
1337 ## Output files. ##
1338 ## ------------- ##
1339 _ASBOX
1340 echo
1341 for ac_var in $ac_subst_files
1342 do
1343 eval ac_val=$`echo $ac_var`
1344 echo "$ac_var='"'"'$ac_val'"'"'"
1345 done | sort
1346 echo
1347 fi
1348
1349 if test -s confdefs.h; then
1350 cat <<\_ASBOX
1351 ## ----------- ##
1352 ## confdefs.h. ##
1353 ## ----------- ##
1354 _ASBOX
1355 echo
1356 sed "/^$/d" confdefs.h | sort
1357 echo
1358 fi
1359 test "$ac_signal" != 0 &&
1360 echo "$as_me: caught signal $ac_signal"
1361 echo "$as_me: exit $exit_status"
1362 } >&5
1363 rm -f core *.core &&
1364 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1365 exit $exit_status
1366 ' 0
1367 for ac_signal in 1 2 13 15; do
1368 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1369 done
1370 ac_signal=0
1371
1372 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1373 rmscip-shell system . . rm. -rf conftest* confdefs.h
1374 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1375 echoscip-shell system . . echo. >confdefs.h
1376
1377 # Predefined preprocessor variables.
1378
1379 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
1380 #define PACKAGE_NAME "$PACKAGE_NAME"
1381 _ACEOF
1382
1383
1384 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
1385 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1386 _ACEOF
1387
1388
1389 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
1390 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1391 _ACEOF
1392
1393
1394 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
1395 #define PACKAGE_STRING "$PACKAGE_STRING"
1396 _ACEOF
1397
1398
1399 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
1400 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1401 _ACEOF
1402
1403
1404 # Let the site file select an alternate cache file if it wants to.
1405 # Prefer explicitly selected file to automatically selected ones.
1406 if testscip-shell system . . test. -z "$CONFIG_SITE"; then
1407 if testscip-shell system . . test. "x$prefix" != xNONE; then
1408 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1409 else
1410 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1411 fi
1412 fi
1413 for ac_site_file in $CONFIG_SITE; do
1414 if testscip-shell system . . test. -r "$ac_site_file"; then
1415 { echoscip-shell system . . echo. "$as_me:$LINENO: loading site script $ac_site_file" >&5
1416 echoscip-shell system . . echo. "$as_me: loading site script $ac_site_file" >&6;}
1417 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
1418 . "$ac_site_file"
1419 fi
1420 done
1421
1422 if testscip-shell system . . test. -r "$cache_file"; then
1423 # Some versions of bash will fail to source /dev/null (special
1424 # files actually), so we avoid doing that.
1425 if testscip-shell system . . test. -f "$cache_file"; then
1426 { echoscip-shell system . . echo. "$as_me:$LINENO: loading cache $cache_file" >&5
1427 echoscip-shell system . . echo. "$as_me: loading cache $cache_file" >&6;}
1428 case $cache_file in
1429 [\\/]* | ?:[\\/]* ) . $cache_file;;
1430 *) . ./$cache_file;;
1431 esac
1432 fi
1433 else
1434 { echoscip-shell system . . echo. "$as_me:$LINENO: creating cache $cache_file" >&5
1435 echoscip-shell system . . echo. "$as_me: creating cache $cache_file" >&6;}
1436 >$cache_file
1437 fi
1438
1439 # Check that the precious variables saved in the cache have kept the same
1440 # value.
1441 ac_cache_corrupted=false
1442 for ac_var in `(set) 2>&1 |
1443 sedscip-shell system . . sed. -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1444 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1445 eval ac_new_set=\$ac_env_${ac_var}_set
1446 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1447 eval ac_new_val="\$ac_env_${ac_var}_value"
1448 case $ac_old_set,$ac_new_set in
1449 set,)
1450 { echoscip-shell system . . echo. "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1451 echoscip-shell system . . echo. "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1452 ac_cache_corrupted=: ;;
1453 ,set)
1454 { echoscip-shell system . . echo. "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1455 echoscip-shell system . . echo. "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1456 ac_cache_corrupted=: ;;
1457 ,);;
1458 *)
1459 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
1460 { echoscip-shell system . . echo. "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1461 echoscip-shell system . . echo. "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1462 { echoscip-shell system . . echo. "$as_me:$LINENO: former value: $ac_old_val" >&5
1463 echoscip-shell system . . echo. "$as_me: former value: $ac_old_val" >&2;}
1464 { echoscip-shell system . . echo. "$as_me:$LINENO: current value: $ac_new_val" >&5
1465 echoscip-shell system . . echo. "$as_me: current value: $ac_new_val" >&2;}
1466 ac_cache_corrupted=:
1467 fi;;
1468 esac
1469 # Pass precious variables to config.status.
1470 if testscip-shell system . . test. "$ac_new_set" = set; then
1471 case $ac_new_val in
1472 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1473 ac_arg=$ac_var=`echoscip-shell system . . echo. "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1474 *) ac_arg=$ac_var=$ac_new_val ;;
1475 esac
1476 case " $ac_configure_args " in
1477 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1478 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1479 esac
1480 fi
1481 done
1482 if $ac_cache_corrupted; then
1483 { echoscip-shell system . . echo. "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1484 echoscip-shell system . . echo. "$as_me: error: changes in the environment can compromise the build" >&2;}
1485 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1486 echoscip-shell system . . echo. "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1487 { (exit 1); exit 1; }; }
1488 fi
1489
1490 ac_ext=c
1491 ac_cpp='$CPP $CPPFLAGS'
1492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517 # Check whether --with-alsa or --without-alsa was given.
1518 if testscip-shell system . . test. "${with_alsa+set}" = set; then
1519 withval="$with_alsa"
1520 with_alsa=$withval
1521 else
1522 with_alsa="yes"
1523 fi;
1524
1525
1526 # Check whether --with-jack or --without-jack was given.
1527 if testscip-shell system . . test. "${with_jack+set}" = set; then
1528 withval="$with_jack"
1529 with_jack=$withval
1530 else
1531 with_jack="yes"
1532 fi;
1533
1534
1535 # Check whether --with-oss or --without-oss was given.
1536 if testscip-shell system . . test. "${with_oss+set}" = set; then
1537 withval="$with_oss"
1538 with_oss=$withval
1539 else
1540 with_oss="yes"
1541 fi;
1542
1543
1544 # Check whether --with-host_os or --without-host_os was given.
1545 if testscip-shell system . . test. "${with_host_os+set}" = set; then
1546 withval="$with_host_os"
1547 host_os=$withval
1548 fi;
1549
1550
1551 # Check whether --with-winapi or --without-winapi was given.
1552 if testscip-shell system . . test. "${with_winapi+set}" = set; then
1553 withval="$with_winapi"
1554 with_winapi=$withval
1555 else
1556 with_winapi="wmme"
1557 fi;
1558
1559
1560 # Check whether --with-macapi or --without-macapi was given.
1561 if testscip-shell system . . test. "${with_macapi+set}" = set; then
1562 withval="$with_macapi"
1563 with_macapi=$withval
1564 else
1565 with_macapi="core"
1566 fi;
1567
1568
1569 # Check whether --with-asiodir or --without-asiodir was given.
1570 if testscip-shell system . . test. "${with_asiodir+set}" = set; then
1571 withval="$with_asiodir"
1572 with_asiodir=$withval
1573 else
1574 with_asiodir="/usr/local/asiosdk2scip-shell filesystem . . `/usr/local/asiosdk2`."
1575 fi;
1576
1577
1578 # Check whether --with-dxdir or --without-dxdir was given.
1579 if testscip-shell system . . test. "${with_dxdir+set}" = set; then
1580 withval="$with_dxdir"
1581 with_dxdir=$withval
1582 else
1583 with_dxdir="/usr/local/dx7sdkscip-shell filesystem . . `/usr/local/dx7sdk`."
1584 fi;
1585
1586 # Check whether --enable-debug-output or --disable-debug-output was given.
1587 if testscip-shell system . . test. "${enable_debug_output+set}" = set; then
1588 enableval="$enable_debug_output"
1589 if testscip-shell system . . test. x$enableval != xno ; then
1590
1591 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
1592 #define PA_ENABLE_DEBUG_OUTPUT
1593 _ACEOF
1594
1595 fi
1596
1597 fi;
1598
1599
1600 ac_ext=c
1601 ac_cpp='$CPP $CPPFLAGS'
1602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1605 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
1606 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1607 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1608 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1609 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1610 if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then
1611 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1612 else
1613 if testscip-shell system . . test. -n "$CC"; then
1614 ac_cv_prog_CC="$CC" # Let the user override the test.
1615 else
1616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1617 for as_dir in $PATH
1618 do
1619 IFS=$as_save_IFS
1620 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1621 for ac_exec_ext in '' $ac_executable_extensions; do
1622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1623 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1624 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1625 break 2
1626 fi
1627 done
1628 done
1629
1630 fi
1631 fi
1632 CC=$ac_cv_prog_CC
1633 if testscip-shell system . . test. -n "$CC"; then
1634 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CC" >&5
1635 echoscip-shell system . . echo. "${ECHO_T}$CC" >&6
1636 else
1637 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1638 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1639 fi
1640
1641 fi
1642 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
1643 ac_ct_CC=$CC
1644 # Extract the first word of "gcc", so it can be a program name with args.
1645 set dummy gcc; ac_word=$2
1646 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1647 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1648 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_CC+set}" = set; then
1649 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1650 else
1651 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1652 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1653 else
1654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1655 for as_dir in $PATH
1656 do
1657 IFS=$as_save_IFS
1658 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1659 for ac_exec_ext in '' $ac_executable_extensions; do
1660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1661 ac_cv_prog_ac_ct_CC="gcc"
1662 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 break 2
1664 fi
1665 done
1666 done
1667
1668 fi
1669 fi
1670 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1671 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1672 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_CC" >&5
1673 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_CC" >&6
1674 else
1675 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1676 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1677 fi
1678
1679 CC=$ac_ct_CC
1680 else
1681 CC="$ac_cv_prog_CC"
1682 fi
1683
1684 if testscip-shell system . . test. -z "$CC"; then
1685 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
1686 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1687 set dummy ${ac_tool_prefix}cc; ac_word=$2
1688 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1689 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1690 if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then
1691 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1692 else
1693 if testscip-shell system . . test. -n "$CC"; then
1694 ac_cv_prog_CC="$CC" # Let the user override the test.
1695 else
1696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1697 for as_dir in $PATH
1698 do
1699 IFS=$as_save_IFS
1700 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1701 for ac_exec_ext in '' $ac_executable_extensions; do
1702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1703 ac_cv_prog_CC="${ac_tool_prefix}cc"
1704 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 break 2
1706 fi
1707 done
1708 done
1709
1710 fi
1711 fi
1712 CC=$ac_cv_prog_CC
1713 if testscip-shell system . . test. -n "$CC"; then
1714 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CC" >&5
1715 echoscip-shell system . . echo. "${ECHO_T}$CC" >&6
1716 else
1717 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1718 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1719 fi
1720
1721 fi
1722 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
1723 ac_ct_CC=$CC
1724 # Extract the first word of "cc", so it can be a program name with args.
1725 set dummy cc; ac_word=$2
1726 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1727 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1728 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_CC+set}" = set; then
1729 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1730 else
1731 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1732 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1733 else
1734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1735 for as_dir in $PATH
1736 do
1737 IFS=$as_save_IFS
1738 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1739 for ac_exec_ext in '' $ac_executable_extensions; do
1740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1741 ac_cv_prog_ac_ct_CC="cc"
1742 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1743 break 2
1744 fi
1745 done
1746 done
1747
1748 fi
1749 fi
1750 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1751 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1752 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_CC" >&5
1753 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_CC" >&6
1754 else
1755 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1756 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1757 fi
1758
1759 CC=$ac_ct_CC
1760 else
1761 CC="$ac_cv_prog_CC"
1762 fi
1763
1764 fi
1765 if testscip-shell system . . test. -z "$CC"; then
1766 # Extract the first word of "cc", so it can be a program name with args.
1767 set dummy cc; ac_word=$2
1768 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1769 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then
1771 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773 if testscip-shell system . . test. -n "$CC"; then
1774 ac_cv_prog_CC="$CC" # Let the user override the test.
1775 else
1776 ac_prog_rejected=no
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 for as_dir in $PATH
1779 do
1780 IFS=$as_save_IFS
1781 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1782 for ac_exec_ext in '' $ac_executable_extensions; do
1783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1784 if testscip-shell system . . test. "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
1785 ac_prog_rejected=yes
1786 continue
1787 fi
1788 ac_cv_prog_CC="cc"
1789 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1790 break 2
1791 fi
1792 done
1793 done
1794
1795 if testscip-shell system . . test. $ac_prog_rejected = yes; then
1796 # We found a bogon in the path, so make sure we never use it.
1797 set dummy $ac_cv_prog_CC
1798 shift
1799 if testscip-shell system . . test. $# != 0; then
1800 # We chose a different compiler from the bogus one.
1801 # However, it has the same basename, so the bogon will be chosen
1802 # first if we set CC to just the basename; use the full file name.
1803 shift
1804 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1805 fi
1806 fi
1807 fi
1808 fi
1809 CC=$ac_cv_prog_CC
1810 if testscip-shell system . . test. -n "$CC"; then
1811 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CC" >&5
1812 echoscip-shell system . . echo. "${ECHO_T}$CC" >&6
1813 else
1814 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1815 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1816 fi
1817
1818 fi
1819 if testscip-shell system . . test. -z "$CC"; then
1820 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
1821 for ac_prog in cl
1822 do
1823 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1824 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1825 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1826 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1827 if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then
1828 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1829 else
1830 if testscip-shell system . . test. -n "$CC"; then
1831 ac_cv_prog_CC="$CC" # Let the user override the test.
1832 else
1833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 for as_dir in $PATH
1835 do
1836 IFS=$as_save_IFS
1837 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1838 for ac_exec_ext in '' $ac_executable_extensions; do
1839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1840 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1841 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1842 break 2
1843 fi
1844 done
1845 done
1846
1847 fi
1848 fi
1849 CC=$ac_cv_prog_CC
1850 if testscip-shell system . . test. -n "$CC"; then
1851 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CC" >&5
1852 echoscip-shell system . . echo. "${ECHO_T}$CC" >&6
1853 else
1854 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1855 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1856 fi
1857
1858 testscip-shell system . . test. -n "$CC" && break
1859 done
1860 fi
1861 if testscip-shell system . . test. -z "$CC"; then
1862 ac_ct_CC=$CC
1863 for ac_prog in cl
1864 do
1865 # Extract the first word of "$ac_prog", so it can be a program name with args.
1866 set dummy $ac_prog; ac_word=$2
1867 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1868 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1869 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_CC+set}" = set; then
1870 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1871 else
1872 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1873 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1874 else
1875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1876 for as_dir in $PATH
1877 do
1878 IFS=$as_save_IFS
1879 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1880 for ac_exec_ext in '' $ac_executable_extensions; do
1881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1882 ac_cv_prog_ac_ct_CC="$ac_prog"
1883 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884 break 2
1885 fi
1886 done
1887 done
1888
1889 fi
1890 fi
1891 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1892 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1893 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_CC" >&5
1894 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_CC" >&6
1895 else
1896 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1897 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1898 fi
1899
1900 testscip-shell system . . test. -n "$ac_ct_CC" && break
1901 done
1902
1903 CC=$ac_ct_CC
1904 fi
1905
1906 fi
1907
1908
1909 testscip-shell system . . test. -z "$CC" && { { echoscip-shell system . . echo. "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1910 See \`config.log' for more details." >&5
1911 echoscip-shell system . . echo. "$as_me: error: no acceptable C compiler found in \$PATH
1912 See \`config.log' for more details." >&2;}
1913 { (exit 1); exit 1; }; }
1914
1915 # Provide some information about the compiler.
1916 echoscip-shell system . . echo. "$as_me:$LINENO:" \
1917 "checking for C compiler version" >&5
1918 ac_compiler=`set X $ac_compile; echoscip-shell system . . echo. $2`
1919 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1920 (eval $ac_compiler --version </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
1921 ac_status=$?
1922 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1923 (exit $ac_status); }
1924 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1925 (eval $ac_compiler -v </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
1926 ac_status=$?
1927 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1928 (exit $ac_status); }
1929 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1930 (eval $ac_compiler -V </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
1931 ac_status=$?
1932 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1933 (exit $ac_status); }
1934
1935 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
1936 /* confdefs.h. */
1937 _ACEOF
1938 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
1939 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
1940 /* end confdefs.h. */
1941
1942 int
1943 main ()
1944 {
1945
1946 ;
1947 return 0;
1948 }
1949 _ACEOF
1950 ac_clean_files_save=$ac_clean_files
1951 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1952 # Try to create an executable without -o first, disregard a.out.
1953 # It will help us diagnose broken compilers, and finding out an intuition
1954 # of exeext.
1955 echoscip-shell system . . echo. "$as_me:$LINENO: checking for C compiler default output file name" >&5
1956 echoscip-shell system . . echo. $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1957 ac_link_default=`echoscip-shell system . . echo. "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
1958 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1959 (eval $ac_link_default) 2>&5
1960 ac_status=$?
1961 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1962 (exit $ac_status); }; then
1963 # Find the output, starting from the most likely. This scheme is
1964 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1965 # resort.
1966
1967 # Be careful to initialize this variable, since it used to be cached.
1968 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1969 ac_cv_exeext=
1970 # b.out is created by i960 compilers.
1971 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1972 do
1973 testscip-shell system . . test. -f "$ac_file" || continue
1974 case $ac_file in
1975 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1976 ;;
1977 conftest.$ac_ext )
1978 # This is the source file.
1979 ;;
1980 [ab].out )
1981 # We found the default executable, but exeext='' is most
1982 # certainly right.
1983 break;;
1984 *.* )
1985 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
1986 # FIXME: I believe we export ac_cv_exeext for Libtool,
1987 # but it would be cool to find out if it's true. Does anybody
1988 # maintain Libtool? --akim.
1989 export ac_cv_exeext
1990 break;;
1991 * )
1992 break;;
1993 esac
1994 done
1995 else
1996 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
1997 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1998
1999 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: C compiler cannot create executables
2000 See \`config.log' for more details." >&5
2001 echoscip-shell system . . echo. "$as_me: error: C compiler cannot create executables
2002 See \`config.log' for more details." >&2;}
2003 { (exit 77); exit 77; }; }
2004 fi
2005
2006 ac_exeext=$ac_cv_exeext
2007 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_file" >&5
2008 echoscip-shell system . . echo. "${ECHO_T}$ac_file" >&6
2009
2010 # Check the compiler produces executables we can run. If not, either
2011 # the compiler is broken, or we cross compile.
2012 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether the C compiler works" >&5
2013 echoscip-shell system . . echo. $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2014 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2015 # If not cross compiling, check that we can run a simple program.
2016 if testscip-shell system . . test. "$cross_compiling" != yes; then
2017 if { ac_try='./$ac_file'
2018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2019 (eval $ac_try) 2>&5
2020 ac_status=$?
2021 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; }; then
2023 cross_compiling=no
2024 else
2025 if testscip-shell system . . test. "$cross_compiling" = maybe; then
2026 cross_compiling=yes
2027 else
2028 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot run C compiled programs.
2029 If you meant to cross compile, use \`--host'.
2030 See \`config.log' for more details." >&5
2031 echoscip-shell system . . echo. "$as_me: error: cannot run C compiled programs.
2032 If you meant to cross compile, use \`--host'.
2033 See \`config.log' for more details." >&2;}
2034 { (exit 1); exit 1; }; }
2035 fi
2036 fi
2037 fi
2038 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes" >&5
2039 echoscip-shell system . . echo. "${ECHO_T}yes" >&6
2040
2041 rmscip-shell system . . rm. -f a.out a.exe conftest$ac_cv_exeext b.out
2042 ac_clean_files=$ac_clean_files_save
2043 # Check the compiler produces executables we can run. If not, either
2044 # the compiler is broken, or we cross compile.
2045 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether we are cross compiling" >&5
2046 echoscip-shell system . . echo. $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2047 echoscip-shell system . . echo. "$as_me:$LINENO: result: $cross_compiling" >&5
2048 echoscip-shell system . . echo. "${ECHO_T}$cross_compiling" >&6
2049
2050 echoscip-shell system . . echo. "$as_me:$LINENO: checking for suffix of executables" >&5
2051 echoscip-shell system . . echo. $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2053 (eval $ac_link) 2>&5
2054 ac_status=$?
2055 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); }; then
2057 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2058 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2059 # work properly (i.e., refer to `conftest.exe'), while it won't with
2060 # `rm'.
2061 for ac_file in conftest.exe conftest conftest.*; do
2062 testscip-shell system . . test. -f "$ac_file" || continue
2063 case $ac_file in
2064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2065 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
2066 export ac_cv_exeext
2067 break;;
2068 * ) break;;
2069 esac
2070 done
2071 else
2072 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2073 See \`config.log' for more details." >&5
2074 echoscip-shell system . . echo. "$as_me: error: cannot compute suffix of executables: cannot compile and link
2075 See \`config.log' for more details." >&2;}
2076 { (exit 1); exit 1; }; }
2077 fi
2078
2079 rmscip-shell system . . rm. -f conftest$ac_cv_exeext
2080 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2081 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_exeext" >&6
2082
2083 rmscip-shell system . . rm. -f conftest.$ac_ext
2084 EXEEXT=$ac_cv_exeext
2085 ac_exeext=$EXEEXT
2086 echoscip-shell system . . echo. "$as_me:$LINENO: checking for suffix of object files" >&5
2087 echoscip-shell system . . echo. $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2088 if testscip-shell system . . test. "${ac_cv_objext+set}" = set; then
2089 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2090 else
2091 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2092 /* confdefs.h. */
2093 _ACEOF
2094 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2095 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2096 /* end confdefs.h. */
2097
2098 int
2099 main ()
2100 {
2101
2102 ;
2103 return 0;
2104 }
2105 _ACEOF
2106 rmscip-shell system . . rm. -f conftest.o conftest.obj
2107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2108 (eval $ac_compile) 2>&5
2109 ac_status=$?
2110 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); }; then
2112 for ac_file in `(lsscip-shell system . . ls. conftest.o conftest.obj; lsscip-shell system . . ls. conftest.*) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`; do
2113 case $ac_file in
2114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2115 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
2116 break;;
2117 esac
2118 done
2119 else
2120 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2121 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2122
2123 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2124 See \`config.log' for more details." >&5
2125 echoscip-shell system . . echo. "$as_me: error: cannot compute suffix of object files: cannot compile
2126 See \`config.log' for more details." >&2;}
2127 { (exit 1); exit 1; }; }
2128 fi
2129
2130 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext
2131 fi
2132 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_objext" >&5
2133 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_objext" >&6
2134 OBJEXT=$ac_cv_objext
2135 ac_objext=$OBJEXT
2136 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2137 echoscip-shell system . . echo. $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2138 if testscip-shell system . . test. "${ac_cv_c_compiler_gnu+set}" = set; then
2139 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2140 else
2141 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2142 /* confdefs.h. */
2143 _ACEOF
2144 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2145 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2146 /* end confdefs.h. */
2147
2148 int
2149 main ()
2150 {
2151 #ifndef __GNUC__
2152 choke me
2153 #endif
2154
2155 ;
2156 return 0;
2157 }
2158 _ACEOF
2159 rmscip-shell system . . rm. -f conftest.$ac_objext
2160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2161 (eval $ac_compile) 2>conftest.er1
2162 ac_status=$?
2163 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2164 rmscip-shell system . . rm. -f conftest.er1
2165 catscip-shell system . . cat. conftest.err >&5
2166 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); } &&
2168 { ac_try='test -z "$ac_c_werror_flag"
2169 || test ! -s conftest.err'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2171 (eval $ac_try) 2>&5
2172 ac_status=$?
2173 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; } &&
2175 { ac_try='test -s conftest.$ac_objext'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 (eval $ac_try) 2>&5
2178 ac_status=$?
2179 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then
2181 ac_compiler_gnu=yes
2182 else
2183 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2184 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2185
2186 ac_compiler_gnu=no
2187 fi
2188 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
2189 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2190
2191 fi
2192 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2193 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2194 GCC=`testscip-shell system . . test. $ac_compiler_gnu = yes && echoscip-shell system . . echo. yes`
2195 ac_test_CFLAGS=${CFLAGS+set}
2196 ac_save_CFLAGS=$CFLAGS
2197 CFLAGS="-g"
2198 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2199 echoscip-shell system . . echo. $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2200 if testscip-shell system . . test. "${ac_cv_prog_cc_g+set}" = set; then
2201 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2202 else
2203 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2204 /* confdefs.h. */
2205 _ACEOF
2206 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2207 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2208 /* end confdefs.h. */
2209
2210 int
2211 main ()
2212 {
2213
2214 ;
2215 return 0;
2216 }
2217 _ACEOF
2218 rmscip-shell system . . rm. -f conftest.$ac_objext
2219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2220 (eval $ac_compile) 2>conftest.er1
2221 ac_status=$?
2222 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2223 rmscip-shell system . . rm. -f conftest.er1
2224 catscip-shell system . . cat. conftest.err >&5
2225 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); } &&
2227 { ac_try='test -z "$ac_c_werror_flag"
2228 || test ! -s conftest.err'
2229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2230 (eval $ac_try) 2>&5
2231 ac_status=$?
2232 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }; } &&
2234 { ac_try='test -s conftest.$ac_objext'
2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236 (eval $ac_try) 2>&5
2237 ac_status=$?
2238 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }; }; then
2240 ac_cv_prog_cc_g=yes
2241 else
2242 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2243 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2244
2245 ac_cv_prog_cc_g=no
2246 fi
2247 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
2248 fi
2249 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2250 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_prog_cc_g" >&6
2251 if testscip-shell system . . test. "$ac_test_CFLAGS" = set; then
2252 CFLAGS=$ac_save_CFLAGS
2253 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
2254 if testscip-shell system . . test. "$GCC" = yes; then
2255 CFLAGS="-g -O2"
2256 else
2257 CFLAGS="-g"
2258 fi
2259 else
2260 if testscip-shell system . . test. "$GCC" = yes; then
2261 CFLAGS="-O2"
2262 else
2263 CFLAGS=
2264 fi
2265 fi
2266 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2267 echoscip-shell system . . echo. $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2268 if testscip-shell system . . test. "${ac_cv_prog_cc_stdc+set}" = set; then
2269 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2270 else
2271 ac_cv_prog_cc_stdc=no
2272 ac_save_CC=$CC
2273 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2274 /* confdefs.h. */
2275 _ACEOF
2276 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2277 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2278 /* end confdefs.h. */
2279 #include <stdarg.h>
2280 #include <stdio.h>
2281 #include <sys/types.h>
2282 #include <sys/stat.h>
2283 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2284 struct buf { int x; };
2285 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2286 static char *e (p, i)
2287 char **p;
2288 int i;
2289 {
2290 return p[i];
2291 }
2292 static char *f (char * (*g) (char **, int), char **p, ...)
2293 {
2294 char *s;
2295 va_list v;
2296 va_start (v,p);
2297 s = g (p, va_arg (v,int));
2298 va_end (v);
2299 return s;
2300 }
2301
2302 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2303 function prototypes and stuff, but not '\xHH' hex character constants.
2304 These don't provoke an error unfortunately, instead are silently treated
2305 as 'x'. The following induces an error, until -std1 is added to get
2306 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2307 array size at least. It's necessary to write '\x00'==0 to get something
2308 that's true only with -std1. */
2309 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2310
2311 int test (int i, double x);
2312 struct s1 {int (*f) (int a);};
2313 struct s2 {int (*f) (double a);};
2314 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2315 int argc;
2316 char **argv;
2317 int
2318 main ()
2319 {
2320 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2321 ;
2322 return 0;
2323 }
2324 _ACEOF
2325 # Don't try gcc -ansi; that turns off useful extensions and
2326 # breaks some systems' header files.
2327 # AIX -qlanglvl=ansi
2328 # Ultrix and OSF/1 -std1
2329 # HP-UX 10.20 and later -Ae
2330 # HP-UX older versions -Aa -D_HPUX_SOURCE
2331 # SVR4 -Xc -D__EXTENSIONS__
2332 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2333 do
2334 CC="$ac_save_CC $ac_arg"
2335 rmscip-shell system . . rm. -f conftest.$ac_objext
2336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2337 (eval $ac_compile) 2>conftest.er1
2338 ac_status=$?
2339 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2340 rmscip-shell system . . rm. -f conftest.er1
2341 catscip-shell system . . cat. conftest.err >&5
2342 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); } &&
2344 { ac_try='test -z "$ac_c_werror_flag"
2345 || test ! -s conftest.err'
2346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347 (eval $ac_try) 2>&5
2348 ac_status=$?
2349 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }; } &&
2351 { ac_try='test -s conftest.$ac_objext'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 (eval $ac_try) 2>&5
2354 ac_status=$?
2355 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; }; then
2357 ac_cv_prog_cc_stdc=$ac_arg
2358 break
2359 else
2360 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2361 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2362
2363 fi
2364 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext
2365 done
2366 rmscip-shell system . . rm. -f conftest.$ac_ext conftest.$ac_objext
2367 CC=$ac_save_CC
2368
2369 fi
2370
2371 case "x$ac_cv_prog_cc_stdc" in
2372 x|xno)
2373 echoscip-shell system . . echo. "$as_me:$LINENO: result: none needed" >&5
2374 echoscip-shell system . . echo. "${ECHO_T}none needed" >&6 ;;
2375 *)
2376 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2377 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2378 CC="$CC $ac_cv_prog_cc_stdc" ;;
2379 esac
2380
2381 # Some people use a C++ compiler to compile C. Since we use `exit',
2382 # in C++ we need to declare it. In case someone uses the same compiler
2383 # for both compiling C and C++ we need to have the C++ compiler decide
2384 # the declaration of exit, since it's the most demanding environment.
2385 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2386 #ifndef __cplusplus
2387 choke me
2388 #endif
2389 _ACEOF
2390 rmscip-shell system . . rm. -f conftest.$ac_objext
2391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2392 (eval $ac_compile) 2>conftest.er1
2393 ac_status=$?
2394 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2395 rmscip-shell system . . rm. -f conftest.er1
2396 catscip-shell system . . cat. conftest.err >&5
2397 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); } &&
2399 { ac_try='test -z "$ac_c_werror_flag"
2400 || test ! -s conftest.err'
2401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 (eval $ac_try) 2>&5
2403 ac_status=$?
2404 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); }; } &&
2406 { ac_try='test -s conftest.$ac_objext'
2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408 (eval $ac_try) 2>&5
2409 ac_status=$?
2410 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; }; then
2412 for ac_declaration in \
2413 '' \
2414 'extern "C" void std::exit (int) throw (); using std::exit;' \
2415 'extern "C" void std::exit (int); using std::exit;' \
2416 'extern "C" void exit (int) throw ();' \
2417 'extern "C" void exit (int);' \
2418 'void exit (int);'
2419 do
2420 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2421 /* confdefs.h. */
2422 _ACEOF
2423 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2424 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2425 /* end confdefs.h. */
2426 $ac_declaration
2427 #include <stdlib.h>
2428 int
2429 main ()
2430 {
2431 exit (42);
2432 ;
2433 return 0;
2434 }
2435 _ACEOF
2436 rmscip-shell system . . rm. -f conftest.$ac_objext
2437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2438 (eval $ac_compile) 2>conftest.er1
2439 ac_status=$?
2440 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2441 rmscip-shell system . . rm. -f conftest.er1
2442 catscip-shell system . . cat. conftest.err >&5
2443 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); } &&
2445 { ac_try='test -z "$ac_c_werror_flag"
2446 || test ! -s conftest.err'
2447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2448 (eval $ac_try) 2>&5
2449 ac_status=$?
2450 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; } &&
2452 { ac_try='test -s conftest.$ac_objext'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 (eval $ac_try) 2>&5
2455 ac_status=$?
2456 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; }; then
2458 :
2459 else
2460 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2461 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2462
2463 continue
2464 fi
2465 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
2466 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2467 /* confdefs.h. */
2468 _ACEOF
2469 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2470 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2471 /* end confdefs.h. */
2472 $ac_declaration
2473 int
2474 main ()
2475 {
2476 exit (42);
2477 ;
2478 return 0;
2479 }
2480 _ACEOF
2481 rmscip-shell system . . rm. -f conftest.$ac_objext
2482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2483 (eval $ac_compile) 2>conftest.er1
2484 ac_status=$?
2485 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2486 rmscip-shell system . . rm. -f conftest.er1
2487 catscip-shell system . . cat. conftest.err >&5
2488 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); } &&
2490 { ac_try='test -z "$ac_c_werror_flag"
2491 || test ! -s conftest.err'
2492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2493 (eval $ac_try) 2>&5
2494 ac_status=$?
2495 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; } &&
2497 { ac_try='test -s conftest.$ac_objext'
2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499 (eval $ac_try) 2>&5
2500 ac_status=$?
2501 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; }; then
2503 break
2504 else
2505 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2506 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2507
2508 fi
2509 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
2510 done
2511 rmscip-shell system . . rm. -f conftest*
2512 if testscip-shell system . . test. -n "$ac_declaration"; then
2513 echoscip-shell system . . echo. '#ifdef __cplusplus' >>confdefs.h
2514 echoscip-shell system . . echo. $ac_declaration >>confdefs.h
2515 echoscip-shell system . . echo. '#endif' >>confdefs.h
2516 fi
2517
2518 else
2519 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2520 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2521
2522 fi
2523 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
2524 ac_ext=c
2525 ac_cpp='$CPP $CPPFLAGS'
2526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2529
2530
2531
2532 # Check whether --enable-shared or --disable-shared was given.
2533 if testscip-shell system . . test. "${enable_shared+set}" = set; then
2534 enableval="$enable_shared"
2535 p=${PACKAGE-default}
2536 case $enableval in
2537 yes) enable_shared=yes ;;
2538 no) enable_shared=no ;;
2539 *)
2540 enable_shared=no
2541 # Look at the argument we got. We use all the common list separators.
2542 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2543 for pkg in $enableval; do
2544 IFS="$lt_save_ifs"
2545 if testscip-shell system . . test. "X$pkg" = "X$p"; then
2546 enable_shared=yes
2547 fi
2548 done
2549 IFS="$lt_save_ifs"
2550 ;;
2551 esac
2552 else
2553 enable_shared=yes
2554 fi;
2555
2556 # Check whether --enable-static or --disable-static was given.
2557 if testscip-shell system . . test. "${enable_static+set}" = set; then
2558 enableval="$enable_static"
2559 p=${PACKAGE-default}
2560 case $enableval in
2561 yes) enable_static=yes ;;
2562 no) enable_static=no ;;
2563 *)
2564 enable_static=no
2565 # Look at the argument we got. We use all the common list separators.
2566 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2567 for pkg in $enableval; do
2568 IFS="$lt_save_ifs"
2569 if testscip-shell system . . test. "X$pkg" = "X$p"; then
2570 enable_static=yes
2571 fi
2572 done
2573 IFS="$lt_save_ifs"
2574 ;;
2575 esac
2576 else
2577 enable_static=yes
2578 fi;
2579
2580 # Check whether --enable-fast-install or --disable-fast-install was given.
2581 if testscip-shell system . . test. "${enable_fast_install+set}" = set; then
2582 enableval="$enable_fast_install"
2583 p=${PACKAGE-default}
2584 case $enableval in
2585 yes) enable_fast_install=yes ;;
2586 no) enable_fast_install=no ;;
2587 *)
2588 enable_fast_install=no
2589 # Look at the argument we got. We use all the common list separators.
2590 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2591 for pkg in $enableval; do
2592 IFS="$lt_save_ifs"
2593 if testscip-shell system . . test. "X$pkg" = "X$p"; then
2594 enable_fast_install=yes
2595 fi
2596 done
2597 IFS="$lt_save_ifs"
2598 ;;
2599 esac
2600 else
2601 enable_fast_install=yes
2602 fi;
2603
2604 ac_aux_dir=
2605 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2606 if testscip-shell system . . test. -f $ac_dir/install-sh; then
2607 ac_aux_dir=$ac_dir
2608 ac_install_sh="$ac_aux_dir/install-sh -c"
2609 break
2610 elif testscip-shell system . . test. -f $ac_dir/install.sh; then
2611 ac_aux_dir=$ac_dir
2612 ac_install_sh="$ac_aux_dir/install.sh -c"
2613 break
2614 elif testscip-shell system . . test. -f $ac_dir/shtool; then
2615 ac_aux_dir=$ac_dir
2616 ac_install_sh="$ac_aux_dir/shtool install -c"
2617 break
2618 fi
2619 done
2620 if testscip-shell system . . test. -z "$ac_aux_dir"; then
2621 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2622 echoscip-shell system . . echo. "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2623 { (exit 1); exit 1; }; }
2624 fi
2625 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2626 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2627 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2628
2629 # Make sure we can run config.sub.
2630 $ac_config_sub sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
2631 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2632 echoscip-shell system . . echo. "$as_me: error: cannot run $ac_config_sub" >&2;}
2633 { (exit 1); exit 1; }; }
2634
2635 echoscip-shell system . . echo. "$as_me:$LINENO: checking build system type" >&5
2636 echoscip-shell system . . echo. $ECHO_N "checking build system type... $ECHO_C" >&6
2637 if testscip-shell system . . test. "${ac_cv_build+set}" = set; then
2638 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2639 else
2640 ac_cv_build_alias=$build_alias
2641 testscip-shell system . . test. -z "$ac_cv_build_alias" &&
2642 ac_cv_build_alias=`$ac_config_guess`
2643 testscip-shell system . . test. -z "$ac_cv_build_alias" &&
2644 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2645 echoscip-shell system . . echo. "$as_me: error: cannot guess build type; you must specify one" >&2;}
2646 { (exit 1); exit 1; }; }
2647 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2648 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2649 echoscip-shell system . . echo. "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2650 { (exit 1); exit 1; }; }
2651
2652 fi
2653 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_build" >&5
2654 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_build" >&6
2655 build=$ac_cv_build
2656 build_cpu=`echoscip-shell system . . echo. $ac_cv_build | sedscip-shell system . . sed. 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2657 build_vendor=`echoscip-shell system . . echo. $ac_cv_build | sedscip-shell system . . sed. 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2658 build_os=`echoscip-shell system . . echo. $ac_cv_build | sedscip-shell system . . sed. 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2659
2660
2661 echoscip-shell system . . echo. "$as_me:$LINENO: checking host system type" >&5
2662 echoscip-shell system . . echo. $ECHO_N "checking host system type... $ECHO_C" >&6
2663 if testscip-shell system . . test. "${ac_cv_host+set}" = set; then
2664 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2665 else
2666 ac_cv_host_alias=$host_alias
2667 testscip-shell system . . test. -z "$ac_cv_host_alias" &&
2668 ac_cv_host_alias=$ac_cv_build_alias
2669 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2670 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2671 echoscip-shell system . . echo. "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2672 { (exit 1); exit 1; }; }
2673
2674 fi
2675 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_host" >&5
2676 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_host" >&6
2677 host=$ac_cv_host
2678 host_cpu=`echoscip-shell system . . echo. $ac_cv_host | sedscip-shell system . . sed. 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2679 host_vendor=`echoscip-shell system . . echo. $ac_cv_host | sedscip-shell system . . sed. 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2680 host_os=`echoscip-shell system . . echo. $ac_cv_host | sedscip-shell system . . sed. 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2681
2682
2683 echoscip-shell system . . echo. "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2684 echoscip-shell system . . echo. $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
2685 if testscip-shell system . . test. "${lt_cv_path_SED+set}" = set; then
2686 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2687 else
2688 # Loop through the user's path and test for sed and gsed.
2689 # Then use that list of sed's as ones to test for truncation.
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 for as_dir in $PATH
2692 do
2693 IFS=$as_save_IFS
2694 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2695 for lt_ac_prog in sed gsed; do
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
2698 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
2699 fi
2700 done
2701 done
2702 done
2703 lt_ac_max=0
2704 lt_ac_count=0
2705 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
2706 # along with /bin/sed that truncates output.
2707 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sedscip-shell filesystem . . `/usr/xpg4/bin/sed`.; do
2708 testscip-shell system . . test. ! -f $lt_ac_sed && continue
2709 catscip-shell system . . cat. /dev/nullscip-shell filesystem . . `/dev/null`. > conftest.in
2710 lt_ac_count=0
2711 echoscip-shell system . . echo. $ECHO_N "0123456789$ECHO_C" >conftest.in
2712 # Check for GNU sed and select it if it is found.
2713 if "$lt_ac_sed" --version 2>&1 < /dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
2714 lt_cv_path_SED=$lt_ac_sed
2715 break
2716 fi
2717 while truescip-shell system . . true.; do
2718 catscip-shell system . . cat. conftest.in conftest.in >conftest.tmp
2719 mvscip-shell system . . mv. conftest.tmp conftest.in
2720 cpscip-shell system . . cp. conftest.in conftest.nl
2721 echoscip-shell system . . echo. >>conftest.nl
2722 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
2723 cmpscip-shell system . . cmp. -s conftest.out conftest.nl || break
2724 # 10000 chars as input seems more than enough
2725 testscip-shell system . . test. $lt_ac_count -gt 10 && break
2726 lt_ac_count=`exprscip-shell system . . expr. $lt_ac_count + 1`
2727 if testscip-shell system . . test. $lt_ac_count -gt $lt_ac_max; then
2728 lt_ac_max=$lt_ac_count
2729 lt_cv_path_SED=$lt_ac_sed
2730 fi
2731 done
2732 done
2733
2734 fi
2735
2736 SED=$lt_cv_path_SED
2737 echoscip-shell system . . echo. "$as_me:$LINENO: result: $SED" >&5
2738 echoscip-shell system . . echo. "${ECHO_T}$SED" >&6
2739
2740 echoscip-shell system . . echo. "$as_me:$LINENO: checking for egrep" >&5
2741 echoscip-shell system . . echo. $ECHO_N "checking for egrep... $ECHO_C" >&6
2742 if testscip-shell system . . test. "${ac_cv_prog_egrep+set}" = set; then
2743 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2744 else
2745 if echoscip-shell system . . echo. a | (grepscip-shell system . . grep. -E '(a|b)') >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
2746 then ac_cv_prog_egrep='grep -E'
2747 else ac_cv_prog_egrep='egrep'
2748 fi
2749 fi
2750 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2751 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_prog_egrep" >&6
2752 EGREP=$ac_cv_prog_egrep
2753
2754
2755
2756 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2757 if testscip-shell system . . test. "${with_gnu_ld+set}" = set; then
2758 withval="$with_gnu_ld"
2759 testscip-shell system . . test. "$withval" = no || with_gnu_ld=yes
2760 else
2761 with_gnu_ld=no
2762 fi;
2763 ac_prog=ld
2764 if testscip-shell system . . test. "$GCC" = yes; then
2765 # Check if gcc -print-prog-name=ld gives a path.
2766 echoscip-shell system . . echo. "$as_me:$LINENO: checking for ld used by $CC" >&5
2767 echoscip-shell system . . echo. $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
2768 case $host in
2769 *-*-mingw*)
2770 # gcc leaves a trailing carriage return which upsets mingw
2771 ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;;
2772 *)
2773 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2774 esac
2775 case $ac_prog in
2776 # Accept absolute paths.
2777 [\\/]* | ?:[\\/]*)
2778 re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.'
2779 # Canonicalize the pathname of ld
2780 ac_prog=`echoscip-shell system . . echo. $ac_prog| $SED 's%\\\\%/%g'`
2781 while echoscip-shell system . . echo. $ac_prog | grepscip-shell system . . grep. "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do
2782 ac_prog=`echoscip-shell system . . echo. $ac_prog| $SED "s%$re_direlt%/%"`
2783 done
2784 testscip-shell system . . test. -z "$LD" && LD="$ac_prog"
2785 ;;
2786 "")
2787 # If it fails, then pretend we aren't using GCC.
2788 ac_prog=ld
2789 ;;
2790 *)
2791 # If it is relative, then search for the first ld in PATH.
2792 with_gnu_ld=unknown
2793 ;;
2794 esac
2795 elif testscip-shell system . . test. "$with_gnu_ld" = yes; then
2796 echoscip-shell system . . echo. "$as_me:$LINENO: checking for GNU ld" >&5
2797 echoscip-shell system . . echo. $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2798 else
2799 echoscip-shell system . . echo. "$as_me:$LINENO: checking for non-GNU ld" >&5
2800 echoscip-shell system . . echo. $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
2801 fi
2802 if testscip-shell system . . test. "${lt_cv_path_LD+set}" = set; then
2803 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2804 else
2805 if testscip-shell system . . test. -z "$LD"; then
2806 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2807 for ac_dir in $PATH; do
2808 IFS="$lt_save_ifs"
2809 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
2810 if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then
2811 lt_cv_path_LD="$ac_dir/$ac_prog"
2812 # Check to see if the program is GNU ld. I'd rather use --version,
2813 # but apparently some variants of GNU ld only accept -v.
2814 # Break only if it was the GNU/non-GNU ld that we prefer.
2815 case `"$lt_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
2816 *GNU* | *'with BFD'*)
2817 testscip-shell system . . test. "$with_gnu_ld" != no && break
2818 ;;
2819 *)
2820 testscip-shell system . . test. "$with_gnu_ld" != yes && break
2821 ;;
2822 esac
2823 fi
2824 done
2825 IFS="$lt_save_ifs"
2826 else
2827 lt_cv_path_LD="$LD" # Let the user override the test with a path.
2828 fi
2829 fi
2830
2831 LD="$lt_cv_path_LD"
2832 if testscip-shell system . . test. -n "$LD"; then
2833 echoscip-shell system . . echo. "$as_me:$LINENO: result: $LD" >&5
2834 echoscip-shell system . . echo. "${ECHO_T}$LD" >&6
2835 else
2836 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
2837 echoscip-shell system . . echo. "${ECHO_T}no" >&6
2838 fi
2839 testscip-shell system . . test. -z "$LD" && { { echoscip-shell system . . echo. "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
2840 echoscip-shell system . . echo. "$as_me: error: no acceptable ld found in \$PATH" >&2;}
2841 { (exit 1); exit 1; }; }
2842 echoscip-shell system . . echo. "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
2843 echoscip-shell system . . echo. $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
2844 if testscip-shell system . . test. "${lt_cv_prog_gnu_ld+set}" = set; then
2845 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2846 else
2847 # I'd rather use --version here, but apparently some GNU lds only accept -v.
2848 case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
2849 *GNU* | *'with BFD'*)
2850 lt_cv_prog_gnu_ld=yes
2851 ;;
2852 *)
2853 lt_cv_prog_gnu_ld=no
2854 ;;
2855 esac
2856 fi
2857 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
2858 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
2859 with_gnu_ld=$lt_cv_prog_gnu_ld
2860
2861
2862 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $LD option to reload object files" >&5
2863 echoscip-shell system . . echo. $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
2864 if testscip-shell system . . test. "${lt_cv_ld_reload_flag+set}" = set; then
2865 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2866 else
2867 lt_cv_ld_reload_flag='-r'
2868 fi
2869 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
2870 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_ld_reload_flag" >&6
2871 reload_flag=$lt_cv_ld_reload_flag
2872 case $reload_flag in
2873 "" | " "*) ;;
2874 *) reload_flag=" $reload_flag" ;;
2875 esac
2876 reload_cmds='$LD$reload_flag -o $output$reload_objs'
2877 case $host_os in
2878 darwin*)
2879 if testscip-shell system . . test. "$GCC" = yes; then
2880 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
2881 else
2882 reload_cmds='$LD$reload_flag -o $output$reload_objs'
2883 fi
2884 ;;
2885 esac
2886
2887 echoscip-shell system . . echo. "$as_me:$LINENO: checking for BSD-compatible nm" >&5
2888 echoscip-shell system . . echo. $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
2889 if testscip-shell system . . test. "${lt_cv_path_NM+set}" = set; then
2890 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2891 else
2892 if testscip-shell system . . test. -n "$NM"; then
2893 # Let the user override the test.
2894 lt_cv_path_NM="$NM"
2895 else
2896 lt_nm_to_check="${ac_tool_prefix}nm"
2897 if testscip-shell system . . test. -n "$ac_tool_prefix" && testscip-shell system . . test. "$build" = "$host"; then
2898 lt_nm_to_check="$lt_nm_to_check nm"
2899 fi
2900 for lt_tmp_nm in $lt_nm_to_check; do
2901 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2902 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
2903 IFS="$lt_save_ifs"
2904 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
2905 tmp_nm="$ac_dir/$lt_tmp_nm"
2906 if testscip-shell system . . test. -f "$tmp_nm" || testscip-shell system . . test. -f "$tmp_nm$ac_exeext" ; then
2907 # Check to see if the nm accepts a BSD-compat flag.
2908 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
2909 # nm: unknown option "B" ignored
2910 # Tru64's nm complains that /dev/null is an invalid object file
2911 case `"$tmp_nm" -B /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | sedscip-shell system . . sed. '1q'` in
2912 */dev/null* | *'Invalid file or object type'*)
2913 lt_cv_path_NM="$tmp_nm -B"
2914 break
2915 ;;
2916 *)
2917 case `"$tmp_nm" -p /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | sedscip-shell system . . sed. '1q'` in
2918 */dev/null*)
2919 lt_cv_path_NM="$tmp_nm -p"
2920 break
2921 ;;
2922 *)
2923 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2924 continue # so that we can try to find one that supports BSD flags
2925 ;;
2926 esac
2927 ;;
2928 esac
2929 fi
2930 done
2931 IFS="$lt_save_ifs"
2932 done
2933 testscip-shell system . . test. -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2934 fi
2935 fi
2936 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
2937 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_path_NM" >&6
2938 NM="$lt_cv_path_NM"
2939
2940 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether ln -s works" >&5
2941 echoscip-shell system . . echo. $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2942 LN_S=$as_ln_s
2943 if testscip-shell system . . test. "$LN_S" = "ln -s"; then
2944 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes" >&5
2945 echoscip-shell system . . echo. "${ECHO_T}yes" >&6
2946 else
2947 echoscip-shell system . . echo. "$as_me:$LINENO: result: no, using $LN_S" >&5
2948 echoscip-shell system . . echo. "${ECHO_T}no, using $LN_S" >&6
2949 fi
2950
2951 echoscip-shell system . . echo. "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
2952 echoscip-shell system . . echo. $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
2953 if testscip-shell system . . test. "${lt_cv_deplibs_check_method+set}" = set; then
2954 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2955 else
2956 lt_cv_file_magic_cmd='$MAGIC_CMD'
2957 lt_cv_file_magic_test_file=
2958 lt_cv_deplibs_check_method='unknown'
2959 # Need to set the preceding variable on all platforms that support
2960 # interlibrary dependencies.
2961 # 'none' -- dependencies not supported.
2962 # `unknown' -- same as none, but documents that we really don't know.
2963 # 'pass_all' -- all dependencies passed with no checks.
2964 # 'test_compile' -- check by making test program.
2965 # 'file_magic [[regex]]' -- check by looking for files in library path
2966 # which responds to the $file_magic_cmd with a given extended regex.
2967 # If you have `file' or equivalent on your system and you're not sure
2968 # whether `pass_all' will *always* work, you probably want this one.
2969
2970 case $host_os in
2971 aix4* | aix5*)
2972 lt_cv_deplibs_check_method=pass_all
2973 ;;
2974
2975 beos*)
2976 lt_cv_deplibs_check_method=pass_all
2977 ;;
2978
2979 bsdi[45]*)
2980 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
2981 lt_cv_file_magic_cmd='/usr/bin/file -Lscip-shell filesystem . . `/usr/bin/file -L`.'
2982 lt_cv_file_magic_test_file=/shlib/libc.soscip-shell filesystem . . `/shlib/libc.so`.
2983 ;;
2984
2985 cygwin*)
2986 # func_win32_libid is a shell function defined in ltmain.sh
2987 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2988 lt_cv_file_magic_cmd='func_win32_libid'
2989 ;;
2990
2991 mingw* | pw32*)
2992 # Base MSYS/MinGW do not provide the 'file' command needed by
2993 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
2994 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2995 lt_cv_file_magic_cmd='$OBJDUMP -f'
2996 ;;
2997
2998 darwin* | rhapsody*)
2999 lt_cv_deplibs_check_method=pass_all
3000 ;;
3001
3002 freebsd* | kfreebsd*-gnu | dragonfly*)
3003 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then
3004 case $host_cpu in
3005 i*86 )
3006 # Not sure whether the presence of OpenBSD here was a mistake.
3007 # Let's accept both of them until this is cleared up.
3008 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3009 lt_cv_file_magic_cmd=/usr/bin/filescip-shell filesystem . . `/usr/bin/file`.
3010 lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so.*`
3011 ;;
3012 esac
3013 else
3014 lt_cv_deplibs_check_method=pass_all
3015 fi
3016 ;;
3017
3018 gnu*)
3019 lt_cv_deplibs_check_method=pass_all
3020 ;;
3021
3022 hpux10.20* | hpux11*)
3023 lt_cv_file_magic_cmd=/usr/bin/filescip-shell filesystem . . `/usr/bin/file`.
3024 case $host_cpu in
3025 ia64*)
3026 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3027 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.soscip-shell filesystem . . `/usr/lib/hpux32/libc.so`.
3028 ;;
3029 hppa*64*)
3030 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
3031 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.slscip-shell filesystem . . `/usr/lib/pa20_64/libc.sl`.
3032 ;;
3033 *)
3034 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3035 lt_cv_file_magic_test_file=/usr/lib/libc.slscip-shell filesystem . . `/usr/lib/libc.sl`.
3036 ;;
3037 esac
3038 ;;
3039
3040 interix3*)
3041 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3042 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
3043 ;;
3044
3045 irix5* | irix6* | nonstopux*)
3046 case $LD in
3047 *-32|*"-32 ") libmagic=32-bit;;
3048 *-n32|*"-n32 ") libmagic=N32;;
3049 *-64|*"-64 ") libmagic=64-bit;;
3050 *) libmagic=never-match;;
3051 esac
3052 lt_cv_deplibs_check_method=pass_all
3053 ;;
3054
3055 # This must be Linux ELF.
3056 linux*)
3057 lt_cv_deplibs_check_method=pass_all
3058 ;;
3059
3060 netbsd*)
3061 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then
3062 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3063 else
3064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3065 fi
3066 ;;
3067
3068 newos6*)
3069 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3070 lt_cv_file_magic_cmd=/usr/bin/filescip-shell filesystem . . `/usr/bin/file`.
3071 lt_cv_file_magic_test_file=/usr/lib/libnls.soscip-shell filesystem . . `/usr/lib/libnls.so`.
3072 ;;
3073
3074 nto-qnx*)
3075 lt_cv_deplibs_check_method=unknown
3076 ;;
3077
3078 openbsd*)
3079 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`" || testscip-shell system . . test. "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3080 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3081 else
3082 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3083 fi
3084 ;;
3085
3086 osf3* | osf4* | osf5*)
3087 lt_cv_deplibs_check_method=pass_all
3088 ;;
3089
3090 solaris*)
3091 lt_cv_deplibs_check_method=pass_all
3092 ;;
3093
3094 sysv4 | sysv4.3*)
3095 case $host_vendor in
3096 motorola)
3097 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]'
3098 lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so*`
3099 ;;
3100 ncr)
3101 lt_cv_deplibs_check_method=pass_all
3102 ;;
3103 sequent)
3104 lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.'
3105 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3106 ;;
3107 sni)
3108 lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.'
3109 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3110 lt_cv_file_magic_test_file=/lib/libc.soscip-shell filesystem . . `/lib/libc.so`.
3111 ;;
3112 siemens)
3113 lt_cv_deplibs_check_method=pass_all
3114 ;;
3115 pc)
3116 lt_cv_deplibs_check_method=pass_all
3117 ;;
3118 esac
3119 ;;
3120
3121 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3122 lt_cv_deplibs_check_method=pass_all
3123 ;;
3124 esac
3125
3126 fi
3127 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3128 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3129 file_magic_cmd=$lt_cv_file_magic_cmd
3130 deplibs_check_method=$lt_cv_deplibs_check_method
3131 testscip-shell system . . test. -z "$deplibs_check_method" && deplibs_check_method=unknown
3132
3133
3134
3135
3136 # If no C compiler was specified, use CC.
3137 LTCC=${LTCC-"$CC"}
3138
3139 # If no C compiler flags were specified, use CFLAGS.
3140 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
3141
3142 # Allow CC to be a program name with arguments.
3143 compiler=$CC
3144
3145
3146 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3147 if testscip-shell system . . test. "${enable_libtool_lock+set}" = set; then
3148 enableval="$enable_libtool_lock"
3149
3150 fi;
3151 testscip-shell system . . test. "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3152
3153 # Some flags need to be propagated to the compiler or linker for good
3154 # libtool support.
3155 case $host in
3156 ia64-*-hpux*)
3157 # Find out which ABI we are using.
3158 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
3159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3160 (eval $ac_compile) 2>&5
3161 ac_status=$?
3162 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; then
3164 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.$ac_objext` in
3165 *ELF-32*)
3166 HPUX_IA64_MODE="32"
3167 ;;
3168 *ELF-64*)
3169 HPUX_IA64_MODE="64"
3170 ;;
3171 esac
3172 fi
3173 rmscip-shell system . . rm. -rf conftest*
3174 ;;
3175 *-*-irix6*)
3176 # Find out which ABI we are using.
3177 echoscip-shell system . . echo. '#line 3177 "configure"' > conftest.$ac_ext
3178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3179 (eval $ac_compile) 2>&5
3180 ac_status=$?
3181 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; then
3183 if testscip-shell system . . test. "$lt_cv_prog_gnu_ld" = yes; then
3184 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.$ac_objext` in
3185 *32-bit*)
3186 LD="${LD-ld} -melf32bsmip"
3187 ;;
3188 *N32*)
3189 LD="${LD-ld} -melf32bmipn32"
3190 ;;
3191 *64-bit*)
3192 LD="${LD-ld} -melf64bmip"
3193 ;;
3194 esac
3195 else
3196 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.$ac_objext` in
3197 *32-bit*)
3198 LD="${LD-ld} -32"
3199 ;;
3200 *N32*)
3201 LD="${LD-ld} -n32"
3202 ;;
3203 *64-bit*)
3204 LD="${LD-ld} -64"
3205 ;;
3206 esac
3207 fi
3208 fi
3209 rmscip-shell system . . rm. -rf conftest*
3210 ;;
3211
3212 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3213 # Find out which ABI we are using.
3214 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
3215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3216 (eval $ac_compile) 2>&5
3217 ac_status=$?
3218 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; then
3220 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.o` in
3221 *32-bit*)
3222 case $host in
3223 x86_64-*linux*)
3224 LD="${LD-ld} -m elf_i386"
3225 ;;
3226 ppc64-*linux*|powerpc64-*linux*)
3227 LD="${LD-ld} -m elf32ppclinux"
3228 ;;
3229 s390x-*linux*)
3230 LD="${LD-ld} -m elf_s390"
3231 ;;
3232 sparc64-*linux*)
3233 LD="${LD-ld} -m elf32_sparc"
3234 ;;
3235 esac
3236 ;;
3237 *64-bit*)
3238 case $host in
3239 x86_64-*linux*)
3240 LD="${LD-ld} -m elf_x86_64"
3241 ;;
3242 ppc*-*linux*|powerpc*-*linux*)
3243 LD="${LD-ld} -m elf64ppc"
3244 ;;
3245 s390*-*linux*)
3246 LD="${LD-ld} -m elf64_s390"
3247 ;;
3248 sparc*-*linux*)
3249 LD="${LD-ld} -m elf64_sparc"
3250 ;;
3251 esac
3252 ;;
3253 esac
3254 fi
3255 rmscip-shell system . . rm. -rf conftest*
3256 ;;
3257
3258 *-*-sco3.2v5*)
3259 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3260 SAVE_CFLAGS="$CFLAGS"
3261 CFLAGS="$CFLAGS -belf"
3262 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3263 echoscip-shell system . . echo. $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3264 if testscip-shell system . . test. "${lt_cv_cc_needs_belf+set}" = set; then
3265 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3266 else
3267 ac_ext=c
3268 ac_cpp='$CPP $CPPFLAGS'
3269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3272
3273 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3274 /* confdefs.h. */
3275 _ACEOF
3276 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3277 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3278 /* end confdefs.h. */
3279
3280 int
3281 main ()
3282 {
3283
3284 ;
3285 return 0;
3286 }
3287 _ACEOF
3288 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
3289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3290 (eval $ac_link) 2>conftest.er1
3291 ac_status=$?
3292 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3293 rmscip-shell system . . rm. -f conftest.er1
3294 catscip-shell system . . cat. conftest.err >&5
3295 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); } &&
3297 { ac_try='test -z "$ac_c_werror_flag"
3298 || test ! -s conftest.err'
3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3300 (eval $ac_try) 2>&5
3301 ac_status=$?
3302 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); }; } &&
3304 { ac_try='test -s conftest$ac_exeext'
3305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306 (eval $ac_try) 2>&5
3307 ac_status=$?
3308 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; }; then
3310 lt_cv_cc_needs_belf=yes
3311 else
3312 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3313 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3314
3315 lt_cv_cc_needs_belf=no
3316 fi
3317 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
3318 conftest$ac_exeext conftest.$ac_ext
3319 ac_ext=c
3320 ac_cpp='$CPP $CPPFLAGS'
3321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324
3325 fi
3326 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3327 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3328 if testscip-shell system . . test. x"$lt_cv_cc_needs_belf" != x"yes"; then
3329 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3330 CFLAGS="$SAVE_CFLAGS"
3331 fi
3332 ;;
3333 sparc*-*solaris*)
3334 # Find out which ABI we are using.
3335 echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext
3336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3337 (eval $ac_compile) 2>&5
3338 ac_status=$?
3339 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }; then
3341 case `/usr/bin/filescip-shell filesystem . . `/usr/bin/file`. conftest.o` in
3342 *64-bit*)
3343 case $lt_cv_prog_gnu_ld in
3344 yes*) LD="${LD-ld} -m elf64_sparc" ;;
3345 *) LD="${LD-ld} -64" ;;
3346 esac
3347 ;;
3348 esac
3349 fi
3350 rmscip-shell system . . rm. -rf conftest*
3351 ;;
3352
3353 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
3354 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3355 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3356 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3357 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
3358 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3359 if testscip-shell system . . test. "${ac_cv_prog_DLLTOOL+set}" = set; then
3360 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3361 else
3362 if testscip-shell system . . test. -n "$DLLTOOL"; then
3363 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3364 else
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 for as_dir in $PATH
3367 do
3368 IFS=$as_save_IFS
3369 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3370 for ac_exec_ext in '' $ac_executable_extensions; do
3371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3373 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3374 break 2
3375 fi
3376 done
3377 done
3378
3379 fi
3380 fi
3381 DLLTOOL=$ac_cv_prog_DLLTOOL
3382 if testscip-shell system . . test. -n "$DLLTOOL"; then
3383 echoscip-shell system . . echo. "$as_me:$LINENO: result: $DLLTOOL" >&5
3384 echoscip-shell system . . echo. "${ECHO_T}$DLLTOOL" >&6
3385 else
3386 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3387 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3388 fi
3389
3390 fi
3391 if testscip-shell system . . test. -z "$ac_cv_prog_DLLTOOL"; then
3392 ac_ct_DLLTOOL=$DLLTOOL
3393 # Extract the first word of "dlltool", so it can be a program name with args.
3394 set dummy dlltool; ac_word=$2
3395 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
3396 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3397 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3398 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3399 else
3400 if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then
3401 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3405 do
3406 IFS=$as_save_IFS
3407 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3411 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 break 2
3413 fi
3414 done
3415 done
3416
3417 testscip-shell system . . test. -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3418 fi
3419 fi
3420 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3421 if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then
3422 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3423 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_DLLTOOL" >&6
3424 else
3425 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3426 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3427 fi
3428
3429 DLLTOOL=$ac_ct_DLLTOOL
3430 else
3431 DLLTOOL="$ac_cv_prog_DLLTOOL"
3432 fi
3433
3434 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3435 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3436 set dummy ${ac_tool_prefix}as; ac_word=$2
3437 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
3438 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3439 if testscip-shell system . . test. "${ac_cv_prog_AS+set}" = set; then
3440 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3441 else
3442 if testscip-shell system . . test. -n "$AS"; then
3443 ac_cv_prog_AS="$AS" # Let the user override the test.
3444 else
3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3446 for as_dir in $PATH
3447 do
3448 IFS=$as_save_IFS
3449 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3452 ac_cv_prog_AS="${ac_tool_prefix}as"
3453 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3454 break 2
3455 fi
3456 done
3457 done
3458
3459 fi
3460 fi
3461 AS=$ac_cv_prog_AS
3462 if testscip-shell system . . test. -n "$AS"; then
3463 echoscip-shell system . . echo. "$as_me:$LINENO: result: $AS" >&5
3464 echoscip-shell system . . echo. "${ECHO_T}$AS" >&6
3465 else
3466 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3467 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3468 fi
3469
3470 fi
3471 if testscip-shell system . . test. -z "$ac_cv_prog_AS"; then
3472 ac_ct_AS=$AS
3473 # Extract the first word of "as", so it can be a program name with args.
3474 set dummy as; ac_word=$2
3475 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
3476 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3477 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_AS+set}" = set; then
3478 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3479 else
3480 if testscip-shell system . . test. -n "$ac_ct_AS"; then
3481 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3482 else
3483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3484 for as_dir in $PATH
3485 do
3486 IFS=$as_save_IFS
3487 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3488 for ac_exec_ext in '' $ac_executable_extensions; do
3489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3490 ac_cv_prog_ac_ct_AS="as"
3491 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3492 break 2
3493 fi
3494 done
3495 done
3496
3497 testscip-shell system . . test. -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
3498 fi
3499 fi
3500 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3501 if testscip-shell system . . test. -n "$ac_ct_AS"; then
3502 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_AS" >&5
3503 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_AS" >&6
3504 else
3505 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3506 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3507 fi
3508
3509 AS=$ac_ct_AS
3510 else
3511 AS="$ac_cv_prog_AS"
3512 fi
3513
3514 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3515 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3516 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3517 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
3518 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3519 if testscip-shell system . . test. "${ac_cv_prog_OBJDUMP+set}" = set; then
3520 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3521 else
3522 if testscip-shell system . . test. -n "$OBJDUMP"; then
3523 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3524 else
3525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526 for as_dir in $PATH
3527 do
3528 IFS=$as_save_IFS
3529 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3530 for ac_exec_ext in '' $ac_executable_extensions; do
3531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3532 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3533 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3534 break 2
3535 fi
3536 done
3537 done
3538
3539 fi
3540 fi
3541 OBJDUMP=$ac_cv_prog_OBJDUMP
3542 if testscip-shell system . . test. -n "$OBJDUMP"; then
3543 echoscip-shell system . . echo. "$as_me:$LINENO: result: $OBJDUMP" >&5
3544 echoscip-shell system . . echo. "${ECHO_T}$OBJDUMP" >&6
3545 else
3546 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3547 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3548 fi
3549
3550 fi
3551 if testscip-shell system . . test. -z "$ac_cv_prog_OBJDUMP"; then
3552 ac_ct_OBJDUMP=$OBJDUMP
3553 # Extract the first word of "objdump", so it can be a program name with args.
3554 set dummy objdump; ac_word=$2
3555 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
3556 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3557 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3558 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560 if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then
3561 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3562 else
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 for as_dir in $PATH
3565 do
3566 IFS=$as_save_IFS
3567 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3568 for ac_exec_ext in '' $ac_executable_extensions; do
3569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3571 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 break 2
3573 fi
3574 done
3575 done
3576
3577 testscip-shell system . . test. -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
3578 fi
3579 fi
3580 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3581 if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then
3582 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3583 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_OBJDUMP" >&6
3584 else
3585 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3586 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3587 fi
3588
3589 OBJDUMP=$ac_ct_OBJDUMP
3590 else
3591 OBJDUMP="$ac_cv_prog_OBJDUMP"
3592 fi
3593
3594 ;;
3595
3596 esac
3597
3598 need_locks="$enable_libtool_lock"
3599
3600
3601 ac_ext=c
3602 ac_cpp='$CPP $CPPFLAGS'
3603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3606 echoscip-shell system . . echo. "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3607 echoscip-shell system . . echo. $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3608 # On Suns, sometimes $CPP names a directory.
3609 if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then
3610 CPP=
3611 fi
3612 if testscip-shell system . . test. -z "$CPP"; then
3613 if testscip-shell system . . test. "${ac_cv_prog_CPP+set}" = set; then
3614 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3615 else
3616 # Double quotes because CPP needs to be expanded
3617 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cppscip-shell filesystem . . `/lib/cpp`."
3618 do
3619 ac_preproc_ok=false
3620 for ac_c_preproc_warn_flag in '' yes
3621 do
3622 # Use a header file that comes with gcc, so configuring glibc
3623 # with a fresh cross-compiler works.
3624 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3625 # <limits.h> exists even on freestanding compilers.
3626 # On the NeXT, cc -E runs the code through the compiler's parser,
3627 # not just through cpp. "Syntax error" is here to catch this case.
3628 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3629 /* confdefs.h. */
3630 _ACEOF
3631 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3632 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3634 #ifdef __STDC__
3635 # include <limits.h>
3636 #else
3637 # include <assert.h>
3638 #endif
3639 Syntax error
3640 _ACEOF
3641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3642 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3643 ac_status=$?
3644 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3645 rmscip-shell system . . rm. -f conftest.er1
3646 catscip-shell system . . cat. conftest.err >&5
3647 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
3649 if testscip-shell system . . test. -s conftest.err; then
3650 ac_cpp_err=$ac_c_preproc_warn_flag
3651 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3652 else
3653 ac_cpp_err=
3654 fi
3655 else
3656 ac_cpp_err=yes
3657 fi
3658 if testscip-shell system . . test. -z "$ac_cpp_err"; then
3659 :
3660 else
3661 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3662 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3663
3664 # Broken: fails on valid input.
3665 continue
3666 fi
3667 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
3668
3669 # OK, works on sane cases. Now check whether non-existent headers
3670 # can be detected and how.
3671 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3672 /* confdefs.h. */
3673 _ACEOF
3674 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3675 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3676 /* end confdefs.h. */
3677 #include <ac_nonexistent.h>
3678 _ACEOF
3679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3681 ac_status=$?
3682 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3683 rmscip-shell system . . rm. -f conftest.er1
3684 catscip-shell system . . cat. conftest.err >&5
3685 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
3687 if testscip-shell system . . test. -s conftest.err; then
3688 ac_cpp_err=$ac_c_preproc_warn_flag
3689 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3690 else
3691 ac_cpp_err=
3692 fi
3693 else
3694 ac_cpp_err=yes
3695 fi
3696 if testscip-shell system . . test. -z "$ac_cpp_err"; then
3697 # Broken: success on invalid input.
3698 continue
3699 else
3700 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3701 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3702
3703 # Passes both tests.
3704 ac_preproc_ok=:
3705 break
3706 fi
3707 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
3708
3709 done
3710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3711 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
3712 if $ac_preproc_ok; then
3713 break
3714 fi
3715
3716 done
3717 ac_cv_prog_CPP=$CPP
3718
3719 fi
3720 CPP=$ac_cv_prog_CPP
3721 else
3722 ac_cv_prog_CPP=$CPP
3723 fi
3724 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CPP" >&5
3725 echoscip-shell system . . echo. "${ECHO_T}$CPP" >&6
3726 ac_preproc_ok=false
3727 for ac_c_preproc_warn_flag in '' yes
3728 do
3729 # Use a header file that comes with gcc, so configuring glibc
3730 # with a fresh cross-compiler works.
3731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3732 # <limits.h> exists even on freestanding compilers.
3733 # On the NeXT, cc -E runs the code through the compiler's parser,
3734 # not just through cpp. "Syntax error" is here to catch this case.
3735 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3736 /* confdefs.h. */
3737 _ACEOF
3738 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3739 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3740 /* end confdefs.h. */
3741 #ifdef __STDC__
3742 # include <limits.h>
3743 #else
3744 # include <assert.h>
3745 #endif
3746 Syntax error
3747 _ACEOF
3748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3750 ac_status=$?
3751 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3752 rmscip-shell system . . rm. -f conftest.er1
3753 catscip-shell system . . cat. conftest.err >&5
3754 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
3756 if testscip-shell system . . test. -s conftest.err; then
3757 ac_cpp_err=$ac_c_preproc_warn_flag
3758 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3759 else
3760 ac_cpp_err=
3761 fi
3762 else
3763 ac_cpp_err=yes
3764 fi
3765 if testscip-shell system . . test. -z "$ac_cpp_err"; then
3766 :
3767 else
3768 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3769 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3770
3771 # Broken: fails on valid input.
3772 continue
3773 fi
3774 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
3775
3776 # OK, works on sane cases. Now check whether non-existent headers
3777 # can be detected and how.
3778 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3779 /* confdefs.h. */
3780 _ACEOF
3781 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3782 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3783 /* end confdefs.h. */
3784 #include <ac_nonexistent.h>
3785 _ACEOF
3786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3787 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3788 ac_status=$?
3789 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3790 rmscip-shell system . . rm. -f conftest.er1
3791 catscip-shell system . . cat. conftest.err >&5
3792 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
3794 if testscip-shell system . . test. -s conftest.err; then
3795 ac_cpp_err=$ac_c_preproc_warn_flag
3796 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3797 else
3798 ac_cpp_err=
3799 fi
3800 else
3801 ac_cpp_err=yes
3802 fi
3803 if testscip-shell system . . test. -z "$ac_cpp_err"; then
3804 # Broken: success on invalid input.
3805 continue
3806 else
3807 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3808 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3809
3810 # Passes both tests.
3811 ac_preproc_ok=:
3812 break
3813 fi
3814 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
3815
3816 done
3817 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3818 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
3819 if $ac_preproc_ok; then
3820 :
3821 else
3822 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3823 See \`config.log' for more details." >&5
3824 echoscip-shell system . . echo. "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3825 See \`config.log' for more details." >&2;}
3826 { (exit 1); exit 1; }; }
3827 fi
3828
3829 ac_ext=c
3830 ac_cpp='$CPP $CPPFLAGS'
3831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3834
3835
3836 echoscip-shell system . . echo. "$as_me:$LINENO: checking for ANSI C header files" >&5
3837 echoscip-shell system . . echo. $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3838 if testscip-shell system . . test. "${ac_cv_header_stdc+set}" = set; then
3839 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3840 else
3841 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3842 /* confdefs.h. */
3843 _ACEOF
3844 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3845 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3846 /* end confdefs.h. */
3847 #include <stdlib.h>
3848 #include <stdarg.h>
3849 #include <string.h>
3850 #include <float.h>
3851
3852 int
3853 main ()
3854 {
3855
3856 ;
3857 return 0;
3858 }
3859 _ACEOF
3860 rmscip-shell system . . rm. -f conftest.$ac_objext
3861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3862 (eval $ac_compile) 2>conftest.er1
3863 ac_status=$?
3864 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3865 rmscip-shell system . . rm. -f conftest.er1
3866 catscip-shell system . . cat. conftest.err >&5
3867 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } &&
3869 { ac_try='test -z "$ac_c_werror_flag"
3870 || test ! -s conftest.err'
3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 (eval $ac_try) 2>&5
3873 ac_status=$?
3874 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; } &&
3876 { ac_try='test -s conftest.$ac_objext'
3877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 (eval $ac_try) 2>&5
3879 ac_status=$?
3880 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); }; }; then
3882 ac_cv_header_stdc=yes
3883 else
3884 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3885 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3886
3887 ac_cv_header_stdc=no
3888 fi
3889 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
3890
3891 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
3892 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3893 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3894 /* confdefs.h. */
3895 _ACEOF
3896 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3897 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3898 /* end confdefs.h. */
3899 #include <string.h>
3900
3901 _ACEOF
3902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3903 $EGREP "memchr" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3904 :
3905 else
3906 ac_cv_header_stdc=no
3907 fi
3908 rmscip-shell system . . rm. -f conftest*
3909
3910 fi
3911
3912 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
3913 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3914 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3915 /* confdefs.h. */
3916 _ACEOF
3917 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3918 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3919 /* end confdefs.h. */
3920 #include <stdlib.h>
3921
3922 _ACEOF
3923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3924 $EGREP "free" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3925 :
3926 else
3927 ac_cv_header_stdc=no
3928 fi
3929 rmscip-shell system . . rm. -f conftest*
3930
3931 fi
3932
3933 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
3934 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3935 if testscip-shell system . . test. "$cross_compiling" = yes; then
3936 :
3937 else
3938 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3939 /* confdefs.h. */
3940 _ACEOF
3941 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3942 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3943 /* end confdefs.h. */
3944 #include <ctype.h>
3945 #if ((' ' & 0x0FF) == 0x020)
3946 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3947 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3948 #else
3949 # define ISLOWER(c) \
3950 (('a' <= (c) && (c) <= 'i') \
3951 || ('j' <= (c) && (c) <= 'r') \
3952 || ('s' <= (c) && (c) <= 'z'))
3953 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3954 #endif
3955
3956 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3957 int
3958 main ()
3959 {
3960 int i;
3961 for (i = 0; i < 256; i++)
3962 if (XOR (islower (i), ISLOWER (i))
3963 || toupper (i) != TOUPPER (i))
3964 exit(2);
3965 exit (0);
3966 }
3967 _ACEOF
3968 rmscip-shell system . . rm. -f conftest$ac_exeext
3969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3970 (eval $ac_link) 2>&5
3971 ac_status=$?
3972 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3975 (eval $ac_try) 2>&5
3976 ac_status=$?
3977 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); }; }; then
3979 :
3980 else
3981 echoscip-shell system . . echo. "$as_me: program exited with status $ac_status" >&5
3982 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3983 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3984
3985 ( exit $ac_status )
3986 ac_cv_header_stdc=no
3987 fi
3988 rmscip-shell system . . rm. -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3989 fi
3990 fi
3991 fi
3992 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3993 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_header_stdc" >&6
3994 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
3995
3996 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
3997 #define STDC_HEADERS 1
3998 _ACEOF
3999
4000 fi
4001
4002 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4013 inttypes.h stdint.h unistd.h
4014 do
4015 as_ac_Header=`echoscip-shell system . . echo. "ac_cv_header_$ac_header" | $as_tr_sh`
4016 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_header" >&5
4017 echoscip-shell system . . echo. $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4019 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4020 else
4021 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4022 /* confdefs.h. */
4023 _ACEOF
4024 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4025 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4026 /* end confdefs.h. */
4027 $ac_includes_default
4028
4029 #include <$ac_header>
4030 _ACEOF
4031 rmscip-shell system . . rm. -f conftest.$ac_objext
4032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4033 (eval $ac_compile) 2>conftest.er1
4034 ac_status=$?
4035 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4036 rmscip-shell system . . rm. -f conftest.er1
4037 catscip-shell system . . cat. conftest.err >&5
4038 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } &&
4040 { ac_try='test -z "$ac_c_werror_flag"
4041 || test ! -s conftest.err'
4042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4043 (eval $ac_try) 2>&5
4044 ac_status=$?
4045 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); }; } &&
4047 { ac_try='test -s conftest.$ac_objext'
4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4049 (eval $ac_try) 2>&5
4050 ac_status=$?
4051 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; }; then
4053 eval "$as_ac_Header=yes"
4054 else
4055 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4056 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4057
4058 eval "$as_ac_Header=no"
4059 fi
4060 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4061 fi
4062 echoscip-shell system . . echo. "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4063 echoscip-shell system . . echo. "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4064 if testscip-shell system . . test. `eval echo '${'$as_ac_Header'}'` = yes; then
4065 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
4066 #define `echoscip-shell system . . echo. "HAVE_$ac_header" | $as_tr_cpp` 1
4067 _ACEOF
4068
4069 fi
4070
4071 done
4072
4073
4074
4075 for ac_header in dlfcn.h
4076 do
4077 as_ac_Header=`echoscip-shell system . . echo. "ac_cv_header_$ac_header" | $as_tr_sh`
4078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4079 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_header" >&5
4080 echoscip-shell system . . echo. $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4082 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4083 fi
4084 echoscip-shell system . . echo. "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4085 echoscip-shell system . . echo. "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4086 else
4087 # Is the header compilable?
4088 echoscip-shell system . . echo. "$as_me:$LINENO: checking $ac_header usability" >&5
4089 echoscip-shell system . . echo. $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4090 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4091 /* confdefs.h. */
4092 _ACEOF
4093 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4094 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4095 /* end confdefs.h. */
4096 $ac_includes_default
4097 #include <$ac_header>
4098 _ACEOF
4099 rmscip-shell system . . rm. -f conftest.$ac_objext
4100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4101 (eval $ac_compile) 2>conftest.er1
4102 ac_status=$?
4103 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4104 rmscip-shell system . . rm. -f conftest.er1
4105 catscip-shell system . . cat. conftest.err >&5
4106 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); } &&
4108 { ac_try='test -z "$ac_c_werror_flag"
4109 || test ! -s conftest.err'
4110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4111 (eval $ac_try) 2>&5
4112 ac_status=$?
4113 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); }; } &&
4115 { ac_try='test -s conftest.$ac_objext'
4116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4117 (eval $ac_try) 2>&5
4118 ac_status=$?
4119 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); }; }; then
4121 ac_header_compiler=yes
4122 else
4123 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4124 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4125
4126 ac_header_compiler=no
4127 fi
4128 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4129 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_header_compiler" >&5
4130 echoscip-shell system . . echo. "${ECHO_T}$ac_header_compiler" >&6
4131
4132 # Is the header present?
4133 echoscip-shell system . . echo. "$as_me:$LINENO: checking $ac_header presence" >&5
4134 echoscip-shell system . . echo. $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4135 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4136 /* confdefs.h. */
4137 _ACEOF
4138 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4139 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4141 #include <$ac_header>
4142 _ACEOF
4143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4145 ac_status=$?
4146 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4147 rmscip-shell system . . rm. -f conftest.er1
4148 catscip-shell system . . cat. conftest.err >&5
4149 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
4151 if testscip-shell system . . test. -s conftest.err; then
4152 ac_cpp_err=$ac_c_preproc_warn_flag
4153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4154 else
4155 ac_cpp_err=
4156 fi
4157 else
4158 ac_cpp_err=yes
4159 fi
4160 if testscip-shell system . . test. -z "$ac_cpp_err"; then
4161 ac_header_preproc=yes
4162 else
4163 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4164 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4165
4166 ac_header_preproc=no
4167 fi
4168 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
4169 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_header_preproc" >&5
4170 echoscip-shell system . . echo. "${ECHO_T}$ac_header_preproc" >&6
4171
4172 # So? What about this header?
4173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4174 yes:no: )
4175 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4176 echoscip-shell system . . echo. "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4177 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4178 echoscip-shell system . . echo. "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4179 ac_header_preproc=yes
4180 ;;
4181 no:yes:* )
4182 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4183 echoscip-shell system . . echo. "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4184 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4185 echoscip-shell system . . echo. "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4186 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4187 echoscip-shell system . . echo. "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4188 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4189 echoscip-shell system . . echo. "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4190 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4191 echoscip-shell system . . echo. "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4192 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4193 echoscip-shell system . . echo. "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4194 (
4195 catscip-shell system . . cat. <<\_ASBOX
4196 ## ------------------------------------------ ##
4197 ## Report this to the AC_PACKAGE_NAME lists. ##
4198 ## ------------------------------------------ ##
4199 _ASBOX
4200 ) |
4201 sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2
4202 ;;
4203 esac
4204 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_header" >&5
4205 echoscip-shell system . . echo. $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4207 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4208 else
4209 eval "$as_ac_Header=\$ac_header_preproc"
4210 fi
4211 echoscip-shell system . . echo. "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4212 echoscip-shell system . . echo. "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4213
4214 fi
4215 if testscip-shell system . . test. `eval echo '${'$as_ac_Header'}'` = yes; then
4216 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
4217 #define `echoscip-shell system . . echo. "HAVE_$ac_header" | $as_tr_cpp` 1
4218 _ACEOF
4219
4220 fi
4221
4222 done
4223
4224 ac_ext=cc
4225 ac_cpp='$CXXCPP $CPPFLAGS'
4226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4229 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4230 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4231 do
4232 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4233 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4234 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
4235 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4236 if testscip-shell system . . test. "${ac_cv_prog_CXX+set}" = set; then
4237 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4238 else
4239 if testscip-shell system . . test. -n "$CXX"; then
4240 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4241 else
4242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243 for as_dir in $PATH
4244 do
4245 IFS=$as_save_IFS
4246 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4247 for ac_exec_ext in '' $ac_executable_extensions; do
4248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4249 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4250 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 break 2
4252 fi
4253 done
4254 done
4255
4256 fi
4257 fi
4258 CXX=$ac_cv_prog_CXX
4259 if testscip-shell system . . test. -n "$CXX"; then
4260 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CXX" >&5
4261 echoscip-shell system . . echo. "${ECHO_T}$CXX" >&6
4262 else
4263 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
4264 echoscip-shell system . . echo. "${ECHO_T}no" >&6
4265 fi
4266
4267 testscip-shell system . . test. -n "$CXX" && break
4268 done
4269 fi
4270 if testscip-shell system . . test. -z "$CXX"; then
4271 ac_ct_CXX=$CXX
4272 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4273 do
4274 # Extract the first word of "$ac_prog", so it can be a program name with args.
4275 set dummy $ac_prog; ac_word=$2
4276 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
4277 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4278 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4279 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4280 else
4281 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
4282 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4283 else
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 for as_dir in $PATH
4286 do
4287 IFS=$as_save_IFS
4288 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4289 for ac_exec_ext in '' $ac_executable_extensions; do
4290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4291 ac_cv_prog_ac_ct_CXX="$ac_prog"
4292 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4293 break 2
4294 fi
4295 done
4296 done
4297
4298 fi
4299 fi
4300 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4301 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
4302 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4303 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_CXX" >&6
4304 else
4305 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
4306 echoscip-shell system . . echo. "${ECHO_T}no" >&6
4307 fi
4308
4309 testscip-shell system . . test. -n "$ac_ct_CXX" && break
4310 done
4311 testscip-shell system . . test. -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4312
4313 CXX=$ac_ct_CXX
4314 fi
4315
4316
4317 # Provide some information about the compiler.
4318 echoscip-shell system . . echo. "$as_me:$LINENO:" \
4319 "checking for C++ compiler version" >&5
4320 ac_compiler=`set X $ac_compile; echoscip-shell system . . echo. $2`
4321 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4322 (eval $ac_compiler --version </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
4323 ac_status=$?
4324 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); }
4326 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4327 (eval $ac_compiler -v </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
4328 ac_status=$?
4329 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); }
4331 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4332 (eval $ac_compiler -V </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
4333 ac_status=$?
4334 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4335 (exit $ac_status); }
4336
4337 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4338 echoscip-shell system . . echo. $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4339 if testscip-shell system . . test. "${ac_cv_cxx_compiler_gnu+set}" = set; then
4340 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4341 else
4342 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4343 /* confdefs.h. */
4344 _ACEOF
4345 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4346 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4347 /* end confdefs.h. */
4348
4349 int
4350 main ()
4351 {
4352 #ifndef __GNUC__
4353 choke me
4354 #endif
4355
4356 ;
4357 return 0;
4358 }
4359 _ACEOF
4360 rmscip-shell system . . rm. -f conftest.$ac_objext
4361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4362 (eval $ac_compile) 2>conftest.er1
4363 ac_status=$?
4364 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4365 rmscip-shell system . . rm. -f conftest.er1
4366 catscip-shell system . . cat. conftest.err >&5
4367 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } &&
4369 { ac_try='test -z "$ac_cxx_werror_flag"
4370 || test ! -s conftest.err'
4371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4372 (eval $ac_try) 2>&5
4373 ac_status=$?
4374 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); }; } &&
4376 { ac_try='test -s conftest.$ac_objext'
4377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4378 (eval $ac_try) 2>&5
4379 ac_status=$?
4380 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; }; then
4382 ac_compiler_gnu=yes
4383 else
4384 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4385 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4386
4387 ac_compiler_gnu=no
4388 fi
4389 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4390 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4391
4392 fi
4393 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4394 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4395 GXX=`testscip-shell system . . test. $ac_compiler_gnu = yes && echoscip-shell system . . echo. yes`
4396 ac_test_CXXFLAGS=${CXXFLAGS+set}
4397 ac_save_CXXFLAGS=$CXXFLAGS
4398 CXXFLAGS="-g"
4399 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4400 echoscip-shell system . . echo. $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4401 if testscip-shell system . . test. "${ac_cv_prog_cxx_g+set}" = set; then
4402 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4403 else
4404 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4405 /* confdefs.h. */
4406 _ACEOF
4407 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4408 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4409 /* end confdefs.h. */
4410
4411 int
4412 main ()
4413 {
4414
4415 ;
4416 return 0;
4417 }
4418 _ACEOF
4419 rmscip-shell system . . rm. -f conftest.$ac_objext
4420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4421 (eval $ac_compile) 2>conftest.er1
4422 ac_status=$?
4423 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4424 rmscip-shell system . . rm. -f conftest.er1
4425 catscip-shell system . . cat. conftest.err >&5
4426 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); } &&
4428 { ac_try='test -z "$ac_cxx_werror_flag"
4429 || test ! -s conftest.err'
4430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4431 (eval $ac_try) 2>&5
4432 ac_status=$?
4433 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); }; } &&
4435 { ac_try='test -s conftest.$ac_objext'
4436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4437 (eval $ac_try) 2>&5
4438 ac_status=$?
4439 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4440 (exit $ac_status); }; }; then
4441 ac_cv_prog_cxx_g=yes
4442 else
4443 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4444 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4445
4446 ac_cv_prog_cxx_g=no
4447 fi
4448 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4449 fi
4450 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4451 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4452 if testscip-shell system . . test. "$ac_test_CXXFLAGS" = set; then
4453 CXXFLAGS=$ac_save_CXXFLAGS
4454 elif testscip-shell system . . test. $ac_cv_prog_cxx_g = yes; then
4455 if testscip-shell system . . test. "$GXX" = yes; then
4456 CXXFLAGS="-g -O2"
4457 else
4458 CXXFLAGS="-g"
4459 fi
4460 else
4461 if testscip-shell system . . test. "$GXX" = yes; then
4462 CXXFLAGS="-O2"
4463 else
4464 CXXFLAGS=
4465 fi
4466 fi
4467 for ac_declaration in \
4468 '' \
4469 'extern "C" void std::exit (int) throw (); using std::exit;' \
4470 'extern "C" void std::exit (int); using std::exit;' \
4471 'extern "C" void exit (int) throw ();' \
4472 'extern "C" void exit (int);' \
4473 'void exit (int);'
4474 do
4475 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4476 /* confdefs.h. */
4477 _ACEOF
4478 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4479 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4480 /* end confdefs.h. */
4481 $ac_declaration
4482 #include <stdlib.h>
4483 int
4484 main ()
4485 {
4486 exit (42);
4487 ;
4488 return 0;
4489 }
4490 _ACEOF
4491 rmscip-shell system . . rm. -f conftest.$ac_objext
4492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4493 (eval $ac_compile) 2>conftest.er1
4494 ac_status=$?
4495 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4496 rmscip-shell system . . rm. -f conftest.er1
4497 catscip-shell system . . cat. conftest.err >&5
4498 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } &&
4500 { ac_try='test -z "$ac_cxx_werror_flag"
4501 || test ! -s conftest.err'
4502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 (eval $ac_try) 2>&5
4504 ac_status=$?
4505 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); }; } &&
4507 { ac_try='test -s conftest.$ac_objext'
4508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4509 (eval $ac_try) 2>&5
4510 ac_status=$?
4511 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); }; }; then
4513 :
4514 else
4515 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4516 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4517
4518 continue
4519 fi
4520 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4521 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4522 /* confdefs.h. */
4523 _ACEOF
4524 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4525 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4526 /* end confdefs.h. */
4527 $ac_declaration
4528 int
4529 main ()
4530 {
4531 exit (42);
4532 ;
4533 return 0;
4534 }
4535 _ACEOF
4536 rmscip-shell system . . rm. -f conftest.$ac_objext
4537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4538 (eval $ac_compile) 2>conftest.er1
4539 ac_status=$?
4540 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4541 rmscip-shell system . . rm. -f conftest.er1
4542 catscip-shell system . . cat. conftest.err >&5
4543 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); } &&
4545 { ac_try='test -z "$ac_cxx_werror_flag"
4546 || test ! -s conftest.err'
4547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548 (eval $ac_try) 2>&5
4549 ac_status=$?
4550 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); }; } &&
4552 { ac_try='test -s conftest.$ac_objext'
4553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4554 (eval $ac_try) 2>&5
4555 ac_status=$?
4556 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); }; }; then
4558 break
4559 else
4560 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4561 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4562
4563 fi
4564 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4565 done
4566 rmscip-shell system . . rm. -f conftest*
4567 if testscip-shell system . . test. -n "$ac_declaration"; then
4568 echoscip-shell system . . echo. '#ifdef __cplusplus' >>confdefs.h
4569 echoscip-shell system . . echo. $ac_declaration >>confdefs.h
4570 echoscip-shell system . . echo. '#endif' >>confdefs.h
4571 fi
4572
4573 ac_ext=cc
4574 ac_cpp='$CXXCPP $CPPFLAGS'
4575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4578
4579
4580
4581 if testscip-shell system . . test. -n "$CXX" && ( testscip-shell system . . test. "X$CXX" != "Xno" &&
4582 ( (testscip-shell system . . test. "X$CXX" = "Xg++" && `g++ -v >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1` ) ||
4583 (testscip-shell system . . test. "X$CXX" != "Xg++"))) ; then
4584 ac_ext=cc
4585 ac_cpp='$CXXCPP $CPPFLAGS'
4586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4589 echoscip-shell system . . echo. "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4590 echoscip-shell system . . echo. $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4591 if testscip-shell system . . test. -z "$CXXCPP"; then
4592 if testscip-shell system . . test. "${ac_cv_prog_CXXCPP+set}" = set; then
4593 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4594 else
4595 # Double quotes because CXXCPP needs to be expanded
4596 for CXXCPP in "$CXX -E" "/lib/cppscip-shell filesystem . . `/lib/cpp`."
4597 do
4598 ac_preproc_ok=false
4599 for ac_cxx_preproc_warn_flag in '' yes
4600 do
4601 # Use a header file that comes with gcc, so configuring glibc
4602 # with a fresh cross-compiler works.
4603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4604 # <limits.h> exists even on freestanding compilers.
4605 # On the NeXT, cc -E runs the code through the compiler's parser,
4606 # not just through cpp. "Syntax error" is here to catch this case.
4607 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4608 /* confdefs.h. */
4609 _ACEOF
4610 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4611 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4612 /* end confdefs.h. */
4613 #ifdef __STDC__
4614 # include <limits.h>
4615 #else
4616 # include <assert.h>
4617 #endif
4618 Syntax error
4619 _ACEOF
4620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4622 ac_status=$?
4623 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4624 rmscip-shell system . . rm. -f conftest.er1
4625 catscip-shell system . . cat. conftest.err >&5
4626 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
4628 if testscip-shell system . . test. -s conftest.err; then
4629 ac_cpp_err=$ac_cxx_preproc_warn_flag
4630 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4631 else
4632 ac_cpp_err=
4633 fi
4634 else
4635 ac_cpp_err=yes
4636 fi
4637 if testscip-shell system . . test. -z "$ac_cpp_err"; then
4638 :
4639 else
4640 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4641 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4642
4643 # Broken: fails on valid input.
4644 continue
4645 fi
4646 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
4647
4648 # OK, works on sane cases. Now check whether non-existent headers
4649 # can be detected and how.
4650 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4651 /* confdefs.h. */
4652 _ACEOF
4653 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4654 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4656 #include <ac_nonexistent.h>
4657 _ACEOF
4658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4660 ac_status=$?
4661 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4662 rmscip-shell system . . rm. -f conftest.er1
4663 catscip-shell system . . cat. conftest.err >&5
4664 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4665 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
4666 if testscip-shell system . . test. -s conftest.err; then
4667 ac_cpp_err=$ac_cxx_preproc_warn_flag
4668 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4669 else
4670 ac_cpp_err=
4671 fi
4672 else
4673 ac_cpp_err=yes
4674 fi
4675 if testscip-shell system . . test. -z "$ac_cpp_err"; then
4676 # Broken: success on invalid input.
4677 continue
4678 else
4679 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4680 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4681
4682 # Passes both tests.
4683 ac_preproc_ok=:
4684 break
4685 fi
4686 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
4687
4688 done
4689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4690 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
4691 if $ac_preproc_ok; then
4692 break
4693 fi
4694
4695 done
4696 ac_cv_prog_CXXCPP=$CXXCPP
4697
4698 fi
4699 CXXCPP=$ac_cv_prog_CXXCPP
4700 else
4701 ac_cv_prog_CXXCPP=$CXXCPP
4702 fi
4703 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CXXCPP" >&5
4704 echoscip-shell system . . echo. "${ECHO_T}$CXXCPP" >&6
4705 ac_preproc_ok=false
4706 for ac_cxx_preproc_warn_flag in '' yes
4707 do
4708 # Use a header file that comes with gcc, so configuring glibc
4709 # with a fresh cross-compiler works.
4710 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4711 # <limits.h> exists even on freestanding compilers.
4712 # On the NeXT, cc -E runs the code through the compiler's parser,
4713 # not just through cpp. "Syntax error" is here to catch this case.
4714 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4715 /* confdefs.h. */
4716 _ACEOF
4717 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4718 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4719 /* end confdefs.h. */
4720 #ifdef __STDC__
4721 # include <limits.h>
4722 #else
4723 # include <assert.h>
4724 #endif
4725 Syntax error
4726 _ACEOF
4727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4729 ac_status=$?
4730 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4731 rmscip-shell system . . rm. -f conftest.er1
4732 catscip-shell system . . cat. conftest.err >&5
4733 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
4735 if testscip-shell system . . test. -s conftest.err; then
4736 ac_cpp_err=$ac_cxx_preproc_warn_flag
4737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4738 else
4739 ac_cpp_err=
4740 fi
4741 else
4742 ac_cpp_err=yes
4743 fi
4744 if testscip-shell system . . test. -z "$ac_cpp_err"; then
4745 :
4746 else
4747 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4748 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4749
4750 # Broken: fails on valid input.
4751 continue
4752 fi
4753 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
4754
4755 # OK, works on sane cases. Now check whether non-existent headers
4756 # can be detected and how.
4757 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4758 /* confdefs.h. */
4759 _ACEOF
4760 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4761 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4762 /* end confdefs.h. */
4763 #include <ac_nonexistent.h>
4764 _ACEOF
4765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4766 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4767 ac_status=$?
4768 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4769 rmscip-shell system . . rm. -f conftest.er1
4770 catscip-shell system . . cat. conftest.err >&5
4771 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
4773 if testscip-shell system . . test. -s conftest.err; then
4774 ac_cpp_err=$ac_cxx_preproc_warn_flag
4775 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4776 else
4777 ac_cpp_err=
4778 fi
4779 else
4780 ac_cpp_err=yes
4781 fi
4782 if testscip-shell system . . test. -z "$ac_cpp_err"; then
4783 # Broken: success on invalid input.
4784 continue
4785 else
4786 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4787 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4788
4789 # Passes both tests.
4790 ac_preproc_ok=:
4791 break
4792 fi
4793 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
4794
4795 done
4796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4797 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
4798 if $ac_preproc_ok; then
4799 :
4800 else
4801 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4802 See \`config.log' for more details." >&5
4803 echoscip-shell system . . echo. "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4804 See \`config.log' for more details." >&2;}
4805 { (exit 1); exit 1; }; }
4806 fi
4807
4808 ac_ext=cc
4809 ac_cpp='$CXXCPP $CPPFLAGS'
4810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4813
4814 fi
4815
4816
4817 ac_ext=f
4818 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4819 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4821 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4822 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
4823 do
4824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4826 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
4827 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4828 if testscip-shell system . . test. "${ac_cv_prog_F77+set}" = set; then
4829 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4830 else
4831 if testscip-shell system . . test. -n "$F77"; then
4832 ac_cv_prog_F77="$F77" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4836 do
4837 IFS=$as_save_IFS
4838 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4842 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4844 fi
4845 done
4846 done
4847
4848 fi
4849 fi
4850 F77=$ac_cv_prog_F77
4851 if testscip-shell system . . test. -n "$F77"; then
4852 echoscip-shell system . . echo. "$as_me:$LINENO: result: $F77" >&5
4853 echoscip-shell system . . echo. "${ECHO_T}$F77" >&6
4854 else
4855 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
4856 echoscip-shell system . . echo. "${ECHO_T}no" >&6
4857 fi
4858
4859 testscip-shell system . . test. -n "$F77" && break
4860 done
4861 fi
4862 if testscip-shell system . . test. -z "$F77"; then
4863 ac_ct_F77=$F77
4864 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
4865 do
4866 # Extract the first word of "$ac_prog", so it can be a program name with args.
4867 set dummy $ac_prog; ac_word=$2
4868 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
4869 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4870 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_F77+set}" = set; then
4871 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4872 else
4873 if testscip-shell system . . test. -n "$ac_ct_F77"; then
4874 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # 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 testscip-shell system . . test. -z "$as_dir" && as_dir=.
4881 for ac_exec_ext in '' $ac_executable_extensions; do
4882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4883 ac_cv_prog_ac_ct_F77="$ac_prog"
4884 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 break 2
4886 fi
4887 done
4888 done
4889
4890 fi
4891 fi
4892 ac_ct_F77=$ac_cv_prog_ac_ct_F77
4893 if testscip-shell system . . test. -n "$ac_ct_F77"; then
4894 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_F77" >&5
4895 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_F77" >&6
4896 else
4897 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
4898 echoscip-shell system . . echo. "${ECHO_T}no" >&6
4899 fi
4900
4901 testscip-shell system . . test. -n "$ac_ct_F77" && break
4902 done
4903
4904 F77=$ac_ct_F77
4905 fi
4906
4907
4908 # Provide some information about the compiler.
4909 echoscip-shell system . . echo. "$as_me:4909:" \
4910 "checking for Fortran 77 compiler version" >&5
4911 ac_compiler=`set X $ac_compile; echoscip-shell system . . echo. $2`
4912 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4913 (eval $ac_compiler --version </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
4914 ac_status=$?
4915 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); }
4917 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4918 (eval $ac_compiler -v </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
4919 ac_status=$?
4920 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); }
4922 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4923 (eval $ac_compiler -V </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
4924 ac_status=$?
4925 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); }
4927 rmscip-shell system . . rm. -f a.out
4928
4929 # If we don't use `.F' as extension, the preprocessor is not run on the
4930 # input file. (Note that this only needs to work for GNU compilers.)
4931 ac_save_ext=$ac_ext
4932 ac_ext=F
4933 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
4934 echoscip-shell system . . echo. $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
4935 if testscip-shell system . . test. "${ac_cv_f77_compiler_gnu+set}" = set; then
4936 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4937 else
4938 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4939 program main
4940 #ifndef __GNUC__
4941 choke me
4942 #endif
4943
4944 end
4945 _ACEOF
4946 rmscip-shell system . . rm. -f conftest.$ac_objext
4947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4948 (eval $ac_compile) 2>conftest.er1
4949 ac_status=$?
4950 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4951 rmscip-shell system . . rm. -f conftest.er1
4952 catscip-shell system . . cat. conftest.err >&5
4953 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); } &&
4955 { ac_try='test -z "$ac_f77_werror_flag"
4956 || test ! -s conftest.err'
4957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4958 (eval $ac_try) 2>&5
4959 ac_status=$?
4960 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); }; } &&
4962 { ac_try='test -s conftest.$ac_objext'
4963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4964 (eval $ac_try) 2>&5
4965 ac_status=$?
4966 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); }; }; then
4968 ac_compiler_gnu=yes
4969 else
4970 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4971 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4972
4973 ac_compiler_gnu=no
4974 fi
4975 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4977
4978 fi
4979 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
4980 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
4981 ac_ext=$ac_save_ext
4982 ac_test_FFLAGS=${FFLAGS+set}
4983 ac_save_FFLAGS=$FFLAGS
4984 FFLAGS=
4985 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
4986 echoscip-shell system . . echo. $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
4987 if testscip-shell system . . test. "${ac_cv_prog_f77_g+set}" = set; then
4988 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4989 else
4990 FFLAGS=-g
4991 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4992 program main
4993
4994 end
4995 _ACEOF
4996 rmscip-shell system . . rm. -f conftest.$ac_objext
4997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4998 (eval $ac_compile) 2>conftest.er1
4999 ac_status=$?
5000 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
5001 rmscip-shell system . . rm. -f conftest.er1
5002 catscip-shell system . . cat. conftest.err >&5
5003 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } &&
5005 { ac_try='test -z "$ac_f77_werror_flag"
5006 || test ! -s conftest.err'
5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008 (eval $ac_try) 2>&5
5009 ac_status=$?
5010 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); }; } &&
5012 { ac_try='test -s conftest.$ac_objext'
5013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 (eval $ac_try) 2>&5
5015 ac_status=$?
5016 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); }; }; then
5018 ac_cv_prog_f77_g=yes
5019 else
5020 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
5021 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
5022
5023 ac_cv_prog_f77_g=no
5024 fi
5025 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
5026
5027 fi
5028 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5029 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_prog_f77_g" >&6
5030 if testscip-shell system . . test. "$ac_test_FFLAGS" = set; then
5031 FFLAGS=$ac_save_FFLAGS
5032 elif testscip-shell system . . test. $ac_cv_prog_f77_g = yes; then
5033 if testscip-shell system . . test. "x$ac_cv_f77_compiler_gnu" = xyes; then
5034 FFLAGS="-g -O2"
5035 else
5036 FFLAGS="-g"
5037 fi
5038 else
5039 if testscip-shell system . . test. "x$ac_cv_f77_compiler_gnu" = xyes; then
5040 FFLAGS="-O2"
5041 else
5042 FFLAGS=
5043 fi
5044 fi
5045
5046 G77=`testscip-shell system . . test. $ac_compiler_gnu = yes && echoscip-shell system . . echo. yes`
5047 ac_ext=c
5048 ac_cpp='$CPP $CPPFLAGS'
5049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5052
5053
5054
5055 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5056
5057 # find the maximum length of command line arguments
5058 echoscip-shell system . . echo. "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5059 echoscip-shell system . . echo. $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5060 if testscip-shell system . . test. "${lt_cv_sys_max_cmd_len+set}" = set; then
5061 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5062 else
5063 i=0
5064 teststring="ABCD"
5065
5066 case $build_os in
5067 msdosdjgpp*)
5068 # On DJGPP, this test can blow up pretty badly due to problems in libc
5069 # (any single argument exceeding 2000 bytes causes a buffer overrun
5070 # during glob expansion). Even if it were fixed, the result of this
5071 # check would be larger than it should be.
5072 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5073 ;;
5074
5075 gnu*)
5076 # Under GNU Hurd, this test is not required because there is
5077 # no limit to the length of command line arguments.
5078 # Libtool will interpret -1 as no limit whatsoever
5079 lt_cv_sys_max_cmd_len=-1;
5080 ;;
5081
5082 cygwin* | mingw*)
5083 # On Win9x/ME, this test blows up -- it succeeds, but takes
5084 # about 5 minutes as the teststring grows exponentially.
5085 # Worse, since 9x/ME are not pre-emptively multitasking,
5086 # you end up with a "frozen" computer, even though with patience
5087 # the test eventually succeeds (with a max line length of 256k).
5088 # Instead, let's just punt: use the minimum linelength reported by
5089 # all of the supported platforms: 8192 (on NT/2K/XP).
5090 lt_cv_sys_max_cmd_len=8192;
5091 ;;
5092
5093 amigaos*)
5094 # On AmigaOS with pdksh, this test takes hours, literally.
5095 # So we just punt and use a minimum line length of 8192.
5096 lt_cv_sys_max_cmd_len=8192;
5097 ;;
5098
5099 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5100 # This has been around since 386BSD, at least. Likely further.
5101 if testscip-shell system . . test. -x /sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`.; then
5102 lt_cv_sys_max_cmd_len=`/sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`. -n kern.argmax`
5103 elif testscip-shell system . . test. -x /usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`.; then
5104 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`. -n kern.argmax`
5105 else
5106 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5107 fi
5108 # And add a safety zone
5109 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 4`
5110 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \* 3`
5111 ;;
5112
5113 interix*)
5114 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5115 lt_cv_sys_max_cmd_len=196608
5116 ;;
5117
5118 osf*)
5119 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5120 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5121 # nice to cause kernel panics so lets avoid the loop below.
5122 # First set a reasonable default.
5123 lt_cv_sys_max_cmd_len=16384
5124 #
5125 if testscip-shell system . . test. -x /sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`.; then
5126 case `/sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`. -q proc exec_disable_arg_limit` in
5127 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5128 esac
5129 fi
5130 ;;
5131 sco3.2v5*)
5132 lt_cv_sys_max_cmd_len=102400
5133 ;;
5134 sysv5* | sco5v6* | sysv4.2uw2*)
5135 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`.`
5136 if testscip-shell system . . test. -n "$kargmax"; then
5137 lt_cv_sys_max_cmd_len=`echoscip-shell system . . echo. $kargmax | sedscip-shell system . . sed. 's/.*[ ]//'`
5138 else
5139 lt_cv_sys_max_cmd_len=32768
5140 fi
5141 ;;
5142 *)
5143 # If test is not a shell built-in, we'll probably end up computing a
5144 # maximum length that is only half of the actual maximum length, but
5145 # we can't tell.
5146 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5147 while (testscip-shell system . . test. "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` \
5148 = "XX$teststring") >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
5149 new_result=`exprscip-shell system . . expr. "X$teststring" : ".*" 2>&1` &&
5150 lt_cv_sys_max_cmd_len=$new_result &&
5151 testscip-shell system . . test. $i != 17 # 1/2 MB should be enough
5152 do
5153 i=`exprscip-shell system . . expr. $i + 1`
5154 teststring=$teststring$teststring
5155 done
5156 teststring=
5157 # Add a significant safety factor because C++ compilers can tack on massive
5158 # amounts of additional arguments before passing them to the linker.
5159 # It appears as though 1/2 is a usable value.
5160 lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 2`
5161 ;;
5162 esac
5163
5164 fi
5165
5166 if testscip-shell system . . test. -n $lt_cv_sys_max_cmd_len ; then
5167 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5168 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5169 else
5170 echoscip-shell system . . echo. "$as_me:$LINENO: result: none" >&5
5171 echoscip-shell system . . echo. "${ECHO_T}none" >&6
5172 fi
5173
5174
5175
5176
5177 # Check for command to grab the raw symbol name followed by C symbol from nm.
5178 echoscip-shell system . . echo. "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5179 echoscip-shell system . . echo. $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5180 if testscip-shell system . . test. "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5181 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5182 else
5183
5184 # These are sane defaults that work on at least a few old systems.
5185 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5186
5187 # Character class describing NM global symbol codes.
5188 symcode='[BCDEGRST]'
5189
5190 # Regexp to match symbols that can be accessed directly from C.
5191 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5192
5193 # Transform an extracted symbol line into a proper C declaration
5194 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5195
5196 # Transform an extracted symbol line into symbol name and symbol address
5197 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5198
5199 # Define system-specific variables.
5200 case $host_os in
5201 aix*)
5202 symcode='[BCDT]'
5203 ;;
5204 cygwin* | mingw* | pw32*)
5205 symcode='[ABCDGISTW]'
5206 ;;
5207 hpux*) # Its linker distinguishes data from code symbols
5208 if testscip-shell system . . test. "$host_cpu" = ia64; then
5209 symcode='[ABCDEGRST]'
5210 fi
5211 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5212 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5213 ;;
5214 linux*)
5215 if testscip-shell system . . test. "$host_cpu" = ia64; then
5216 symcode='[ABCDGIRSTW]'
5217 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5218 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5219 fi
5220 ;;
5221 irix* | nonstopux*)
5222 symcode='[BCDEGRST]'
5223 ;;
5224 osf*)
5225 symcode='[BCDEGQRST]'
5226 ;;
5227 solaris*)
5228 symcode='[BDRT]'
5229 ;;
5230 sco3.2v5*)
5231 symcode='[DT]'
5232 ;;
5233 sysv4.2uw2*)
5234 symcode='[DT]'
5235 ;;
5236 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5237 symcode='[ABDT]'
5238 ;;
5239 sysv4)
5240 symcode='[DFNSTU]'
5241 ;;
5242 esac
5243
5244 # Handle CRLF in mingw tool chain
5245 opt_cr=
5246 case $build_os in
5247 mingw*)
5248 opt_cr=`echoscip-shell system . . echo. 'x\{0,1\}' | trscip-shell system . . tr. x '\015'` # option cr in regexp
5249 ;;
5250 esac
5251
5252 # If we're using GNU nm, then use its standard symbol codes.
5253 case `$NM -V 2>&1` in
5254 *GNU* | *'with BFD'*)
5255 symcode='[ABCDGIRSTW]' ;;
5256 esac
5257
5258 # Try without a prefix undercore, then with it.
5259 for ac_symprfx in "" "_"; do
5260
5261 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5262 symxfrm="\\1 $ac_symprfx\\2 \\2"
5263
5264 # Write the raw and C identifiers.
5265 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5266
5267 # Check to see that the pipe works correctly.
5268 pipe_works=no
5269
5270 rmscip-shell system . . rm. -f conftest*
5271 catscip-shell system . . cat. > conftest.$ac_ext <<EOF
5272 #ifdef __cplusplus
5273 extern "C" {
5274 #endif
5275 char nm_test_var;
5276 void nm_test_func(){}
5277 #ifdef __cplusplus
5278 }
5279 #endif
5280 int main(){nm_test_var='a';nm_test_func();return(0);}
5281 EOF
5282
5283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5284 (eval $ac_compile) 2>&5
5285 ac_status=$?
5286 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; then
5288 # Now try to grab the symbols.
5289 nlist=conftest.nm
5290 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5291 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5292 ac_status=$?
5293 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); } && testscip-shell system . . test. -s "$nlist"; then
5295 # Try sorting and uniquifying the output.
5296 if sortscip-shell system . . sort. "$nlist" | uniqscip-shell system . . uniq. > "$nlist"T; then
5297 mvscip-shell system . . mv. -f "$nlist"T "$nlist"
5298 else
5299 rmscip-shell system . . rm. -f "$nlist"T
5300 fi
5301
5302 # Make sure that we snagged all the symbols we need.
5303 if grepscip-shell system . . grep. ' nm_test_var$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
5304 if grepscip-shell system . . grep. ' nm_test_func$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
5305 catscip-shell system . . cat. <<EOF > conftest.$ac_ext
5306 #ifdef __cplusplus
5307 extern "C" {
5308 #endif
5309
5310 EOF
5311 # Now generate the symbol file.
5312 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5313
5314 catscip-shell system . . cat. <<EOF >> conftest.$ac_ext
5315 #if defined (__STDC__) && __STDC__
5316 # define lt_ptr_t void *
5317 #else
5318 # define lt_ptr_t char *
5319 # define const
5320 #endif
5321
5322 /* The mapping between symbol names and symbols. */
5323 const struct {
5324 const char *name;
5325 lt_ptr_t address;
5326 }
5327 lt_preloaded_symbols[] =
5328 {
5329 EOF
5330 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grepscip-shell system . . grep. -v main >> conftest.$ac_ext
5331 catscip-shell system . . cat. <<\EOF >> conftest.$ac_ext
5332 {0, (lt_ptr_t) 0}
5333 };
5334
5335 #ifdef __cplusplus
5336 }
5337 #endif
5338 EOF
5339 # Now try linking the two files.
5340 mvscip-shell system . . mv. conftest.$ac_objext conftstm.$ac_objext
5341 lt_save_LIBS="$LIBS"
5342 lt_save_CFLAGS="$CFLAGS"
5343 LIBS="conftstm.$ac_objext"
5344 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5346 (eval $ac_link) 2>&5
5347 ac_status=$?
5348 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } && testscip-shell system . . test. -s conftest${ac_exeext}; then
5350 pipe_works=yes
5351 fi
5352 LIBS="$lt_save_LIBS"
5353 CFLAGS="$lt_save_CFLAGS"
5354 else
5355 echoscip-shell system . . echo. "cannot find nm_test_func in $nlist" >&5
5356 fi
5357 else
5358 echoscip-shell system . . echo. "cannot find nm_test_var in $nlist" >&5
5359 fi
5360 else
5361 echoscip-shell system . . echo. "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5362 fi
5363 else
5364 echoscip-shell system . . echo. "$progname: failed program was:" >&5
5365 catscip-shell system . . cat. conftest.$ac_ext >&5
5366 fi
5367 rmscip-shell system . . rm. -f conftest* conftst*
5368
5369 # Do not use the global_symbol_pipe unless it works.
5370 if testscip-shell system . . test. "$pipe_works" = yes; then
5371 break
5372 else
5373 lt_cv_sys_global_symbol_pipe=
5374 fi
5375 done
5376
5377 fi
5378
5379 if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe"; then
5380 lt_cv_sys_global_symbol_to_cdecl=
5381 fi
5382 if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5383 echoscip-shell system . . echo. "$as_me:$LINENO: result: failed" >&5
5384 echoscip-shell system . . echo. "${ECHO_T}failed" >&6
5385 else
5386 echoscip-shell system . . echo. "$as_me:$LINENO: result: ok" >&5
5387 echoscip-shell system . . echo. "${ECHO_T}ok" >&6
5388 fi
5389
5390 echoscip-shell system . . echo. "$as_me:$LINENO: checking for objdir" >&5
5391 echoscip-shell system . . echo. $ECHO_N "checking for objdir... $ECHO_C" >&6
5392 if testscip-shell system . . test. "${lt_cv_objdir+set}" = set; then
5393 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5394 else
5395 rmscip-shell system . . rm. -f .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.
5396 mkdirscip-shell system . . mkdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.
5397 if testscip-shell system . . test. -d .libs; then
5398 lt_cv_objdir=.libs
5399 else
5400 # MS-DOS does not allow filenames that begin with a dot.
5401 lt_cv_objdir=_libs
5402 fi
5403 rmdirscip-shell system . . rmdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.
5404 fi
5405 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5406 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_objdir" >&6
5407 objdir=$lt_cv_objdir
5408
5409
5410
5411
5412
5413 case $host_os in
5414 aix3*)
5415 # AIX sometimes has problems with the GCC collect2 program. For some
5416 # reason, if we set the COLLECT_NAMES environment variable, the problems
5417 # vanish in a puff of smoke.
5418 if testscip-shell system . . test. "X${COLLECT_NAMES+set}" != Xset; then
5419 COLLECT_NAMES=
5420 export COLLECT_NAMES
5421 fi
5422 ;;
5423 esac
5424
5425 # Sed substitution that helps us do robust quoting. It backslashifies
5426 # metacharacters that are still active within double-quoted strings.
5427 Xsed='sed -e 1s/^X//'
5428 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5429
5430 # Same as above, but do not quote variable references.
5431 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5432
5433 # Sed substitution to delay expansion of an escaped shell variable in a
5434 # double_quote_subst'ed string.
5435 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5436
5437 # Sed substitution to avoid accidental globbing in evaled expressions
5438 no_glob_subst='s/\*/\\\*/g'
5439
5440 # Constants:
5441 rm="rm -f"
5442
5443 # Global variables:
5444 default_ofile=libtool
5445 can_build_shared=yes
5446
5447 # All known linkers require a `.a' archive for static linking (except MSVC,
5448 # which needs '.lib').
5449 libext=a
5450 ltmain="$ac_aux_dir/ltmain.sh"
5451 ofile="$default_ofile"
5452 with_gnu_ld="$lt_cv_prog_gnu_ld"
5453
5454 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5455 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5456 set dummy ${ac_tool_prefix}ar; ac_word=$2
5457 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
5458 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5459 if testscip-shell system . . test. "${ac_cv_prog_AR+set}" = set; then
5460 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5461 else
5462 if testscip-shell system . . test. -n "$AR"; then
5463 ac_cv_prog_AR="$AR" # Let the user override the test.
5464 else
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH
5467 do
5468 IFS=$as_save_IFS
5469 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_AR="${ac_tool_prefix}ar"
5473 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 break 2
5475 fi
5476 done
5477 done
5478
5479 fi
5480 fi
5481 AR=$ac_cv_prog_AR
5482 if testscip-shell system . . test. -n "$AR"; then
5483 echoscip-shell system . . echo. "$as_me:$LINENO: result: $AR" >&5
5484 echoscip-shell system . . echo. "${ECHO_T}$AR" >&6
5485 else
5486 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
5487 echoscip-shell system . . echo. "${ECHO_T}no" >&6
5488 fi
5489
5490 fi
5491 if testscip-shell system . . test. -z "$ac_cv_prog_AR"; then
5492 ac_ct_AR=$AR
5493 # Extract the first word of "ar", so it can be a program name with args.
5494 set dummy ar; ac_word=$2
5495 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
5496 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5497 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_AR+set}" = set; then
5498 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5499 else
5500 if testscip-shell system . . test. -n "$ac_ct_AR"; then
5501 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5502 else
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 for as_dir in $PATH
5505 do
5506 IFS=$as_save_IFS
5507 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_ac_ct_AR="ar"
5511 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 break 2
5513 fi
5514 done
5515 done
5516
5517 testscip-shell system . . test. -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5518 fi
5519 fi
5520 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5521 if testscip-shell system . . test. -n "$ac_ct_AR"; then
5522 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_AR" >&5
5523 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_AR" >&6
5524 else
5525 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
5526 echoscip-shell system . . echo. "${ECHO_T}no" >&6
5527 fi
5528
5529 AR=$ac_ct_AR
5530 else
5531 AR="$ac_cv_prog_AR"
5532 fi
5533
5534 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5535 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5536 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5537 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
5538 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5539 if testscip-shell system . . test. "${ac_cv_prog_RANLIB+set}" = set; then
5540 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5541 else
5542 if testscip-shell system . . test. -n "$RANLIB"; then
5543 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5544 else
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 for as_dir in $PATH
5547 do
5548 IFS=$as_save_IFS
5549 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5550 for ac_exec_ext in '' $ac_executable_extensions; do
5551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5553 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 break 2
5555 fi
5556 done
5557 done
5558
5559 fi
5560 fi
5561 RANLIB=$ac_cv_prog_RANLIB
5562 if testscip-shell system . . test. -n "$RANLIB"; then
5563 echoscip-shell system . . echo. "$as_me:$LINENO: result: $RANLIB" >&5
5564 echoscip-shell system . . echo. "${ECHO_T}$RANLIB" >&6
5565 else
5566 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
5567 echoscip-shell system . . echo. "${ECHO_T}no" >&6
5568 fi
5569
5570 fi
5571 if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then
5572 ac_ct_RANLIB=$RANLIB
5573 # Extract the first word of "ranlib", so it can be a program name with args.
5574 set dummy ranlib; ac_word=$2
5575 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
5576 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5577 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5578 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5579 else
5580 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
5581 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5582 else
5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 for as_dir in $PATH
5585 do
5586 IFS=$as_save_IFS
5587 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5588 for ac_exec_ext in '' $ac_executable_extensions; do
5589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5590 ac_cv_prog_ac_ct_RANLIB="ranlib"
5591 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 break 2
5593 fi
5594 done
5595 done
5596
5597 testscip-shell system . . test. -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5598 fi
5599 fi
5600 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5601 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
5602 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5603 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_RANLIB" >&6
5604 else
5605 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
5606 echoscip-shell system . . echo. "${ECHO_T}no" >&6
5607 fi
5608
5609 RANLIB=$ac_ct_RANLIB
5610 else
5611 RANLIB="$ac_cv_prog_RANLIB"
5612 fi
5613
5614 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5616 set dummy ${ac_tool_prefix}strip; ac_word=$2
5617 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
5618 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5619 if testscip-shell system . . test. "${ac_cv_prog_STRIP+set}" = set; then
5620 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5621 else
5622 if testscip-shell system . . test. -n "$STRIP"; then
5623 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5624 else
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 for as_dir in $PATH
5627 do
5628 IFS=$as_save_IFS
5629 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5630 for ac_exec_ext in '' $ac_executable_extensions; do
5631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5632 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5633 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 break 2
5635 fi
5636 done
5637 done
5638
5639 fi
5640 fi
5641 STRIP=$ac_cv_prog_STRIP
5642 if testscip-shell system . . test. -n "$STRIP"; then
5643 echoscip-shell system . . echo. "$as_me:$LINENO: result: $STRIP" >&5
5644 echoscip-shell system . . echo. "${ECHO_T}$STRIP" >&6
5645 else
5646 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
5647 echoscip-shell system . . echo. "${ECHO_T}no" >&6
5648 fi
5649
5650 fi
5651 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
5652 ac_ct_STRIP=$STRIP
5653 # Extract the first word of "strip", so it can be a program name with args.
5654 set dummy strip; ac_word=$2
5655 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
5656 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5657 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5658 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5659 else
5660 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
5661 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5662 else
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5664 for as_dir in $PATH
5665 do
5666 IFS=$as_save_IFS
5667 testscip-shell system . . test. -z "$as_dir" && as_dir=.
5668 for ac_exec_ext in '' $ac_executable_extensions; do
5669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5670 ac_cv_prog_ac_ct_STRIP="strip"
5671 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 break 2
5673 fi
5674 done
5675 done
5676
5677 testscip-shell system . . test. -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5678 fi
5679 fi
5680 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5681 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
5682 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5683 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_STRIP" >&6
5684 else
5685 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
5686 echoscip-shell system . . echo. "${ECHO_T}no" >&6
5687 fi
5688
5689 STRIP=$ac_ct_STRIP
5690 else
5691 STRIP="$ac_cv_prog_STRIP"
5692 fi
5693
5694
5695 old_CC="$CC"
5696 old_CFLAGS="$CFLAGS"
5697
5698 # Set sane defaults for various variables
5699 testscip-shell system . . test. -z "$AR" && AR=ar
5700 testscip-shell system . . test. -z "$AR_FLAGS" && AR_FLAGS=cru
5701 testscip-shell system . . test. -z "$AS" && AS=as
5702 testscip-shell system . . test. -z "$CC" && CC=cc
5703 testscip-shell system . . test. -z "$LTCC" && LTCC=$CC
5704 testscip-shell system . . test. -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
5705 testscip-shell system . . test. -z "$DLLTOOL" && DLLTOOL=dlltool
5706 testscip-shell system . . test. -z "$LD" && LD=ld
5707 testscip-shell system . . test. -z "$LN_S" && LN_S="ln -s"
5708 testscip-shell system . . test. -z "$MAGIC_CMD" && MAGIC_CMD=file
5709 testscip-shell system . . test. -z "$NM" && NM=nm
5710 testscip-shell system . . test. -z "$SED" && SED=sed
5711 testscip-shell system . . test. -z "$OBJDUMP" && OBJDUMP=objdump
5712 testscip-shell system . . test. -z "$RANLIB" && RANLIB=:
5713 testscip-shell system . . test. -z "$STRIP" && STRIP=:
5714 testscip-shell system . . test. -z "$ac_objext" && ac_objext=o
5715
5716 # Determine commands to create old-style static archives.
5717 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5718 old_postinstall_cmds='chmod 644 $oldlib'
5719 old_postuninstall_cmds=
5720
5721 if testscip-shell system . . test. -n "$RANLIB"; then
5722 case $host_os in
5723 openbsd*)
5724 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5725 ;;
5726 *)
5727 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5728 ;;
5729 esac
5730 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5731 fi
5732
5733 for cc_temp in $compiler""; do
5734 case $cc_temp in
5735 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5736 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5737 \-*) ;;
5738 *) break;;
5739 esac
5740 done
5741 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5742
5743
5744 # Only perform the check for file, if the check method requires it
5745 case $deplibs_check_method in
5746 file_magic*)
5747 if testscip-shell system . . test. "$file_magic_cmd" = '$MAGIC_CMD'; then
5748 echoscip-shell system . . echo. "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5749 echoscip-shell system . . echo. $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5750 if testscip-shell system . . test. "${lt_cv_path_MAGIC_CMD+set}" = set; then
5751 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5752 else
5753 case $MAGIC_CMD in
5754 [\\/*] | ?:[\\/]*)
5755 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5756 ;;
5757 *)
5758 lt_save_MAGIC_CMD="$MAGIC_CMD"
5759 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5760 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5761 for ac_dir in $ac_dummy; do
5762 IFS="$lt_save_ifs"
5763 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
5764 if testscip-shell system . . test. -f $ac_dir/${ac_tool_prefix}file; then
5765 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5766 if testscip-shell system . . test. -n "$file_magic_test_file"; then
5767 case $deplibs_check_method in
5768 "file_magic "*)
5769 file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"`
5770 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5771 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. |
5772 $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then
5773 :
5774 else
5775 catscip-shell system . . cat. <<EOF 1>&2
5776
5777 *** Warning: the command libtool uses to detect shared libraries,
5778 *** $file_magic_cmd, produces output that libtool cannot recognize.
5779 *** The result is that libtool may fail to recognize shared libraries
5780 *** as such. This will affect the creation of libtool libraries that
5781 *** depend on shared libraries, but programs linked with such libtool
5782 *** libraries will work regardless of this problem. Nevertheless, you
5783 *** may want to report the problem to your system manager and/or to
5784 *** [email protected]
5785
5786 EOF
5787 fi ;;
5788 esac
5789 fi
5790 break
5791 fi
5792 done
5793 IFS="$lt_save_ifs"
5794 MAGIC_CMD="$lt_save_MAGIC_CMD"
5795 ;;
5796 esac
5797 fi
5798
5799 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5800 if testscip-shell system . . test. -n "$MAGIC_CMD"; then
5801 echoscip-shell system . . echo. "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5802 echoscip-shell system . . echo. "${ECHO_T}$MAGIC_CMD" >&6
5803 else
5804 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
5805 echoscip-shell system . . echo. "${ECHO_T}no" >&6
5806 fi
5807
5808 if testscip-shell system . . test. -z "$lt_cv_path_MAGIC_CMD"; then
5809 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5810 echoscip-shell system . . echo. "$as_me:$LINENO: checking for file" >&5
5811 echoscip-shell system . . echo. $ECHO_N "checking for file... $ECHO_C" >&6
5812 if testscip-shell system . . test. "${lt_cv_path_MAGIC_CMD+set}" = set; then
5813 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5814 else
5815 case $MAGIC_CMD in
5816 [\\/*] | ?:[\\/]*)
5817 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5818 ;;
5819 *)
5820 lt_save_MAGIC_CMD="$MAGIC_CMD"
5821 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5822 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5823 for ac_dir in $ac_dummy; do
5824 IFS="$lt_save_ifs"
5825 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
5826 if testscip-shell system . . test. -f $ac_dir/file; then
5827 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5828 if testscip-shell system . . test. -n "$file_magic_test_file"; then
5829 case $deplibs_check_method in
5830 "file_magic "*)
5831 file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"`
5832 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5833 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. |
5834 $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then
5835 :
5836 else
5837 catscip-shell system . . cat. <<EOF 1>&2
5838
5839 *** Warning: the command libtool uses to detect shared libraries,
5840 *** $file_magic_cmd, produces output that libtool cannot recognize.
5841 *** The result is that libtool may fail to recognize shared libraries
5842 *** as such. This will affect the creation of libtool libraries that
5843 *** depend on shared libraries, but programs linked with such libtool
5844 *** libraries will work regardless of this problem. Nevertheless, you
5845 *** may want to report the problem to your system manager and/or to
5846 *** [email protected]
5847
5848 EOF
5849 fi ;;
5850 esac
5851 fi
5852 break
5853 fi
5854 done
5855 IFS="$lt_save_ifs"
5856 MAGIC_CMD="$lt_save_MAGIC_CMD"
5857 ;;
5858 esac
5859 fi
5860
5861 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5862 if testscip-shell system . . test. -n "$MAGIC_CMD"; then
5863 echoscip-shell system . . echo. "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5864 echoscip-shell system . . echo. "${ECHO_T}$MAGIC_CMD" >&6
5865 else
5866 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
5867 echoscip-shell system . . echo. "${ECHO_T}no" >&6
5868 fi
5869
5870 else
5871 MAGIC_CMD=:
5872 fi
5873 fi
5874
5875 fi
5876 ;;
5877 esac
5878
5879 enable_dlopen=no
5880 enable_win32_dll=yes
5881
5882 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5883 if testscip-shell system . . test. "${enable_libtool_lock+set}" = set; then
5884 enableval="$enable_libtool_lock"
5885
5886 fi;
5887 testscip-shell system . . test. "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5888
5889
5890 # Check whether --with-pic or --without-pic was given.
5891 if testscip-shell system . . test. "${with_pic+set}" = set; then
5892 withval="$with_pic"
5893 pic_mode="$withval"
5894 else
5895 pic_mode=default
5896 fi;
5897 testscip-shell system . . test. -z "$pic_mode" && pic_mode=default
5898
5899 # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
5900 #
5901 # Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
5902 # We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
5903 # calls AC_LIBTOOL_CONFIG and creates libtool.
5904 #
5905 echoscip-shell system . . echo. "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
5906 echoscip-shell system . . echo. $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6
5907 if testscip-shell system . . test. "x$ltmain" = "x" ; then
5908 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
5909 echoscip-shell system . . echo. "${ECHO_T}no" >&6
5910 { { echoscip-shell system . . echo. "$as_me:$LINENO: error:
5911
5912 *** [Gentoo] sanity check failed! ***
5913 *** \$ltmain is not defined, please check the patch for consistency! ***
5914 " >&5
5915 echoscip-shell system . . echo. "$as_me: error:
5916
5917 *** [Gentoo] sanity check failed! ***
5918 *** \$ltmain is not defined, please check the patch for consistency! ***
5919 " >&2;}
5920 { (exit 1); exit 1; }; }
5921 fi
5922 gentoo_lt_version="1.5.22"
5923 gentoo_ltmain_version=`sedscip-shell system . . sed. -n '/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}scip-shell filesystem . . `/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}`.' "$ltmain"`
5924 if testscip-shell system . . test. "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
5925 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
5926 echoscip-shell system . . echo. "${ECHO_T}no" >&6
5927 { { echoscip-shell system . . echo. "$as_me:$LINENO: error:
5928
5929 *** [Gentoo] sanity check failed! ***
5930 *** libtool.m4 and ltmain.sh have a version mismatch! ***
5931 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
5932
5933 Please run:
5934
5935 libtoolize --copy --force
5936
5937 if appropriate, please contact the maintainer of this
5938 package (or your distribution) for help.
5939 " >&5
5940 echoscip-shell system . . echo. "$as_me: error:
5941
5942 *** [Gentoo] sanity check failed! ***
5943 *** libtool.m4 and ltmain.sh have a version mismatch! ***
5944 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
5945
5946 Please run:
5947
5948 libtoolize --copy --force
5949
5950 if appropriate, please contact the maintainer of this
5951 package (or your distribution) for help.
5952 " >&2;}
5953 { (exit 1); exit 1; }; }
5954 else
5955 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes" >&5
5956 echoscip-shell system . . echo. "${ECHO_T}yes" >&6
5957 fi
5958
5959
5960 # Use C for the default configuration in the libtool script
5961 tagname=
5962 lt_save_CC="$CC"
5963 ac_ext=c
5964 ac_cpp='$CPP $CPPFLAGS'
5965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5968
5969
5970 # Source file extension for C test sources.
5971 ac_ext=c
5972
5973 # Object file extension for compiled C test sources.
5974 objext=o
5975 objext=$objext
5976
5977 # Code to be used in simple compile tests
5978 lt_simple_compile_test_code="int some_variable = 0;\n"
5979
5980 # Code to be used in simple link tests
5981 lt_simple_link_test_code='int main(){return(0);}\n'
5982
5983
5984 # If no C compiler was specified, use CC.
5985 LTCC=${LTCC-"$CC"}
5986
5987 # If no C compiler flags were specified, use CFLAGS.
5988 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5989
5990 # Allow CC to be a program name with arguments.
5991 compiler=$CC
5992
5993
5994 # save warnings/boilerplate of simple test code
5995 ac_outfile=conftest.$ac_objext
5996 printfscip-shell system . . printf. "$lt_simple_compile_test_code" >conftest.$ac_ext
5997 eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
5998 _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err`
5999 $rm conftest*
6000
6001 ac_outfile=conftest.$ac_objext
6002 printfscip-shell system . . printf. "$lt_simple_link_test_code" >conftest.$ac_ext
6003 eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
6004 _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err`
6005 $rm conftest*
6006
6007
6008
6009 lt_prog_compiler_no_builtin_flag=
6010
6011 if testscip-shell system . . test. "$GCC" = yes; then
6012 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6013
6014
6015 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6016 echoscip-shell system . . echo. $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6017 if testscip-shell system . . test. "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6018 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
6019 else
6020 lt_cv_prog_compiler_rtti_exceptions=no
6021 ac_outfile=conftest.$ac_objext
6022 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
6023 lt_compiler_flag="-fno-rtti -fno-exceptions"
6024 # Insert the option either (1) after the last *FLAGS variable, or
6025 # (2) before a word containing "conftest.", or (3) at the end.
6026 # Note that $ac_compile itself does not contain backslashes and begins
6027 # with a dollar sign (not a hyphen), so the echo should work correctly.
6028 # The option is referenced via a variable to avoid confusing sed.
6029 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
6030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6032 -e 's:$: $lt_compiler_flag:'`
6033 (eval echo "\"\$as_me:6033: $lt_compile\"" >&5)
6034 (eval "$lt_compile" 2>conftest.err)
6035 ac_status=$?
6036 catscip-shell system . . cat. conftest.err >&5
6037 echoscip-shell system . . echo. "$as_me:6037: \$? = $ac_status" >&5
6038 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
6039 # The compiler can only warn and ignore the option if not recognized
6040 # So say no if there are warnings other than the usual output.
6041 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
6042 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
6043 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
6044 lt_cv_prog_compiler_rtti_exceptions=yes
6045 fi
6046 fi
6047 $rm conftest*
6048
6049 fi
6050 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6051 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6052
6053 if testscip-shell system . . test. x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6054 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6055 else
6056 :
6057 fi
6058
6059 fi
6060
6061 lt_prog_compiler_wl=
6062 lt_prog_compiler_pic=
6063 lt_prog_compiler_static=
6064
6065 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6066 echoscip-shell system . . echo. $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6067
6068 if testscip-shell system . . test. "$GCC" = yes; then
6069 lt_prog_compiler_wl='-Wl,'
6070 lt_prog_compiler_static='-static'
6071
6072 case $host_os in
6073 aix*)
6074 # All AIX code is PIC.
6075 if testscip-shell system . . test. "$host_cpu" = ia64; then
6076 # AIX 5 now supports IA64 processor
6077 lt_prog_compiler_static='-Bstatic'
6078 fi
6079 ;;
6080
6081 amigaos*)
6082 # FIXME: we need at least 68020 code to build shared libraries, but
6083 # adding the `-m68020' flag to GCC prevents building anything better,
6084 # like `-m68040'.
6085 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6086 ;;
6087
6088 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6089 # PIC is the default for these OSes.
6090 ;;
6091
6092 mingw* | pw32* | os2*)
6093 # This hack is so that the source file can tell whether it is being
6094 # built for inclusion in a dll (and should export symbols for example).
6095 lt_prog_compiler_pic='-DDLL_EXPORT'
6096 ;;
6097
6098 darwin* | rhapsody*)
6099 # PIC is the default on this platform
6100 # Common symbols not allowed in MH_DYLIB files
6101 lt_prog_compiler_pic='-fno-common'
6102 ;;
6103
6104 interix3*)
6105 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6106 # Instead, we relocate shared libraries at runtime.
6107 ;;
6108
6109 msdosdjgpp*)
6110 # Just because we use GCC doesn't mean we suddenly get shared libraries
6111 # on systems that don't support them.
6112 lt_prog_compiler_can_build_shared=no
6113 enable_shared=no
6114 ;;
6115
6116 sysv4*MP*)
6117 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
6118 lt_prog_compiler_pic=-Kconform_pic
6119 fi
6120 ;;
6121
6122 hpux*)
6123 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6124 # not for PA HP-UX.
6125 case $host_cpu in
6126 hppa*64*|ia64*)
6127 # +Z the default
6128 ;;
6129 *)
6130 lt_prog_compiler_pic='-fPIC'
6131 ;;
6132 esac
6133 ;;
6134
6135 *)
6136 lt_prog_compiler_pic='-fPIC'
6137 ;;
6138 esac
6139 else
6140 # PORTME Check for flag to pass linker flags through the system compiler.
6141 case $host_os in
6142 aix*)
6143 lt_prog_compiler_wl='-Wl,'
6144 if testscip-shell system . . test. "$host_cpu" = ia64; then
6145 # AIX 5 now supports IA64 processor
6146 lt_prog_compiler_static='-Bstatic'
6147 else
6148 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6149 fi
6150 ;;
6151 darwin*)
6152 # PIC is the default on this platform
6153 # Common symbols not allowed in MH_DYLIB files
6154 case $cc_basename in
6155 xlc*)
6156 lt_prog_compiler_pic='-qnocommon'
6157 lt_prog_compiler_wl='-Wl,'
6158 ;;
6159 esac
6160 ;;
6161
6162 mingw* | pw32* | os2*)
6163 # This hack is so that the source file can tell whether it is being
6164 # built for inclusion in a dll (and should export symbols for example).
6165 lt_prog_compiler_pic='-DDLL_EXPORT'
6166 ;;
6167
6168 hpux9* | hpux10* | hpux11*)
6169 lt_prog_compiler_wl='-Wl,'
6170 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6171 # not for PA HP-UX.
6172 case $host_cpu in
6173 hppa*64*|ia64*)
6174 # +Z the default
6175 ;;
6176 *)
6177 lt_prog_compiler_pic='+Z'
6178 ;;
6179 esac
6180 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6181 lt_prog_compiler_static='${wl}-a ${wl}archive'
6182 ;;
6183
6184 irix5* | irix6* | nonstopux*)
6185 lt_prog_compiler_wl='-Wl,'
6186 # PIC (with -KPIC) is the default.
6187 lt_prog_compiler_static='-non_shared'
6188 ;;
6189
6190 newsos6)
6191 lt_prog_compiler_pic='-KPIC'
6192 lt_prog_compiler_static='-Bstatic'
6193 ;;
6194
6195 linux*)
6196 case $cc_basename in
6197 icc* | ecc*)
6198 lt_prog_compiler_wl='-Wl,'
6199 lt_prog_compiler_pic='-KPIC'
6200 lt_prog_compiler_static='-static'
6201 ;;
6202 pgcc* | pgf77* | pgf90* | pgf95*)
6203 # Portland Group compilers (*not* the Pentium gcc compiler,
6204 # which looks to be a dead project)
6205 lt_prog_compiler_wl='-Wl,'
6206 lt_prog_compiler_pic='-fpic'
6207 lt_prog_compiler_static='-Bstatic'
6208 ;;
6209 ccc*)
6210 lt_prog_compiler_wl='-Wl,'
6211 # All Alpha code is PIC.
6212 lt_prog_compiler_static='-non_shared'
6213 ;;
6214 esac
6215 ;;
6216
6217 osf3* | osf4* | osf5*)
6218 lt_prog_compiler_wl='-Wl,'
6219 # All OSF/1 code is PIC.
6220 lt_prog_compiler_static='-non_shared'
6221 ;;
6222
6223 solaris*)
6224 lt_prog_compiler_pic='-KPIC'
6225 lt_prog_compiler_static='-Bstatic'
6226 case $cc_basename in
6227 f77* | f90* | f95*)
6228 lt_prog_compiler_wl='-Qoption ld ';;
6229 *)
6230 lt_prog_compiler_wl='-Wl,';;
6231 esac
6232 ;;
6233
6234 sunos4*)
6235 lt_prog_compiler_wl='-Qoption ld '
6236 lt_prog_compiler_pic='-PIC'
6237 lt_prog_compiler_static='-Bstatic'
6238 ;;
6239
6240 sysv4 | sysv4.2uw2* | sysv4.3*)
6241 lt_prog_compiler_wl='-Wl,'
6242 lt_prog_compiler_pic='-KPIC'
6243 lt_prog_compiler_static='-Bstatic'
6244 ;;
6245
6246 sysv4*MP*)
6247 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`. ;then
6248 lt_prog_compiler_pic='-Kconform_pic'
6249 lt_prog_compiler_static='-Bstatic'
6250 fi
6251 ;;
6252
6253 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6254 lt_prog_compiler_wl='-Wl,'
6255 lt_prog_compiler_pic='-KPIC'
6256 lt_prog_compiler_static='-Bstatic'
6257 ;;
6258
6259 unicos*)
6260 lt_prog_compiler_wl='-Wl,'
6261 lt_prog_compiler_can_build_shared=no
6262 ;;
6263
6264 uts4*)
6265 lt_prog_compiler_pic='-pic'
6266 lt_prog_compiler_static='-Bstatic'
6267 ;;
6268
6269 *)
6270 lt_prog_compiler_can_build_shared=no
6271 ;;
6272 esac
6273 fi
6274
6275 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6276 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_pic" >&6
6277
6278 #
6279 # Check to make sure the PIC flag actually works.
6280 #
6281 if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then
6282
6283 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6284 echoscip-shell system . . echo. $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6285 if testscip-shell system . . test. "${lt_prog_compiler_pic_works+set}" = set; then
6286 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
6287 else
6288 lt_prog_compiler_pic_works=no
6289 ac_outfile=conftest.$ac_objext
6290 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
6291 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6292 # Insert the option either (1) after the last *FLAGS variable, or
6293 # (2) before a word containing "conftest.", or (3) at the end.
6294 # Note that $ac_compile itself does not contain backslashes and begins
6295 # with a dollar sign (not a hyphen), so the echo should work correctly.
6296 # The option is referenced via a variable to avoid confusing sed.
6297 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
6298 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6299 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6300 -e 's:$: $lt_compiler_flag:'`
6301 (eval echo "\"\$as_me:6301: $lt_compile\"" >&5)
6302 (eval "$lt_compile" 2>conftest.err)
6303 ac_status=$?
6304 catscip-shell system . . cat. conftest.err >&5
6305 echoscip-shell system . . echo. "$as_me:6305: \$? = $ac_status" >&5
6306 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
6307 # The compiler can only warn and ignore the option if not recognized
6308 # So say no if there are warnings other than the usual output.
6309 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
6310 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
6311 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
6312 lt_prog_compiler_pic_works=yes
6313 fi
6314 fi
6315 $rm conftest*
6316
6317 fi
6318 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6319 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6320
6321 if testscip-shell system . . test. x"$lt_prog_compiler_pic_works" = xyes; then
6322 case $lt_prog_compiler_pic in
6323 "" | " "*) ;;
6324 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6325 esac
6326 else
6327 lt_prog_compiler_pic=
6328 lt_prog_compiler_can_build_shared=no
6329 fi
6330
6331 fi
6332 case $host_os in
6333 # For platforms which do not support PIC, -DPIC is meaningless:
6334 *djgpp*)
6335 lt_prog_compiler_pic=
6336 ;;
6337 *)
6338 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6339 ;;
6340 esac
6341
6342 #
6343 # Check to make sure the static flag actually works.
6344 #
6345 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6346 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6347 echoscip-shell system . . echo. $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6348 if testscip-shell system . . test. "${lt_prog_compiler_static_works+set}" = set; then
6349 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
6350 else
6351 lt_prog_compiler_static_works=no
6352 save_LDFLAGS="$LDFLAGS"
6353 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6354 printfscip-shell system . . printf. "$lt_simple_link_test_code" > conftest.$ac_ext
6355 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
6356 # The linker can only warn and ignore the option if not recognized
6357 # So say no if there are warnings
6358 if testscip-shell system . . test. -s conftest.err; then
6359 # Append any errors to the config.log.
6360 catscip-shell system . . cat. conftest.err 1>&5
6361 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
6362 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
6363 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
6364 lt_prog_compiler_static_works=yes
6365 fi
6366 else
6367 lt_prog_compiler_static_works=yes
6368 fi
6369 fi
6370 $rm conftest*
6371 LDFLAGS="$save_LDFLAGS"
6372
6373 fi
6374 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6375 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_static_works" >&6
6376
6377 if testscip-shell system . . test. x"$lt_prog_compiler_static_works" = xyes; then
6378 :
6379 else
6380 lt_prog_compiler_static=
6381 fi
6382
6383
6384 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6385 echoscip-shell system . . echo. $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6386 if testscip-shell system . . test. "${lt_cv_prog_compiler_c_o+set}" = set; then
6387 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
6388 else
6389 lt_cv_prog_compiler_c_o=no
6390 $rm -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
6391 mkdirscip-shell system . . mkdir. conftest
6392 cd conftest
6393 mkdirscip-shell system . . mkdir. out
6394 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
6395
6396 lt_compiler_flag="-o out/conftest2.$ac_objext"
6397 # Insert the option either (1) after the last *FLAGS variable, or
6398 # (2) before a word containing "conftest.", or (3) at the end.
6399 # Note that $ac_compile itself does not contain backslashes and begins
6400 # with a dollar sign (not a hyphen), so the echo should work correctly.
6401 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
6402 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6403 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6404 -e 's:$: $lt_compiler_flag:'`
6405 (eval echo "\"\$as_me:6405: $lt_compile\"" >&5)
6406 (eval "$lt_compile" 2>out/conftest.err)
6407 ac_status=$?
6408 catscip-shell system . . cat. out/conftest.err >&5
6409 echoscip-shell system . . echo. "$as_me:6409: \$? = $ac_status" >&5
6410 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
6411 then
6412 # The compiler can only warn and ignore the option if not recognized
6413 # So say no if there are warnings
6414 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
6415 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
6416 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
6417 lt_cv_prog_compiler_c_o=yes
6418 fi
6419 fi
6420 chmodscip-shell system . . chmod. u+w . 2>&5
6421 $rm conftest*
6422 # SGI C++ compiler will create directory out/ii_files/ for
6423 # template instantiation
6424 testscip-shell system . . test. -d out/ii_files && $rm out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
6425 $rm out/* && rmdirscip-shell system . . rmdir. out
6426 cd ..
6427 rmdirscip-shell system . . rmdir. conftest
6428 $rm conftest*
6429
6430 fi
6431 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6432 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6433
6434
6435 hard_links="nottested"
6436 if testscip-shell system . . test. "$lt_cv_prog_compiler_c_o" = no && testscip-shell system . . test. "$need_locks" != no; then
6437 # do not overwrite the value of need_locks provided by the user
6438 echoscip-shell system . . echo. "$as_me:$LINENO: checking if we can lock with hard links" >&5
6439 echoscip-shell system . . echo. $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6440 hard_links=yes
6441 $rm conftest*
6442 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
6443 touchscip-shell system . . touch. conftest.a
6444 lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no
6445 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
6446 echoscip-shell system . . echo. "$as_me:$LINENO: result: $hard_links" >&5
6447 echoscip-shell system . . echo. "${ECHO_T}$hard_links" >&6
6448 if testscip-shell system . . test. "$hard_links" = no; then
6449 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6450 echoscip-shell system . . echo. "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6451 need_locks=warn
6452 fi
6453 else
6454 need_locks=no
6455 fi
6456
6457 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6458 echoscip-shell system . . echo. $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6459
6460 runpath_var=
6461 allow_undefined_flag=
6462 enable_shared_with_static_runtimes=no
6463 archive_cmds=
6464 archive_expsym_cmds=
6465 old_archive_From_new_cmds=
6466 old_archive_from_expsyms_cmds=
6467 export_dynamic_flag_spec=
6468 whole_archive_flag_spec=
6469 thread_safe_flag_spec=
6470 hardcode_libdir_flag_spec=
6471 hardcode_libdir_flag_spec_ld=
6472 hardcode_libdir_separator=
6473 hardcode_direct=no
6474 hardcode_minus_L=no
6475 hardcode_shlibpath_var=unsupported
6476 link_all_deplibs=unknown
6477 hardcode_automatic=no
6478 module_cmds=
6479 module_expsym_cmds=
6480 always_export_symbols=no
6481 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6482 # include_expsyms should be a list of space-separated symbols to be *always*
6483 # included in the symbol list
6484 include_expsyms=
6485 # exclude_expsyms can be an extended regexp of symbols to exclude
6486 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6487 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6488 # as well as any symbol that contains `d'.
6489 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6490 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6491 # platforms (ab)use it in PIC code, but their linkers get confused if
6492 # the symbol is explicitly referenced. Since portable code cannot
6493 # rely on this symbol name, it's probably fine to never include it in
6494 # preloaded symbol tables.
6495 extract_expsyms_cmds=
6496 # Just being paranoid about ensuring that cc_basename is set.
6497 for cc_temp in $compiler""; do
6498 case $cc_temp in
6499 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6500 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6501 \-*) ;;
6502 *) break;;
6503 esac
6504 done
6505 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6506
6507 case $host_os in
6508 cygwin* | mingw* | pw32*)
6509 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6510 # When not using gcc, we currently assume that we are using
6511 # Microsoft Visual C++.
6512 if testscip-shell system . . test. "$GCC" != yes; then
6513 with_gnu_ld=no
6514 fi
6515 ;;
6516 interix*)
6517 # we just hope/assume this is gcc and not c89 (= MSVC++)
6518 with_gnu_ld=yes
6519 ;;
6520 openbsd*)
6521 with_gnu_ld=no
6522 ;;
6523 esac
6524
6525 ld_shlibs=yes
6526 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
6527 # If archive_cmds runs LD, not CC, wlarc should be empty
6528 wlarc='${wl}'
6529
6530 # Set some defaults for GNU ld with shared library support. These
6531 # are reset later if shared libraries are not supported. Putting them
6532 # here allows them to be overridden if necessary.
6533 runpath_var=LD_RUN_PATH
6534 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6535 export_dynamic_flag_spec='${wl}--export-dynamic'
6536 # ancient GNU ld didn't support --whole-archive et. al.
6537 if $LD --help 2>&1 | grepscip-shell system . . grep. 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
6538 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6539 else
6540 whole_archive_flag_spec=
6541 fi
6542 supports_anon_versioning=no
6543 case `$LD -v 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
6544 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6545 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6546 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6547 *\ 2.11.*) ;; # other 2.11 versions
6548 *) supports_anon_versioning=yes ;;
6549 esac
6550
6551 # See if GNU ld supports shared libraries.
6552 case $host_os in
6553 aix3* | aix4* | aix5*)
6554 # On AIX/PPC, the GNU linker is very broken
6555 if testscip-shell system . . test. "$host_cpu" != ia64; then
6556 ld_shlibs=no
6557 catscip-shell system . . cat. <<EOF 1>&2
6558
6559 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6560 *** to be unable to reliably create shared libraries on AIX.
6561 *** Therefore, libtool is disabling shared libraries support. If you
6562 *** really care for shared libraries, you may want to modify your PATH
6563 *** so that a non-GNU linker is found, and then restart.
6564
6565 EOF
6566 fi
6567 ;;
6568
6569 amigaos*)
6570 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)'
6571 hardcode_libdir_flag_spec='-L$libdir'
6572 hardcode_minus_L=yes
6573
6574 # Samuel A. Falvo II <[email protected]> reports
6575 # that the semantics of dynamic libraries on AmigaOS, at least up
6576 # to version 4, is to share data among multiple programs linked
6577 # with the same dynamic library. Since this doesn't match the
6578 # behavior of shared libraries on other platforms, we can't use
6579 # them.
6580 ld_shlibs=no
6581 ;;
6582
6583 beos*)
6584 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
6585 allow_undefined_flag=unsupported
6586 # Joseph Beckenbach <[email protected]> says some releases of gcc
6587 # support --undefined. This deserves some investigation. FIXME
6588 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6589 else
6590 ld_shlibs=no
6591 fi
6592 ;;
6593
6594 cygwin* | mingw* | pw32*)
6595 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6596 # as there is no search path for DLLs.
6597 hardcode_libdir_flag_spec='-L$libdir'
6598 allow_undefined_flag=unsupported
6599 always_export_symbols=no
6600 enable_shared_with_static_runtimes=yes
6601 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6602
6603 if $LD --help 2>&1 | grepscip-shell system . . grep. 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
6604 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6605 # If the export-symbols file already is a .def file (1st line
6606 # is EXPORTS), use it as is; otherwise, prepend...
6607 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6608 cp $export_symbols $output_objdir/$soname.def;
6609 else
6610 echo EXPORTS > $output_objdir/$soname.def;
6611 cat $export_symbols >> $output_objdir/$soname.def;
6612 fi~
6613 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6614 else
6615 ld_shlibs=no
6616 fi
6617 ;;
6618
6619 interix3*)
6620 hardcode_direct=no
6621 hardcode_shlibpath_var=no
6622 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6623 export_dynamic_flag_spec='${wl}-E'
6624 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6625 # Instead, shared libraries are loaded at an image base (0x10000000 by
6626 # default) and relocated if they conflict, which is a slow very memory
6627 # consuming and fragmenting process. To avoid this, we pick a random,
6628 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6629 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6630 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6631 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'
6632 ;;
6633
6634 linux*)
6635 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
6636 tmp_addflag=
6637 case $cc_basename,$host_cpu in
6638 pgcc*) # Portland Group C compiler
6639 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6640 tmp_addflag=' $pic_flag'
6641 ;;
6642 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6643 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6644 tmp_addflag=' $pic_flag -Mnomain' ;;
6645 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6646 tmp_addflag=' -i_dynamic' ;;
6647 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6648 tmp_addflag=' -i_dynamic -nofor_main' ;;
6649 ifc* | ifort*) # Intel Fortran compiler
6650 tmp_addflag=' -nofor_main' ;;
6651 esac
6652 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6653
6654 if testscip-shell system . . test. $supports_anon_versioning = yes; then
6655 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6656 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6657 $echo "local: *; };" >> $output_objdir/$libname.ver~
6658 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6659 fi
6660 else
6661 ld_shlibs=no
6662 fi
6663 ;;
6664
6665 netbsd*)
6666 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
6667 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6668 wlarc=
6669 else
6670 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6671 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6672 fi
6673 ;;
6674
6675 solaris*)
6676 if $LD -v 2>&1 | grepscip-shell system . . grep. 'BFD 2\.8' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
6677 ld_shlibs=no
6678 catscip-shell system . . cat. <<EOF 1>&2
6679
6680 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6681 *** create shared libraries on Solaris systems. Therefore, libtool
6682 *** is disabling shared libraries support. We urge you to upgrade GNU
6683 *** binutils to release 2.9.1 or newer. Another option is to modify
6684 *** your PATH or compiler configuration so that the native linker is
6685 *** used, and then restart.
6686
6687 EOF
6688 elif $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
6689 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6690 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6691 else
6692 ld_shlibs=no
6693 fi
6694 ;;
6695
6696 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
6697 case `$LD -v 2>&1` in
6698 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
6699 ld_shlibs=no
6700 catscip-shell system . . cat. <<_LT_EOF 1>&2
6701
6702 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
6703 *** reliably create shared libraries on SCO systems. Therefore, libtool
6704 *** is disabling shared libraries support. We urge you to upgrade GNU
6705 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
6706 *** your PATH or compiler configuration so that the native linker is
6707 *** used, and then restart.
6708
6709 _LT_EOF
6710 ;;
6711 *)
6712 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
6713 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
6714 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
6715 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
6716 else
6717 ld_shlibs=no
6718 fi
6719 ;;
6720 esac
6721 ;;
6722
6723 sunos4*)
6724 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6725 wlarc=
6726 hardcode_direct=yes
6727 hardcode_shlibpath_var=no
6728 ;;
6729
6730 *)
6731 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
6732 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6733 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6734 else
6735 ld_shlibs=no
6736 fi
6737 ;;
6738 esac
6739
6740 if testscip-shell system . . test. "$ld_shlibs" = no; then
6741 runpath_var=
6742 hardcode_libdir_flag_spec=
6743 export_dynamic_flag_spec=
6744 whole_archive_flag_spec=
6745 fi
6746 else
6747 # PORTME fill in a description of your system's linker (not GNU ld)
6748 case $host_os in
6749 aix3*)
6750 allow_undefined_flag=unsupported
6751 always_export_symbols=yes
6752 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'
6753 # Note: this linker hardcodes the directories in LIBPATH if there
6754 # are no directories specified by -L.
6755 hardcode_minus_L=yes
6756 if testscip-shell system . . test. "$GCC" = yes && testscip-shell system . . test. -z "$lt_prog_compiler_static"; then
6757 # Neither direct hardcoding nor static linking is supported with a
6758 # broken collect2.
6759 hardcode_direct=unsupported
6760 fi
6761 ;;
6762
6763 aix4* | aix5*)
6764 if testscip-shell system . . test. "$host_cpu" = ia64; then
6765 # On IA64, the linker does run time linking by default, so we don't
6766 # have to do anything special.
6767 aix_use_runtimelinking=no
6768 exp_sym_flag='-Bexport'
6769 no_entry_flag=""
6770 else
6771 # If we're using GNU nm, then we don't want the "-C" option.
6772 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6773 if $NM -V 2>&1 | grepscip-shell system . . grep. 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
6774 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
6775 else
6776 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
6777 fi
6778 aix_use_runtimelinking=no
6779
6780 # Test if we are trying to use run time linking or normal
6781 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6782 # need to do runtime linking.
6783 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6784 for ld_flag in $LDFLAGS; do
6785 if (testscip-shell system . . test. $ld_flag = "-brtl" || testscip-shell system . . test. $ld_flag = "-Wl,-brtl"); then
6786 aix_use_runtimelinking=yes
6787 break
6788 fi
6789 done
6790 ;;
6791 esac
6792
6793 exp_sym_flag='-bexport'
6794 no_entry_flag='-bnoentry'
6795 fi
6796
6797 # When large executables or shared objects are built, AIX ld can
6798 # have problems creating the table of contents. If linking a library
6799 # or program results in "error TOC overflow" add -mminimal-toc to
6800 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6801 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6802
6803 archive_cmds=''
6804 hardcode_direct=yes
6805 hardcode_libdir_separator=':'
6806 link_all_deplibs=yes
6807
6808 if testscip-shell system . . test. "$GCC" = yes; then
6809 case $host_os in aix4.[012]|aix4.[012].*)
6810 # We only want to do this on AIX 4.2 and lower, the check
6811 # below for broken collect2 doesn't work under 4.3+
6812 collect2name=`${CC} -print-prog-name=collect2`
6813 if testscip-shell system . . test. -f "$collect2name" && \
6814 strings "$collect2name" | grepscip-shell system . . grep. resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`.
6815 then
6816 # We have reworked collect2
6817 hardcode_direct=yes
6818 else
6819 # We have old collect2
6820 hardcode_direct=unsupported
6821 # It fails to find uninstalled libraries when the uninstalled
6822 # path is not listed in the libpath. Setting hardcode_minus_L
6823 # to unsupported forces relinking
6824 hardcode_minus_L=yes
6825 hardcode_libdir_flag_spec='-L$libdir'
6826 hardcode_libdir_separator=
6827 fi
6828 ;;
6829 esac
6830 shared_flag='-shared'
6831 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
6832 shared_flag="$shared_flag "'${wl}-G'
6833 fi
6834 else
6835 # not using gcc
6836 if testscip-shell system . . test. "$host_cpu" = ia64; then
6837 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6838 # chokes on -Wl,-G. The following line is correct:
6839 shared_flag='-G'
6840 else
6841 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
6842 shared_flag='${wl}-G'
6843 else
6844 shared_flag='${wl}-bM:SRE'
6845 fi
6846 fi
6847 fi
6848
6849 # It seems that -bexpall does not export symbols beginning with
6850 # underscore (_), so it is better to generate a list of symbols to export.
6851 always_export_symbols=yes
6852 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
6853 # Warning - without using the other runtime loading flags (-brtl),
6854 # -berok will link without error, but may produce a broken library.
6855 allow_undefined_flag='-berok'
6856 # Determine the default libpath from the value encoded in an empty executable.
6857 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
6858 /* confdefs.h. */
6859 _ACEOF
6860 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
6861 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
6862 /* end confdefs.h. */
6863
6864 int
6865 main ()
6866 {
6867
6868 ;
6869 return 0;
6870 }
6871 _ACEOF
6872 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
6873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6874 (eval $ac_link) 2>conftest.er1
6875 ac_status=$?
6876 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
6877 rmscip-shell system . . rm. -f conftest.er1
6878 catscip-shell system . . cat. conftest.err >&5
6879 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } &&
6881 { ac_try='test -z "$ac_c_werror_flag"
6882 || test ! -s conftest.err'
6883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884 (eval $ac_try) 2>&5
6885 ac_status=$?
6886 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); }; } &&
6888 { ac_try='test -s conftest$ac_exeext'
6889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6890 (eval $ac_try) 2>&5
6891 ac_status=$?
6892 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }; }; then
6894
6895 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6896 }'`
6897 # Check for a 64-bit object if we didn't find anything.
6898 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6899 }'`; fi
6900 else
6901 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
6902 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
6903
6904 fi
6905 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
6906 conftest$ac_exeext conftest.$ac_ext
6907 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath="/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`."; fi
6908
6909 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6910 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6911 else
6912 if testscip-shell system . . test. "$host_cpu" = ia64; then
6913 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6914 allow_undefined_flag="-z nodefs"
6915 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"
6916 else
6917 # Determine the default libpath from the value encoded in an empty executable.
6918 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
6919 /* confdefs.h. */
6920 _ACEOF
6921 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
6922 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
6923 /* end confdefs.h. */
6924
6925 int
6926 main ()
6927 {
6928
6929 ;
6930 return 0;
6931 }
6932 _ACEOF
6933 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
6934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6935 (eval $ac_link) 2>conftest.er1
6936 ac_status=$?
6937 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
6938 rmscip-shell system . . rm. -f conftest.er1
6939 catscip-shell system . . cat. conftest.err >&5
6940 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); } &&
6942 { ac_try='test -z "$ac_c_werror_flag"
6943 || test ! -s conftest.err'
6944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 (eval $ac_try) 2>&5
6946 ac_status=$?
6947 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); }; } &&
6949 { ac_try='test -s conftest$ac_exeext'
6950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6951 (eval $ac_try) 2>&5
6952 ac_status=$?
6953 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); }; }; then
6955
6956 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6957 }'`
6958 # Check for a 64-bit object if we didn't find anything.
6959 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6960 }'`; fi
6961 else
6962 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
6963 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
6964
6965 fi
6966 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
6967 conftest$ac_exeext conftest.$ac_ext
6968 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath="/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`."; fi
6969
6970 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6971 # Warning - without using the other run time loading flags,
6972 # -berok will link without error, but may produce a broken library.
6973 no_undefined_flag=' ${wl}-bernotok'
6974 allow_undefined_flag=' ${wl}-berok'
6975 # Exported symbols can be pulled into shared objects from archives
6976 whole_archive_flag_spec='$convenience'
6977 archive_cmds_need_lc=yes
6978 # This is similar to how AIX traditionally builds its shared libraries.
6979 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6980 fi
6981 fi
6982 ;;
6983
6984 amigaos*)
6985 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)'
6986 hardcode_libdir_flag_spec='-L$libdir'
6987 hardcode_minus_L=yes
6988 # see comment about different semantics on the GNU ld section
6989 ld_shlibs=no
6990 ;;
6991
6992 bsdi[45]*)
6993 export_dynamic_flag_spec=-rdynamic
6994 ;;
6995
6996 cygwin* | mingw* | pw32*)
6997 # When not using gcc, we currently assume that we are using
6998 # Microsoft Visual C++.
6999 # hardcode_libdir_flag_spec is actually meaningless, as there is
7000 # no search path for DLLs.
7001 hardcode_libdir_flag_spec=' '
7002 allow_undefined_flag=unsupported
7003 # Tell ltmain to make .lib files, not .a files.
7004 libext=lib
7005 # Tell ltmain to make .dll files, not .so files.
7006 shrext_cmds=".dll"
7007 # FIXME: Setting linknames here is a bad hack.
7008 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7009 # The linker will automatically build a .lib file if we build a DLL.
7010 old_archive_From_new_cmds='true'
7011 # FIXME: Should let the user specify the lib program.
7012 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7013 fix_srcfile_path='`cygpath -w "$srcfile"`'
7014 enable_shared_with_static_runtimes=yes
7015 ;;
7016
7017 darwin* | rhapsody*)
7018 case $host_os in
7019 rhapsody* | darwin1.[012])
7020 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7021 ;;
7022 *) # Darwin 1.3 on
7023 if testscip-shell system . . test. -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7024 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7025 else
7026 case ${MACOSX_DEPLOYMENT_TARGET} in
7027 10.[012])
7028 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7029 ;;
7030 10.*)
7031 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7032 ;;
7033 esac
7034 fi
7035 ;;
7036 esac
7037 archive_cmds_need_lc=no
7038 hardcode_direct=no
7039 hardcode_automatic=yes
7040 hardcode_shlibpath_var=unsupported
7041 whole_archive_flag_spec=''
7042 link_all_deplibs=yes
7043 if testscip-shell system . . test. "$GCC" = yes ; then
7044 output_verbose_link_cmd='echo'
7045 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7046 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7047 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7048 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7049 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7050 else
7051 case $cc_basename in
7052 xlc*)
7053 output_verbose_link_cmd='echo'
7054 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7055 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7056 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7057 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7058 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7059 ;;
7060 *)
7061 ld_shlibs=no
7062 ;;
7063 esac
7064 fi
7065 ;;
7066
7067 dgux*)
7068 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7069 hardcode_libdir_flag_spec='-L$libdir'
7070 hardcode_shlibpath_var=no
7071 ;;
7072
7073 freebsd1*)
7074 ld_shlibs=no
7075 ;;
7076
7077 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7078 # support. Future versions do this automatically, but an explicit c++rt0.o
7079 # does not break anything, and helps significantly (at the cost of a little
7080 # extra space).
7081 freebsd2.2*)
7082 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7083 hardcode_libdir_flag_spec='-R$libdir'
7084 hardcode_direct=yes
7085 hardcode_shlibpath_var=no
7086 ;;
7087
7088 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7089 freebsd2*)
7090 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7091 hardcode_direct=yes
7092 hardcode_minus_L=yes
7093 hardcode_shlibpath_var=no
7094 ;;
7095
7096 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7097 freebsd* | kfreebsd*-gnu | dragonfly*)
7098 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7099 hardcode_libdir_flag_spec='-R$libdir'
7100 hardcode_direct=yes
7101 hardcode_shlibpath_var=no
7102 ;;
7103
7104 hpux9*)
7105 if testscip-shell system . . test. "$GCC" = yes; then
7106 archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7107 else
7108 archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7109 fi
7110 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7111 hardcode_libdir_separator=:
7112 hardcode_direct=yes
7113
7114 # hardcode_minus_L: Not really in the search PATH,
7115 # but as the default location of the library.
7116 hardcode_minus_L=yes
7117 export_dynamic_flag_spec='${wl}-E'
7118 ;;
7119
7120 hpux10*)
7121 if testscip-shell system . . test. "$GCC" = yes -a "$with_gnu_ld" = no; then
7122 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7123 else
7124 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7125 fi
7126 if testscip-shell system . . test. "$with_gnu_ld" = no; then
7127 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7128 hardcode_libdir_separator=:
7129
7130 hardcode_direct=yes
7131 export_dynamic_flag_spec='${wl}-E'
7132
7133 # hardcode_minus_L: Not really in the search PATH,
7134 # but as the default location of the library.
7135 hardcode_minus_L=yes
7136 fi
7137 ;;
7138
7139 hpux11*)
7140 if testscip-shell system . . test. "$GCC" = yes -a "$with_gnu_ld" = no; then
7141 case $host_cpu in
7142 hppa*64*)
7143 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7144 ;;
7145 ia64*)
7146 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7147 ;;
7148 *)
7149 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7150 ;;
7151 esac
7152 else
7153 case $host_cpu in
7154 hppa*64*)
7155 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7156 ;;
7157 ia64*)
7158 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7159 ;;
7160 *)
7161 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7162 ;;
7163 esac
7164 fi
7165 if testscip-shell system . . test. "$with_gnu_ld" = no; then
7166 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7167 hardcode_libdir_separator=:
7168
7169 case $host_cpu in
7170 hppa*64*|ia64*)
7171 hardcode_libdir_flag_spec_ld='+b $libdir'
7172 hardcode_direct=no
7173 hardcode_shlibpath_var=no
7174 ;;
7175 *)
7176 hardcode_direct=yes
7177 export_dynamic_flag_spec='${wl}-E'
7178
7179 # hardcode_minus_L: Not really in the search PATH,
7180 # but as the default location of the library.
7181 hardcode_minus_L=yes
7182 ;;
7183 esac
7184 fi
7185 ;;
7186
7187 irix5* | irix6* | nonstopux*)
7188 if testscip-shell system . . test. "$GCC" = yes; then
7189 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7190 else
7191 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7192 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7193 fi
7194 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7195 hardcode_libdir_separator=:
7196 link_all_deplibs=yes
7197 ;;
7198
7199 netbsd*)
7200 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
7201 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7202 else
7203 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7204 fi
7205 hardcode_libdir_flag_spec='-R$libdir'
7206 hardcode_direct=yes
7207 hardcode_shlibpath_var=no
7208 ;;
7209
7210 newsos6)
7211 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7212 hardcode_direct=yes
7213 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7214 hardcode_libdir_separator=:
7215 hardcode_shlibpath_var=no
7216 ;;
7217
7218 openbsd*)
7219 hardcode_direct=yes
7220 hardcode_shlibpath_var=no
7221 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`" || testscip-shell system . . test. "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7222 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7223 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7224 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7225 export_dynamic_flag_spec='${wl}-E'
7226 else
7227 case $host_os in
7228 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7229 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7230 hardcode_libdir_flag_spec='-R$libdir'
7231 ;;
7232 *)
7233 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7234 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7235 ;;
7236 esac
7237 fi
7238 ;;
7239
7240 os2*)
7241 hardcode_libdir_flag_spec='-L$libdir'
7242 hardcode_minus_L=yes
7243 allow_undefined_flag=unsupported
7244 archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7245 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7246 ;;
7247
7248 osf3*)
7249 if testscip-shell system . . test. "$GCC" = yes; then
7250 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7251 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7252 else
7253 allow_undefined_flag=' -expect_unresolved \*'
7254 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7255 fi
7256 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7257 hardcode_libdir_separator=:
7258 ;;
7259
7260 osf4* | osf5*) # as osf3* with the addition of -msym flag
7261 if testscip-shell system . . test. "$GCC" = yes; then
7262 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7263 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7264 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7265 else
7266 allow_undefined_flag=' -expect_unresolved \*'
7267 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7268 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7269 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7270
7271 # Both c and cxx compiler support -rpath directly
7272 hardcode_libdir_flag_spec='-rpath $libdir'
7273 fi
7274 hardcode_libdir_separator=:
7275 ;;
7276
7277 solaris*)
7278 no_undefined_flag=' -z text'
7279 if testscip-shell system . . test. "$GCC" = yes; then
7280 wlarc='${wl}'
7281 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7282 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7283 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7284 else
7285 wlarc=''
7286 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7287 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7288 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7289 fi
7290 hardcode_libdir_flag_spec='-R$libdir'
7291 hardcode_shlibpath_var=no
7292 case $host_os in
7293 solaris2.[0-5] | solaris2.[0-5].*) ;;
7294 *)
7295 # The compiler driver will combine linker options so we
7296 # cannot just pass the convience library names through
7297 # without $wl, iff we do not link with $LD.
7298 # Luckily, gcc supports the same syntax we need for Sun Studio.
7299 # Supported since Solaris 2.6 (maybe 2.5.1?)
7300 case $wlarc in
7301 '')
7302 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7303 *)
7304 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7305 esac ;;
7306 esac
7307 link_all_deplibs=yes
7308 ;;
7309
7310 sunos4*)
7311 if testscip-shell system . . test. "x$host_vendor" = xsequent; then
7312 # Use $CC to link under sequent, because it throws in some extra .o
7313 # files that make .init and .fini sections work.
7314 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7315 else
7316 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7317 fi
7318 hardcode_libdir_flag_spec='-L$libdir'
7319 hardcode_direct=yes
7320 hardcode_minus_L=yes
7321 hardcode_shlibpath_var=no
7322 ;;
7323
7324 sysv4)
7325 case $host_vendor in
7326 sni)
7327 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7328 hardcode_direct=yes # is this really true???
7329 ;;
7330 siemens)
7331 ## LD is ld it makes a PLAMLIB
7332 ## CC just makes a GrossModule.
7333 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7334 reload_cmds='$CC -r -o $output$reload_objs'
7335 hardcode_direct=no
7336 ;;
7337 motorola)
7338 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7339 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7340 ;;
7341 esac
7342 runpath_var='LD_RUN_PATH'
7343 hardcode_shlibpath_var=no
7344 ;;
7345
7346 sysv4.3*)
7347 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7348 hardcode_shlibpath_var=no
7349 export_dynamic_flag_spec='-Bexport'
7350 ;;
7351
7352 sysv4*MP*)
7353 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
7354 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7355 hardcode_shlibpath_var=no
7356 runpath_var=LD_RUN_PATH
7357 hardcode_runpath_var=yes
7358 ld_shlibs=yes
7359 fi
7360 ;;
7361
7362 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
7363 no_undefined_flag='${wl}-z,text'
7364 archive_cmds_need_lc=no
7365 hardcode_shlibpath_var=no
7366 runpath_var='LD_RUN_PATH'
7367
7368 if testscip-shell system . . test. "$GCC" = yes; then
7369 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7370 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7371 else
7372 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7373 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7374 fi
7375 ;;
7376
7377 sysv5* | sco3.2v5* | sco5v6*)
7378 # Note: We can NOT use -z defs as we might desire, because we do not
7379 # link with -lc, and that would cause any symbols used from libc to
7380 # always be unresolved, which means just about no library would
7381 # ever link correctly. If we're not using GNU ld we use -z text
7382 # though, which does catch some bad symbols but isn't as heavy-handed
7383 # as -z defs.
7384 no_undefined_flag='${wl}-z,text'
7385 allow_undefined_flag='${wl}-z,nodefs'
7386 archive_cmds_need_lc=no
7387 hardcode_shlibpath_var=no
7388 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7389 hardcode_libdir_separator=':'
7390 link_all_deplibs=yes
7391 export_dynamic_flag_spec='${wl}-Bexport'
7392 runpath_var='LD_RUN_PATH'
7393
7394 if testscip-shell system . . test. "$GCC" = yes; then
7395 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7396 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7397 else
7398 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7399 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7400 fi
7401 ;;
7402
7403 uts4*)
7404 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7405 hardcode_libdir_flag_spec='-L$libdir'
7406 hardcode_shlibpath_var=no
7407 ;;
7408
7409 *)
7410 ld_shlibs=no
7411 ;;
7412 esac
7413 fi
7414
7415 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ld_shlibs" >&5
7416 echoscip-shell system . . echo. "${ECHO_T}$ld_shlibs" >&6
7417 testscip-shell system . . test. "$ld_shlibs" = no && can_build_shared=no
7418
7419 #
7420 # Do we need to explicitly link libc?
7421 #
7422 case "x$archive_cmds_need_lc" in
7423 x|xyes)
7424 # Assume -lc should be added
7425 archive_cmds_need_lc=yes
7426
7427 if testscip-shell system . . test. "$enable_shared" = yes && testscip-shell system . . test. "$GCC" = yes; then
7428 case $archive_cmds in
7429 *'~'*)
7430 # FIXME: we may have to deal with multi-command sequences.
7431 ;;
7432 '$CC '*)
7433 # Test whether the compiler implicitly links with -lc since on some
7434 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7435 # to ld, don't add -lc before -lgcc.
7436 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7437 echoscip-shell system . . echo. $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7438 $rm conftest*
7439 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
7440
7441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7442 (eval $ac_compile) 2>&5
7443 ac_status=$?
7444 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } 2>conftest.err; then
7446 soname=conftest
7447 lib=conftest
7448 libobjs=conftest.$ac_objext
7449 deplibs=
7450 wl=$lt_prog_compiler_wl
7451 pic_flag=$lt_prog_compiler_pic
7452 compiler_flags=-v
7453 linker_flags=-v
7454 verstring=
7455 output_objdir=.
7456 libname=conftest
7457 lt_save_allow_undefined_flag=$allow_undefined_flag
7458 allow_undefined_flag=
7459 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7460 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7461 ac_status=$?
7462 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); }
7464 then
7465 archive_cmds_need_lc=no
7466 else
7467 archive_cmds_need_lc=yes
7468 fi
7469 allow_undefined_flag=$lt_save_allow_undefined_flag
7470 else
7471 catscip-shell system . . cat. conftest.err 1>&5
7472 fi
7473 $rm conftest*
7474 echoscip-shell system . . echo. "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7475 echoscip-shell system . . echo. "${ECHO_T}$archive_cmds_need_lc" >&6
7476 ;;
7477 esac
7478 fi
7479 ;;
7480 esac
7481
7482 echoscip-shell system . . echo. "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7483 echoscip-shell system . . echo. $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7484 library_names_spec=
7485 libname_spec='lib$name'
7486 soname_spec=
7487 shrext_cmds=".so"
7488 postinstall_cmds=
7489 postuninstall_cmds=
7490 finish_cmds=
7491 finish_eval=
7492 shlibpath_var=
7493 shlibpath_overrides_runpath=unknown
7494 version_type=none
7495 dynamic_linker="$host_os ld.so"
7496 sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`."
7497 if testscip-shell system . . test. "$GCC" = yes; then
7498 sys_lib_search_path_spec=`$CC -print-search-dirs | grepscip-shell system . . grep. "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7499 if echoscip-shell system . . echo. "$sys_lib_search_path_spec" | grepscip-shell system . . grep. ';' >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
7500 # if the path contains ";" then we assume it to be the separator
7501 # otherwise default to the standard path separator (i.e. ":") - it is
7502 # assumed that no part of a normal pathname contains ";" but that should
7503 # okay in the real world where ";" in dirpaths is itself problematic.
7504 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7505 else
7506 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7507 fi
7508 else
7509 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
7510 fi
7511 need_lib_prefix=unknown
7512 hardcode_into_libs=no
7513
7514 # when you set need_version to no, make sure it does not cause -set_version
7515 # flags to be left without arguments
7516 need_version=unknown
7517
7518 case $host_os in
7519 aix3*)
7520 version_type=linux
7521 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7522 shlibpath_var=LIBPATH
7523
7524 # AIX 3 has no versioning support, so we append a major version to the name.
7525 soname_spec='${libname}${release}${shared_ext}$major'
7526 ;;
7527
7528 aix4* | aix5*)
7529 version_type=linux
7530 need_lib_prefix=no
7531 need_version=no
7532 hardcode_into_libs=yes
7533 if testscip-shell system . . test. "$host_cpu" = ia64; then
7534 # AIX 5 supports IA64
7535 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7536 shlibpath_var=LD_LIBRARY_PATH
7537 else
7538 # With GCC up to 2.95.x, collect2 would create an import file
7539 # for dependence libraries. The import file would start with
7540 # the line `#! .'. This would cause the generated library to
7541 # depend on `.', always an invalid library. This was fixed in
7542 # development snapshots of GCC prior to 3.0.
7543 case $host_os in
7544 aix4 | aix4.[01] | aix4.[01].*)
7545 if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7546 echoscip-shell system . . echo. ' yes '
7547 echoscip-shell system . . echo. '#endif'; } | ${CC} -E - | grepscip-shell system . . grep. yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then
7548 :
7549 else
7550 can_build_shared=no
7551 fi
7552 ;;
7553 esac
7554 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7555 # soname into executable. Probably we can add versioning support to
7556 # collect2, so additional links can be useful in future.
7557 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
7558 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7559 # instead of lib<name>.a to let people know that these are not
7560 # typical AIX shared libraries.
7561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7562 else
7563 # We preserve .a as extension for shared libraries through AIX4.2
7564 # and later when we are not doing run time linking.
7565 library_names_spec='${libname}${release}.a $libname.a'
7566 soname_spec='${libname}${release}${shared_ext}$major'
7567 fi
7568 shlibpath_var=LIBPATH
7569 fi
7570 ;;
7571
7572 amigaos*)
7573 library_names_spec='$libname.ixlibrary $libname.a'
7574 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7575 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
7576 ;;
7577
7578 beos*)
7579 library_names_spec='${libname}${shared_ext}'
7580 dynamic_linker="$host_os ld.so"
7581 shlibpath_var=LIBRARY_PATH
7582 ;;
7583
7584 bsdi[45]*)
7585 version_type=linux
7586 need_version=no
7587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7588 soname_spec='${libname}${release}${shared_ext}$major'
7589 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7590 shlibpath_var=LD_LIBRARY_PATH
7591 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`."
7592 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`."
7593 # the default ld.so.conf also contains /usr/contrib/lib and
7594 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7595 # libtool to hard-code these into programs
7596 ;;
7597
7598 cygwin* | mingw* | pw32*)
7599 version_type=windows
7600 shrext_cmds=".dll"
7601 need_version=no
7602 need_lib_prefix=no
7603
7604 case $GCC,$host_os in
7605 yes,cygwin* | yes,mingw* | yes,pw32*)
7606 library_names_spec='$libname.dll.a'
7607 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7608 postinstall_cmds='base_file=`basename \${file}`~
7609 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7610 dldir=$destdir/`dirname \$dlpath`~
7611 test -d \$dldir || mkdir -p \$dldir~
7612 $install_prog $dir/$dlname \$dldir/$dlname~
7613 chmod a+x \$dldir/$dlname'
7614 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7615 dlpath=$dir/\$dldll~
7616 $rm \$dlpath'
7617 shlibpath_overrides_runpath=yes
7618
7619 case $host_os in
7620 cygwin*)
7621 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7622 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7623 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/libscip-shell filesystem . . `/usr/lib /lib/w32api /lib /usr/local/lib`."
7624 ;;
7625 mingw*)
7626 # MinGW DLLs use traditional 'lib' prefix
7627 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7628 sys_lib_search_path_spec=`$CC -print-search-dirs | grepscip-shell system . . grep. "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7629 if echoscip-shell system . . echo. "$sys_lib_search_path_spec" | grepscip-shell system . . grep. ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
7630 # It is most probably a Windows format PATH printed by
7631 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7632 # path with ; separators, and with drive letters. We can handle the
7633 # drive letters (cygwin fileutils understands them), so leave them,
7634 # especially as we might pass files found there to a mingw objdump,
7635 # which wouldn't understand a cygwinified path. Ahh.
7636 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7637 else
7638 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7639 fi
7640 ;;
7641 pw32*)
7642 # pw32 DLLs use 'pw' prefix rather than 'lib'
7643 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7644 ;;
7645 esac
7646 ;;
7647
7648 linux*)
7649 if $LD --help 2>&1 | egrepscip-shell system . . egrep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
7650 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7651 supports_anon_versioning=no
7652 case `$LD -v 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
7653 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7654 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7655 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7656 *\ 2.11.*) ;; # other 2.11 versions
7657 *) supports_anon_versioning=yes ;;
7658 esac
7659 if testscip-shell system . . test. $supports_anon_versioning = yes; then
7660 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7661 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7662 $echo "local: *; };" >> $output_objdir/$libname.ver~
7663 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7664 else
7665 $archive_expsym_cmds="$archive_cmds"
7666 fi
7667 else
7668 ld_shlibs=no
7669 fi
7670 ;;
7671
7672 *)
7673 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7674 ;;
7675 esac
7676 dynamic_linker='Win32 ld.exe'
7677 # FIXME: first we should search . and the directory the executable is in
7678 shlibpath_var=PATH
7679 ;;
7680
7681 darwin* | rhapsody*)
7682 dynamic_linker="$host_os dyld"
7683 version_type=darwin
7684 need_lib_prefix=no
7685 need_version=no
7686 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7687 soname_spec='${libname}${release}${major}$shared_ext'
7688 shlibpath_overrides_runpath=yes
7689 shlibpath_var=DYLD_LIBRARY_PATH
7690 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7691 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7692 if testscip-shell system . . test. "$GCC" = yes; then
7693 sys_lib_search_path_spec=`$CC -print-search-dirs | trscip-shell system . . tr. "\n" "$PATH_SEPARATOR" | sedscip-shell system . . sed. -e 's/libraries:/@libraries:/' | trscip-shell system . . tr. "@" "\n" | grepscip-shell system . . grep. "^libraries:" | sedscip-shell system . . sed. -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7694 else
7695 sys_lib_search_path_spec='/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`.'
7696 fi
7697 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.'
7698 ;;
7699
7700 dgux*)
7701 version_type=linux
7702 need_lib_prefix=no
7703 need_version=no
7704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7705 soname_spec='${libname}${release}${shared_ext}$major'
7706 shlibpath_var=LD_LIBRARY_PATH
7707 ;;
7708
7709 freebsd1*)
7710 dynamic_linker=no
7711 ;;
7712
7713 kfreebsd*-gnu)
7714 version_type=linux
7715 need_lib_prefix=no
7716 need_version=no
7717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7718 soname_spec='${libname}${release}${shared_ext}$major'
7719 shlibpath_var=LD_LIBRARY_PATH
7720 shlibpath_overrides_runpath=no
7721 hardcode_into_libs=yes
7722 dynamic_linker='GNU ld.so'
7723 ;;
7724
7725 freebsd* | dragonfly*)
7726 # DragonFly does not have aout. When/if they implement a new
7727 # versioning mechanism, adjust this.
7728 if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then
7729 objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.`
7730 else
7731 case $host_os in
7732 freebsd[123]*) objformat=aout ;;
7733 *) objformat=elf ;;
7734 esac
7735 fi
7736 # Handle Gentoo/FreeBSD as it was Linux
7737 case $host_vendor in
7738 gentoo)
7739 version_type=linux ;;
7740 *)
7741 version_type=freebsd-$objformat ;;
7742 esac
7743
7744 case $version_type in
7745 freebsd-elf*)
7746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7747 need_version=no
7748 need_lib_prefix=no
7749 ;;
7750 freebsd-*)
7751 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7752 need_version=yes
7753 ;;
7754 linux)
7755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7756 soname_spec='${libname}${release}${shared_ext}$major'
7757 need_lib_prefix=no
7758 need_version=no
7759 ;;
7760 esac
7761 shlibpath_var=LD_LIBRARY_PATH
7762 case $host_os in
7763 freebsd2*)
7764 shlibpath_overrides_runpath=yes
7765 ;;
7766 freebsd3.[01]* | freebsdelf3.[01]*)
7767 shlibpath_overrides_runpath=yes
7768 hardcode_into_libs=yes
7769 ;;
7770 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
7771 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
7772 shlibpath_overrides_runpath=no
7773 hardcode_into_libs=yes
7774 ;;
7775 freebsd*) # from 4.6 on
7776 shlibpath_overrides_runpath=yes
7777 hardcode_into_libs=yes
7778 ;;
7779 esac
7780 ;;
7781
7782 gnu*)
7783 version_type=linux
7784 need_lib_prefix=no
7785 need_version=no
7786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7787 soname_spec='${libname}${release}${shared_ext}$major'
7788 shlibpath_var=LD_LIBRARY_PATH
7789 hardcode_into_libs=yes
7790 ;;
7791
7792 hpux9* | hpux10* | hpux11*)
7793 # Give a soname corresponding to the major version so that dld.sl refuses to
7794 # link against other versions.
7795 version_type=sunos
7796 need_lib_prefix=no
7797 need_version=no
7798 case $host_cpu in
7799 ia64*)
7800 shrext_cmds='.so'
7801 hardcode_into_libs=yes
7802 dynamic_linker="$host_os dld.so"
7803 shlibpath_var=LD_LIBRARY_PATH
7804 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7806 soname_spec='${libname}${release}${shared_ext}$major'
7807 if testscip-shell system . . test. "X$HPUX_IA64_MODE" = X32; then
7808 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`."
7809 else
7810 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`."
7811 fi
7812 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7813 ;;
7814 hppa*64*)
7815 shrext_cmds='.sl'
7816 hardcode_into_libs=yes
7817 dynamic_linker="$host_os dld.sl"
7818 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7819 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7821 soname_spec='${libname}${release}${shared_ext}$major'
7822 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`."
7823 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7824 ;;
7825 *)
7826 shrext_cmds='.sl'
7827 dynamic_linker="$host_os dld.sl"
7828 shlibpath_var=SHLIB_PATH
7829 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7831 soname_spec='${libname}${release}${shared_ext}$major'
7832 ;;
7833 esac
7834 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7835 postinstall_cmds='chmod 555 $lib'
7836 ;;
7837
7838 interix3*)
7839 version_type=linux
7840 need_lib_prefix=no
7841 need_version=no
7842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7843 soname_spec='${libname}${release}${shared_ext}$major'
7844 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
7845 shlibpath_var=LD_LIBRARY_PATH
7846 shlibpath_overrides_runpath=no
7847 hardcode_into_libs=yes
7848 ;;
7849
7850 irix5* | irix6* | nonstopux*)
7851 case $host_os in
7852 nonstopux*) version_type=nonstopux ;;
7853 *)
7854 if testscip-shell system . . test. "$lt_cv_prog_gnu_ld" = yes; then
7855 version_type=linux
7856 else
7857 version_type=irix
7858 fi ;;
7859 esac
7860 need_lib_prefix=no
7861 need_version=no
7862 soname_spec='${libname}${release}${shared_ext}$major'
7863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7864 case $host_os in
7865 irix5* | nonstopux*)
7866 libsuff= shlibsuff=
7867 ;;
7868 *)
7869 case $LD in # libtool.m4 will add one of these switches to LD
7870 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7871 libsuff= shlibsuff= libmagic=32-bit;;
7872 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7873 libsuff=32 shlibsuff=N32 libmagic=N32;;
7874 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7875 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7876 *) libsuff= shlibsuff= libmagic=never-match;;
7877 esac
7878 ;;
7879 esac
7880 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7881 shlibpath_overrides_runpath=no
7882 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7883 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7884 hardcode_into_libs=yes
7885 ;;
7886
7887 # No shared lib support for Linux oldld, aout, or coff.
7888 linux*oldld* | linux*aout* | linux*coff*)
7889 dynamic_linker=no
7890 ;;
7891
7892 # This must be Linux ELF.
7893 linux*)
7894 version_type=linux
7895 need_lib_prefix=no
7896 need_version=no
7897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7898 soname_spec='${libname}${release}${shared_ext}$major'
7899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7900 shlibpath_var=LD_LIBRARY_PATH
7901 shlibpath_overrides_runpath=no
7902 # This implies no fast_install, which is unacceptable.
7903 # Some rework will be needed to allow for fast_install
7904 # before this can be enabled.
7905 hardcode_into_libs=yes
7906
7907 # Append ld.so.conf contents to the search path
7908 if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then
7909 lt_ld_extra=`awkscip-shell system . . awk. '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }scip-shell filesystem . . `/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }`.' < /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`. | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | trscip-shell system . . tr. '\n' ' '`
7910 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7911 fi
7912
7913 # We used to test for /lib/ld.so.1 and disable shared libraries on
7914 # powerpc, because MkLinux only supported shared libraries with the
7915 # GNU dynamic linker. Since this was broken with cross compilers,
7916 # most powerpc-linux boxes support dynamic linking these days and
7917 # people can always --disable-shared, the test was removed, and we
7918 # assume the GNU/Linux dynamic linker is in use.
7919 dynamic_linker='GNU/Linux ld.so'
7920 ;;
7921
7922 knetbsd*-gnu)
7923 version_type=linux
7924 need_lib_prefix=no
7925 need_version=no
7926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7927 soname_spec='${libname}${release}${shared_ext}$major'
7928 shlibpath_var=LD_LIBRARY_PATH
7929 shlibpath_overrides_runpath=no
7930 hardcode_into_libs=yes
7931 dynamic_linker='GNU ld.so'
7932 ;;
7933
7934 netbsd*)
7935 version_type=sunos
7936 need_lib_prefix=no
7937 need_version=no
7938 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
7939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7940 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7941 dynamic_linker='NetBSD (a.out) ld.so'
7942 else
7943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7944 soname_spec='${libname}${release}${shared_ext}$major'
7945 dynamic_linker='NetBSD ld.elf_so'
7946 fi
7947 shlibpath_var=LD_LIBRARY_PATH
7948 shlibpath_overrides_runpath=yes
7949 hardcode_into_libs=yes
7950 ;;
7951
7952 newsos6)
7953 version_type=linux
7954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7955 shlibpath_var=LD_LIBRARY_PATH
7956 shlibpath_overrides_runpath=yes
7957 ;;
7958
7959 nto-qnx*)
7960 version_type=linux
7961 need_lib_prefix=no
7962 need_version=no
7963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7964 soname_spec='${libname}${release}${shared_ext}$major'
7965 shlibpath_var=LD_LIBRARY_PATH
7966 shlibpath_overrides_runpath=yes
7967 ;;
7968
7969 openbsd*)
7970 version_type=sunos
7971 sys_lib_dlsearch_path_spec="/usr/libscip-shell filesystem . . `/usr/lib`."
7972 need_lib_prefix=no
7973 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
7974 case $host_os in
7975 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
7976 *) need_version=no ;;
7977 esac
7978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7979 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7980 shlibpath_var=LD_LIBRARY_PATH
7981 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`" || testscip-shell system . . test. "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7982 case $host_os in
7983 openbsd2.[89] | openbsd2.[89].*)
7984 shlibpath_overrides_runpath=no
7985 ;;
7986 *)
7987 shlibpath_overrides_runpath=yes
7988 ;;
7989 esac
7990 else
7991 shlibpath_overrides_runpath=yes
7992 fi
7993 ;;
7994
7995 os2*)
7996 libname_spec='$name'
7997 shrext_cmds=".dll"
7998 need_lib_prefix=no
7999 library_names_spec='$libname${shared_ext} $libname.a'
8000 dynamic_linker='OS/2 ld.exe'
8001 shlibpath_var=LIBPATH
8002 ;;
8003
8004 osf3* | osf4* | osf5*)
8005 version_type=osf
8006 need_lib_prefix=no
8007 need_version=no
8008 soname_spec='${libname}${release}${shared_ext}$major'
8009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8010 shlibpath_var=LD_LIBRARY_PATH
8011 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`."
8012 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8013 ;;
8014
8015 solaris*)
8016 version_type=linux
8017 need_lib_prefix=no
8018 need_version=no
8019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8020 soname_spec='${libname}${release}${shared_ext}$major'
8021 shlibpath_var=LD_LIBRARY_PATH
8022 shlibpath_overrides_runpath=yes
8023 hardcode_into_libs=yes
8024 # ldd complains unless libraries are executable
8025 postinstall_cmds='chmod +x $lib'
8026 ;;
8027
8028 sunos4*)
8029 version_type=sunos
8030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8031 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8032 shlibpath_var=LD_LIBRARY_PATH
8033 shlibpath_overrides_runpath=yes
8034 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
8035 need_lib_prefix=no
8036 fi
8037 need_version=yes
8038 ;;
8039
8040 sysv4 | sysv4.3*)
8041 version_type=linux
8042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8043 soname_spec='${libname}${release}${shared_ext}$major'
8044 shlibpath_var=LD_LIBRARY_PATH
8045 case $host_vendor in
8046 sni)
8047 shlibpath_overrides_runpath=no
8048 need_lib_prefix=no
8049 export_dynamic_flag_spec='${wl}-Blargedynsym'
8050 runpath_var=LD_RUN_PATH
8051 ;;
8052 siemens)
8053 need_lib_prefix=no
8054 ;;
8055 motorola)
8056 need_lib_prefix=no
8057 need_version=no
8058 shlibpath_overrides_runpath=no
8059 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.'
8060 ;;
8061 esac
8062 ;;
8063
8064 sysv4*MP*)
8065 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`. ;then
8066 version_type=linux
8067 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8068 soname_spec='$libname${shared_ext}.$major'
8069 shlibpath_var=LD_LIBRARY_PATH
8070 fi
8071 ;;
8072
8073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8074 version_type=freebsd-elf
8075 need_lib_prefix=no
8076 need_version=no
8077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8078 soname_spec='${libname}${release}${shared_ext}$major'
8079 shlibpath_var=LD_LIBRARY_PATH
8080 hardcode_into_libs=yes
8081 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
8082 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`.'
8083 shlibpath_overrides_runpath=no
8084 else
8085 sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.'
8086 shlibpath_overrides_runpath=yes
8087 case $host_os in
8088 sco3.2v5*)
8089 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
8090 ;;
8091 esac
8092 fi
8093 sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.'
8094 ;;
8095
8096 uts4*)
8097 version_type=linux
8098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8099 soname_spec='${libname}${release}${shared_ext}$major'
8100 shlibpath_var=LD_LIBRARY_PATH
8101 ;;
8102
8103 *)
8104 dynamic_linker=no
8105 ;;
8106 esac
8107 echoscip-shell system . . echo. "$as_me:$LINENO: result: $dynamic_linker" >&5
8108 echoscip-shell system . . echo. "${ECHO_T}$dynamic_linker" >&6
8109 testscip-shell system . . test. "$dynamic_linker" = no && can_build_shared=no
8110
8111 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8112 if testscip-shell system . . test. "$GCC" = yes; then
8113 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8114 fi
8115
8116 echoscip-shell system . . echo. "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8117 echoscip-shell system . . echo. $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8118 hardcode_action=
8119 if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec" || \
8120 test -n "$runpath_var" || \
8121 test "X$hardcode_automatic" = "Xyes" ; then
8122
8123 # We can hardcode non-existant directories.
8124 if testscip-shell system . . test. "$hardcode_direct" != no &&
8125 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8126 # have to relink, otherwise we might link with an installed library
8127 # when we should be linking with a yet-to-be-installed one
8128 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8129 testscip-shell system . . test. "$hardcode_minus_L" != no; then
8130 # Linking always hardcodes the temporary library directory.
8131 hardcode_action=relink
8132 else
8133 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8134 hardcode_action=immediate
8135 fi
8136 else
8137 # We cannot hardcode anything, or else we can only hardcode existing
8138 # directories.
8139 hardcode_action=unsupported
8140 fi
8141 echoscip-shell system . . echo. "$as_me:$LINENO: result: $hardcode_action" >&5
8142 echoscip-shell system . . echo. "${ECHO_T}$hardcode_action" >&6
8143
8144 if testscip-shell system . . test. "$hardcode_action" = relink; then
8145 # Fast installation is not supported
8146 enable_fast_install=no
8147 elif testscip-shell system . . test. "$shlibpath_overrides_runpath" = yes ||
8148 testscip-shell system . . test. "$enable_shared" = no; then
8149 # Fast installation is not necessary
8150 enable_fast_install=needless
8151 fi
8152
8153 striplib=
8154 old_striplib=
8155 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8156 echoscip-shell system . . echo. $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8157 if testscip-shell system . . test. -n "$STRIP" && $STRIP -V 2>&1 | grepscip-shell system . . grep. "GNU strip" >/dev/nullscip-shell filesystem . . `/dev/null`.; then
8158 testscip-shell system . . test. -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8159 testscip-shell system . . test. -z "$striplib" && striplib="$STRIP --strip-unneeded"
8160 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes" >&5
8161 echoscip-shell system . . echo. "${ECHO_T}yes" >&6
8162 else
8163 # FIXME - insert some real tests, host_os isn't really good enough
8164 case $host_os in
8165 darwin*)
8166 if testscip-shell system . . test. -n "$STRIP" ; then
8167 striplib="$STRIP -x"
8168 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes" >&5
8169 echoscip-shell system . . echo. "${ECHO_T}yes" >&6
8170 else
8171 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
8172 echoscip-shell system . . echo. "${ECHO_T}no" >&6
8173 fi
8174 ;;
8175 *)
8176 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
8177 echoscip-shell system . . echo. "${ECHO_T}no" >&6
8178 ;;
8179 esac
8180 fi
8181
8182 if testscip-shell system . . test. "x$enable_dlopen" != xyes; then
8183 enable_dlopen=unknown
8184 enable_dlopen_self=unknown
8185 enable_dlopen_self_static=unknown
8186 else
8187 lt_cv_dlopen=no
8188 lt_cv_dlopen_libs=
8189
8190 case $host_os in
8191 beos*)
8192 lt_cv_dlopen="load_add_on"
8193 lt_cv_dlopen_libs=
8194 lt_cv_dlopen_self=yes
8195 ;;
8196
8197 mingw* | pw32*)
8198 lt_cv_dlopen="LoadLibrary"
8199 lt_cv_dlopen_libs=
8200 ;;
8201
8202 cygwin*)
8203 lt_cv_dlopen="dlopen"
8204 lt_cv_dlopen_libs=
8205 ;;
8206
8207 darwin*)
8208 # if libdl is installed we need to link against it
8209 echoscip-shell system . . echo. "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8210 echoscip-shell system . . echo. $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8211 if testscip-shell system . . test. "${ac_cv_lib_dl_dlopen+set}" = set; then
8212 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
8213 else
8214 ac_check_lib_save_LIBS=$LIBS
8215 LIBS="-ldl $LIBS"
8216 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
8217 /* confdefs.h. */
8218 _ACEOF
8219 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
8220 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8222
8223 /* Override any gcc2 internal prototype to avoid an error. */
8224 #ifdef __cplusplus
8225 extern "C"
8226 #endif
8227 /* We use char because int might match the return type of a gcc2
8228 builtin and then its argument prototype would still apply. */
8229 char dlopen ();
8230 int
8231 main ()
8232 {
8233 dlopen ();
8234 ;
8235 return 0;
8236 }
8237 _ACEOF
8238 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
8239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8240 (eval $ac_link) 2>conftest.er1
8241 ac_status=$?
8242 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
8243 rmscip-shell system . . rm. -f conftest.er1
8244 catscip-shell system . . cat. conftest.err >&5
8245 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8246 (exit $ac_status); } &&
8247 { ac_try='test -z "$ac_c_werror_flag"
8248 || test ! -s conftest.err'
8249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250 (eval $ac_try) 2>&5
8251 ac_status=$?
8252 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); }; } &&
8254 { ac_try='test -s conftest$ac_exeext'
8255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8256 (eval $ac_try) 2>&5
8257 ac_status=$?
8258 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); }; }; then
8260 ac_cv_lib_dl_dlopen=yes
8261 else
8262 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
8263 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
8264
8265 ac_cv_lib_dl_dlopen=no
8266 fi
8267 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
8268 conftest$ac_exeext conftest.$ac_ext
8269 LIBS=$ac_check_lib_save_LIBS
8270 fi
8271 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8272 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8273 if testscip-shell system . . test. $ac_cv_lib_dl_dlopen = yes; then
8274 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8275 else
8276
8277 lt_cv_dlopen="dyld"
8278 lt_cv_dlopen_libs=
8279 lt_cv_dlopen_self=yes
8280
8281 fi
8282
8283 ;;
8284
8285 *)
8286 echoscip-shell system . . echo. "$as_me:$LINENO: checking for shl_load" >&5
8287 echoscip-shell system . . echo. $ECHO_N "checking for shl_load... $ECHO_C" >&6
8288 if testscip-shell system . . test. "${ac_cv_func_shl_load+set}" = set; then
8289 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
8290 else
8291 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
8292 /* confdefs.h. */
8293 _ACEOF
8294 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
8295 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
8296 /* end confdefs.h. */
8297 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8299 #define shl_load innocuous_shl_load
8300
8301 /* System header to define __stub macros and hopefully few prototypes,
8302 which can conflict with char shl_load (); below.
8303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8304 <limits.h> exists even on freestanding compilers. */
8305
8306 #ifdef __STDC__
8307 # include <limits.h>
8308 #else
8309 # include <assert.h>
8310 #endif
8311
8312 #undef shl_load
8313
8314 /* Override any gcc2 internal prototype to avoid an error. */
8315 #ifdef __cplusplus
8316 extern "C"
8317 {
8318 #endif
8319 /* We use char because int might match the return type of a gcc2
8320 builtin and then its argument prototype would still apply. */
8321 char shl_load ();
8322 /* The GNU C library defines this for functions which it implements
8323 to always fail with ENOSYS. Some functions are actually named
8324 something starting with __ and the normal name is an alias. */
8325 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8326 choke me
8327 #else
8328 char (*f) () = shl_load;
8329 #endif
8330 #ifdef __cplusplus
8331 }
8332 #endif
8333
8334 int
8335 main ()
8336 {
8337 return f != shl_load;
8338 ;
8339 return 0;
8340 }
8341 _ACEOF
8342 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
8343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8344 (eval $ac_link) 2>conftest.er1
8345 ac_status=$?
8346 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
8347 rmscip-shell system . . rm. -f conftest.er1
8348 catscip-shell system . . cat. conftest.err >&5
8349 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8350 (exit $ac_status); } &&
8351 { ac_try='test -z "$ac_c_werror_flag"
8352 || test ! -s conftest.err'
8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 (eval $ac_try) 2>&5
8355 ac_status=$?
8356 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }; } &&
8358 { ac_try='test -s conftest$ac_exeext'
8359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8360 (eval $ac_try) 2>&5
8361 ac_status=$?
8362 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); }; }; then
8364 ac_cv_func_shl_load=yes
8365 else
8366 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
8367 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
8368
8369 ac_cv_func_shl_load=no
8370 fi
8371 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
8372 conftest$ac_exeext conftest.$ac_ext
8373 fi
8374 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8375 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_func_shl_load" >&6
8376 if testscip-shell system . . test. $ac_cv_func_shl_load = yes; then
8377 lt_cv_dlopen="shl_load"
8378 else
8379 echoscip-shell system . . echo. "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8380 echoscip-shell system . . echo. $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8381 if testscip-shell system . . test. "${ac_cv_lib_dld_shl_load+set}" = set; then
8382 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
8383 else
8384 ac_check_lib_save_LIBS=$LIBS
8385 LIBS="-ldld $LIBS"
8386 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
8387 /* confdefs.h. */
8388 _ACEOF
8389 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
8390 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
8391 /* end confdefs.h. */
8392
8393 /* Override any gcc2 internal prototype to avoid an error. */
8394 #ifdef __cplusplus
8395 extern "C"
8396 #endif
8397 /* We use char because int might match the return type of a gcc2
8398 builtin and then its argument prototype would still apply. */
8399 char shl_load ();
8400 int
8401 main ()
8402 {
8403 shl_load ();
8404 ;
8405 return 0;
8406 }
8407 _ACEOF
8408 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
8409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8410 (eval $ac_link) 2>conftest.er1
8411 ac_status=$?
8412 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
8413 rmscip-shell system . . rm. -f conftest.er1
8414 catscip-shell system . . cat. conftest.err >&5
8415 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); } &&
8417 { ac_try='test -z "$ac_c_werror_flag"
8418 || test ! -s conftest.err'
8419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420 (eval $ac_try) 2>&5
8421 ac_status=$?
8422 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); }; } &&
8424 { ac_try='test -s conftest$ac_exeext'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426 (eval $ac_try) 2>&5
8427 ac_status=$?
8428 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; }; then
8430 ac_cv_lib_dld_shl_load=yes
8431 else
8432 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
8433 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
8434
8435 ac_cv_lib_dld_shl_load=no
8436 fi
8437 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
8438 conftest$ac_exeext conftest.$ac_ext
8439 LIBS=$ac_check_lib_save_LIBS
8440 fi
8441 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8442 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8443 if testscip-shell system . . test. $ac_cv_lib_dld_shl_load = yes; then
8444 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8445 else
8446 echoscip-shell system . . echo. "$as_me:$LINENO: checking for dlopen" >&5
8447 echoscip-shell system . . echo. $ECHO_N "checking for dlopen... $ECHO_C" >&6
8448 if testscip-shell system . . test. "${ac_cv_func_dlopen+set}" = set; then
8449 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
8450 else
8451 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
8452 /* confdefs.h. */
8453 _ACEOF
8454 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
8455 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
8456 /* end confdefs.h. */
8457 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8459 #define dlopen innocuous_dlopen
8460
8461 /* System header to define __stub macros and hopefully few prototypes,
8462 which can conflict with char dlopen (); below.
8463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8464 <limits.h> exists even on freestanding compilers. */
8465
8466 #ifdef __STDC__
8467 # include <limits.h>
8468 #else
8469 # include <assert.h>
8470 #endif
8471
8472 #undef dlopen
8473
8474 /* Override any gcc2 internal prototype to avoid an error. */
8475 #ifdef __cplusplus
8476 extern "C"
8477 {
8478 #endif
8479 /* We use char because int might match the return type of a gcc2
8480 builtin and then its argument prototype would still apply. */
8481 char dlopen ();
8482 /* The GNU C library defines this for functions which it implements
8483 to always fail with ENOSYS. Some functions are actually named
8484 something starting with __ and the normal name is an alias. */
8485 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8486 choke me
8487 #else
8488 char (*f) () = dlopen;
8489 #endif
8490 #ifdef __cplusplus
8491 }
8492 #endif
8493
8494 int
8495 main ()
8496 {
8497 return f != dlopen;
8498 ;
8499 return 0;
8500 }
8501 _ACEOF
8502 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
8503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8504 (eval $ac_link) 2>conftest.er1
8505 ac_status=$?
8506 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
8507 rmscip-shell system . . rm. -f conftest.er1
8508 catscip-shell system . . cat. conftest.err >&5
8509 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); } &&
8511 { ac_try='test -z "$ac_c_werror_flag"
8512 || test ! -s conftest.err'
8513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8514 (eval $ac_try) 2>&5
8515 ac_status=$?
8516 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8517 (exit $ac_status); }; } &&
8518 { ac_try='test -s conftest$ac_exeext'
8519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8520 (eval $ac_try) 2>&5
8521 ac_status=$?
8522 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); }; }; then
8524 ac_cv_func_dlopen=yes
8525 else
8526 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
8527 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
8528
8529 ac_cv_func_dlopen=no
8530 fi
8531 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
8532 conftest$ac_exeext conftest.$ac_ext
8533 fi
8534 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8535 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_func_dlopen" >&6
8536 if testscip-shell system . . test. $ac_cv_func_dlopen = yes; then
8537 lt_cv_dlopen="dlopen"
8538 else
8539 echoscip-shell system . . echo. "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8540 echoscip-shell system . . echo. $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8541 if testscip-shell system . . test. "${ac_cv_lib_dl_dlopen+set}" = set; then
8542 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
8543 else
8544 ac_check_lib_save_LIBS=$LIBS
8545 LIBS="-ldl $LIBS"
8546 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
8547 /* confdefs.h. */
8548 _ACEOF
8549 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
8550 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
8551 /* end confdefs.h. */
8552
8553 /* Override any gcc2 internal prototype to avoid an error. */
8554 #ifdef __cplusplus
8555 extern "C"
8556 #endif
8557 /* We use char because int might match the return type of a gcc2
8558 builtin and then its argument prototype would still apply. */
8559 char dlopen ();
8560 int
8561 main ()
8562 {
8563 dlopen ();
8564 ;
8565 return 0;
8566 }
8567 _ACEOF
8568 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
8569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8570 (eval $ac_link) 2>conftest.er1
8571 ac_status=$?
8572 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
8573 rmscip-shell system . . rm. -f conftest.er1
8574 catscip-shell system . . cat. conftest.err >&5
8575 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8576 (exit $ac_status); } &&
8577 { ac_try='test -z "$ac_c_werror_flag"
8578 || test ! -s conftest.err'
8579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8580 (eval $ac_try) 2>&5
8581 ac_status=$?
8582 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8583 (exit $ac_status); }; } &&
8584 { ac_try='test -s conftest$ac_exeext'
8585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8586 (eval $ac_try) 2>&5
8587 ac_status=$?
8588 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8589 (exit $ac_status); }; }; then
8590 ac_cv_lib_dl_dlopen=yes
8591 else
8592 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
8593 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
8594
8595 ac_cv_lib_dl_dlopen=no
8596 fi
8597 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
8599 LIBS=$ac_check_lib_save_LIBS
8600 fi
8601 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8602 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8603 if testscip-shell system . . test. $ac_cv_lib_dl_dlopen = yes; then
8604 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8605 else
8606 echoscip-shell system . . echo. "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8607 echoscip-shell system . . echo. $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8608 if testscip-shell system . . test. "${ac_cv_lib_svld_dlopen+set}" = set; then
8609 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
8610 else
8611 ac_check_lib_save_LIBS=$LIBS
8612 LIBS="-lsvld $LIBS"
8613 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
8614 /* confdefs.h. */
8615 _ACEOF
8616 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
8617 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
8618 /* end confdefs.h. */
8619
8620 /* Override any gcc2 internal prototype to avoid an error. */
8621 #ifdef __cplusplus
8622 extern "C"
8623 #endif
8624 /* We use char because int might match the return type of a gcc2
8625 builtin and then its argument prototype would still apply. */
8626 char dlopen ();
8627 int
8628 main ()
8629 {
8630 dlopen ();
8631 ;
8632 return 0;
8633 }
8634 _ACEOF
8635 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
8636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8637 (eval $ac_link) 2>conftest.er1
8638 ac_status=$?
8639 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
8640 rmscip-shell system . . rm. -f conftest.er1
8641 catscip-shell system . . cat. conftest.err >&5
8642 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); } &&
8644 { ac_try='test -z "$ac_c_werror_flag"
8645 || test ! -s conftest.err'
8646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8647 (eval $ac_try) 2>&5
8648 ac_status=$?
8649 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8650 (exit $ac_status); }; } &&
8651 { ac_try='test -s conftest$ac_exeext'
8652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8653 (eval $ac_try) 2>&5
8654 ac_status=$?
8655 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); }; }; then
8657 ac_cv_lib_svld_dlopen=yes
8658 else
8659 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
8660 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
8661
8662 ac_cv_lib_svld_dlopen=no
8663 fi
8664 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
8665 conftest$ac_exeext conftest.$ac_ext
8666 LIBS=$ac_check_lib_save_LIBS
8667 fi
8668 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8669 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8670 if testscip-shell system . . test. $ac_cv_lib_svld_dlopen = yes; then
8671 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8672 else
8673 echoscip-shell system . . echo. "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8674 echoscip-shell system . . echo. $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8675 if testscip-shell system . . test. "${ac_cv_lib_dld_dld_link+set}" = set; then
8676 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
8677 else
8678 ac_check_lib_save_LIBS=$LIBS
8679 LIBS="-ldld $LIBS"
8680 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
8681 /* confdefs.h. */
8682 _ACEOF
8683 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
8684 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
8685 /* end confdefs.h. */
8686
8687 /* Override any gcc2 internal prototype to avoid an error. */
8688 #ifdef __cplusplus
8689 extern "C"
8690 #endif
8691 /* We use char because int might match the return type of a gcc2
8692 builtin and then its argument prototype would still apply. */
8693 char dld_link ();
8694 int
8695 main ()
8696 {
8697 dld_link ();
8698 ;
8699 return 0;
8700 }
8701 _ACEOF
8702 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
8703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8704 (eval $ac_link) 2>conftest.er1
8705 ac_status=$?
8706 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
8707 rmscip-shell system . . rm. -f conftest.er1
8708 catscip-shell system . . cat. conftest.err >&5
8709 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); } &&
8711 { ac_try='test -z "$ac_c_werror_flag"
8712 || test ! -s conftest.err'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714 (eval $ac_try) 2>&5
8715 ac_status=$?
8716 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; } &&
8718 { ac_try='test -s conftest$ac_exeext'
8719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8720 (eval $ac_try) 2>&5
8721 ac_status=$?
8722 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); }; }; then
8724 ac_cv_lib_dld_dld_link=yes
8725 else
8726 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
8727 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
8728
8729 ac_cv_lib_dld_dld_link=no
8730 fi
8731 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
8732 conftest$ac_exeext conftest.$ac_ext
8733 LIBS=$ac_check_lib_save_LIBS
8734 fi
8735 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8736 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8737 if testscip-shell system . . test. $ac_cv_lib_dld_dld_link = yes; then
8738 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8739 fi
8740
8741
8742 fi
8743
8744
8745 fi
8746
8747
8748 fi
8749
8750
8751 fi
8752
8753
8754 fi
8755
8756 ;;
8757 esac
8758
8759 if testscip-shell system . . test. "x$lt_cv_dlopen" != xno; then
8760 enable_dlopen=yes
8761 else
8762 enable_dlopen=no
8763 fi
8764
8765 case $lt_cv_dlopen in
8766 dlopen)
8767 save_CPPFLAGS="$CPPFLAGS"
8768 testscip-shell system . . test. "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8769
8770 save_LDFLAGS="$LDFLAGS"
8771 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8772
8773 save_LIBS="$LIBS"
8774 LIBS="$lt_cv_dlopen_libs $LIBS"
8775
8776 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8777 echoscip-shell system . . echo. $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8778 if testscip-shell system . . test. "${lt_cv_dlopen_self+set}" = set; then
8779 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
8780 else
8781 if testscip-shell system . . test. "$cross_compiling" = yes; then :
8782 lt_cv_dlopen_self=cross
8783 else
8784 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8785 lt_status=$lt_dlunknown
8786 catscip-shell system . . cat. > conftest.$ac_ext <<EOF
8787 #line 8787 "configure"
8788 #include "confdefs.h"
8789
8790 #if HAVE_DLFCN_H
8791 #include <dlfcn.h>
8792 #endif
8793
8794 #include <stdio.h>
8795
8796 #ifdef RTLD_GLOBAL
8797 # define LT_DLGLOBAL RTLD_GLOBAL
8798 #else
8799 # ifdef DL_GLOBAL
8800 # define LT_DLGLOBAL DL_GLOBAL
8801 # else
8802 # define LT_DLGLOBAL 0
8803 # endif
8804 #endif
8805
8806 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8807 find out it does not work in some platform. */
8808 #ifndef LT_DLLAZY_OR_NOW
8809 # ifdef RTLD_LAZY
8810 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8811 # else
8812 # ifdef DL_LAZY
8813 # define LT_DLLAZY_OR_NOW DL_LAZY
8814 # else
8815 # ifdef RTLD_NOW
8816 # define LT_DLLAZY_OR_NOW RTLD_NOW
8817 # else
8818 # ifdef DL_NOW
8819 # define LT_DLLAZY_OR_NOW DL_NOW
8820 # else
8821 # define LT_DLLAZY_OR_NOW 0
8822 # endif
8823 # endif
8824 # endif
8825 # endif
8826 #endif
8827
8828 #ifdef __cplusplus
8829 extern "C" void exit (int);
8830 #endif
8831
8832 void fnord() { int i=42;}
8833 int main ()
8834 {
8835 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8836 int status = $lt_dlunknown;
8837
8838 if (self)
8839 {
8840 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8841 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8842 /* dlclose (self); */
8843 }
8844 else
8845 puts (dlerror ());
8846
8847 exit (status);
8848 }
8849 EOF
8850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8851 (eval $ac_link) 2>&5
8852 ac_status=$?
8853 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); } && testscip-shell system . . test. -s conftest${ac_exeext} 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
8855 (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`.
8856 lt_status=$?
8857 case x$lt_status in
8858 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8859 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8860 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
8861 esac
8862 else :
8863 # compilation failed
8864 lt_cv_dlopen_self=no
8865 fi
8866 fi
8867 rmscip-shell system . . rm. -fr conftest*
8868
8869
8870 fi
8871 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8872 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_dlopen_self" >&6
8873
8874 if testscip-shell system . . test. "x$lt_cv_dlopen_self" = xyes; then
8875 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
8876 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8877 echoscip-shell system . . echo. $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8878 if testscip-shell system . . test. "${lt_cv_dlopen_self_static+set}" = set; then
8879 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
8880 else
8881 if testscip-shell system . . test. "$cross_compiling" = yes; then :
8882 lt_cv_dlopen_self_static=cross
8883 else
8884 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8885 lt_status=$lt_dlunknown
8886 catscip-shell system . . cat. > conftest.$ac_ext <<EOF
8887 #line 8887 "configure"
8888 #include "confdefs.h"
8889
8890 #if HAVE_DLFCN_H
8891 #include <dlfcn.h>
8892 #endif
8893
8894 #include <stdio.h>
8895
8896 #ifdef RTLD_GLOBAL
8897 # define LT_DLGLOBAL RTLD_GLOBAL
8898 #else
8899 # ifdef DL_GLOBAL
8900 # define LT_DLGLOBAL DL_GLOBAL
8901 # else
8902 # define LT_DLGLOBAL 0
8903 # endif
8904 #endif
8905
8906 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8907 find out it does not work in some platform. */
8908 #ifndef LT_DLLAZY_OR_NOW
8909 # ifdef RTLD_LAZY
8910 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8911 # else
8912 # ifdef DL_LAZY
8913 # define LT_DLLAZY_OR_NOW DL_LAZY
8914 # else
8915 # ifdef RTLD_NOW
8916 # define LT_DLLAZY_OR_NOW RTLD_NOW
8917 # else
8918 # ifdef DL_NOW
8919 # define LT_DLLAZY_OR_NOW DL_NOW
8920 # else
8921 # define LT_DLLAZY_OR_NOW 0
8922 # endif
8923 # endif
8924 # endif
8925 # endif
8926 #endif
8927
8928 #ifdef __cplusplus
8929 extern "C" void exit (int);
8930 #endif
8931
8932 void fnord() { int i=42;}
8933 int main ()
8934 {
8935 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8936 int status = $lt_dlunknown;
8937
8938 if (self)
8939 {
8940 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8941 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8942 /* dlclose (self); */
8943 }
8944 else
8945 puts (dlerror ());
8946
8947 exit (status);
8948 }
8949 EOF
8950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8951 (eval $ac_link) 2>&5
8952 ac_status=$?
8953 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); } && testscip-shell system . . test. -s conftest${ac_exeext} 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
8955 (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`.
8956 lt_status=$?
8957 case x$lt_status in
8958 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8959 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8960 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
8961 esac
8962 else :
8963 # compilation failed
8964 lt_cv_dlopen_self_static=no
8965 fi
8966 fi
8967 rmscip-shell system . . rm. -fr conftest*
8968
8969
8970 fi
8971 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8972 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8973 fi
8974
8975 CPPFLAGS="$save_CPPFLAGS"
8976 LDFLAGS="$save_LDFLAGS"
8977 LIBS="$save_LIBS"
8978 ;;
8979 esac
8980
8981 case $lt_cv_dlopen_self in
8982 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8983 *) enable_dlopen_self=unknown ;;
8984 esac
8985
8986 case $lt_cv_dlopen_self_static in
8987 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8988 *) enable_dlopen_self_static=unknown ;;
8989 esac
8990 fi
8991
8992
8993 # Report which library types will actually be built
8994 echoscip-shell system . . echo. "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8995 echoscip-shell system . . echo. $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8996 echoscip-shell system . . echo. "$as_me:$LINENO: result: $can_build_shared" >&5
8997 echoscip-shell system . . echo. "${ECHO_T}$can_build_shared" >&6
8998
8999 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether to build shared libraries" >&5
9000 echoscip-shell system . . echo. $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9001 testscip-shell system . . test. "$can_build_shared" = "no" && enable_shared=no
9002
9003 # On AIX, shared libraries and static libraries use the same namespace, and
9004 # are all built from PIC.
9005 case $host_os in
9006 aix3*)
9007 testscip-shell system . . test. "$enable_shared" = yes && enable_static=no
9008 if testscip-shell system . . test. -n "$RANLIB"; then
9009 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9010 postinstall_cmds='$RANLIB $lib'
9011 fi
9012 ;;
9013
9014 aix4* | aix5*)
9015 if testscip-shell system . . test. "$host_cpu" != ia64 && testscip-shell system . . test. "$aix_use_runtimelinking" = no ; then
9016 testscip-shell system . . test. "$enable_shared" = yes && enable_static=no
9017 fi
9018 ;;
9019 esac
9020 echoscip-shell system . . echo. "$as_me:$LINENO: result: $enable_shared" >&5
9021 echoscip-shell system . . echo. "${ECHO_T}$enable_shared" >&6
9022
9023 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether to build static libraries" >&5
9024 echoscip-shell system . . echo. $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9025 # Make sure either enable_shared or enable_static is yes.
9026 testscip-shell system . . test. "$enable_shared" = yes || enable_static=yes
9027 echoscip-shell system . . echo. "$as_me:$LINENO: result: $enable_static" >&5
9028 echoscip-shell system . . echo. "${ECHO_T}$enable_static" >&6
9029
9030 # The else clause should only fire when bootstrapping the
9031 # libtool distribution, otherwise you forgot to ship ltmain.sh
9032 # with your package, and you will get complaints that there are
9033 # no rules to generate ltmain.sh.
9034 if testscip-shell system . . test. -f "$ltmain"; then
9035 # See if we are running on zsh, and set the options which allow our commands through
9036 # without removal of \ escapes.
9037 if testscip-shell system . . test. -n "${ZSH_VERSION+set}" ; then
9038 setopt NO_GLOB_SUBST
9039 fi
9040 # Now quote all the things that may contain metacharacters while being
9041 # careful not to overquote the AC_SUBSTed values. We take copies of the
9042 # variables and quote the copies for generation of the libtool script.
9043 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9044 SED SHELL STRIP \
9045 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9046 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9047 deplibs_check_method reload_flag reload_cmds need_locks \
9048 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9049 lt_cv_sys_global_symbol_to_c_name_address \
9050 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9051 old_postinstall_cmds old_postuninstall_cmds \
9052 compiler \
9053 CC \
9054 LD \
9055 lt_prog_compiler_wl \
9056 lt_prog_compiler_pic \
9057 lt_prog_compiler_static \
9058 lt_prog_compiler_no_builtin_flag \
9059 export_dynamic_flag_spec \
9060 thread_safe_flag_spec \
9061 whole_archive_flag_spec \
9062 enable_shared_with_static_runtimes \
9063 old_archive_cmds \
9064 old_archive_from_new_cmds \
9065 predep_objects \
9066 postdep_objects \
9067 predeps \
9068 postdeps \
9069 compiler_lib_search_path \
9070 archive_cmds \
9071 archive_expsym_cmds \
9072 postinstall_cmds \
9073 postuninstall_cmds \
9074 old_archive_from_expsyms_cmds \
9075 allow_undefined_flag \
9076 no_undefined_flag \
9077 export_symbols_cmds \
9078 hardcode_libdir_flag_spec \
9079 hardcode_libdir_flag_spec_ld \
9080 hardcode_libdir_separator \
9081 hardcode_automatic \
9082 module_cmds \
9083 module_expsym_cmds \
9084 lt_cv_prog_compiler_c_o \
9085 exclude_expsyms \
9086 include_expsyms; do
9087
9088 case $var in
9089 old_archive_cmds | \
9090 old_archive_from_new_cmds | \
9091 archive_cmds | \
9092 archive_expsym_cmds | \
9093 module_cmds | \
9094 module_expsym_cmds | \
9095 old_archive_from_expsyms_cmds | \
9096 export_symbols_cmds | \
9097 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9098 postinstall_cmds | postuninstall_cmds | \
9099 old_postinstall_cmds | old_postuninstall_cmds | \
9100 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9101 # Double-quote double-evaled strings.
9102 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9103 ;;
9104 *)
9105 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9106 ;;
9107 esac
9108 done
9109
9110 case $lt_echo in
9111 *'\$0 --fallback-echo"')
9112 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9113 ;;
9114 esac
9115
9116 cfgfile="${ofile}T"
9117 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9118 $rm -f "$cfgfile"
9119 { echoscip-shell system . . echo. "$as_me:$LINENO: creating $ofile" >&5
9120 echoscip-shell system . . echo. "$as_me: creating $ofile" >&6;}
9121
9122 catscip-shell system . . cat. <<__EOF__ >> "$cfgfile"
9123 #! $SHELL
9124
9125 # `$echo "$cfgfile" | sedscip-shell system . . sed. 's%^.*/%%'` - Provide generalized library-building support services.
9126 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9127 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9128 #
9129 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9130 # Free Software Foundation, Inc.
9131 #
9132 # This file is part of GNU Libtool:
9133 # Originally by Gordon Matzigkeit <[email protected]>, 1996
9134 #
9135 # This program is free software; you can redistribute it and/or modify
9136 # it under the terms of the GNU General Public License as published by
9137 # the Free Software Foundation; either version 2 of the License, or
9138 # (at your option) any later version.
9139 #
9140 # This program is distributed in the hope that it will be useful, but
9141 # WITHOUT ANY WARRANTY; without even the implied warranty of
9142 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9143 # General Public License for more details.
9144 #
9145 # You should have received a copy of the GNU General Public License
9146 # along with this program; if not, write to the Free Software
9147 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9148 #
9149 # As a special exception to the GNU General Public License, if you
9150 # distribute this file as part of a program that contains a
9151 # configuration script generated by Autoconf, you may include it under
9152 # the same distribution terms that you use for the rest of that program.
9153
9154 # A sed program that does not truncate output.
9155 SED=$lt_SED
9156
9157 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9158 Xsed="$SED -e 1s/^X//"
9159
9160 # The HP-UX ksh and POSIX shell print the target directory to stdout
9161 # if CDPATH is set.
9162 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9163
9164 # The names of the tagged configurations supported by this script.
9165 available_tags=
9166
9167 # ### BEGIN LIBTOOL CONFIG
9168
9169 # Libtool was configured on host `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`:
9170
9171 # Shell to use when invoking shell scripts.
9172 SHELL=$lt_SHELL
9173
9174 # Whether or not to build shared libraries.
9175 build_libtool_libs=$enable_shared
9176
9177 # Whether or not to build static libraries.
9178 build_old_libs=$enable_static
9179
9180 # Whether or not to add -lc for building shared libraries.
9181 build_libtool_need_lc=$archive_cmds_need_lc
9182
9183 # Whether or not to disallow shared libs when runtime libs are static
9184 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9185
9186 # Whether or not to optimize for fast installation.
9187 fast_install=$enable_fast_install
9188
9189 # The host system.
9190 host_alias=$host_alias
9191 host=$host
9192 host_os=$host_os
9193
9194 # The build system.
9195 build_alias=$build_alias
9196 build=$build
9197 build_os=$build_os
9198
9199 # An echo program that does not interpret backslashes.
9200 echo=$lt_echo
9201
9202 # The archiver.
9203 AR=$lt_AR
9204 AR_FLAGS=$lt_AR_FLAGS
9205
9206 # A C compiler.
9207 LTCC=$lt_LTCC
9208
9209 # LTCC compiler flags.
9210 LTCFLAGS=$lt_LTCFLAGS
9211
9212 # A language-specific compiler.
9213 CC=$lt_compiler
9214
9215 # Is the compiler the GNU C compiler?
9216 with_gcc=$GCC
9217
9218 # An ERE matcher.
9219 EGREP=$lt_EGREP
9220
9221 # The linker used to build libraries.
9222 LD=$lt_LD
9223
9224 # Whether we need hard or soft links.
9225 LN_S=$lt_LN_S
9226
9227 # A BSD-compatible nm program.
9228 NM=$lt_NM
9229
9230 # A symbol stripping program
9231 STRIP=$lt_STRIP
9232
9233 # Used to examine libraries when file_magic_cmd begins "file"
9234 MAGIC_CMD=$MAGIC_CMD
9235
9236 # Used on cygwin: DLL creation program.
9237 DLLTOOL="$DLLTOOL"
9238
9239 # Used on cygwin: object dumper.
9240 OBJDUMP="$OBJDUMP"
9241
9242 # Used on cygwin: assembler.
9243 AS="$AS"
9244
9245 # The name of the directory that contains temporary libtool files.
9246 objdir=$objdir
9247
9248 # How to create reloadable object files.
9249 reload_flag=$lt_reload_flag
9250 reload_cmds=$lt_reload_cmds
9251
9252 # How to pass a linker flag through the compiler.
9253 wl=$lt_lt_prog_compiler_wl
9254
9255 # Object file suffix (normally "o").
9256 objext="$ac_objext"
9257
9258 # Old archive suffix (normally "a").
9259 libext="$libext"
9260
9261 # Shared library suffix (normally ".so").
9262 shrext_cmds='$shrext_cmds'
9263
9264 # Executable file suffix (normally "").
9265 exeext="$exeext"
9266
9267 # Additional compiler flags for building library objects.
9268 pic_flag=$lt_lt_prog_compiler_pic
9269 pic_mode=$pic_mode
9270
9271 # What is the maximum length of a command?
9272 max_cmd_len=$lt_cv_sys_max_cmd_len
9273
9274 # Does compiler simultaneously support -c and -o options?
9275 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9276
9277 # Must we lock files when doing compilation?
9278 need_locks=$lt_need_locks
9279
9280 # Do we need the lib prefix for modules?
9281 need_lib_prefix=$need_lib_prefix
9282
9283 # Do we need a version for libraries?
9284 need_version=$need_version
9285
9286 # Whether dlopen is supported.
9287 dlopen_support=$enable_dlopen
9288
9289 # Whether dlopen of programs is supported.
9290 dlopen_self=$enable_dlopen_self
9291
9292 # Whether dlopen of statically linked programs is supported.
9293 dlopen_self_static=$enable_dlopen_self_static
9294
9295 # Compiler flag to prevent dynamic linking.
9296 link_static_flag=$lt_lt_prog_compiler_static
9297
9298 # Compiler flag to turn off builtin functions.
9299 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9300
9301 # Compiler flag to allow reflexive dlopens.
9302 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9303
9304 # Compiler flag to generate shared objects directly from archives.
9305 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9306
9307 # Compiler flag to generate thread-safe objects.
9308 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9309
9310 # Library versioning type.
9311 version_type=$version_type
9312
9313 # Format of library name prefix.
9314 libname_spec=$lt_libname_spec
9315
9316 # List of archive names. First name is the real one, the rest are links.
9317 # The last name is the one that the linker finds with -lNAME.
9318 library_names_spec=$lt_library_names_spec
9319
9320 # The coded name of the library, if different from the real name.
9321 soname_spec=$lt_soname_spec
9322
9323 # Commands used to build and install an old-style archive.
9324 RANLIB=$lt_RANLIB
9325 old_archive_cmds=$lt_old_archive_cmds
9326 old_postinstall_cmds=$lt_old_postinstall_cmds
9327 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9328
9329 # Create an old-style archive from a shared archive.
9330 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9331
9332 # Create a temporary old-style archive to link instead of a shared archive.
9333 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9334
9335 # Commands used to build and install a shared archive.
9336 archive_cmds=$lt_archive_cmds
9337 archive_expsym_cmds=$lt_archive_expsym_cmds
9338 postinstall_cmds=$lt_postinstall_cmds
9339 postuninstall_cmds=$lt_postuninstall_cmds
9340
9341 # Commands used to build a loadable module (assumed same as above if empty)
9342 module_cmds=$lt_module_cmds
9343 module_expsym_cmds=$lt_module_expsym_cmds
9344
9345 # Commands to strip libraries.
9346 old_striplib=$lt_old_striplib
9347 striplib=$lt_striplib
9348
9349 # Dependencies to place before the objects being linked to create a
9350 # shared library.
9351 predep_objects=$lt_predep_objects
9352
9353 # Dependencies to place after the objects being linked to create a
9354 # shared library.
9355 postdep_objects=$lt_postdep_objects
9356
9357 # Dependencies to place before the objects being linked to create a
9358 # shared library.
9359 predeps=$lt_predeps
9360
9361 # Dependencies to place after the objects being linked to create a
9362 # shared library.
9363 postdeps=$lt_postdeps
9364
9365 # The library search path used internally by the compiler when linking
9366 # a shared library.
9367 compiler_lib_search_path=$lt_compiler_lib_search_path
9368
9369 # Method to check whether dependent libraries are shared objects.
9370 deplibs_check_method=$lt_deplibs_check_method
9371
9372 # Command to use when deplibs_check_method == file_magic.
9373 file_magic_cmd=$lt_file_magic_cmd
9374
9375 # Flag that allows shared libraries with undefined symbols to be built.
9376 allow_undefined_flag=$lt_allow_undefined_flag
9377
9378 # Flag that forces no undefined symbols.
9379 no_undefined_flag=$lt_no_undefined_flag
9380
9381 # Commands used to finish a libtool library installation in a directory.
9382 finish_cmds=$lt_finish_cmds
9383
9384 # Same as above, but a single script fragment to be evaled but not shown.
9385 finish_eval=$lt_finish_eval
9386
9387 # Take the output of nm and produce a listing of raw symbols and C names.
9388 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9389
9390 # Transform the output of nm in a proper C declaration
9391 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9392
9393 # Transform the output of nm in a C name address pair
9394 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9395
9396 # This is the shared library runtime path variable.
9397 runpath_var=$runpath_var
9398
9399 # This is the shared library path variable.
9400 shlibpath_var=$shlibpath_var
9401
9402 # Is shlibpath searched before the hard-coded library search path?
9403 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9404
9405 # How to hardcode a shared library path into an executable.
9406 hardcode_action=$hardcode_action
9407
9408 # Whether we should hardcode library paths into libraries.
9409 hardcode_into_libs=$hardcode_into_libs
9410
9411 # Flag to hardcode \$libdir into a binary during linking.
9412 # This must work even if \$libdir does not exist.
9413 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9414
9415 # If ld is used when linking, flag to hardcode \$libdir into
9416 # a binary during linking. This must work even if \$libdir does
9417 # not exist.
9418 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9419
9420 # Whether we need a single -rpath flag with a separated argument.
9421 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9422
9423 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9424 # resulting binary.
9425 hardcode_direct=$hardcode_direct
9426
9427 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9428 # resulting binary.
9429 hardcode_minus_L=$hardcode_minus_L
9430
9431 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9432 # the resulting binary.
9433 hardcode_shlibpath_var=$hardcode_shlibpath_var
9434
9435 # Set to yes if building a shared library automatically hardcodes DIR into the library
9436 # and all subsequent libraries and executables linked against it.
9437 hardcode_automatic=$hardcode_automatic
9438
9439 # Variables whose values should be saved in libtool wrapper scripts and
9440 # restored at relink time.
9441 variables_saved_for_relink="$variables_saved_for_relink"
9442
9443 # Whether libtool must link a program against all its dependency libraries.
9444 link_all_deplibs=$link_all_deplibs
9445
9446 # Compile-time system search path for libraries
9447 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9448
9449 # Run-time system search path for libraries
9450 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9451
9452 # Fix the shell variable \$srcfile for the compiler.
9453 fix_srcfile_path="$fix_srcfile_path"
9454
9455 # Set to yes if exported symbols are required.
9456 always_export_symbols=$always_export_symbols
9457
9458 # The commands to list exported symbols.
9459 export_symbols_cmds=$lt_export_symbols_cmds
9460
9461 # The commands to extract the exported symbol list from a shared archive.
9462 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9463
9464 # Symbols that should not be listed in the preloaded symbols.
9465 exclude_expsyms=$lt_exclude_expsyms
9466
9467 # Symbols that must always be exported.
9468 include_expsyms=$lt_include_expsyms
9469
9470 # ### END LIBTOOL CONFIG
9471
9472 __EOF__
9473
9474
9475 case $host_os in
9476 aix3*)
9477 catscip-shell system . . cat. <<\EOF >> "$cfgfile"
9478
9479 # AIX sometimes has problems with the GCC collect2 program. For some
9480 # reason, if we set the COLLECT_NAMES environment variable, the problems
9481 # vanish in a puff of smoke.
9482 if test "X${COLLECT_NAMES+set}" != Xset; then
9483 COLLECT_NAMES=
9484 export COLLECT_NAMES
9485 fi
9486 EOF
9487 ;;
9488 esac
9489
9490 # We use sed instead of cat because bash on DJGPP gets confused if
9491 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9492 # text mode, it properly converts lines to CR/LF. This bash problem
9493 # is reportedly fixed, but why not run on old versions too?
9494 sedscip-shell system . . sed. '$q' "$ltmain" >> "$cfgfile" || (rmscip-shell system . . rm. -f "$cfgfile"; exit 1)
9495
9496 mvscip-shell system . . mv. -f "$cfgfile" "$ofile" || \
9497 (rmscip-shell system . . rm. -f "$ofile" && cpscip-shell system . . cp. "$cfgfile" "$ofile" && rmscip-shell system . . rm. -f "$cfgfile")
9498 chmodscip-shell system . . chmod. +x "$ofile"
9499
9500 else
9501 # If there is no Makefile yet, we rely on a make rule to execute
9502 # `config.status --recheck' to rerun these tests and create the
9503 # libtool script then.
9504 ltmain_in=`echoscip-shell system . . echo. $ltmain | sedscip-shell system . . sed. -e 's/\.sh$/.in/'`
9505 if testscip-shell system . . test. -f "$ltmain_in"; then
9506 testscip-shell system . . test. -f Makefile && makescip-shell system . . make. "$ltmain"
9507 fi
9508 fi
9509
9510
9511 ac_ext=c
9512 ac_cpp='$CPP $CPPFLAGS'
9513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9516
9517 CC="$lt_save_CC"
9518
9519
9520 # Check whether --with-tags or --without-tags was given.
9521 if testscip-shell system . . test. "${with_tags+set}" = set; then
9522 withval="$with_tags"
9523 tagnames="$withval"
9524 fi;
9525
9526 if testscip-shell system . . test. -f "$ltmain" && testscip-shell system . . test. -n "$tagnames"; then
9527 if testscip-shell system . . test. ! -f "${ofile}"; then
9528 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9529 echoscip-shell system . . echo. "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9530 fi
9531
9532 if testscip-shell system . . test. -z "$LTCC"; then
9533 eval "`$SHELL ${ofile} --config | grepscip-shell system . . grep. '^LTCC='`"
9534 if testscip-shell system . . test. -z "$LTCC"; then
9535 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9536 echoscip-shell system . . echo. "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9537 else
9538 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9539 echoscip-shell system . . echo. "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9540 fi
9541 fi
9542 if testscip-shell system . . test. -z "$LTCFLAGS"; then
9543 eval "`$SHELL ${ofile} --config | grepscip-shell system . . grep. '^LTCFLAGS='`"
9544 fi
9545
9546 # Extract list of available tagged configurations in $ofile.
9547 # Note that this assumes the entire list is on one line.
9548 available_tags=`grepscip-shell system . . grep. "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9549
9550 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9551 for tagname in $tagnames; do
9552 IFS="$lt_save_ifs"
9553 # Check whether tagname contains only valid characters
9554 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9555 "") ;;
9556 *) { { echoscip-shell system . . echo. "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9557 echoscip-shell system . . echo. "$as_me: error: invalid tag name: $tagname" >&2;}
9558 { (exit 1); exit 1; }; }
9559 ;;
9560 esac
9561
9562 if grepscip-shell system . . grep. "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/nullscip-shell filesystem . . `/dev/null`.
9563 then
9564 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9565 echoscip-shell system . . echo. "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9566 { (exit 1); exit 1; }; }
9567 fi
9568
9569 # Update the list of available tags.
9570 if testscip-shell system . . test. -n "$tagname"; then
9571 echoscip-shell system . . echo. appending configuration tag \"$tagname\" to $ofile
9572
9573 case $tagname in
9574 CXX)
9575 if testscip-shell system . . test. -n "$CXX" && ( testscip-shell system . . test. "X$CXX" != "Xno" &&
9576 ( (testscip-shell system . . test. "X$CXX" = "Xg++" && `g++ -v >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1` ) ||
9577 (testscip-shell system . . test. "X$CXX" != "Xg++"))) ; then
9578 ac_ext=cc
9579 ac_cpp='$CXXCPP $CPPFLAGS'
9580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9583
9584
9585
9586
9587 archive_cmds_need_lc_CXX=no
9588 allow_undefined_flag_CXX=
9589 always_export_symbols_CXX=no
9590 archive_expsym_cmds_CXX=
9591 export_dynamic_flag_spec_CXX=
9592 hardcode_direct_CXX=no
9593 hardcode_libdir_flag_spec_CXX=
9594 hardcode_libdir_flag_spec_ld_CXX=
9595 hardcode_libdir_separator_CXX=
9596 hardcode_minus_L_CXX=no
9597 hardcode_shlibpath_var_CXX=unsupported
9598 hardcode_automatic_CXX=no
9599 module_cmds_CXX=
9600 module_expsym_cmds_CXX=
9601 link_all_deplibs_CXX=unknown
9602 old_archive_cmds_CXX=$old_archive_cmds
9603 no_undefined_flag_CXX=
9604 whole_archive_flag_spec_CXX=
9605 enable_shared_with_static_runtimes_CXX=no
9606
9607 # Dependencies to place before and after the object being linked:
9608 predep_objects_CXX=
9609 postdep_objects_CXX=
9610 predeps_CXX=
9611 postdeps_CXX=
9612 compiler_lib_search_path_CXX=
9613
9614 # Source file extension for C++ test sources.
9615 ac_ext=cpp
9616
9617 # Object file extension for compiled C++ test sources.
9618 objext=o
9619 objext_CXX=$objext
9620
9621 # Code to be used in simple compile tests
9622 lt_simple_compile_test_code="int some_variable = 0;\n"
9623
9624 # Code to be used in simple link tests
9625 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
9626
9627 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9628
9629 # If no C compiler was specified, use CC.
9630 LTCC=${LTCC-"$CC"}
9631
9632 # If no C compiler flags were specified, use CFLAGS.
9633 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9634
9635 # Allow CC to be a program name with arguments.
9636 compiler=$CC
9637
9638
9639 # save warnings/boilerplate of simple test code
9640 ac_outfile=conftest.$ac_objext
9641 printfscip-shell system . . printf. "$lt_simple_compile_test_code" >conftest.$ac_ext
9642 eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
9643 _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err`
9644 $rm conftest*
9645
9646 ac_outfile=conftest.$ac_objext
9647 printfscip-shell system . . printf. "$lt_simple_link_test_code" >conftest.$ac_ext
9648 eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
9649 _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err`
9650 $rm conftest*
9651
9652
9653 # Allow CC to be a program name with arguments.
9654 lt_save_CC=$CC
9655 lt_save_LD=$LD
9656 lt_save_GCC=$GCC
9657 GCC=$GXX
9658 lt_save_with_gnu_ld=$with_gnu_ld
9659 lt_save_path_LD=$lt_cv_path_LD
9660 if testscip-shell system . . test. -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9661 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9662 else
9663 $as_unset lt_cv_prog_gnu_ld
9664 fi
9665 if testscip-shell system . . test. -n "${lt_cv_path_LDCXX+set}"; then
9666 lt_cv_path_LD=$lt_cv_path_LDCXX
9667 else
9668 $as_unset lt_cv_path_LD
9669 fi
9670 testscip-shell system . . test. -z "${LDCXX+set}" || LD=$LDCXX
9671 CC=${CXX-"c++"}
9672 compiler=$CC
9673 compiler_CXX=$CC
9674 for cc_temp in $compiler""; do
9675 case $cc_temp in
9676 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9677 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9678 \-*) ;;
9679 *) break;;
9680 esac
9681 done
9682 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9683
9684
9685 # We don't want -fno-exception wen compiling C++ code, so set the
9686 # no_builtin_flag separately
9687 if testscip-shell system . . test. "$GXX" = yes; then
9688 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9689 else
9690 lt_prog_compiler_no_builtin_flag_CXX=
9691 fi
9692
9693 if testscip-shell system . . test. "$GXX" = yes; then
9694 # Set up default GNU C++ configuration
9695
9696
9697 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9698 if testscip-shell system . . test. "${with_gnu_ld+set}" = set; then
9699 withval="$with_gnu_ld"
9700 testscip-shell system . . test. "$withval" = no || with_gnu_ld=yes
9701 else
9702 with_gnu_ld=no
9703 fi;
9704 ac_prog=ld
9705 if testscip-shell system . . test. "$GCC" = yes; then
9706 # Check if gcc -print-prog-name=ld gives a path.
9707 echoscip-shell system . . echo. "$as_me:$LINENO: checking for ld used by $CC" >&5
9708 echoscip-shell system . . echo. $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9709 case $host in
9710 *-*-mingw*)
9711 # gcc leaves a trailing carriage return which upsets mingw
9712 ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;;
9713 *)
9714 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9715 esac
9716 case $ac_prog in
9717 # Accept absolute paths.
9718 [\\/]* | ?:[\\/]*)
9719 re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.'
9720 # Canonicalize the pathname of ld
9721 ac_prog=`echoscip-shell system . . echo. $ac_prog| $SED 's%\\\\%/%g'`
9722 while echoscip-shell system . . echo. $ac_prog | grepscip-shell system . . grep. "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do
9723 ac_prog=`echoscip-shell system . . echo. $ac_prog| $SED "s%$re_direlt%/%"`
9724 done
9725 testscip-shell system . . test. -z "$LD" && LD="$ac_prog"
9726 ;;
9727 "")
9728 # If it fails, then pretend we aren't using GCC.
9729 ac_prog=ld
9730 ;;
9731 *)
9732 # If it is relative, then search for the first ld in PATH.
9733 with_gnu_ld=unknown
9734 ;;
9735 esac
9736 elif testscip-shell system . . test. "$with_gnu_ld" = yes; then
9737 echoscip-shell system . . echo. "$as_me:$LINENO: checking for GNU ld" >&5
9738 echoscip-shell system . . echo. $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9739 else
9740 echoscip-shell system . . echo. "$as_me:$LINENO: checking for non-GNU ld" >&5
9741 echoscip-shell system . . echo. $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9742 fi
9743 if testscip-shell system . . test. "${lt_cv_path_LD+set}" = set; then
9744 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
9745 else
9746 if testscip-shell system . . test. -z "$LD"; then
9747 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9748 for ac_dir in $PATH; do
9749 IFS="$lt_save_ifs"
9750 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
9751 if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then
9752 lt_cv_path_LD="$ac_dir/$ac_prog"
9753 # Check to see if the program is GNU ld. I'd rather use --version,
9754 # but apparently some variants of GNU ld only accept -v.
9755 # Break only if it was the GNU/non-GNU ld that we prefer.
9756 case `"$lt_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
9757 *GNU* | *'with BFD'*)
9758 testscip-shell system . . test. "$with_gnu_ld" != no && break
9759 ;;
9760 *)
9761 testscip-shell system . . test. "$with_gnu_ld" != yes && break
9762 ;;
9763 esac
9764 fi
9765 done
9766 IFS="$lt_save_ifs"
9767 else
9768 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9769 fi
9770 fi
9771
9772 LD="$lt_cv_path_LD"
9773 if testscip-shell system . . test. -n "$LD"; then
9774 echoscip-shell system . . echo. "$as_me:$LINENO: result: $LD" >&5
9775 echoscip-shell system . . echo. "${ECHO_T}$LD" >&6
9776 else
9777 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
9778 echoscip-shell system . . echo. "${ECHO_T}no" >&6
9779 fi
9780 testscip-shell system . . test. -z "$LD" && { { echoscip-shell system . . echo. "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9781 echoscip-shell system . . echo. "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9782 { (exit 1); exit 1; }; }
9783 echoscip-shell system . . echo. "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9784 echoscip-shell system . . echo. $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9785 if testscip-shell system . . test. "${lt_cv_prog_gnu_ld+set}" = set; then
9786 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
9787 else
9788 # I'd rather use --version here, but apparently some GNU lds only accept -v.
9789 case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
9790 *GNU* | *'with BFD'*)
9791 lt_cv_prog_gnu_ld=yes
9792 ;;
9793 *)
9794 lt_cv_prog_gnu_ld=no
9795 ;;
9796 esac
9797 fi
9798 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9799 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9800 with_gnu_ld=$lt_cv_prog_gnu_ld
9801
9802
9803
9804 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9805 # archiving commands below assume that GNU ld is being used.
9806 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
9807 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9808 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9809
9810 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9811 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9812
9813 # If archive_cmds runs LD, not CC, wlarc should be empty
9814 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9815 # investigate it a little bit more. (MM)
9816 wlarc='${wl}'
9817
9818 # ancient GNU ld didn't support --whole-archive et. al.
9819 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9820 grep 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
9821 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9822 else
9823 whole_archive_flag_spec_CXX=
9824 fi
9825 else
9826 with_gnu_ld=no
9827 wlarc=
9828
9829 # A generic and very simple default shared library creation
9830 # command for GNU C++ for the case where it uses the native
9831 # linker, instead of GNU ld. If possible, this setting should
9832 # overridden to take advantage of the native linker features on
9833 # the platform it is being used on.
9834 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9835 fi
9836
9837 # Commands to make compiler produce verbose output that lists
9838 # what "hidden" libraries, object files and flags are used when
9839 # linking a shared library.
9840 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9841
9842 else
9843 GXX=no
9844 with_gnu_ld=no
9845 wlarc=
9846 fi
9847
9848 # PORTME: fill in a description of your system's C++ link characteristics
9849 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9850 echoscip-shell system . . echo. $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9851 ld_shlibs_CXX=yes
9852 case $host_os in
9853 aix3*)
9854 # FIXME: insert proper C++ library support
9855 ld_shlibs_CXX=no
9856 ;;
9857 aix4* | aix5*)
9858 if testscip-shell system . . test. "$host_cpu" = ia64; then
9859 # On IA64, the linker does run time linking by default, so we don't
9860 # have to do anything special.
9861 aix_use_runtimelinking=no
9862 exp_sym_flag='-Bexport'
9863 no_entry_flag=""
9864 else
9865 aix_use_runtimelinking=no
9866
9867 # Test if we are trying to use run time linking or normal
9868 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9869 # need to do runtime linking.
9870 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9871 for ld_flag in $LDFLAGS; do
9872 case $ld_flag in
9873 *-brtl*)
9874 aix_use_runtimelinking=yes
9875 break
9876 ;;
9877 esac
9878 done
9879 ;;
9880 esac
9881
9882 exp_sym_flag='-bexport'
9883 no_entry_flag='-bnoentry'
9884 fi
9885
9886 # When large executables or shared objects are built, AIX ld can
9887 # have problems creating the table of contents. If linking a library
9888 # or program results in "error TOC overflow" add -mminimal-toc to
9889 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9890 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9891
9892 archive_cmds_CXX=''
9893 hardcode_direct_CXX=yes
9894 hardcode_libdir_separator_CXX=':'
9895 link_all_deplibs_CXX=yes
9896
9897 if testscip-shell system . . test. "$GXX" = yes; then
9898 case $host_os in aix4.[012]|aix4.[012].*)
9899 # We only want to do this on AIX 4.2 and lower, the check
9900 # below for broken collect2 doesn't work under 4.3+
9901 collect2name=`${CC} -print-prog-name=collect2`
9902 if testscip-shell system . . test. -f "$collect2name" && \
9903 strings "$collect2name" | grepscip-shell system . . grep. resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`.
9904 then
9905 # We have reworked collect2
9906 hardcode_direct_CXX=yes
9907 else
9908 # We have old collect2
9909 hardcode_direct_CXX=unsupported
9910 # It fails to find uninstalled libraries when the uninstalled
9911 # path is not listed in the libpath. Setting hardcode_minus_L
9912 # to unsupported forces relinking
9913 hardcode_minus_L_CXX=yes
9914 hardcode_libdir_flag_spec_CXX='-L$libdir'
9915 hardcode_libdir_separator_CXX=
9916 fi
9917 ;;
9918 esac
9919 shared_flag='-shared'
9920 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
9921 shared_flag="$shared_flag "'${wl}-G'
9922 fi
9923 else
9924 # not using gcc
9925 if testscip-shell system . . test. "$host_cpu" = ia64; then
9926 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9927 # chokes on -Wl,-G. The following line is correct:
9928 shared_flag='-G'
9929 else
9930 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
9931 shared_flag='${wl}-G'
9932 else
9933 shared_flag='${wl}-bM:SRE'
9934 fi
9935 fi
9936 fi
9937
9938 # It seems that -bexpall does not export symbols beginning with
9939 # underscore (_), so it is better to generate a list of symbols to export.
9940 always_export_symbols_CXX=yes
9941 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
9942 # Warning - without using the other runtime loading flags (-brtl),
9943 # -berok will link without error, but may produce a broken library.
9944 allow_undefined_flag_CXX='-berok'
9945 # Determine the default libpath from the value encoded in an empty executable.
9946 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
9947 /* confdefs.h. */
9948 _ACEOF
9949 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
9950 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
9951 /* end confdefs.h. */
9952
9953 int
9954 main ()
9955 {
9956
9957 ;
9958 return 0;
9959 }
9960 _ACEOF
9961 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
9962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9963 (eval $ac_link) 2>conftest.er1
9964 ac_status=$?
9965 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
9966 rmscip-shell system . . rm. -f conftest.er1
9967 catscip-shell system . . cat. conftest.err >&5
9968 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } &&
9970 { ac_try='test -z "$ac_cxx_werror_flag"
9971 || test ! -s conftest.err'
9972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9973 (eval $ac_try) 2>&5
9974 ac_status=$?
9975 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); }; } &&
9977 { ac_try='test -s conftest$ac_exeext'
9978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 (eval $ac_try) 2>&5
9980 ac_status=$?
9981 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); }; }; then
9983
9984 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9985 }'`
9986 # Check for a 64-bit object if we didn't find anything.
9987 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9988 }'`; fi
9989 else
9990 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
9991 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
9992
9993 fi
9994 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath="/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`."; fi
9997
9998 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9999
10000 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10001 else
10002 if testscip-shell system . . test. "$host_cpu" = ia64; then
10003 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10004 allow_undefined_flag_CXX="-z nodefs"
10005 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"
10006 else
10007 # Determine the default libpath from the value encoded in an empty executable.
10008 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
10009 /* confdefs.h. */
10010 _ACEOF
10011 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
10012 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
10013 /* end confdefs.h. */
10014
10015 int
10016 main ()
10017 {
10018
10019 ;
10020 return 0;
10021 }
10022 _ACEOF
10023 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
10024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10025 (eval $ac_link) 2>conftest.er1
10026 ac_status=$?
10027 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
10028 rmscip-shell system . . rm. -f conftest.er1
10029 catscip-shell system . . cat. conftest.err >&5
10030 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } &&
10032 { ac_try='test -z "$ac_cxx_werror_flag"
10033 || test ! -s conftest.err'
10034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10035 (eval $ac_try) 2>&5
10036 ac_status=$?
10037 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); }; } &&
10039 { ac_try='test -s conftest$ac_exeext'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10042 ac_status=$?
10043 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; }; then
10045
10046 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10047 }'`
10048 # Check for a 64-bit object if we didn't find anything.
10049 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10050 }'`; fi
10051 else
10052 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
10053 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
10054
10055 fi
10056 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
10057 conftest$ac_exeext conftest.$ac_ext
10058 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath="/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`."; fi
10059
10060 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10061 # Warning - without using the other run time loading flags,
10062 # -berok will link without error, but may produce a broken library.
10063 no_undefined_flag_CXX=' ${wl}-bernotok'
10064 allow_undefined_flag_CXX=' ${wl}-berok'
10065 # Exported symbols can be pulled into shared objects from archives
10066 whole_archive_flag_spec_CXX='$convenience'
10067 archive_cmds_need_lc_CXX=yes
10068 # This is similar to how AIX traditionally builds its shared libraries.
10069 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10070 fi
10071 fi
10072 ;;
10073
10074 beos*)
10075 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
10076 allow_undefined_flag_CXX=unsupported
10077 # Joseph Beckenbach <[email protected]> says some releases of gcc
10078 # support --undefined. This deserves some investigation. FIXME
10079 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10080 else
10081 ld_shlibs_CXX=no
10082 fi
10083 ;;
10084
10085 chorus*)
10086 case $cc_basename in
10087 *)
10088 # FIXME: insert proper C++ library support
10089 ld_shlibs_CXX=no
10090 ;;
10091 esac
10092 ;;
10093
10094 cygwin* | mingw* | pw32*)
10095 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10096 # as there is no search path for DLLs.
10097 hardcode_libdir_flag_spec_CXX='-L$libdir'
10098 allow_undefined_flag_CXX=unsupported
10099 always_export_symbols_CXX=no
10100 enable_shared_with_static_runtimes_CXX=yes
10101
10102 if $LD --help 2>&1 | grepscip-shell system . . grep. 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
10103 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'
10104 # If the export-symbols file already is a .def file (1st line
10105 # is EXPORTS), use it as is; otherwise, prepend...
10106 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10107 cp $export_symbols $output_objdir/$soname.def;
10108 else
10109 echo EXPORTS > $output_objdir/$soname.def;
10110 cat $export_symbols >> $output_objdir/$soname.def;
10111 fi~
10112 $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'
10113 else
10114 ld_shlibs_CXX=no
10115 fi
10116 ;;
10117 darwin* | rhapsody*)
10118 case $host_os in
10119 rhapsody* | darwin1.[012])
10120 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10121 ;;
10122 *) # Darwin 1.3 on
10123 if testscip-shell system . . test. -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10124 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10125 else
10126 case ${MACOSX_DEPLOYMENT_TARGET} in
10127 10.[012])
10128 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10129 ;;
10130 10.*)
10131 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10132 ;;
10133 esac
10134 fi
10135 ;;
10136 esac
10137 archive_cmds_need_lc_CXX=no
10138 hardcode_direct_CXX=no
10139 hardcode_automatic_CXX=yes
10140 hardcode_shlibpath_var_CXX=unsupported
10141 whole_archive_flag_spec_CXX=''
10142 link_all_deplibs_CXX=yes
10143
10144 if testscip-shell system . . test. "$GXX" = yes ; then
10145 lt_int_apple_cc_single_mod=no
10146 output_verbose_link_cmd='echo'
10147 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
10148 lt_int_apple_cc_single_mod=yes
10149 fi
10150 if testscip-shell system . . test. "X$lt_int_apple_cc_single_mod" = Xyes ; then
10151 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10152 else
10153 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'
10154 fi
10155 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10156 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10157 if testscip-shell system . . test. "X$lt_int_apple_cc_single_mod" = Xyes ; then
10158 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10159 else
10160 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10161 fi
10162 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10163 else
10164 case $cc_basename in
10165 xlc*)
10166 output_verbose_link_cmd='echo'
10167 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10168 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10169 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10170 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10171 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10172 ;;
10173 *)
10174 ld_shlibs_CXX=no
10175 ;;
10176 esac
10177 fi
10178 ;;
10179
10180 dgux*)
10181 case $cc_basename in
10182 ec++*)
10183 # FIXME: insert proper C++ library support
10184 ld_shlibs_CXX=no
10185 ;;
10186 ghcx*)
10187 # Green Hills C++ Compiler
10188 # FIXME: insert proper C++ library support
10189 ld_shlibs_CXX=no
10190 ;;
10191 *)
10192 # FIXME: insert proper C++ library support
10193 ld_shlibs_CXX=no
10194 ;;
10195 esac
10196 ;;
10197 freebsd[12]*)
10198 # C++ shared libraries reported to be fairly broken before switch to ELF
10199 ld_shlibs_CXX=no
10200 ;;
10201 freebsd-elf*)
10202 archive_cmds_need_lc_CXX=no
10203 ;;
10204 freebsd* | kfreebsd*-gnu | dragonfly*)
10205 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10206 # conventions
10207 ld_shlibs_CXX=yes
10208 ;;
10209 gnu*)
10210 ;;
10211 hpux9*)
10212 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10213 hardcode_libdir_separator_CXX=:
10214 export_dynamic_flag_spec_CXX='${wl}-E'
10215 hardcode_direct_CXX=yes
10216 hardcode_minus_L_CXX=yes # Not in the search PATH,
10217 # but as the default
10218 # location of the library.
10219
10220 case $cc_basename in
10221 CC*)
10222 # FIXME: insert proper C++ library support
10223 ld_shlibs_CXX=no
10224 ;;
10225 aCC*)
10226 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10227 # Commands to make compiler produce verbose output that lists
10228 # what "hidden" libraries, object files and flags are used when
10229 # linking a shared library.
10230 #
10231 # There doesn't appear to be a way to prevent this compiler from
10232 # explicitly linking system object files so we need to strip them
10233 # from the output so that they don't get included in the library
10234 # dependencies.
10235 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; echo $list'
10236 ;;
10237 *)
10238 if testscip-shell system . . test. "$GXX" = yes; then
10239 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10240 else
10241 # FIXME: insert proper C++ library support
10242 ld_shlibs_CXX=no
10243 fi
10244 ;;
10245 esac
10246 ;;
10247 hpux10*|hpux11*)
10248 if testscip-shell system . . test. $with_gnu_ld = no; then
10249 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10250 hardcode_libdir_separator_CXX=:
10251
10252 case $host_cpu in
10253 hppa*64*|ia64*)
10254 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10255 ;;
10256 *)
10257 export_dynamic_flag_spec_CXX='${wl}-E'
10258 ;;
10259 esac
10260 fi
10261 case $host_cpu in
10262 hppa*64*|ia64*)
10263 hardcode_direct_CXX=no
10264 hardcode_shlibpath_var_CXX=no
10265 ;;
10266 *)
10267 hardcode_direct_CXX=yes
10268 hardcode_minus_L_CXX=yes # Not in the search PATH,
10269 # but as the default
10270 # location of the library.
10271 ;;
10272 esac
10273
10274 case $cc_basename in
10275 CC*)
10276 # FIXME: insert proper C++ library support
10277 ld_shlibs_CXX=no
10278 ;;
10279 aCC*)
10280 case $host_cpu in
10281 hppa*64*)
10282 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10283 ;;
10284 ia64*)
10285 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10286 ;;
10287 *)
10288 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10289 ;;
10290 esac
10291 # Commands to make compiler produce verbose output that lists
10292 # what "hidden" libraries, object files and flags are used when
10293 # linking a shared library.
10294 #
10295 # There doesn't appear to be a way to prevent this compiler from
10296 # explicitly linking system object files so we need to strip them
10297 # from the output so that they don't get included in the library
10298 # dependencies.
10299 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; echo $list'
10300 ;;
10301 *)
10302 if testscip-shell system . . test. "$GXX" = yes; then
10303 if testscip-shell system . . test. $with_gnu_ld = no; then
10304 case $host_cpu in
10305 hppa*64*)
10306 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10307 ;;
10308 ia64*)
10309 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10310 ;;
10311 *)
10312 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10313 ;;
10314 esac
10315 fi
10316 else
10317 # FIXME: insert proper C++ library support
10318 ld_shlibs_CXX=no
10319 fi
10320 ;;
10321 esac
10322 ;;
10323 interix3*)
10324 hardcode_direct_CXX=no
10325 hardcode_shlibpath_var_CXX=no
10326 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10327 export_dynamic_flag_spec_CXX='${wl}-E'
10328 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10329 # Instead, shared libraries are loaded at an image base (0x10000000 by
10330 # default) and relocated if they conflict, which is a slow very memory
10331 # consuming and fragmenting process. To avoid this, we pick a random,
10332 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10333 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10334 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'
10335 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'
10336 ;;
10337 irix5* | irix6*)
10338 case $cc_basename in
10339 CC*)
10340 # SGI C++
10341 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10342
10343 # Archives containing C++ object files must be created using
10344 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10345 # necessary to make sure instantiated templates are included
10346 # in the archive.
10347 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10348 ;;
10349 *)
10350 if testscip-shell system . . test. "$GXX" = yes; then
10351 if testscip-shell system . . test. "$with_gnu_ld" = no; then
10352 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10353 else
10354 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10355 fi
10356 fi
10357 link_all_deplibs_CXX=yes
10358 ;;
10359 esac
10360 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10361 hardcode_libdir_separator_CXX=:
10362 ;;
10363 linux*)
10364 case $cc_basename in
10365 KCC*)
10366 # Kuck and Associates, Inc. (KAI) C++ Compiler
10367
10368 # KCC will only create a shared library if the output file
10369 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10370 # to its proper name (with version) after linking.
10371 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'
10372 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'
10373 # Commands to make compiler produce verbose output that lists
10374 # what "hidden" libraries, object files and flags are used when
10375 # linking a shared library.
10376 #
10377 # There doesn't appear to be a way to prevent this compiler from
10378 # explicitly linking system object files so we need to strip them
10379 # from the output so that they don't get included in the library
10380 # dependencies.
10381 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; echo $list'
10382
10383 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10384 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10385
10386 # Archives containing C++ object files must be created using
10387 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10388 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10389 ;;
10390 icpc*)
10391 # Intel C++
10392 with_gnu_ld=yes
10393 # version 8.0 and above of icpc choke on multiply defined symbols
10394 # if we add $predep_objects and $postdep_objects, however 7.1 and
10395 # earlier do not add the objects themselves.
10396 case `$CC -V 2>&1` in
10397 *"Version 7."*)
10398 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10399 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'
10400 ;;
10401 *) # Version 8.0 or newer
10402 tmp_idyn=
10403 case $host_cpu in
10404 ia64*) tmp_idyn=' -i_dynamic';;
10405 esac
10406 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10407 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'
10408 ;;
10409 esac
10410 archive_cmds_need_lc_CXX=no
10411 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10412 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10413 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10414 ;;
10415 pgCC*)
10416 # Portland Group C++ compiler
10417 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10418 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'
10419
10420 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10421 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10422 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10423 ;;
10424 cxx*)
10425 # Compaq C++
10426 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10427 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'
10428
10429 runpath_var=LD_RUN_PATH
10430 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10431 hardcode_libdir_separator_CXX=:
10432
10433 # Commands to make compiler produce verbose output that lists
10434 # what "hidden" libraries, object files and flags are used when
10435 # linking a shared library.
10436 #
10437 # There doesn't appear to be a way to prevent this compiler from
10438 # explicitly linking system object files so we need to strip them
10439 # from the output so that they don't get included in the library
10440 # dependencies.
10441 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $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; echo $list'
10442 ;;
10443 esac
10444 ;;
10445 lynxos*)
10446 # FIXME: insert proper C++ library support
10447 ld_shlibs_CXX=no
10448 ;;
10449 m88k*)
10450 # FIXME: insert proper C++ library support
10451 ld_shlibs_CXX=no
10452 ;;
10453 mvs*)
10454 case $cc_basename in
10455 cxx*)
10456 # FIXME: insert proper C++ library support
10457 ld_shlibs_CXX=no
10458 ;;
10459 *)
10460 # FIXME: insert proper C++ library support
10461 ld_shlibs_CXX=no
10462 ;;
10463 esac
10464 ;;
10465 netbsd*)
10466 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
10467 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10468 wlarc=
10469 hardcode_libdir_flag_spec_CXX='-R$libdir'
10470 hardcode_direct_CXX=yes
10471 hardcode_shlibpath_var_CXX=no
10472 fi
10473 # Workaround some broken pre-1.5 toolchains
10474 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10475 ;;
10476 openbsd2*)
10477 # C++ shared libraries are fairly broken
10478 ld_shlibs_CXX=no
10479 ;;
10480 openbsd*)
10481 hardcode_direct_CXX=yes
10482 hardcode_shlibpath_var_CXX=no
10483 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10484 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10485 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`" || testscip-shell system . . test. "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10486 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10487 export_dynamic_flag_spec_CXX='${wl}-E'
10488 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10489 fi
10490 output_verbose_link_cmd='echo'
10491 ;;
10492 osf3*)
10493 case $cc_basename in
10494 KCC*)
10495 # Kuck and Associates, Inc. (KAI) C++ Compiler
10496
10497 # KCC will only create a shared library if the output file
10498 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10499 # to its proper name (with version) after linking.
10500 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'
10501
10502 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10503 hardcode_libdir_separator_CXX=:
10504
10505 # Archives containing C++ object files must be created using
10506 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10507 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10508
10509 ;;
10510 RCC*)
10511 # Rational C++ 2.4.1
10512 # FIXME: insert proper C++ library support
10513 ld_shlibs_CXX=no
10514 ;;
10515 cxx*)
10516 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10517 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10518
10519 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10520 hardcode_libdir_separator_CXX=:
10521
10522 # Commands to make compiler produce verbose output that lists
10523 # what "hidden" libraries, object files and flags are used when
10524 # linking a shared library.
10525 #
10526 # There doesn't appear to be a way to prevent this compiler from
10527 # explicitly linking system object files so we need to strip them
10528 # from the output so that they don't get included in the library
10529 # dependencies.
10530 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
10531 ;;
10532 *)
10533 if testscip-shell system . . test. "$GXX" = yes && testscip-shell system . . test. "$with_gnu_ld" = no; then
10534 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10535 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10536
10537 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10538 hardcode_libdir_separator_CXX=:
10539
10540 # Commands to make compiler produce verbose output that lists
10541 # what "hidden" libraries, object files and flags are used when
10542 # linking a shared library.
10543 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10544
10545 else
10546 # FIXME: insert proper C++ library support
10547 ld_shlibs_CXX=no
10548 fi
10549 ;;
10550 esac
10551 ;;
10552 osf4* | osf5*)
10553 case $cc_basename in
10554 KCC*)
10555 # Kuck and Associates, Inc. (KAI) C++ Compiler
10556
10557 # KCC will only create a shared library if the output file
10558 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10559 # to its proper name (with version) after linking.
10560 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'
10561
10562 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10563 hardcode_libdir_separator_CXX=:
10564
10565 # Archives containing C++ object files must be created using
10566 # the KAI C++ compiler.
10567 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10568 ;;
10569 RCC*)
10570 # Rational C++ 2.4.1
10571 # FIXME: insert proper C++ library support
10572 ld_shlibs_CXX=no
10573 ;;
10574 cxx*)
10575 allow_undefined_flag_CXX=' -expect_unresolved \*'
10576 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10577 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10578 echo "-hidden">> $lib.exp~
10579 $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~
10580 $rm $lib.exp'
10581
10582 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10583 hardcode_libdir_separator_CXX=:
10584
10585 # Commands to make compiler produce verbose output that lists
10586 # what "hidden" libraries, object files and flags are used when
10587 # linking a shared library.
10588 #
10589 # There doesn't appear to be a way to prevent this compiler from
10590 # explicitly linking system object files so we need to strip them
10591 # from the output so that they don't get included in the library
10592 # dependencies.
10593 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
10594 ;;
10595 *)
10596 if testscip-shell system . . test. "$GXX" = yes && testscip-shell system . . test. "$with_gnu_ld" = no; then
10597 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10598 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10599
10600 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10601 hardcode_libdir_separator_CXX=:
10602
10603 # Commands to make compiler produce verbose output that lists
10604 # what "hidden" libraries, object files and flags are used when
10605 # linking a shared library.
10606 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10607
10608 else
10609 # FIXME: insert proper C++ library support
10610 ld_shlibs_CXX=no
10611 fi
10612 ;;
10613 esac
10614 ;;
10615 psos*)
10616 # FIXME: insert proper C++ library support
10617 ld_shlibs_CXX=no
10618 ;;
10619 sunos4*)
10620 case $cc_basename in
10621 CC*)
10622 # Sun C++ 4.x
10623 # FIXME: insert proper C++ library support
10624 ld_shlibs_CXX=no
10625 ;;
10626 lcc*)
10627 # Lucid
10628 # FIXME: insert proper C++ library support
10629 ld_shlibs_CXX=no
10630 ;;
10631 *)
10632 # FIXME: insert proper C++ library support
10633 ld_shlibs_CXX=no
10634 ;;
10635 esac
10636 ;;
10637 solaris*)
10638 case $cc_basename in
10639 CC*)
10640 # Sun C++ 4.2, 5.x and Centerline C++
10641 archive_cmds_need_lc_CXX=yes
10642 no_undefined_flag_CXX=' -zdefs'
10643 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10644 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10645 $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'
10646
10647 hardcode_libdir_flag_spec_CXX='-R$libdir'
10648 hardcode_shlibpath_var_CXX=no
10649 case $host_os in
10650 solaris2.[0-5] | solaris2.[0-5].*) ;;
10651 *)
10652 # The C++ compiler is used as linker so we must use $wl
10653 # flag to pass the commands to the underlying system
10654 # linker. We must also pass each convience library through
10655 # to the system linker between allextract/defaultextract.
10656 # The C++ compiler will combine linker options so we
10657 # cannot just pass the convience library names through
10658 # without $wl.
10659 # Supported since Solaris 2.6 (maybe 2.5.1?)
10660 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
10661 ;;
10662 esac
10663 link_all_deplibs_CXX=yes
10664
10665 output_verbose_link_cmd='echo'
10666
10667 # Archives containing C++ object files must be created using
10668 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10669 # necessary to make sure instantiated templates are included
10670 # in the archive.
10671 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10672 ;;
10673 gcx*)
10674 # Green Hills C++ Compiler
10675 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10676
10677 # The C++ compiler must be used to create the archive.
10678 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10679 ;;
10680 *)
10681 # GNU C++ compiler with Solaris linker
10682 if testscip-shell system . . test. "$GXX" = yes && testscip-shell system . . test. "$with_gnu_ld" = no; then
10683 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10684 if $CC --version | grepscip-shell system . . grep. -v '^2\.7' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
10685 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10686 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10687 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10688
10689 # Commands to make compiler produce verbose output that lists
10690 # what "hidden" libraries, object files and flags are used when
10691 # linking a shared library.
10692 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10693 else
10694 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10695 # platform.
10696 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10697 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10698 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10699
10700 # Commands to make compiler produce verbose output that lists
10701 # what "hidden" libraries, object files and flags are used when
10702 # linking a shared library.
10703 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10704 fi
10705
10706 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10707 fi
10708 ;;
10709 esac
10710 ;;
10711 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10712 no_undefined_flag_CXX='${wl}-z,text'
10713 archive_cmds_need_lc_CXX=no
10714 hardcode_shlibpath_var_CXX=no
10715 runpath_var='LD_RUN_PATH'
10716
10717 case $cc_basename in
10718 CC*)
10719 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10720 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10721 ;;
10722 *)
10723 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10724 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10725 ;;
10726 esac
10727 ;;
10728 sysv5* | sco3.2v5* | sco5v6*)
10729 # Note: We can NOT use -z defs as we might desire, because we do not
10730 # link with -lc, and that would cause any symbols used from libc to
10731 # always be unresolved, which means just about no library would
10732 # ever link correctly. If we're not using GNU ld we use -z text
10733 # though, which does catch some bad symbols but isn't as heavy-handed
10734 # as -z defs.
10735 # For security reasons, it is highly recommended that you always
10736 # use absolute paths for naming shared libraries, and exclude the
10737 # DT_RUNPATH tag from executables and libraries. But doing so
10738 # requires that you compile everything twice, which is a pain.
10739 # So that behaviour is only enabled if SCOABSPATH is set to a
10740 # non-empty value in the environment. Most likely only useful for
10741 # creating official distributions of packages.
10742 # This is a hack until libtool officially supports absolute path
10743 # names for shared libraries.
10744 no_undefined_flag_CXX='${wl}-z,text'
10745 allow_undefined_flag_CXX='${wl}-z,nodefs'
10746 archive_cmds_need_lc_CXX=no
10747 hardcode_shlibpath_var_CXX=no
10748 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10749 hardcode_libdir_separator_CXX=':'
10750 link_all_deplibs_CXX=yes
10751 export_dynamic_flag_spec_CXX='${wl}-Bexport'
10752 runpath_var='LD_RUN_PATH'
10753
10754 case $cc_basename in
10755 CC*)
10756 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10757 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10758 ;;
10759 *)
10760 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10761 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10762 ;;
10763 esac
10764 ;;
10765 tandem*)
10766 case $cc_basename in
10767 NCC*)
10768 # NonStop-UX NCC 3.20
10769 # FIXME: insert proper C++ library support
10770 ld_shlibs_CXX=no
10771 ;;
10772 *)
10773 # FIXME: insert proper C++ library support
10774 ld_shlibs_CXX=no
10775 ;;
10776 esac
10777 ;;
10778 vxworks*)
10779 # FIXME: insert proper C++ library support
10780 ld_shlibs_CXX=no
10781 ;;
10782 *)
10783 # FIXME: insert proper C++ library support
10784 ld_shlibs_CXX=no
10785 ;;
10786 esac
10787 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10788 echoscip-shell system . . echo. "${ECHO_T}$ld_shlibs_CXX" >&6
10789 testscip-shell system . . test. "$ld_shlibs_CXX" = no && can_build_shared=no
10790
10791 GCC_CXX="$GXX"
10792 LD_CXX="$LD"
10793
10794
10795 catscip-shell system . . cat. > conftest.$ac_ext <<EOF
10796 class Foo
10797 {
10798 public:
10799 Foo (void) { a = 0; }
10800 private:
10801 int a;
10802 };
10803 EOF
10804
10805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10806 (eval $ac_compile) 2>&5
10807 ac_status=$?
10808 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; then
10810 # Parse the compiler output and extract the necessary
10811 # objects, libraries and library flags.
10812
10813 # Sentinel used to keep track of whether or not we are before
10814 # the conftest object file.
10815 pre_test_object_deps_done=no
10816
10817 # The `*' in the case matches for architectures that use `case' in
10818 # $output_verbose_cmd can trigger glob expansion during the loop
10819 # eval without this substitution.
10820 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10821
10822 for p in `eval $output_verbose_link_cmd`; do
10823 case $p in
10824
10825 -L* | -R* | -l*)
10826 # Some compilers place space between "-{L,R}" and the path.
10827 # Remove the space.
10828 if testscip-shell system . . test. $p = "-L" \
10829 || testscip-shell system . . test. $p = "-R"; then
10830 prev=$p
10831 continue
10832 else
10833 prev=
10834 fi
10835
10836 if testscip-shell system . . test. "$pre_test_object_deps_done" = no; then
10837 case $p in
10838 -L* | -R*)
10839 # Internal compiler library paths should come after those
10840 # provided the user. The postdeps already come after the
10841 # user supplied libs so there is no need to process them.
10842 if testscip-shell system . . test. -z "$compiler_lib_search_path_CXX"; then
10843 compiler_lib_search_path_CXX="${prev}${p}"
10844 else
10845 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10846 fi
10847 ;;
10848 # The "-l" case would never come before the object being
10849 # linked, so don't bother handling this case.
10850 esac
10851 else
10852 if testscip-shell system . . test. -z "$postdeps_CXX"; then
10853 postdeps_CXX="${prev}${p}"
10854 else
10855 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10856 fi
10857 fi
10858 ;;
10859
10860 *.$objext)
10861 # This assumes that the test object file only shows up
10862 # once in the compiler output.
10863 if testscip-shell system . . test. "$p" = "conftest.$objext"; then
10864 pre_test_object_deps_done=yes
10865 continue
10866 fi
10867
10868 if testscip-shell system . . test. "$pre_test_object_deps_done" = no; then
10869 if testscip-shell system . . test. -z "$predep_objects_CXX"; then
10870 predep_objects_CXX="$p"
10871 else
10872 predep_objects_CXX="$predep_objects_CXX $p"
10873 fi
10874 else
10875 if testscip-shell system . . test. -z "$postdep_objects_CXX"; then
10876 postdep_objects_CXX="$p"
10877 else
10878 postdep_objects_CXX="$postdep_objects_CXX $p"
10879 fi
10880 fi
10881 ;;
10882
10883 *) ;; # Ignore the rest.
10884
10885 esac
10886 done
10887
10888 # Clean up.
10889 rmscip-shell system . . rm. -f a.out a.exe
10890 else
10891 echoscip-shell system . . echo. "libtool.m4: error: problem compiling CXX test program"
10892 fi
10893
10894 $rm -f confest.$objext
10895
10896 # PORTME: override above test on systems where it is broken
10897 case $host_os in
10898 interix3*)
10899 # Interix 3.5 installs completely hosed .la files for C++, so rather than
10900 # hack all around it, let's just trust "g++" to DTRT.
10901 predep_objects_CXX=
10902 postdep_objects_CXX=
10903 postdeps_CXX=
10904 ;;
10905
10906 solaris*)
10907 case $cc_basename in
10908 CC*)
10909 # Adding this requires a known-good setup of shared libraries for
10910 # Sun compiler versions before 5.6, else PIC objects from an old
10911 # archive will be linked into the output, leading to subtle bugs.
10912 postdeps_CXX='-lCstd -lCrun'
10913 ;;
10914 esac
10915 ;;
10916 esac
10917
10918
10919 case " $postdeps_CXX " in
10920 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10921 esac
10922
10923 lt_prog_compiler_wl_CXX=
10924 lt_prog_compiler_pic_CXX=
10925 lt_prog_compiler_static_CXX=
10926
10927 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10928 echoscip-shell system . . echo. $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10929
10930 # C++ specific cases for pic, static, wl, etc.
10931 if testscip-shell system . . test. "$GXX" = yes; then
10932 lt_prog_compiler_wl_CXX='-Wl,'
10933 lt_prog_compiler_static_CXX='-static'
10934
10935 case $host_os in
10936 aix*)
10937 # All AIX code is PIC.
10938 if testscip-shell system . . test. "$host_cpu" = ia64; then
10939 # AIX 5 now supports IA64 processor
10940 lt_prog_compiler_static_CXX='-Bstatic'
10941 fi
10942 ;;
10943 amigaos*)
10944 # FIXME: we need at least 68020 code to build shared libraries, but
10945 # adding the `-m68020' flag to GCC prevents building anything better,
10946 # like `-m68040'.
10947 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10948 ;;
10949 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10950 # PIC is the default for these OSes.
10951 ;;
10952 mingw* | os2* | pw32*)
10953 # This hack is so that the source file can tell whether it is being
10954 # built for inclusion in a dll (and should export symbols for example).
10955 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10956 ;;
10957 darwin* | rhapsody*)
10958 # PIC is the default on this platform
10959 # Common symbols not allowed in MH_DYLIB files
10960 lt_prog_compiler_pic_CXX='-fno-common'
10961 ;;
10962 *djgpp*)
10963 # DJGPP does not support shared libraries at all
10964 lt_prog_compiler_pic_CXX=
10965 ;;
10966 interix3*)
10967 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10968 # Instead, we relocate shared libraries at runtime.
10969 ;;
10970 sysv4*MP*)
10971 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
10972 lt_prog_compiler_pic_CXX=-Kconform_pic
10973 fi
10974 ;;
10975 hpux*)
10976 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10977 # not for PA HP-UX.
10978 case $host_cpu in
10979 hppa*64*|ia64*)
10980 ;;
10981 *)
10982 lt_prog_compiler_pic_CXX='-fPIC'
10983 ;;
10984 esac
10985 ;;
10986 *)
10987 lt_prog_compiler_pic_CXX='-fPIC'
10988 ;;
10989 esac
10990 else
10991 case $host_os in
10992 aix4* | aix5*)
10993 # All AIX code is PIC.
10994 if testscip-shell system . . test. "$host_cpu" = ia64; then
10995 # AIX 5 now supports IA64 processor
10996 lt_prog_compiler_static_CXX='-Bstatic'
10997 else
10998 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10999 fi
11000 ;;
11001 chorus*)
11002 case $cc_basename in
11003 cxch68*)
11004 # Green Hills C++ Compiler
11005 # _LT_AC_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"
11006 ;;
11007 esac
11008 ;;
11009 darwin*)
11010 # PIC is the default on this platform
11011 # Common symbols not allowed in MH_DYLIB files
11012 case $cc_basename in
11013 xlc*)
11014 lt_prog_compiler_pic_CXX='-qnocommon'
11015 lt_prog_compiler_wl_CXX='-Wl,'
11016 ;;
11017 esac
11018 ;;
11019 dgux*)
11020 case $cc_basename in
11021 ec++*)
11022 lt_prog_compiler_pic_CXX='-KPIC'
11023 ;;
11024 ghcx*)
11025 # Green Hills C++ Compiler
11026 lt_prog_compiler_pic_CXX='-pic'
11027 ;;
11028 *)
11029 ;;
11030 esac
11031 ;;
11032 freebsd* | kfreebsd*-gnu | dragonfly*)
11033 # FreeBSD uses GNU C++
11034 ;;
11035 hpux9* | hpux10* | hpux11*)
11036 case $cc_basename in
11037 CC*)
11038 lt_prog_compiler_wl_CXX='-Wl,'
11039 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11040 if testscip-shell system . . test. "$host_cpu" != ia64; then
11041 lt_prog_compiler_pic_CXX='+Z'
11042 fi
11043 ;;
11044 aCC*)
11045 lt_prog_compiler_wl_CXX='-Wl,'
11046 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11047 case $host_cpu in
11048 hppa*64*|ia64*)
11049 # +Z the default
11050 ;;
11051 *)
11052 lt_prog_compiler_pic_CXX='+Z'
11053 ;;
11054 esac
11055 ;;
11056 *)
11057 ;;
11058 esac
11059 ;;
11060 interix*)
11061 # This is c89, which is MS Visual C++ (no shared libs)
11062 # Anyone wants to do a port?
11063 ;;
11064 irix5* | irix6* | nonstopux*)
11065 case $cc_basename in
11066 CC*)
11067 lt_prog_compiler_wl_CXX='-Wl,'
11068 lt_prog_compiler_static_CXX='-non_shared'
11069 # CC pic flag -KPIC is the default.
11070 ;;
11071 *)
11072 ;;
11073 esac
11074 ;;
11075 linux*)
11076 case $cc_basename in
11077 KCC*)
11078 # KAI C++ Compiler
11079 lt_prog_compiler_wl_CXX='--backend -Wl,'
11080 lt_prog_compiler_pic_CXX='-fPIC'
11081 ;;
11082 icpc* | ecpc*)
11083 # Intel C++
11084 lt_prog_compiler_wl_CXX='-Wl,'
11085 lt_prog_compiler_pic_CXX='-KPIC'
11086 lt_prog_compiler_static_CXX='-static'
11087 ;;
11088 pgCC*)
11089 # Portland Group C++ compiler.
11090 lt_prog_compiler_wl_CXX='-Wl,'
11091 lt_prog_compiler_pic_CXX='-fpic'
11092 lt_prog_compiler_static_CXX='-Bstatic'
11093 ;;
11094 cxx*)
11095 # Compaq C++
11096 # Make sure the PIC flag is empty. It appears that all Alpha
11097 # Linux and Compaq Tru64 Unix objects are PIC.
11098 lt_prog_compiler_pic_CXX=
11099 lt_prog_compiler_static_CXX='-non_shared'
11100 ;;
11101 *)
11102 ;;
11103 esac
11104 ;;
11105 lynxos*)
11106 ;;
11107 m88k*)
11108 ;;
11109 mvs*)
11110 case $cc_basename in
11111 cxx*)
11112 lt_prog_compiler_pic_CXX='-W c,exportall'
11113 ;;
11114 *)
11115 ;;
11116 esac
11117 ;;
11118 netbsd*)
11119 ;;
11120 osf3* | osf4* | osf5*)
11121 case $cc_basename in
11122 KCC*)
11123 lt_prog_compiler_wl_CXX='--backend -Wl,'
11124 ;;
11125 RCC*)
11126 # Rational C++ 2.4.1
11127 lt_prog_compiler_pic_CXX='-pic'
11128 ;;
11129 cxx*)
11130 # Digital/Compaq C++
11131 lt_prog_compiler_wl_CXX='-Wl,'
11132 # Make sure the PIC flag is empty. It appears that all Alpha
11133 # Linux and Compaq Tru64 Unix objects are PIC.
11134 lt_prog_compiler_pic_CXX=
11135 lt_prog_compiler_static_CXX='-non_shared'
11136 ;;
11137 *)
11138 ;;
11139 esac
11140 ;;
11141 psos*)
11142 ;;
11143 solaris*)
11144 case $cc_basename in
11145 CC*)
11146 # Sun C++ 4.2, 5.x and Centerline C++
11147 lt_prog_compiler_pic_CXX='-KPIC'
11148 lt_prog_compiler_static_CXX='-Bstatic'
11149 lt_prog_compiler_wl_CXX='-Qoption ld '
11150 ;;
11151 gcx*)
11152 # Green Hills C++ Compiler
11153 lt_prog_compiler_pic_CXX='-PIC'
11154 ;;
11155 *)
11156 ;;
11157 esac
11158 ;;
11159 sunos4*)
11160 case $cc_basename in
11161 CC*)
11162 # Sun C++ 4.x
11163 lt_prog_compiler_pic_CXX='-pic'
11164 lt_prog_compiler_static_CXX='-Bstatic'
11165 ;;
11166 lcc*)
11167 # Lucid
11168 lt_prog_compiler_pic_CXX='-pic'
11169 ;;
11170 *)
11171 ;;
11172 esac
11173 ;;
11174 tandem*)
11175 case $cc_basename in
11176 NCC*)
11177 # NonStop-UX NCC 3.20
11178 lt_prog_compiler_pic_CXX='-KPIC'
11179 ;;
11180 *)
11181 ;;
11182 esac
11183 ;;
11184 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11185 case $cc_basename in
11186 CC*)
11187 lt_prog_compiler_wl_CXX='-Wl,'
11188 lt_prog_compiler_pic_CXX='-KPIC'
11189 lt_prog_compiler_static_CXX='-Bstatic'
11190 ;;
11191 esac
11192 ;;
11193 vxworks*)
11194 ;;
11195 *)
11196 lt_prog_compiler_can_build_shared_CXX=no
11197 ;;
11198 esac
11199 fi
11200
11201 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11202 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11203
11204 #
11205 # Check to make sure the PIC flag actually works.
11206 #
11207 if testscip-shell system . . test. -n "$lt_prog_compiler_pic_CXX"; then
11208
11209 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11210 echoscip-shell system . . echo. $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11211 if testscip-shell system . . test. "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11212 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
11213 else
11214 lt_prog_compiler_pic_works_CXX=no
11215 ac_outfile=conftest.$ac_objext
11216 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
11217 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11218 # Insert the option either (1) after the last *FLAGS variable, or
11219 # (2) before a word containing "conftest.", or (3) at the end.
11220 # Note that $ac_compile itself does not contain backslashes and begins
11221 # with a dollar sign (not a hyphen), so the echo should work correctly.
11222 # The option is referenced via a variable to avoid confusing sed.
11223 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
11224 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11225 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11226 -e 's:$: $lt_compiler_flag:'`
11227 (eval echo "\"\$as_me:11227: $lt_compile\"" >&5)
11228 (eval "$lt_compile" 2>conftest.err)
11229 ac_status=$?
11230 catscip-shell system . . cat. conftest.err >&5
11231 echoscip-shell system . . echo. "$as_me:11231: \$? = $ac_status" >&5
11232 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
11233 # The compiler can only warn and ignore the option if not recognized
11234 # So say no if there are warnings other than the usual output.
11235 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
11236 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
11237 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
11238 lt_prog_compiler_pic_works_CXX=yes
11239 fi
11240 fi
11241 $rm conftest*
11242
11243 fi
11244 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11245 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11246
11247 if testscip-shell system . . test. x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11248 case $lt_prog_compiler_pic_CXX in
11249 "" | " "*) ;;
11250 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
11251 esac
11252 else
11253 lt_prog_compiler_pic_CXX=
11254 lt_prog_compiler_can_build_shared_CXX=no
11255 fi
11256
11257 fi
11258 case $host_os in
11259 # For platforms which do not support PIC, -DPIC is meaningless:
11260 *djgpp*)
11261 lt_prog_compiler_pic_CXX=
11262 ;;
11263 *)
11264 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
11265 ;;
11266 esac
11267
11268 #
11269 # Check to make sure the static flag actually works.
11270 #
11271 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11272 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11273 echoscip-shell system . . echo. $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11274 if testscip-shell system . . test. "${lt_prog_compiler_static_works_CXX+set}" = set; then
11275 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
11276 else
11277 lt_prog_compiler_static_works_CXX=no
11278 save_LDFLAGS="$LDFLAGS"
11279 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11280 printfscip-shell system . . printf. "$lt_simple_link_test_code" > conftest.$ac_ext
11281 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
11282 # The linker can only warn and ignore the option if not recognized
11283 # So say no if there are warnings
11284 if testscip-shell system . . test. -s conftest.err; then
11285 # Append any errors to the config.log.
11286 catscip-shell system . . cat. conftest.err 1>&5
11287 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
11288 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
11289 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
11290 lt_prog_compiler_static_works_CXX=yes
11291 fi
11292 else
11293 lt_prog_compiler_static_works_CXX=yes
11294 fi
11295 fi
11296 $rm conftest*
11297 LDFLAGS="$save_LDFLAGS"
11298
11299 fi
11300 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11301 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11302
11303 if testscip-shell system . . test. x"$lt_prog_compiler_static_works_CXX" = xyes; then
11304 :
11305 else
11306 lt_prog_compiler_static_CXX=
11307 fi
11308
11309
11310 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11311 echoscip-shell system . . echo. $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11312 if testscip-shell system . . test. "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11313 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
11314 else
11315 lt_cv_prog_compiler_c_o_CXX=no
11316 $rm -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
11317 mkdirscip-shell system . . mkdir. conftest
11318 cd conftest
11319 mkdirscip-shell system . . mkdir. out
11320 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
11321
11322 lt_compiler_flag="-o out/conftest2.$ac_objext"
11323 # Insert the option either (1) after the last *FLAGS variable, or
11324 # (2) before a word containing "conftest.", or (3) at the end.
11325 # Note that $ac_compile itself does not contain backslashes and begins
11326 # with a dollar sign (not a hyphen), so the echo should work correctly.
11327 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
11328 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11330 -e 's:$: $lt_compiler_flag:'`
11331 (eval echo "\"\$as_me:11331: $lt_compile\"" >&5)
11332 (eval "$lt_compile" 2>out/conftest.err)
11333 ac_status=$?
11334 catscip-shell system . . cat. out/conftest.err >&5
11335 echoscip-shell system . . echo. "$as_me:11335: \$? = $ac_status" >&5
11336 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
11337 then
11338 # The compiler can only warn and ignore the option if not recognized
11339 # So say no if there are warnings
11340 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
11341 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
11342 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
11343 lt_cv_prog_compiler_c_o_CXX=yes
11344 fi
11345 fi
11346 chmodscip-shell system . . chmod. u+w . 2>&5
11347 $rm conftest*
11348 # SGI C++ compiler will create directory out/ii_files/ for
11349 # template instantiation
11350 testscip-shell system . . test. -d out/ii_files && $rm out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
11351 $rm out/* && rmdirscip-shell system . . rmdir. out
11352 cd ..
11353 rmdirscip-shell system . . rmdir. conftest
11354 $rm conftest*
11355
11356 fi
11357 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11358 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11359
11360
11361 hard_links="nottested"
11362 if testscip-shell system . . test. "$lt_cv_prog_compiler_c_o_CXX" = no && testscip-shell system . . test. "$need_locks" != no; then
11363 # do not overwrite the value of need_locks provided by the user
11364 echoscip-shell system . . echo. "$as_me:$LINENO: checking if we can lock with hard links" >&5
11365 echoscip-shell system . . echo. $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11366 hard_links=yes
11367 $rm conftest*
11368 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
11369 touchscip-shell system . . touch. conftest.a
11370 lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no
11371 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
11372 echoscip-shell system . . echo. "$as_me:$LINENO: result: $hard_links" >&5
11373 echoscip-shell system . . echo. "${ECHO_T}$hard_links" >&6
11374 if testscip-shell system . . test. "$hard_links" = no; then
11375 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11376 echoscip-shell system . . echo. "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11377 need_locks=warn
11378 fi
11379 else
11380 need_locks=no
11381 fi
11382
11383 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11384 echoscip-shell system . . echo. $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11385
11386 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11387 case $host_os in
11388 aix4* | aix5*)
11389 # If we're using GNU nm, then we don't want the "-C" option.
11390 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11391 if $NM -V 2>&1 | grepscip-shell system . . grep. 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
11392 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11393 else
11394 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11395 fi
11396 ;;
11397 pw32*)
11398 export_symbols_cmds_CXX="$ltdll_cmds"
11399 ;;
11400 cygwin* | mingw*)
11401 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11402 ;;
11403 *)
11404 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11405 ;;
11406 esac
11407
11408 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11409 echoscip-shell system . . echo. "${ECHO_T}$ld_shlibs_CXX" >&6
11410 testscip-shell system . . test. "$ld_shlibs_CXX" = no && can_build_shared=no
11411
11412 #
11413 # Do we need to explicitly link libc?
11414 #
11415 case "x$archive_cmds_need_lc_CXX" in
11416 x|xyes)
11417 # Assume -lc should be added
11418 archive_cmds_need_lc_CXX=yes
11419
11420 if testscip-shell system . . test. "$enable_shared" = yes && testscip-shell system . . test. "$GCC" = yes; then
11421 case $archive_cmds_CXX in
11422 *'~'*)
11423 # FIXME: we may have to deal with multi-command sequences.
11424 ;;
11425 '$CC '*)
11426 # Test whether the compiler implicitly links with -lc since on some
11427 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11428 # to ld, don't add -lc before -lgcc.
11429 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11430 echoscip-shell system . . echo. $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11431 $rm conftest*
11432 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
11433
11434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11435 (eval $ac_compile) 2>&5
11436 ac_status=$?
11437 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); } 2>conftest.err; then
11439 soname=conftest
11440 lib=conftest
11441 libobjs=conftest.$ac_objext
11442 deplibs=
11443 wl=$lt_prog_compiler_wl_CXX
11444 pic_flag=$lt_prog_compiler_pic_CXX
11445 compiler_flags=-v
11446 linker_flags=-v
11447 verstring=
11448 output_objdir=.
11449 libname=conftest
11450 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11451 allow_undefined_flag_CXX=
11452 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11453 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11454 ac_status=$?
11455 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }
11457 then
11458 archive_cmds_need_lc_CXX=no
11459 else
11460 archive_cmds_need_lc_CXX=yes
11461 fi
11462 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11463 else
11464 catscip-shell system . . cat. conftest.err 1>&5
11465 fi
11466 $rm conftest*
11467 echoscip-shell system . . echo. "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11468 echoscip-shell system . . echo. "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11469 ;;
11470 esac
11471 fi
11472 ;;
11473 esac
11474
11475 echoscip-shell system . . echo. "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11476 echoscip-shell system . . echo. $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11477 library_names_spec=
11478 libname_spec='lib$name'
11479 soname_spec=
11480 shrext_cmds=".so"
11481 postinstall_cmds=
11482 postuninstall_cmds=
11483 finish_cmds=
11484 finish_eval=
11485 shlibpath_var=
11486 shlibpath_overrides_runpath=unknown
11487 version_type=none
11488 dynamic_linker="$host_os ld.so"
11489 sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`."
11490 if testscip-shell system . . test. "$GCC" = yes; then
11491 sys_lib_search_path_spec=`$CC -print-search-dirs | grepscip-shell system . . grep. "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11492 if echoscip-shell system . . echo. "$sys_lib_search_path_spec" | grepscip-shell system . . grep. ';' >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
11493 # if the path contains ";" then we assume it to be the separator
11494 # otherwise default to the standard path separator (i.e. ":") - it is
11495 # assumed that no part of a normal pathname contains ";" but that should
11496 # okay in the real world where ";" in dirpaths is itself problematic.
11497 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11498 else
11499 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11500 fi
11501 else
11502 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
11503 fi
11504 need_lib_prefix=unknown
11505 hardcode_into_libs=no
11506
11507 # when you set need_version to no, make sure it does not cause -set_version
11508 # flags to be left without arguments
11509 need_version=unknown
11510
11511 case $host_os in
11512 aix3*)
11513 version_type=linux
11514 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11515 shlibpath_var=LIBPATH
11516
11517 # AIX 3 has no versioning support, so we append a major version to the name.
11518 soname_spec='${libname}${release}${shared_ext}$major'
11519 ;;
11520
11521 aix4* | aix5*)
11522 version_type=linux
11523 need_lib_prefix=no
11524 need_version=no
11525 hardcode_into_libs=yes
11526 if testscip-shell system . . test. "$host_cpu" = ia64; then
11527 # AIX 5 supports IA64
11528 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11529 shlibpath_var=LD_LIBRARY_PATH
11530 else
11531 # With GCC up to 2.95.x, collect2 would create an import file
11532 # for dependence libraries. The import file would start with
11533 # the line `#! .'. This would cause the generated library to
11534 # depend on `.', always an invalid library. This was fixed in
11535 # development snapshots of GCC prior to 3.0.
11536 case $host_os in
11537 aix4 | aix4.[01] | aix4.[01].*)
11538 if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11539 echoscip-shell system . . echo. ' yes '
11540 echoscip-shell system . . echo. '#endif'; } | ${CC} -E - | grepscip-shell system . . grep. yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then
11541 :
11542 else
11543 can_build_shared=no
11544 fi
11545 ;;
11546 esac
11547 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11548 # soname into executable. Probably we can add versioning support to
11549 # collect2, so additional links can be useful in future.
11550 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
11551 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11552 # instead of lib<name>.a to let people know that these are not
11553 # typical AIX shared libraries.
11554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11555 else
11556 # We preserve .a as extension for shared libraries through AIX4.2
11557 # and later when we are not doing run time linking.
11558 library_names_spec='${libname}${release}.a $libname.a'
11559 soname_spec='${libname}${release}${shared_ext}$major'
11560 fi
11561 shlibpath_var=LIBPATH
11562 fi
11563 ;;
11564
11565 amigaos*)
11566 library_names_spec='$libname.ixlibrary $libname.a'
11567 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11568 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
11569 ;;
11570
11571 beos*)
11572 library_names_spec='${libname}${shared_ext}'
11573 dynamic_linker="$host_os ld.so"
11574 shlibpath_var=LIBRARY_PATH
11575 ;;
11576
11577 bsdi[45]*)
11578 version_type=linux
11579 need_version=no
11580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11581 soname_spec='${libname}${release}${shared_ext}$major'
11582 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11583 shlibpath_var=LD_LIBRARY_PATH
11584 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`."
11585 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`."
11586 # the default ld.so.conf also contains /usr/contrib/lib and
11587 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11588 # libtool to hard-code these into programs
11589 ;;
11590
11591 cygwin* | mingw* | pw32*)
11592 version_type=windows
11593 shrext_cmds=".dll"
11594 need_version=no
11595 need_lib_prefix=no
11596
11597 case $GCC,$host_os in
11598 yes,cygwin* | yes,mingw* | yes,pw32*)
11599 library_names_spec='$libname.dll.a'
11600 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11601 postinstall_cmds='base_file=`basename \${file}`~
11602 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11603 dldir=$destdir/`dirname \$dlpath`~
11604 test -d \$dldir || mkdir -p \$dldir~
11605 $install_prog $dir/$dlname \$dldir/$dlname~
11606 chmod a+x \$dldir/$dlname'
11607 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11608 dlpath=$dir/\$dldll~
11609 $rm \$dlpath'
11610 shlibpath_overrides_runpath=yes
11611
11612 case $host_os in
11613 cygwin*)
11614 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11615 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11616 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/libscip-shell filesystem . . `/usr/lib /lib/w32api /lib /usr/local/lib`."
11617 ;;
11618 mingw*)
11619 # MinGW DLLs use traditional 'lib' prefix
11620 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11621 sys_lib_search_path_spec=`$CC -print-search-dirs | grepscip-shell system . . grep. "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11622 if echoscip-shell system . . echo. "$sys_lib_search_path_spec" | grepscip-shell system . . grep. ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
11623 # It is most probably a Windows format PATH printed by
11624 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11625 # path with ; separators, and with drive letters. We can handle the
11626 # drive letters (cygwin fileutils understands them), so leave them,
11627 # especially as we might pass files found there to a mingw objdump,
11628 # which wouldn't understand a cygwinified path. Ahh.
11629 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11630 else
11631 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11632 fi
11633 ;;
11634 pw32*)
11635 # pw32 DLLs use 'pw' prefix rather than 'lib'
11636 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11637 ;;
11638 esac
11639 ;;
11640
11641 linux*)
11642 if $LD --help 2>&1 | egrepscip-shell system . . egrep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
11643 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11644 supports_anon_versioning=no
11645 case `$LD -v 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
11646 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11647 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11648 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11649 *\ 2.11.*) ;; # other 2.11 versions
11650 *) supports_anon_versioning=yes ;;
11651 esac
11652 if testscip-shell system . . test. $supports_anon_versioning = yes; then
11653 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
11654 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11655 $echo "local: *; };" >> $output_objdir/$libname.ver~
11656 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11657 else
11658 $archive_expsym_cmds="$archive_cmds"
11659 fi
11660 else
11661 ld_shlibs=no
11662 fi
11663 ;;
11664
11665 *)
11666 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11667 ;;
11668 esac
11669 dynamic_linker='Win32 ld.exe'
11670 # FIXME: first we should search . and the directory the executable is in
11671 shlibpath_var=PATH
11672 ;;
11673
11674 darwin* | rhapsody*)
11675 dynamic_linker="$host_os dyld"
11676 version_type=darwin
11677 need_lib_prefix=no
11678 need_version=no
11679 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11680 soname_spec='${libname}${release}${major}$shared_ext'
11681 shlibpath_overrides_runpath=yes
11682 shlibpath_var=DYLD_LIBRARY_PATH
11683 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11684 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11685 if testscip-shell system . . test. "$GCC" = yes; then
11686 sys_lib_search_path_spec=`$CC -print-search-dirs | trscip-shell system . . tr. "\n" "$PATH_SEPARATOR" | sedscip-shell system . . sed. -e 's/libraries:/@libraries:/' | trscip-shell system . . tr. "@" "\n" | grepscip-shell system . . grep. "^libraries:" | sedscip-shell system . . sed. -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11687 else
11688 sys_lib_search_path_spec='/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`.'
11689 fi
11690 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.'
11691 ;;
11692
11693 dgux*)
11694 version_type=linux
11695 need_lib_prefix=no
11696 need_version=no
11697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11698 soname_spec='${libname}${release}${shared_ext}$major'
11699 shlibpath_var=LD_LIBRARY_PATH
11700 ;;
11701
11702 freebsd1*)
11703 dynamic_linker=no
11704 ;;
11705
11706 kfreebsd*-gnu)
11707 version_type=linux
11708 need_lib_prefix=no
11709 need_version=no
11710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11711 soname_spec='${libname}${release}${shared_ext}$major'
11712 shlibpath_var=LD_LIBRARY_PATH
11713 shlibpath_overrides_runpath=no
11714 hardcode_into_libs=yes
11715 dynamic_linker='GNU ld.so'
11716 ;;
11717
11718 freebsd* | dragonfly*)
11719 # DragonFly does not have aout. When/if they implement a new
11720 # versioning mechanism, adjust this.
11721 if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then
11722 objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.`
11723 else
11724 case $host_os in
11725 freebsd[123]*) objformat=aout ;;
11726 *) objformat=elf ;;
11727 esac
11728 fi
11729 # Handle Gentoo/FreeBSD as it was Linux
11730 case $host_vendor in
11731 gentoo)
11732 version_type=linux ;;
11733 *)
11734 version_type=freebsd-$objformat ;;
11735 esac
11736
11737 case $version_type in
11738 freebsd-elf*)
11739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11740 need_version=no
11741 need_lib_prefix=no
11742 ;;
11743 freebsd-*)
11744 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11745 need_version=yes
11746 ;;
11747 linux)
11748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11749 soname_spec='${libname}${release}${shared_ext}$major'
11750 need_lib_prefix=no
11751 need_version=no
11752 ;;
11753 esac
11754 shlibpath_var=LD_LIBRARY_PATH
11755 case $host_os in
11756 freebsd2*)
11757 shlibpath_overrides_runpath=yes
11758 ;;
11759 freebsd3.[01]* | freebsdelf3.[01]*)
11760 shlibpath_overrides_runpath=yes
11761 hardcode_into_libs=yes
11762 ;;
11763 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11764 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11765 shlibpath_overrides_runpath=no
11766 hardcode_into_libs=yes
11767 ;;
11768 freebsd*) # from 4.6 on
11769 shlibpath_overrides_runpath=yes
11770 hardcode_into_libs=yes
11771 ;;
11772 esac
11773 ;;
11774
11775 gnu*)
11776 version_type=linux
11777 need_lib_prefix=no
11778 need_version=no
11779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11780 soname_spec='${libname}${release}${shared_ext}$major'
11781 shlibpath_var=LD_LIBRARY_PATH
11782 hardcode_into_libs=yes
11783 ;;
11784
11785 hpux9* | hpux10* | hpux11*)
11786 # Give a soname corresponding to the major version so that dld.sl refuses to
11787 # link against other versions.
11788 version_type=sunos
11789 need_lib_prefix=no
11790 need_version=no
11791 case $host_cpu in
11792 ia64*)
11793 shrext_cmds='.so'
11794 hardcode_into_libs=yes
11795 dynamic_linker="$host_os dld.so"
11796 shlibpath_var=LD_LIBRARY_PATH
11797 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11799 soname_spec='${libname}${release}${shared_ext}$major'
11800 if testscip-shell system . . test. "X$HPUX_IA64_MODE" = X32; then
11801 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`."
11802 else
11803 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`."
11804 fi
11805 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11806 ;;
11807 hppa*64*)
11808 shrext_cmds='.sl'
11809 hardcode_into_libs=yes
11810 dynamic_linker="$host_os dld.sl"
11811 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11812 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11814 soname_spec='${libname}${release}${shared_ext}$major'
11815 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`."
11816 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11817 ;;
11818 *)
11819 shrext_cmds='.sl'
11820 dynamic_linker="$host_os dld.sl"
11821 shlibpath_var=SHLIB_PATH
11822 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11824 soname_spec='${libname}${release}${shared_ext}$major'
11825 ;;
11826 esac
11827 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11828 postinstall_cmds='chmod 555 $lib'
11829 ;;
11830
11831 interix3*)
11832 version_type=linux
11833 need_lib_prefix=no
11834 need_version=no
11835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11836 soname_spec='${libname}${release}${shared_ext}$major'
11837 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11838 shlibpath_var=LD_LIBRARY_PATH
11839 shlibpath_overrides_runpath=no
11840 hardcode_into_libs=yes
11841 ;;
11842
11843 irix5* | irix6* | nonstopux*)
11844 case $host_os in
11845 nonstopux*) version_type=nonstopux ;;
11846 *)
11847 if testscip-shell system . . test. "$lt_cv_prog_gnu_ld" = yes; then
11848 version_type=linux
11849 else
11850 version_type=irix
11851 fi ;;
11852 esac
11853 need_lib_prefix=no
11854 need_version=no
11855 soname_spec='${libname}${release}${shared_ext}$major'
11856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11857 case $host_os in
11858 irix5* | nonstopux*)
11859 libsuff= shlibsuff=
11860 ;;
11861 *)
11862 case $LD in # libtool.m4 will add one of these switches to LD
11863 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11864 libsuff= shlibsuff= libmagic=32-bit;;
11865 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11866 libsuff=32 shlibsuff=N32 libmagic=N32;;
11867 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11868 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11869 *) libsuff= shlibsuff= libmagic=never-match;;
11870 esac
11871 ;;
11872 esac
11873 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11874 shlibpath_overrides_runpath=no
11875 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11876 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11877 hardcode_into_libs=yes
11878 ;;
11879
11880 # No shared lib support for Linux oldld, aout, or coff.
11881 linux*oldld* | linux*aout* | linux*coff*)
11882 dynamic_linker=no
11883 ;;
11884
11885 # This must be Linux ELF.
11886 linux*)
11887 version_type=linux
11888 need_lib_prefix=no
11889 need_version=no
11890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11891 soname_spec='${libname}${release}${shared_ext}$major'
11892 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11893 shlibpath_var=LD_LIBRARY_PATH
11894 shlibpath_overrides_runpath=no
11895 # This implies no fast_install, which is unacceptable.
11896 # Some rework will be needed to allow for fast_install
11897 # before this can be enabled.
11898 hardcode_into_libs=yes
11899
11900 # Append ld.so.conf contents to the search path
11901 if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then
11902 lt_ld_extra=`awkscip-shell system . . awk. '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }scip-shell filesystem . . `/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }`.' < /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`. | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | trscip-shell system . . tr. '\n' ' '`
11903 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11904 fi
11905
11906 # We used to test for /lib/ld.so.1 and disable shared libraries on
11907 # powerpc, because MkLinux only supported shared libraries with the
11908 # GNU dynamic linker. Since this was broken with cross compilers,
11909 # most powerpc-linux boxes support dynamic linking these days and
11910 # people can always --disable-shared, the test was removed, and we
11911 # assume the GNU/Linux dynamic linker is in use.
11912 dynamic_linker='GNU/Linux ld.so'
11913 ;;
11914
11915 knetbsd*-gnu)
11916 version_type=linux
11917 need_lib_prefix=no
11918 need_version=no
11919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11920 soname_spec='${libname}${release}${shared_ext}$major'
11921 shlibpath_var=LD_LIBRARY_PATH
11922 shlibpath_overrides_runpath=no
11923 hardcode_into_libs=yes
11924 dynamic_linker='GNU ld.so'
11925 ;;
11926
11927 netbsd*)
11928 version_type=sunos
11929 need_lib_prefix=no
11930 need_version=no
11931 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
11932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11933 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11934 dynamic_linker='NetBSD (a.out) ld.so'
11935 else
11936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11937 soname_spec='${libname}${release}${shared_ext}$major'
11938 dynamic_linker='NetBSD ld.elf_so'
11939 fi
11940 shlibpath_var=LD_LIBRARY_PATH
11941 shlibpath_overrides_runpath=yes
11942 hardcode_into_libs=yes
11943 ;;
11944
11945 newsos6)
11946 version_type=linux
11947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11948 shlibpath_var=LD_LIBRARY_PATH
11949 shlibpath_overrides_runpath=yes
11950 ;;
11951
11952 nto-qnx*)
11953 version_type=linux
11954 need_lib_prefix=no
11955 need_version=no
11956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11957 soname_spec='${libname}${release}${shared_ext}$major'
11958 shlibpath_var=LD_LIBRARY_PATH
11959 shlibpath_overrides_runpath=yes
11960 ;;
11961
11962 openbsd*)
11963 version_type=sunos
11964 sys_lib_dlsearch_path_spec="/usr/libscip-shell filesystem . . `/usr/lib`."
11965 need_lib_prefix=no
11966 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11967 case $host_os in
11968 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11969 *) need_version=no ;;
11970 esac
11971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11972 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11973 shlibpath_var=LD_LIBRARY_PATH
11974 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`" || testscip-shell system . . test. "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11975 case $host_os in
11976 openbsd2.[89] | openbsd2.[89].*)
11977 shlibpath_overrides_runpath=no
11978 ;;
11979 *)
11980 shlibpath_overrides_runpath=yes
11981 ;;
11982 esac
11983 else
11984 shlibpath_overrides_runpath=yes
11985 fi
11986 ;;
11987
11988 os2*)
11989 libname_spec='$name'
11990 shrext_cmds=".dll"
11991 need_lib_prefix=no
11992 library_names_spec='$libname${shared_ext} $libname.a'
11993 dynamic_linker='OS/2 ld.exe'
11994 shlibpath_var=LIBPATH
11995 ;;
11996
11997 osf3* | osf4* | osf5*)
11998 version_type=osf
11999 need_lib_prefix=no
12000 need_version=no
12001 soname_spec='${libname}${release}${shared_ext}$major'
12002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12003 shlibpath_var=LD_LIBRARY_PATH
12004 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`."
12005 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12006 ;;
12007
12008 solaris*)
12009 version_type=linux
12010 need_lib_prefix=no
12011 need_version=no
12012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12013 soname_spec='${libname}${release}${shared_ext}$major'
12014 shlibpath_var=LD_LIBRARY_PATH
12015 shlibpath_overrides_runpath=yes
12016 hardcode_into_libs=yes
12017 # ldd complains unless libraries are executable
12018 postinstall_cmds='chmod +x $lib'
12019 ;;
12020
12021 sunos4*)
12022 version_type=sunos
12023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12024 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12025 shlibpath_var=LD_LIBRARY_PATH
12026 shlibpath_overrides_runpath=yes
12027 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
12028 need_lib_prefix=no
12029 fi
12030 need_version=yes
12031 ;;
12032
12033 sysv4 | sysv4.3*)
12034 version_type=linux
12035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12036 soname_spec='${libname}${release}${shared_ext}$major'
12037 shlibpath_var=LD_LIBRARY_PATH
12038 case $host_vendor in
12039 sni)
12040 shlibpath_overrides_runpath=no
12041 need_lib_prefix=no
12042 export_dynamic_flag_spec='${wl}-Blargedynsym'
12043 runpath_var=LD_RUN_PATH
12044 ;;
12045 siemens)
12046 need_lib_prefix=no
12047 ;;
12048 motorola)
12049 need_lib_prefix=no
12050 need_version=no
12051 shlibpath_overrides_runpath=no
12052 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.'
12053 ;;
12054 esac
12055 ;;
12056
12057 sysv4*MP*)
12058 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`. ;then
12059 version_type=linux
12060 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12061 soname_spec='$libname${shared_ext}.$major'
12062 shlibpath_var=LD_LIBRARY_PATH
12063 fi
12064 ;;
12065
12066 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12067 version_type=freebsd-elf
12068 need_lib_prefix=no
12069 need_version=no
12070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12071 soname_spec='${libname}${release}${shared_ext}$major'
12072 shlibpath_var=LD_LIBRARY_PATH
12073 hardcode_into_libs=yes
12074 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
12075 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`.'
12076 shlibpath_overrides_runpath=no
12077 else
12078 sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.'
12079 shlibpath_overrides_runpath=yes
12080 case $host_os in
12081 sco3.2v5*)
12082 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12083 ;;
12084 esac
12085 fi
12086 sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.'
12087 ;;
12088
12089 uts4*)
12090 version_type=linux
12091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12092 soname_spec='${libname}${release}${shared_ext}$major'
12093 shlibpath_var=LD_LIBRARY_PATH
12094 ;;
12095
12096 *)
12097 dynamic_linker=no
12098 ;;
12099 esac
12100 echoscip-shell system . . echo. "$as_me:$LINENO: result: $dynamic_linker" >&5
12101 echoscip-shell system . . echo. "${ECHO_T}$dynamic_linker" >&6
12102 testscip-shell system . . test. "$dynamic_linker" = no && can_build_shared=no
12103
12104 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12105 if testscip-shell system . . test. "$GCC" = yes; then
12106 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12107 fi
12108
12109 echoscip-shell system . . echo. "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12110 echoscip-shell system . . echo. $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12111 hardcode_action_CXX=
12112 if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec_CXX" || \
12113 test -n "$runpath_var_CXX" || \
12114 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12115
12116 # We can hardcode non-existant directories.
12117 if testscip-shell system . . test. "$hardcode_direct_CXX" != no &&
12118 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12119 # have to relink, otherwise we might link with an installed library
12120 # when we should be linking with a yet-to-be-installed one
12121 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12122 testscip-shell system . . test. "$hardcode_minus_L_CXX" != no; then
12123 # Linking always hardcodes the temporary library directory.
12124 hardcode_action_CXX=relink
12125 else
12126 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12127 hardcode_action_CXX=immediate
12128 fi
12129 else
12130 # We cannot hardcode anything, or else we can only hardcode existing
12131 # directories.
12132 hardcode_action_CXX=unsupported
12133 fi
12134 echoscip-shell system . . echo. "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12135 echoscip-shell system . . echo. "${ECHO_T}$hardcode_action_CXX" >&6
12136
12137 if testscip-shell system . . test. "$hardcode_action_CXX" = relink; then
12138 # Fast installation is not supported
12139 enable_fast_install=no
12140 elif testscip-shell system . . test. "$shlibpath_overrides_runpath" = yes ||
12141 testscip-shell system . . test. "$enable_shared" = no; then
12142 # Fast installation is not necessary
12143 enable_fast_install=needless
12144 fi
12145
12146
12147 # The else clause should only fire when bootstrapping the
12148 # libtool distribution, otherwise you forgot to ship ltmain.sh
12149 # with your package, and you will get complaints that there are
12150 # no rules to generate ltmain.sh.
12151 if testscip-shell system . . test. -f "$ltmain"; then
12152 # See if we are running on zsh, and set the options which allow our commands through
12153 # without removal of \ escapes.
12154 if testscip-shell system . . test. -n "${ZSH_VERSION+set}" ; then
12155 setopt NO_GLOB_SUBST
12156 fi
12157 # Now quote all the things that may contain metacharacters while being
12158 # careful not to overquote the AC_SUBSTed values. We take copies of the
12159 # variables and quote the copies for generation of the libtool script.
12160 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12161 SED SHELL STRIP \
12162 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12163 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12164 deplibs_check_method reload_flag reload_cmds need_locks \
12165 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12166 lt_cv_sys_global_symbol_to_c_name_address \
12167 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12168 old_postinstall_cmds old_postuninstall_cmds \
12169 compiler_CXX \
12170 CC_CXX \
12171 LD_CXX \
12172 lt_prog_compiler_wl_CXX \
12173 lt_prog_compiler_pic_CXX \
12174 lt_prog_compiler_static_CXX \
12175 lt_prog_compiler_no_builtin_flag_CXX \
12176 export_dynamic_flag_spec_CXX \
12177 thread_safe_flag_spec_CXX \
12178 whole_archive_flag_spec_CXX \
12179 enable_shared_with_static_runtimes_CXX \
12180 old_archive_cmds_CXX \
12181 old_archive_from_new_cmds_CXX \
12182 predep_objects_CXX \
12183 postdep_objects_CXX \
12184 predeps_CXX \
12185 postdeps_CXX \
12186 compiler_lib_search_path_CXX \
12187 archive_cmds_CXX \
12188 archive_expsym_cmds_CXX \
12189 postinstall_cmds_CXX \
12190 postuninstall_cmds_CXX \
12191 old_archive_from_expsyms_cmds_CXX \
12192 allow_undefined_flag_CXX \
12193 no_undefined_flag_CXX \
12194 export_symbols_cmds_CXX \
12195 hardcode_libdir_flag_spec_CXX \
12196 hardcode_libdir_flag_spec_ld_CXX \
12197 hardcode_libdir_separator_CXX \
12198 hardcode_automatic_CXX \
12199 module_cmds_CXX \
12200 module_expsym_cmds_CXX \
12201 lt_cv_prog_compiler_c_o_CXX \
12202 exclude_expsyms_CXX \
12203 include_expsyms_CXX; do
12204
12205 case $var in
12206 old_archive_cmds_CXX | \
12207 old_archive_from_new_cmds_CXX | \
12208 archive_cmds_CXX | \
12209 archive_expsym_cmds_CXX | \
12210 module_cmds_CXX | \
12211 module_expsym_cmds_CXX | \
12212 old_archive_from_expsyms_cmds_CXX | \
12213 export_symbols_cmds_CXX | \
12214 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12215 postinstall_cmds | postuninstall_cmds | \
12216 old_postinstall_cmds | old_postuninstall_cmds | \
12217 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12218 # Double-quote double-evaled strings.
12219 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12220 ;;
12221 *)
12222 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12223 ;;
12224 esac
12225 done
12226
12227 case $lt_echo in
12228 *'\$0 --fallback-echo"')
12229 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12230 ;;
12231 esac
12232
12233 cfgfile="$ofile"
12234
12235 catscip-shell system . . cat. <<__EOF__ >> "$cfgfile"
12236 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12237
12238 # Libtool was configured on host `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`:
12239
12240 # Shell to use when invoking shell scripts.
12241 SHELL=$lt_SHELL
12242
12243 # Whether or not to build shared libraries.
12244 build_libtool_libs=$enable_shared
12245
12246 # Whether or not to build static libraries.
12247 build_old_libs=$enable_static
12248
12249 # Whether or not to add -lc for building shared libraries.
12250 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12251
12252 # Whether or not to disallow shared libs when runtime libs are static
12253 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12254
12255 # Whether or not to optimize for fast installation.
12256 fast_install=$enable_fast_install
12257
12258 # The host system.
12259 host_alias=$host_alias
12260 host=$host
12261 host_os=$host_os
12262
12263 # The build system.
12264 build_alias=$build_alias
12265 build=$build
12266 build_os=$build_os
12267
12268 # An echo program that does not interpret backslashes.
12269 echo=$lt_echo
12270
12271 # The archiver.
12272 AR=$lt_AR
12273 AR_FLAGS=$lt_AR_FLAGS
12274
12275 # A C compiler.
12276 LTCC=$lt_LTCC
12277
12278 # LTCC compiler flags.
12279 LTCFLAGS=$lt_LTCFLAGS
12280
12281 # A language-specific compiler.
12282 CC=$lt_compiler_CXX
12283
12284 # Is the compiler the GNU C compiler?
12285 with_gcc=$GCC_CXX
12286
12287 # An ERE matcher.
12288 EGREP=$lt_EGREP
12289
12290 # The linker used to build libraries.
12291 LD=$lt_LD_CXX
12292
12293 # Whether we need hard or soft links.
12294 LN_S=$lt_LN_S
12295
12296 # A BSD-compatible nm program.
12297 NM=$lt_NM
12298
12299 # A symbol stripping program
12300 STRIP=$lt_STRIP
12301
12302 # Used to examine libraries when file_magic_cmd begins "file"
12303 MAGIC_CMD=$MAGIC_CMD
12304
12305 # Used on cygwin: DLL creation program.
12306 DLLTOOL="$DLLTOOL"
12307
12308 # Used on cygwin: object dumper.
12309 OBJDUMP="$OBJDUMP"
12310
12311 # Used on cygwin: assembler.
12312 AS="$AS"
12313
12314 # The name of the directory that contains temporary libtool files.
12315 objdir=$objdir
12316
12317 # How to create reloadable object files.
12318 reload_flag=$lt_reload_flag
12319 reload_cmds=$lt_reload_cmds
12320
12321 # How to pass a linker flag through the compiler.
12322 wl=$lt_lt_prog_compiler_wl_CXX
12323
12324 # Object file suffix (normally "o").
12325 objext="$ac_objext"
12326
12327 # Old archive suffix (normally "a").
12328 libext="$libext"
12329
12330 # Shared library suffix (normally ".so").
12331 shrext_cmds='$shrext_cmds'
12332
12333 # Executable file suffix (normally "").
12334 exeext="$exeext"
12335
12336 # Additional compiler flags for building library objects.
12337 pic_flag=$lt_lt_prog_compiler_pic_CXX
12338 pic_mode=$pic_mode
12339
12340 # What is the maximum length of a command?
12341 max_cmd_len=$lt_cv_sys_max_cmd_len
12342
12343 # Does compiler simultaneously support -c and -o options?
12344 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12345
12346 # Must we lock files when doing compilation?
12347 need_locks=$lt_need_locks
12348
12349 # Do we need the lib prefix for modules?
12350 need_lib_prefix=$need_lib_prefix
12351
12352 # Do we need a version for libraries?
12353 need_version=$need_version
12354
12355 # Whether dlopen is supported.
12356 dlopen_support=$enable_dlopen
12357
12358 # Whether dlopen of programs is supported.
12359 dlopen_self=$enable_dlopen_self
12360
12361 # Whether dlopen of statically linked programs is supported.
12362 dlopen_self_static=$enable_dlopen_self_static
12363
12364 # Compiler flag to prevent dynamic linking.
12365 link_static_flag=$lt_lt_prog_compiler_static_CXX
12366
12367 # Compiler flag to turn off builtin functions.
12368 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12369
12370 # Compiler flag to allow reflexive dlopens.
12371 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12372
12373 # Compiler flag to generate shared objects directly from archives.
12374 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12375
12376 # Compiler flag to generate thread-safe objects.
12377 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12378
12379 # Library versioning type.
12380 version_type=$version_type
12381
12382 # Format of library name prefix.
12383 libname_spec=$lt_libname_spec
12384
12385 # List of archive names. First name is the real one, the rest are links.
12386 # The last name is the one that the linker finds with -lNAME.
12387 library_names_spec=$lt_library_names_spec
12388
12389 # The coded name of the library, if different from the real name.
12390 soname_spec=$lt_soname_spec
12391
12392 # Commands used to build and install an old-style archive.
12393 RANLIB=$lt_RANLIB
12394 old_archive_cmds=$lt_old_archive_cmds_CXX
12395 old_postinstall_cmds=$lt_old_postinstall_cmds
12396 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12397
12398 # Create an old-style archive from a shared archive.
12399 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12400
12401 # Create a temporary old-style archive to link instead of a shared archive.
12402 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12403
12404 # Commands used to build and install a shared archive.
12405 archive_cmds=$lt_archive_cmds_CXX
12406 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12407 postinstall_cmds=$lt_postinstall_cmds
12408 postuninstall_cmds=$lt_postuninstall_cmds
12409
12410 # Commands used to build a loadable module (assumed same as above if empty)
12411 module_cmds=$lt_module_cmds_CXX
12412 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12413
12414 # Commands to strip libraries.
12415 old_striplib=$lt_old_striplib
12416 striplib=$lt_striplib
12417
12418 # Dependencies to place before the objects being linked to create a
12419 # shared library.
12420 predep_objects=$lt_predep_objects_CXX
12421
12422 # Dependencies to place after the objects being linked to create a
12423 # shared library.
12424 postdep_objects=$lt_postdep_objects_CXX
12425
12426 # Dependencies to place before the objects being linked to create a
12427 # shared library.
12428 predeps=$lt_predeps_CXX
12429
12430 # Dependencies to place after the objects being linked to create a
12431 # shared library.
12432 postdeps=$lt_postdeps_CXX
12433
12434 # The library search path used internally by the compiler when linking
12435 # a shared library.
12436 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12437
12438 # Method to check whether dependent libraries are shared objects.
12439 deplibs_check_method=$lt_deplibs_check_method
12440
12441 # Command to use when deplibs_check_method == file_magic.
12442 file_magic_cmd=$lt_file_magic_cmd
12443
12444 # Flag that allows shared libraries with undefined symbols to be built.
12445 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12446
12447 # Flag that forces no undefined symbols.
12448 no_undefined_flag=$lt_no_undefined_flag_CXX
12449
12450 # Commands used to finish a libtool library installation in a directory.
12451 finish_cmds=$lt_finish_cmds
12452
12453 # Same as above, but a single script fragment to be evaled but not shown.
12454 finish_eval=$lt_finish_eval
12455
12456 # Take the output of nm and produce a listing of raw symbols and C names.
12457 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12458
12459 # Transform the output of nm in a proper C declaration
12460 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12461
12462 # Transform the output of nm in a C name address pair
12463 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12464
12465 # This is the shared library runtime path variable.
12466 runpath_var=$runpath_var
12467
12468 # This is the shared library path variable.
12469 shlibpath_var=$shlibpath_var
12470
12471 # Is shlibpath searched before the hard-coded library search path?
12472 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12473
12474 # How to hardcode a shared library path into an executable.
12475 hardcode_action=$hardcode_action_CXX
12476
12477 # Whether we should hardcode library paths into libraries.
12478 hardcode_into_libs=$hardcode_into_libs
12479
12480 # Flag to hardcode \$libdir into a binary during linking.
12481 # This must work even if \$libdir does not exist.
12482 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12483
12484 # If ld is used when linking, flag to hardcode \$libdir into
12485 # a binary during linking. This must work even if \$libdir does
12486 # not exist.
12487 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12488
12489 # Whether we need a single -rpath flag with a separated argument.
12490 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12491
12492 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12493 # resulting binary.
12494 hardcode_direct=$hardcode_direct_CXX
12495
12496 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12497 # resulting binary.
12498 hardcode_minus_L=$hardcode_minus_L_CXX
12499
12500 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12501 # the resulting binary.
12502 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12503
12504 # Set to yes if building a shared library automatically hardcodes DIR into the library
12505 # and all subsequent libraries and executables linked against it.
12506 hardcode_automatic=$hardcode_automatic_CXX
12507
12508 # Variables whose values should be saved in libtool wrapper scripts and
12509 # restored at relink time.
12510 variables_saved_for_relink="$variables_saved_for_relink"
12511
12512 # Whether libtool must link a program against all its dependency libraries.
12513 link_all_deplibs=$link_all_deplibs_CXX
12514
12515 # Compile-time system search path for libraries
12516 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12517
12518 # Run-time system search path for libraries
12519 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12520
12521 # Fix the shell variable \$srcfile for the compiler.
12522 fix_srcfile_path="$fix_srcfile_path_CXX"
12523
12524 # Set to yes if exported symbols are required.
12525 always_export_symbols=$always_export_symbols_CXX
12526
12527 # The commands to list exported symbols.
12528 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12529
12530 # The commands to extract the exported symbol list from a shared archive.
12531 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12532
12533 # Symbols that should not be listed in the preloaded symbols.
12534 exclude_expsyms=$lt_exclude_expsyms_CXX
12535
12536 # Symbols that must always be exported.
12537 include_expsyms=$lt_include_expsyms_CXX
12538
12539 # ### END LIBTOOL TAG CONFIG: $tagname
12540
12541 __EOF__
12542
12543
12544 else
12545 # If there is no Makefile yet, we rely on a make rule to execute
12546 # `config.status --recheck' to rerun these tests and create the
12547 # libtool script then.
12548 ltmain_in=`echoscip-shell system . . echo. $ltmain | sedscip-shell system . . sed. -e 's/\.sh$/.in/'`
12549 if testscip-shell system . . test. -f "$ltmain_in"; then
12550 testscip-shell system . . test. -f Makefile && makescip-shell system . . make. "$ltmain"
12551 fi
12552 fi
12553
12554
12555 ac_ext=c
12556 ac_cpp='$CPP $CPPFLAGS'
12557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12560
12561 CC=$lt_save_CC
12562 LDCXX=$LD
12563 LD=$lt_save_LD
12564 GCC=$lt_save_GCC
12565 with_gnu_ldcxx=$with_gnu_ld
12566 with_gnu_ld=$lt_save_with_gnu_ld
12567 lt_cv_path_LDCXX=$lt_cv_path_LD
12568 lt_cv_path_LD=$lt_save_path_LD
12569 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12570 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12571
12572 else
12573 tagname=""
12574 fi
12575 ;;
12576
12577 F77)
12578 if testscip-shell system . . test. -n "$F77" && testscip-shell system . . test. "X$F77" != "Xno"; then
12579
12580 ac_ext=f
12581 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12582 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12583 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12584
12585
12586 archive_cmds_need_lc_F77=no
12587 allow_undefined_flag_F77=
12588 always_export_symbols_F77=no
12589 archive_expsym_cmds_F77=
12590 export_dynamic_flag_spec_F77=
12591 hardcode_direct_F77=no
12592 hardcode_libdir_flag_spec_F77=
12593 hardcode_libdir_flag_spec_ld_F77=
12594 hardcode_libdir_separator_F77=
12595 hardcode_minus_L_F77=no
12596 hardcode_automatic_F77=no
12597 module_cmds_F77=
12598 module_expsym_cmds_F77=
12599 link_all_deplibs_F77=unknown
12600 old_archive_cmds_F77=$old_archive_cmds
12601 no_undefined_flag_F77=
12602 whole_archive_flag_spec_F77=
12603 enable_shared_with_static_runtimes_F77=no
12604
12605 # Source file extension for f77 test sources.
12606 ac_ext=f
12607
12608 # Object file extension for compiled f77 test sources.
12609 objext=o
12610 objext_F77=$objext
12611
12612 # Code to be used in simple compile tests
12613 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12614
12615 # Code to be used in simple link tests
12616 lt_simple_link_test_code=" program t\n end\n"
12617
12618 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12619
12620 # If no C compiler was specified, use CC.
12621 LTCC=${LTCC-"$CC"}
12622
12623 # If no C compiler flags were specified, use CFLAGS.
12624 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12625
12626 # Allow CC to be a program name with arguments.
12627 compiler=$CC
12628
12629
12630 # save warnings/boilerplate of simple test code
12631 ac_outfile=conftest.$ac_objext
12632 printfscip-shell system . . printf. "$lt_simple_compile_test_code" >conftest.$ac_ext
12633 eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
12634 _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err`
12635 $rm conftest*
12636
12637 ac_outfile=conftest.$ac_objext
12638 printfscip-shell system . . printf. "$lt_simple_link_test_code" >conftest.$ac_ext
12639 eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
12640 _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err`
12641 $rm conftest*
12642
12643
12644 # Allow CC to be a program name with arguments.
12645 lt_save_CC="$CC"
12646 CC=${F77-"f77"}
12647 compiler=$CC
12648 compiler_F77=$CC
12649 for cc_temp in $compiler""; do
12650 case $cc_temp in
12651 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12652 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12653 \-*) ;;
12654 *) break;;
12655 esac
12656 done
12657 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12658
12659
12660 echoscip-shell system . . echo. "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12661 echoscip-shell system . . echo. $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12662 echoscip-shell system . . echo. "$as_me:$LINENO: result: $can_build_shared" >&5
12663 echoscip-shell system . . echo. "${ECHO_T}$can_build_shared" >&6
12664
12665 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether to build shared libraries" >&5
12666 echoscip-shell system . . echo. $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12667 testscip-shell system . . test. "$can_build_shared" = "no" && enable_shared=no
12668
12669 # On AIX, shared libraries and static libraries use the same namespace, and
12670 # are all built from PIC.
12671 case $host_os in
12672 aix3*)
12673 testscip-shell system . . test. "$enable_shared" = yes && enable_static=no
12674 if testscip-shell system . . test. -n "$RANLIB"; then
12675 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12676 postinstall_cmds='$RANLIB $lib'
12677 fi
12678 ;;
12679 aix4* | aix5*)
12680 if testscip-shell system . . test. "$host_cpu" != ia64 && testscip-shell system . . test. "$aix_use_runtimelinking" = no ; then
12681 testscip-shell system . . test. "$enable_shared" = yes && enable_static=no
12682 fi
12683 ;;
12684 esac
12685 echoscip-shell system . . echo. "$as_me:$LINENO: result: $enable_shared" >&5
12686 echoscip-shell system . . echo. "${ECHO_T}$enable_shared" >&6
12687
12688 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether to build static libraries" >&5
12689 echoscip-shell system . . echo. $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12690 # Make sure either enable_shared or enable_static is yes.
12691 testscip-shell system . . test. "$enable_shared" = yes || enable_static=yes
12692 echoscip-shell system . . echo. "$as_me:$LINENO: result: $enable_static" >&5
12693 echoscip-shell system . . echo. "${ECHO_T}$enable_static" >&6
12694
12695 GCC_F77="$G77"
12696 LD_F77="$LD"
12697
12698 lt_prog_compiler_wl_F77=
12699 lt_prog_compiler_pic_F77=
12700 lt_prog_compiler_static_F77=
12701
12702 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12703 echoscip-shell system . . echo. $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12704
12705 if testscip-shell system . . test. "$GCC" = yes; then
12706 lt_prog_compiler_wl_F77='-Wl,'
12707 lt_prog_compiler_static_F77='-static'
12708
12709 case $host_os in
12710 aix*)
12711 # All AIX code is PIC.
12712 if testscip-shell system . . test. "$host_cpu" = ia64; then
12713 # AIX 5 now supports IA64 processor
12714 lt_prog_compiler_static_F77='-Bstatic'
12715 fi
12716 ;;
12717
12718 amigaos*)
12719 # FIXME: we need at least 68020 code to build shared libraries, but
12720 # adding the `-m68020' flag to GCC prevents building anything better,
12721 # like `-m68040'.
12722 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12723 ;;
12724
12725 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12726 # PIC is the default for these OSes.
12727 ;;
12728
12729 mingw* | pw32* | os2*)
12730 # This hack is so that the source file can tell whether it is being
12731 # built for inclusion in a dll (and should export symbols for example).
12732 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12733 ;;
12734
12735 darwin* | rhapsody*)
12736 # PIC is the default on this platform
12737 # Common symbols not allowed in MH_DYLIB files
12738 lt_prog_compiler_pic_F77='-fno-common'
12739 ;;
12740
12741 interix3*)
12742 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12743 # Instead, we relocate shared libraries at runtime.
12744 ;;
12745
12746 msdosdjgpp*)
12747 # Just because we use GCC doesn't mean we suddenly get shared libraries
12748 # on systems that don't support them.
12749 lt_prog_compiler_can_build_shared_F77=no
12750 enable_shared=no
12751 ;;
12752
12753 sysv4*MP*)
12754 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
12755 lt_prog_compiler_pic_F77=-Kconform_pic
12756 fi
12757 ;;
12758
12759 hpux*)
12760 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12761 # not for PA HP-UX.
12762 case $host_cpu in
12763 hppa*64*|ia64*)
12764 # +Z the default
12765 ;;
12766 *)
12767 lt_prog_compiler_pic_F77='-fPIC'
12768 ;;
12769 esac
12770 ;;
12771
12772 *)
12773 lt_prog_compiler_pic_F77='-fPIC'
12774 ;;
12775 esac
12776 else
12777 # PORTME Check for flag to pass linker flags through the system compiler.
12778 case $host_os in
12779 aix*)
12780 lt_prog_compiler_wl_F77='-Wl,'
12781 if testscip-shell system . . test. "$host_cpu" = ia64; then
12782 # AIX 5 now supports IA64 processor
12783 lt_prog_compiler_static_F77='-Bstatic'
12784 else
12785 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12786 fi
12787 ;;
12788 darwin*)
12789 # PIC is the default on this platform
12790 # Common symbols not allowed in MH_DYLIB files
12791 case $cc_basename in
12792 xlc*)
12793 lt_prog_compiler_pic_F77='-qnocommon'
12794 lt_prog_compiler_wl_F77='-Wl,'
12795 ;;
12796 esac
12797 ;;
12798
12799 mingw* | pw32* | os2*)
12800 # This hack is so that the source file can tell whether it is being
12801 # built for inclusion in a dll (and should export symbols for example).
12802 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12803 ;;
12804
12805 hpux9* | hpux10* | hpux11*)
12806 lt_prog_compiler_wl_F77='-Wl,'
12807 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12808 # not for PA HP-UX.
12809 case $host_cpu in
12810 hppa*64*|ia64*)
12811 # +Z the default
12812 ;;
12813 *)
12814 lt_prog_compiler_pic_F77='+Z'
12815 ;;
12816 esac
12817 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12818 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12819 ;;
12820
12821 irix5* | irix6* | nonstopux*)
12822 lt_prog_compiler_wl_F77='-Wl,'
12823 # PIC (with -KPIC) is the default.
12824 lt_prog_compiler_static_F77='-non_shared'
12825 ;;
12826
12827 newsos6)
12828 lt_prog_compiler_pic_F77='-KPIC'
12829 lt_prog_compiler_static_F77='-Bstatic'
12830 ;;
12831
12832 linux*)
12833 case $cc_basename in
12834 icc* | ecc*)
12835 lt_prog_compiler_wl_F77='-Wl,'
12836 lt_prog_compiler_pic_F77='-KPIC'
12837 lt_prog_compiler_static_F77='-static'
12838 ;;
12839 pgcc* | pgf77* | pgf90* | pgf95*)
12840 # Portland Group compilers (*not* the Pentium gcc compiler,
12841 # which looks to be a dead project)
12842 lt_prog_compiler_wl_F77='-Wl,'
12843 lt_prog_compiler_pic_F77='-fpic'
12844 lt_prog_compiler_static_F77='-Bstatic'
12845 ;;
12846 ccc*)
12847 lt_prog_compiler_wl_F77='-Wl,'
12848 # All Alpha code is PIC.
12849 lt_prog_compiler_static_F77='-non_shared'
12850 ;;
12851 esac
12852 ;;
12853
12854 osf3* | osf4* | osf5*)
12855 lt_prog_compiler_wl_F77='-Wl,'
12856 # All OSF/1 code is PIC.
12857 lt_prog_compiler_static_F77='-non_shared'
12858 ;;
12859
12860 solaris*)
12861 lt_prog_compiler_pic_F77='-KPIC'
12862 lt_prog_compiler_static_F77='-Bstatic'
12863 case $cc_basename in
12864 f77* | f90* | f95*)
12865 lt_prog_compiler_wl_F77='-Qoption ld ';;
12866 *)
12867 lt_prog_compiler_wl_F77='-Wl,';;
12868 esac
12869 ;;
12870
12871 sunos4*)
12872 lt_prog_compiler_wl_F77='-Qoption ld '
12873 lt_prog_compiler_pic_F77='-PIC'
12874 lt_prog_compiler_static_F77='-Bstatic'
12875 ;;
12876
12877 sysv4 | sysv4.2uw2* | sysv4.3*)
12878 lt_prog_compiler_wl_F77='-Wl,'
12879 lt_prog_compiler_pic_F77='-KPIC'
12880 lt_prog_compiler_static_F77='-Bstatic'
12881 ;;
12882
12883 sysv4*MP*)
12884 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`. ;then
12885 lt_prog_compiler_pic_F77='-Kconform_pic'
12886 lt_prog_compiler_static_F77='-Bstatic'
12887 fi
12888 ;;
12889
12890 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12891 lt_prog_compiler_wl_F77='-Wl,'
12892 lt_prog_compiler_pic_F77='-KPIC'
12893 lt_prog_compiler_static_F77='-Bstatic'
12894 ;;
12895
12896 unicos*)
12897 lt_prog_compiler_wl_F77='-Wl,'
12898 lt_prog_compiler_can_build_shared_F77=no
12899 ;;
12900
12901 uts4*)
12902 lt_prog_compiler_pic_F77='-pic'
12903 lt_prog_compiler_static_F77='-Bstatic'
12904 ;;
12905
12906 *)
12907 lt_prog_compiler_can_build_shared_F77=no
12908 ;;
12909 esac
12910 fi
12911
12912 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12913 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12914
12915 #
12916 # Check to make sure the PIC flag actually works.
12917 #
12918 if testscip-shell system . . test. -n "$lt_prog_compiler_pic_F77"; then
12919
12920 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12921 echoscip-shell system . . echo. $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
12922 if testscip-shell system . . test. "${lt_prog_compiler_pic_works_F77+set}" = set; then
12923 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
12924 else
12925 lt_prog_compiler_pic_works_F77=no
12926 ac_outfile=conftest.$ac_objext
12927 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
12928 lt_compiler_flag="$lt_prog_compiler_pic_F77"
12929 # Insert the option either (1) after the last *FLAGS variable, or
12930 # (2) before a word containing "conftest.", or (3) at the end.
12931 # Note that $ac_compile itself does not contain backslashes and begins
12932 # with a dollar sign (not a hyphen), so the echo should work correctly.
12933 # The option is referenced via a variable to avoid confusing sed.
12934 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
12935 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12937 -e 's:$: $lt_compiler_flag:'`
12938 (eval echo "\"\$as_me:12938: $lt_compile\"" >&5)
12939 (eval "$lt_compile" 2>conftest.err)
12940 ac_status=$?
12941 catscip-shell system . . cat. conftest.err >&5
12942 echoscip-shell system . . echo. "$as_me:12942: \$? = $ac_status" >&5
12943 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
12944 # The compiler can only warn and ignore the option if not recognized
12945 # So say no if there are warnings other than the usual output.
12946 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
12947 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
12948 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
12949 lt_prog_compiler_pic_works_F77=yes
12950 fi
12951 fi
12952 $rm conftest*
12953
12954 fi
12955 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
12956 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
12957
12958 if testscip-shell system . . test. x"$lt_prog_compiler_pic_works_F77" = xyes; then
12959 case $lt_prog_compiler_pic_F77 in
12960 "" | " "*) ;;
12961 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
12962 esac
12963 else
12964 lt_prog_compiler_pic_F77=
12965 lt_prog_compiler_can_build_shared_F77=no
12966 fi
12967
12968 fi
12969 case $host_os in
12970 # For platforms which do not support PIC, -DPIC is meaningless:
12971 *djgpp*)
12972 lt_prog_compiler_pic_F77=
12973 ;;
12974 *)
12975 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
12976 ;;
12977 esac
12978
12979 #
12980 # Check to make sure the static flag actually works.
12981 #
12982 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
12983 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12984 echoscip-shell system . . echo. $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12985 if testscip-shell system . . test. "${lt_prog_compiler_static_works_F77+set}" = set; then
12986 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
12987 else
12988 lt_prog_compiler_static_works_F77=no
12989 save_LDFLAGS="$LDFLAGS"
12990 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12991 printfscip-shell system . . printf. "$lt_simple_link_test_code" > conftest.$ac_ext
12992 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
12993 # The linker can only warn and ignore the option if not recognized
12994 # So say no if there are warnings
12995 if testscip-shell system . . test. -s conftest.err; then
12996 # Append any errors to the config.log.
12997 catscip-shell system . . cat. conftest.err 1>&5
12998 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
12999 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
13000 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
13001 lt_prog_compiler_static_works_F77=yes
13002 fi
13003 else
13004 lt_prog_compiler_static_works_F77=yes
13005 fi
13006 fi
13007 $rm conftest*
13008 LDFLAGS="$save_LDFLAGS"
13009
13010 fi
13011 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13012 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13013
13014 if testscip-shell system . . test. x"$lt_prog_compiler_static_works_F77" = xyes; then
13015 :
13016 else
13017 lt_prog_compiler_static_F77=
13018 fi
13019
13020
13021 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13022 echoscip-shell system . . echo. $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13023 if testscip-shell system . . test. "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13024 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
13025 else
13026 lt_cv_prog_compiler_c_o_F77=no
13027 $rm -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
13028 mkdirscip-shell system . . mkdir. conftest
13029 cd conftest
13030 mkdirscip-shell system . . mkdir. out
13031 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
13032
13033 lt_compiler_flag="-o out/conftest2.$ac_objext"
13034 # Insert the option either (1) after the last *FLAGS variable, or
13035 # (2) before a word containing "conftest.", or (3) at the end.
13036 # Note that $ac_compile itself does not contain backslashes and begins
13037 # with a dollar sign (not a hyphen), so the echo should work correctly.
13038 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
13039 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13040 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13041 -e 's:$: $lt_compiler_flag:'`
13042 (eval echo "\"\$as_me:13042: $lt_compile\"" >&5)
13043 (eval "$lt_compile" 2>out/conftest.err)
13044 ac_status=$?
13045 catscip-shell system . . cat. out/conftest.err >&5
13046 echoscip-shell system . . echo. "$as_me:13046: \$? = $ac_status" >&5
13047 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
13048 then
13049 # The compiler can only warn and ignore the option if not recognized
13050 # So say no if there are warnings
13051 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
13052 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
13053 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
13054 lt_cv_prog_compiler_c_o_F77=yes
13055 fi
13056 fi
13057 chmodscip-shell system . . chmod. u+w . 2>&5
13058 $rm conftest*
13059 # SGI C++ compiler will create directory out/ii_files/ for
13060 # template instantiation
13061 testscip-shell system . . test. -d out/ii_files && $rm out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
13062 $rm out/* && rmdirscip-shell system . . rmdir. out
13063 cd ..
13064 rmdirscip-shell system . . rmdir. conftest
13065 $rm conftest*
13066
13067 fi
13068 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13069 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13070
13071
13072 hard_links="nottested"
13073 if testscip-shell system . . test. "$lt_cv_prog_compiler_c_o_F77" = no && testscip-shell system . . test. "$need_locks" != no; then
13074 # do not overwrite the value of need_locks provided by the user
13075 echoscip-shell system . . echo. "$as_me:$LINENO: checking if we can lock with hard links" >&5
13076 echoscip-shell system . . echo. $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13077 hard_links=yes
13078 $rm conftest*
13079 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
13080 touchscip-shell system . . touch. conftest.a
13081 lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no
13082 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
13083 echoscip-shell system . . echo. "$as_me:$LINENO: result: $hard_links" >&5
13084 echoscip-shell system . . echo. "${ECHO_T}$hard_links" >&6
13085 if testscip-shell system . . test. "$hard_links" = no; then
13086 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13087 echoscip-shell system . . echo. "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13088 need_locks=warn
13089 fi
13090 else
13091 need_locks=no
13092 fi
13093
13094 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13095 echoscip-shell system . . echo. $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13096
13097 runpath_var=
13098 allow_undefined_flag_F77=
13099 enable_shared_with_static_runtimes_F77=no
13100 archive_cmds_F77=
13101 archive_expsym_cmds_F77=
13102 old_archive_From_new_cmds_F77=
13103 old_archive_from_expsyms_cmds_F77=
13104 export_dynamic_flag_spec_F77=
13105 whole_archive_flag_spec_F77=
13106 thread_safe_flag_spec_F77=
13107 hardcode_libdir_flag_spec_F77=
13108 hardcode_libdir_flag_spec_ld_F77=
13109 hardcode_libdir_separator_F77=
13110 hardcode_direct_F77=no
13111 hardcode_minus_L_F77=no
13112 hardcode_shlibpath_var_F77=unsupported
13113 link_all_deplibs_F77=unknown
13114 hardcode_automatic_F77=no
13115 module_cmds_F77=
13116 module_expsym_cmds_F77=
13117 always_export_symbols_F77=no
13118 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13119 # include_expsyms should be a list of space-separated symbols to be *always*
13120 # included in the symbol list
13121 include_expsyms_F77=
13122 # exclude_expsyms can be an extended regexp of symbols to exclude
13123 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13124 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13125 # as well as any symbol that contains `d'.
13126 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13127 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13128 # platforms (ab)use it in PIC code, but their linkers get confused if
13129 # the symbol is explicitly referenced. Since portable code cannot
13130 # rely on this symbol name, it's probably fine to never include it in
13131 # preloaded symbol tables.
13132 extract_expsyms_cmds=
13133 # Just being paranoid about ensuring that cc_basename is set.
13134 for cc_temp in $compiler""; do
13135 case $cc_temp in
13136 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13137 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13138 \-*) ;;
13139 *) break;;
13140 esac
13141 done
13142 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13143
13144 case $host_os in
13145 cygwin* | mingw* | pw32*)
13146 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13147 # When not using gcc, we currently assume that we are using
13148 # Microsoft Visual C++.
13149 if testscip-shell system . . test. "$GCC" != yes; then
13150 with_gnu_ld=no
13151 fi
13152 ;;
13153 interix*)
13154 # we just hope/assume this is gcc and not c89 (= MSVC++)
13155 with_gnu_ld=yes
13156 ;;
13157 openbsd*)
13158 with_gnu_ld=no
13159 ;;
13160 esac
13161
13162 ld_shlibs_F77=yes
13163 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
13164 # If archive_cmds runs LD, not CC, wlarc should be empty
13165 wlarc='${wl}'
13166
13167 # Set some defaults for GNU ld with shared library support. These
13168 # are reset later if shared libraries are not supported. Putting them
13169 # here allows them to be overridden if necessary.
13170 runpath_var=LD_RUN_PATH
13171 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13172 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13173 # ancient GNU ld didn't support --whole-archive et. al.
13174 if $LD --help 2>&1 | grepscip-shell system . . grep. 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
13175 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13176 else
13177 whole_archive_flag_spec_F77=
13178 fi
13179 supports_anon_versioning=no
13180 case `$LD -v 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
13181 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13182 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13183 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13184 *\ 2.11.*) ;; # other 2.11 versions
13185 *) supports_anon_versioning=yes ;;
13186 esac
13187
13188 # See if GNU ld supports shared libraries.
13189 case $host_os in
13190 aix3* | aix4* | aix5*)
13191 # On AIX/PPC, the GNU linker is very broken
13192 if testscip-shell system . . test. "$host_cpu" != ia64; then
13193 ld_shlibs_F77=no
13194 catscip-shell system . . cat. <<EOF 1>&2
13195
13196 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13197 *** to be unable to reliably create shared libraries on AIX.
13198 *** Therefore, libtool is disabling shared libraries support. If you
13199 *** really care for shared libraries, you may want to modify your PATH
13200 *** so that a non-GNU linker is found, and then restart.
13201
13202 EOF
13203 fi
13204 ;;
13205
13206 amigaos*)
13207 archive_cmds_F77='$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)'
13208 hardcode_libdir_flag_spec_F77='-L$libdir'
13209 hardcode_minus_L_F77=yes
13210
13211 # Samuel A. Falvo II <[email protected]> reports
13212 # that the semantics of dynamic libraries on AmigaOS, at least up
13213 # to version 4, is to share data among multiple programs linked
13214 # with the same dynamic library. Since this doesn't match the
13215 # behavior of shared libraries on other platforms, we can't use
13216 # them.
13217 ld_shlibs_F77=no
13218 ;;
13219
13220 beos*)
13221 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
13222 allow_undefined_flag_F77=unsupported
13223 # Joseph Beckenbach <[email protected]> says some releases of gcc
13224 # support --undefined. This deserves some investigation. FIXME
13225 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13226 else
13227 ld_shlibs_F77=no
13228 fi
13229 ;;
13230
13231 cygwin* | mingw* | pw32*)
13232 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13233 # as there is no search path for DLLs.
13234 hardcode_libdir_flag_spec_F77='-L$libdir'
13235 allow_undefined_flag_F77=unsupported
13236 always_export_symbols_F77=no
13237 enable_shared_with_static_runtimes_F77=yes
13238 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13239
13240 if $LD --help 2>&1 | grepscip-shell system . . grep. 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
13241 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13242 # If the export-symbols file already is a .def file (1st line
13243 # is EXPORTS), use it as is; otherwise, prepend...
13244 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13245 cp $export_symbols $output_objdir/$soname.def;
13246 else
13247 echo EXPORTS > $output_objdir/$soname.def;
13248 cat $export_symbols >> $output_objdir/$soname.def;
13249 fi~
13250 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13251 else
13252 ld_shlibs_F77=no
13253 fi
13254 ;;
13255
13256 interix3*)
13257 hardcode_direct_F77=no
13258 hardcode_shlibpath_var_F77=no
13259 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13260 export_dynamic_flag_spec_F77='${wl}-E'
13261 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13262 # Instead, shared libraries are loaded at an image base (0x10000000 by
13263 # default) and relocated if they conflict, which is a slow very memory
13264 # consuming and fragmenting process. To avoid this, we pick a random,
13265 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13266 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13267 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13268 archive_expsym_cmds_F77='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'
13269 ;;
13270
13271 linux*)
13272 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
13273 tmp_addflag=
13274 case $cc_basename,$host_cpu in
13275 pgcc*) # Portland Group C compiler
13276 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13277 tmp_addflag=' $pic_flag'
13278 ;;
13279 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
13280 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13281 tmp_addflag=' $pic_flag -Mnomain' ;;
13282 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13283 tmp_addflag=' -i_dynamic' ;;
13284 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13285 tmp_addflag=' -i_dynamic -nofor_main' ;;
13286 ifc* | ifort*) # Intel Fortran compiler
13287 tmp_addflag=' -nofor_main' ;;
13288 esac
13289 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13290
13291 if testscip-shell system . . test. $supports_anon_versioning = yes; then
13292 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13293 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13294 $echo "local: *; };" >> $output_objdir/$libname.ver~
13295 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13296 fi
13297 else
13298 ld_shlibs_F77=no
13299 fi
13300 ;;
13301
13302 netbsd*)
13303 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
13304 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13305 wlarc=
13306 else
13307 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13308 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13309 fi
13310 ;;
13311
13312 solaris*)
13313 if $LD -v 2>&1 | grepscip-shell system . . grep. 'BFD 2\.8' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
13314 ld_shlibs_F77=no
13315 catscip-shell system . . cat. <<EOF 1>&2
13316
13317 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13318 *** create shared libraries on Solaris systems. Therefore, libtool
13319 *** is disabling shared libraries support. We urge you to upgrade GNU
13320 *** binutils to release 2.9.1 or newer. Another option is to modify
13321 *** your PATH or compiler configuration so that the native linker is
13322 *** used, and then restart.
13323
13324 EOF
13325 elif $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
13326 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13327 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13328 else
13329 ld_shlibs_F77=no
13330 fi
13331 ;;
13332
13333 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13334 case `$LD -v 2>&1` in
13335 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13336 ld_shlibs_F77=no
13337 catscip-shell system . . cat. <<_LT_EOF 1>&2
13338
13339 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13340 *** reliably create shared libraries on SCO systems. Therefore, libtool
13341 *** is disabling shared libraries support. We urge you to upgrade GNU
13342 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13343 *** your PATH or compiler configuration so that the native linker is
13344 *** used, and then restart.
13345
13346 _LT_EOF
13347 ;;
13348 *)
13349 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
13350 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13351 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13352 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13353 else
13354 ld_shlibs_F77=no
13355 fi
13356 ;;
13357 esac
13358 ;;
13359
13360 sunos4*)
13361 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13362 wlarc=
13363 hardcode_direct_F77=yes
13364 hardcode_shlibpath_var_F77=no
13365 ;;
13366
13367 *)
13368 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
13369 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13370 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13371 else
13372 ld_shlibs_F77=no
13373 fi
13374 ;;
13375 esac
13376
13377 if testscip-shell system . . test. "$ld_shlibs_F77" = no; then
13378 runpath_var=
13379 hardcode_libdir_flag_spec_F77=
13380 export_dynamic_flag_spec_F77=
13381 whole_archive_flag_spec_F77=
13382 fi
13383 else
13384 # PORTME fill in a description of your system's linker (not GNU ld)
13385 case $host_os in
13386 aix3*)
13387 allow_undefined_flag_F77=unsupported
13388 always_export_symbols_F77=yes
13389 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13390 # Note: this linker hardcodes the directories in LIBPATH if there
13391 # are no directories specified by -L.
13392 hardcode_minus_L_F77=yes
13393 if testscip-shell system . . test. "$GCC" = yes && testscip-shell system . . test. -z "$lt_prog_compiler_static"; then
13394 # Neither direct hardcoding nor static linking is supported with a
13395 # broken collect2.
13396 hardcode_direct_F77=unsupported
13397 fi
13398 ;;
13399
13400 aix4* | aix5*)
13401 if testscip-shell system . . test. "$host_cpu" = ia64; then
13402 # On IA64, the linker does run time linking by default, so we don't
13403 # have to do anything special.
13404 aix_use_runtimelinking=no
13405 exp_sym_flag='-Bexport'
13406 no_entry_flag=""
13407 else
13408 # If we're using GNU nm, then we don't want the "-C" option.
13409 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13410 if $NM -V 2>&1 | grepscip-shell system . . grep. 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
13411 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13412 else
13413 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13414 fi
13415 aix_use_runtimelinking=no
13416
13417 # Test if we are trying to use run time linking or normal
13418 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13419 # need to do runtime linking.
13420 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13421 for ld_flag in $LDFLAGS; do
13422 if (testscip-shell system . . test. $ld_flag = "-brtl" || testscip-shell system . . test. $ld_flag = "-Wl,-brtl"); then
13423 aix_use_runtimelinking=yes
13424 break
13425 fi
13426 done
13427 ;;
13428 esac
13429
13430 exp_sym_flag='-bexport'
13431 no_entry_flag='-bnoentry'
13432 fi
13433
13434 # When large executables or shared objects are built, AIX ld can
13435 # have problems creating the table of contents. If linking a library
13436 # or program results in "error TOC overflow" add -mminimal-toc to
13437 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13438 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13439
13440 archive_cmds_F77=''
13441 hardcode_direct_F77=yes
13442 hardcode_libdir_separator_F77=':'
13443 link_all_deplibs_F77=yes
13444
13445 if testscip-shell system . . test. "$GCC" = yes; then
13446 case $host_os in aix4.[012]|aix4.[012].*)
13447 # We only want to do this on AIX 4.2 and lower, the check
13448 # below for broken collect2 doesn't work under 4.3+
13449 collect2name=`${CC} -print-prog-name=collect2`
13450 if testscip-shell system . . test. -f "$collect2name" && \
13451 strings "$collect2name" | grepscip-shell system . . grep. resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`.
13452 then
13453 # We have reworked collect2
13454 hardcode_direct_F77=yes
13455 else
13456 # We have old collect2
13457 hardcode_direct_F77=unsupported
13458 # It fails to find uninstalled libraries when the uninstalled
13459 # path is not listed in the libpath. Setting hardcode_minus_L
13460 # to unsupported forces relinking
13461 hardcode_minus_L_F77=yes
13462 hardcode_libdir_flag_spec_F77='-L$libdir'
13463 hardcode_libdir_separator_F77=
13464 fi
13465 ;;
13466 esac
13467 shared_flag='-shared'
13468 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
13469 shared_flag="$shared_flag "'${wl}-G'
13470 fi
13471 else
13472 # not using gcc
13473 if testscip-shell system . . test. "$host_cpu" = ia64; then
13474 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13475 # chokes on -Wl,-G. The following line is correct:
13476 shared_flag='-G'
13477 else
13478 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
13479 shared_flag='${wl}-G'
13480 else
13481 shared_flag='${wl}-bM:SRE'
13482 fi
13483 fi
13484 fi
13485
13486 # It seems that -bexpall does not export symbols beginning with
13487 # underscore (_), so it is better to generate a list of symbols to export.
13488 always_export_symbols_F77=yes
13489 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
13490 # Warning - without using the other runtime loading flags (-brtl),
13491 # -berok will link without error, but may produce a broken library.
13492 allow_undefined_flag_F77='-berok'
13493 # Determine the default libpath from the value encoded in an empty executable.
13494 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
13495 program main
13496
13497 end
13498 _ACEOF
13499 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
13500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13501 (eval $ac_link) 2>conftest.er1
13502 ac_status=$?
13503 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
13504 rmscip-shell system . . rm. -f conftest.er1
13505 catscip-shell system . . cat. conftest.err >&5
13506 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } &&
13508 { ac_try='test -z "$ac_f77_werror_flag"
13509 || test ! -s conftest.err'
13510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13511 (eval $ac_try) 2>&5
13512 ac_status=$?
13513 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); }; } &&
13515 { ac_try='test -s conftest$ac_exeext'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13518 ac_status=$?
13519 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521
13522 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13523 }'`
13524 # Check for a 64-bit object if we didn't find anything.
13525 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13526 }'`; fi
13527 else
13528 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
13529 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
13530
13531 fi
13532 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
13533 conftest$ac_exeext conftest.$ac_ext
13534 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath="/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`."; fi
13535
13536 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13537 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13538 else
13539 if testscip-shell system . . test. "$host_cpu" = ia64; then
13540 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13541 allow_undefined_flag_F77="-z nodefs"
13542 archive_expsym_cmds_F77="\$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"
13543 else
13544 # Determine the default libpath from the value encoded in an empty executable.
13545 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
13546 program main
13547
13548 end
13549 _ACEOF
13550 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
13551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13552 (eval $ac_link) 2>conftest.er1
13553 ac_status=$?
13554 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
13555 rmscip-shell system . . rm. -f conftest.er1
13556 catscip-shell system . . cat. conftest.err >&5
13557 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } &&
13559 { ac_try='test -z "$ac_f77_werror_flag"
13560 || test ! -s conftest.err'
13561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13562 (eval $ac_try) 2>&5
13563 ac_status=$?
13564 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); }; } &&
13566 { ac_try='test -s conftest$ac_exeext'
13567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13568 (eval $ac_try) 2>&5
13569 ac_status=$?
13570 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); }; }; then
13572
13573 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13574 }'`
13575 # Check for a 64-bit object if we didn't find anything.
13576 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13577 }'`; fi
13578 else
13579 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
13580 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
13581
13582 fi
13583 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
13584 conftest$ac_exeext conftest.$ac_ext
13585 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath="/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`."; fi
13586
13587 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13588 # Warning - without using the other run time loading flags,
13589 # -berok will link without error, but may produce a broken library.
13590 no_undefined_flag_F77=' ${wl}-bernotok'
13591 allow_undefined_flag_F77=' ${wl}-berok'
13592 # Exported symbols can be pulled into shared objects from archives
13593 whole_archive_flag_spec_F77='$convenience'
13594 archive_cmds_need_lc_F77=yes
13595 # This is similar to how AIX traditionally builds its shared libraries.
13596 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13597 fi
13598 fi
13599 ;;
13600
13601 amigaos*)
13602 archive_cmds_F77='$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)'
13603 hardcode_libdir_flag_spec_F77='-L$libdir'
13604 hardcode_minus_L_F77=yes
13605 # see comment about different semantics on the GNU ld section
13606 ld_shlibs_F77=no
13607 ;;
13608
13609 bsdi[45]*)
13610 export_dynamic_flag_spec_F77=-rdynamic
13611 ;;
13612
13613 cygwin* | mingw* | pw32*)
13614 # When not using gcc, we currently assume that we are using
13615 # Microsoft Visual C++.
13616 # hardcode_libdir_flag_spec is actually meaningless, as there is
13617 # no search path for DLLs.
13618 hardcode_libdir_flag_spec_F77=' '
13619 allow_undefined_flag_F77=unsupported
13620 # Tell ltmain to make .lib files, not .a files.
13621 libext=lib
13622 # Tell ltmain to make .dll files, not .so files.
13623 shrext_cmds=".dll"
13624 # FIXME: Setting linknames here is a bad hack.
13625 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13626 # The linker will automatically build a .lib file if we build a DLL.
13627 old_archive_From_new_cmds_F77='true'
13628 # FIXME: Should let the user specify the lib program.
13629 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13630 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13631 enable_shared_with_static_runtimes_F77=yes
13632 ;;
13633
13634 darwin* | rhapsody*)
13635 case $host_os in
13636 rhapsody* | darwin1.[012])
13637 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
13638 ;;
13639 *) # Darwin 1.3 on
13640 if testscip-shell system . . test. -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13641 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13642 else
13643 case ${MACOSX_DEPLOYMENT_TARGET} in
13644 10.[012])
13645 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13646 ;;
13647 10.*)
13648 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
13649 ;;
13650 esac
13651 fi
13652 ;;
13653 esac
13654 archive_cmds_need_lc_F77=no
13655 hardcode_direct_F77=no
13656 hardcode_automatic_F77=yes
13657 hardcode_shlibpath_var_F77=unsupported
13658 whole_archive_flag_spec_F77=''
13659 link_all_deplibs_F77=yes
13660 if testscip-shell system . . test. "$GCC" = yes ; then
13661 output_verbose_link_cmd='echo'
13662 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13663 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13664 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13665 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13666 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13667 else
13668 case $cc_basename in
13669 xlc*)
13670 output_verbose_link_cmd='echo'
13671 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13672 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13673 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13674 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13675 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13676 ;;
13677 *)
13678 ld_shlibs_F77=no
13679 ;;
13680 esac
13681 fi
13682 ;;
13683
13684 dgux*)
13685 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13686 hardcode_libdir_flag_spec_F77='-L$libdir'
13687 hardcode_shlibpath_var_F77=no
13688 ;;
13689
13690 freebsd1*)
13691 ld_shlibs_F77=no
13692 ;;
13693
13694 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13695 # support. Future versions do this automatically, but an explicit c++rt0.o
13696 # does not break anything, and helps significantly (at the cost of a little
13697 # extra space).
13698 freebsd2.2*)
13699 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13700 hardcode_libdir_flag_spec_F77='-R$libdir'
13701 hardcode_direct_F77=yes
13702 hardcode_shlibpath_var_F77=no
13703 ;;
13704
13705 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13706 freebsd2*)
13707 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13708 hardcode_direct_F77=yes
13709 hardcode_minus_L_F77=yes
13710 hardcode_shlibpath_var_F77=no
13711 ;;
13712
13713 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13714 freebsd* | kfreebsd*-gnu | dragonfly*)
13715 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13716 hardcode_libdir_flag_spec_F77='-R$libdir'
13717 hardcode_direct_F77=yes
13718 hardcode_shlibpath_var_F77=no
13719 ;;
13720
13721 hpux9*)
13722 if testscip-shell system . . test. "$GCC" = yes; then
13723 archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13724 else
13725 archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13726 fi
13727 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13728 hardcode_libdir_separator_F77=:
13729 hardcode_direct_F77=yes
13730
13731 # hardcode_minus_L: Not really in the search PATH,
13732 # but as the default location of the library.
13733 hardcode_minus_L_F77=yes
13734 export_dynamic_flag_spec_F77='${wl}-E'
13735 ;;
13736
13737 hpux10*)
13738 if testscip-shell system . . test. "$GCC" = yes -a "$with_gnu_ld" = no; then
13739 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13740 else
13741 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13742 fi
13743 if testscip-shell system . . test. "$with_gnu_ld" = no; then
13744 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13745 hardcode_libdir_separator_F77=:
13746
13747 hardcode_direct_F77=yes
13748 export_dynamic_flag_spec_F77='${wl}-E'
13749
13750 # hardcode_minus_L: Not really in the search PATH,
13751 # but as the default location of the library.
13752 hardcode_minus_L_F77=yes
13753 fi
13754 ;;
13755
13756 hpux11*)
13757 if testscip-shell system . . test. "$GCC" = yes -a "$with_gnu_ld" = no; then
13758 case $host_cpu in
13759 hppa*64*)
13760 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13761 ;;
13762 ia64*)
13763 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13764 ;;
13765 *)
13766 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13767 ;;
13768 esac
13769 else
13770 case $host_cpu in
13771 hppa*64*)
13772 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13773 ;;
13774 ia64*)
13775 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13776 ;;
13777 *)
13778 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13779 ;;
13780 esac
13781 fi
13782 if testscip-shell system . . test. "$with_gnu_ld" = no; then
13783 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13784 hardcode_libdir_separator_F77=:
13785
13786 case $host_cpu in
13787 hppa*64*|ia64*)
13788 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13789 hardcode_direct_F77=no
13790 hardcode_shlibpath_var_F77=no
13791 ;;
13792 *)
13793 hardcode_direct_F77=yes
13794 export_dynamic_flag_spec_F77='${wl}-E'
13795
13796 # hardcode_minus_L: Not really in the search PATH,
13797 # but as the default location of the library.
13798 hardcode_minus_L_F77=yes
13799 ;;
13800 esac
13801 fi
13802 ;;
13803
13804 irix5* | irix6* | nonstopux*)
13805 if testscip-shell system . . test. "$GCC" = yes; then
13806 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13807 else
13808 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13809 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13810 fi
13811 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13812 hardcode_libdir_separator_F77=:
13813 link_all_deplibs_F77=yes
13814 ;;
13815
13816 netbsd*)
13817 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
13818 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13819 else
13820 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13821 fi
13822 hardcode_libdir_flag_spec_F77='-R$libdir'
13823 hardcode_direct_F77=yes
13824 hardcode_shlibpath_var_F77=no
13825 ;;
13826
13827 newsos6)
13828 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13829 hardcode_direct_F77=yes
13830 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13831 hardcode_libdir_separator_F77=:
13832 hardcode_shlibpath_var_F77=no
13833 ;;
13834
13835 openbsd*)
13836 hardcode_direct_F77=yes
13837 hardcode_shlibpath_var_F77=no
13838 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`" || testscip-shell system . . test. "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13839 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13840 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13841 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13842 export_dynamic_flag_spec_F77='${wl}-E'
13843 else
13844 case $host_os in
13845 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13846 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13847 hardcode_libdir_flag_spec_F77='-R$libdir'
13848 ;;
13849 *)
13850 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13851 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13852 ;;
13853 esac
13854 fi
13855 ;;
13856
13857 os2*)
13858 hardcode_libdir_flag_spec_F77='-L$libdir'
13859 hardcode_minus_L_F77=yes
13860 allow_undefined_flag_F77=unsupported
13861 archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
13862 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13863 ;;
13864
13865 osf3*)
13866 if testscip-shell system . . test. "$GCC" = yes; then
13867 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13868 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13869 else
13870 allow_undefined_flag_F77=' -expect_unresolved \*'
13871 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13872 fi
13873 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13874 hardcode_libdir_separator_F77=:
13875 ;;
13876
13877 osf4* | osf5*) # as osf3* with the addition of -msym flag
13878 if testscip-shell system . . test. "$GCC" = yes; then
13879 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13880 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13881 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13882 else
13883 allow_undefined_flag_F77=' -expect_unresolved \*'
13884 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13885 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13886 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
13887
13888 # Both c and cxx compiler support -rpath directly
13889 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13890 fi
13891 hardcode_libdir_separator_F77=:
13892 ;;
13893
13894 solaris*)
13895 no_undefined_flag_F77=' -z text'
13896 if testscip-shell system . . test. "$GCC" = yes; then
13897 wlarc='${wl}'
13898 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13899 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13900 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13901 else
13902 wlarc=''
13903 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13904 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13905 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13906 fi
13907 hardcode_libdir_flag_spec_F77='-R$libdir'
13908 hardcode_shlibpath_var_F77=no
13909 case $host_os in
13910 solaris2.[0-5] | solaris2.[0-5].*) ;;
13911 *)
13912 # The compiler driver will combine linker options so we
13913 # cannot just pass the convience library names through
13914 # without $wl, iff we do not link with $LD.
13915 # Luckily, gcc supports the same syntax we need for Sun Studio.
13916 # Supported since Solaris 2.6 (maybe 2.5.1?)
13917 case $wlarc in
13918 '')
13919 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13920 *)
13921 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
13922 esac ;;
13923 esac
13924 link_all_deplibs_F77=yes
13925 ;;
13926
13927 sunos4*)
13928 if testscip-shell system . . test. "x$host_vendor" = xsequent; then
13929 # Use $CC to link under sequent, because it throws in some extra .o
13930 # files that make .init and .fini sections work.
13931 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13932 else
13933 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13934 fi
13935 hardcode_libdir_flag_spec_F77='-L$libdir'
13936 hardcode_direct_F77=yes
13937 hardcode_minus_L_F77=yes
13938 hardcode_shlibpath_var_F77=no
13939 ;;
13940
13941 sysv4)
13942 case $host_vendor in
13943 sni)
13944 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13945 hardcode_direct_F77=yes # is this really true???
13946 ;;
13947 siemens)
13948 ## LD is ld it makes a PLAMLIB
13949 ## CC just makes a GrossModule.
13950 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13951 reload_cmds_F77='$CC -r -o $output$reload_objs'
13952 hardcode_direct_F77=no
13953 ;;
13954 motorola)
13955 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13956 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13957 ;;
13958 esac
13959 runpath_var='LD_RUN_PATH'
13960 hardcode_shlibpath_var_F77=no
13961 ;;
13962
13963 sysv4.3*)
13964 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13965 hardcode_shlibpath_var_F77=no
13966 export_dynamic_flag_spec_F77='-Bexport'
13967 ;;
13968
13969 sysv4*MP*)
13970 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
13971 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13972 hardcode_shlibpath_var_F77=no
13973 runpath_var=LD_RUN_PATH
13974 hardcode_runpath_var=yes
13975 ld_shlibs_F77=yes
13976 fi
13977 ;;
13978
13979 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
13980 no_undefined_flag_F77='${wl}-z,text'
13981 archive_cmds_need_lc_F77=no
13982 hardcode_shlibpath_var_F77=no
13983 runpath_var='LD_RUN_PATH'
13984
13985 if testscip-shell system . . test. "$GCC" = yes; then
13986 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13987 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13988 else
13989 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13990 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13991 fi
13992 ;;
13993
13994 sysv5* | sco3.2v5* | sco5v6*)
13995 # Note: We can NOT use -z defs as we might desire, because we do not
13996 # link with -lc, and that would cause any symbols used from libc to
13997 # always be unresolved, which means just about no library would
13998 # ever link correctly. If we're not using GNU ld we use -z text
13999 # though, which does catch some bad symbols but isn't as heavy-handed
14000 # as -z defs.
14001 no_undefined_flag_F77='${wl}-z,text'
14002 allow_undefined_flag_F77='${wl}-z,nodefs'
14003 archive_cmds_need_lc_F77=no
14004 hardcode_shlibpath_var_F77=no
14005 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14006 hardcode_libdir_separator_F77=':'
14007 link_all_deplibs_F77=yes
14008 export_dynamic_flag_spec_F77='${wl}-Bexport'
14009 runpath_var='LD_RUN_PATH'
14010
14011 if testscip-shell system . . test. "$GCC" = yes; then
14012 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14013 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14014 else
14015 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14016 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14017 fi
14018 ;;
14019
14020 uts4*)
14021 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14022 hardcode_libdir_flag_spec_F77='-L$libdir'
14023 hardcode_shlibpath_var_F77=no
14024 ;;
14025
14026 *)
14027 ld_shlibs_F77=no
14028 ;;
14029 esac
14030 fi
14031
14032 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14033 echoscip-shell system . . echo. "${ECHO_T}$ld_shlibs_F77" >&6
14034 testscip-shell system . . test. "$ld_shlibs_F77" = no && can_build_shared=no
14035
14036 #
14037 # Do we need to explicitly link libc?
14038 #
14039 case "x$archive_cmds_need_lc_F77" in
14040 x|xyes)
14041 # Assume -lc should be added
14042 archive_cmds_need_lc_F77=yes
14043
14044 if testscip-shell system . . test. "$enable_shared" = yes && testscip-shell system . . test. "$GCC" = yes; then
14045 case $archive_cmds_F77 in
14046 *'~'*)
14047 # FIXME: we may have to deal with multi-command sequences.
14048 ;;
14049 '$CC '*)
14050 # Test whether the compiler implicitly links with -lc since on some
14051 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14052 # to ld, don't add -lc before -lgcc.
14053 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14054 echoscip-shell system . . echo. $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14055 $rm conftest*
14056 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
14057
14058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14059 (eval $ac_compile) 2>&5
14060 ac_status=$?
14061 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); } 2>conftest.err; then
14063 soname=conftest
14064 lib=conftest
14065 libobjs=conftest.$ac_objext
14066 deplibs=
14067 wl=$lt_prog_compiler_wl_F77
14068 pic_flag=$lt_prog_compiler_pic_F77
14069 compiler_flags=-v
14070 linker_flags=-v
14071 verstring=
14072 output_objdir=.
14073 libname=conftest
14074 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
14075 allow_undefined_flag_F77=
14076 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14077 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14078 ac_status=$?
14079 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); }
14081 then
14082 archive_cmds_need_lc_F77=no
14083 else
14084 archive_cmds_need_lc_F77=yes
14085 fi
14086 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14087 else
14088 catscip-shell system . . cat. conftest.err 1>&5
14089 fi
14090 $rm conftest*
14091 echoscip-shell system . . echo. "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14092 echoscip-shell system . . echo. "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14093 ;;
14094 esac
14095 fi
14096 ;;
14097 esac
14098
14099 echoscip-shell system . . echo. "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14100 echoscip-shell system . . echo. $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14101 library_names_spec=
14102 libname_spec='lib$name'
14103 soname_spec=
14104 shrext_cmds=".so"
14105 postinstall_cmds=
14106 postuninstall_cmds=
14107 finish_cmds=
14108 finish_eval=
14109 shlibpath_var=
14110 shlibpath_overrides_runpath=unknown
14111 version_type=none
14112 dynamic_linker="$host_os ld.so"
14113 sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`."
14114 if testscip-shell system . . test. "$GCC" = yes; then
14115 sys_lib_search_path_spec=`$CC -print-search-dirs | grepscip-shell system . . grep. "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14116 if echoscip-shell system . . echo. "$sys_lib_search_path_spec" | grepscip-shell system . . grep. ';' >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
14117 # if the path contains ";" then we assume it to be the separator
14118 # otherwise default to the standard path separator (i.e. ":") - it is
14119 # assumed that no part of a normal pathname contains ";" but that should
14120 # okay in the real world where ";" in dirpaths is itself problematic.
14121 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14122 else
14123 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14124 fi
14125 else
14126 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
14127 fi
14128 need_lib_prefix=unknown
14129 hardcode_into_libs=no
14130
14131 # when you set need_version to no, make sure it does not cause -set_version
14132 # flags to be left without arguments
14133 need_version=unknown
14134
14135 case $host_os in
14136 aix3*)
14137 version_type=linux
14138 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14139 shlibpath_var=LIBPATH
14140
14141 # AIX 3 has no versioning support, so we append a major version to the name.
14142 soname_spec='${libname}${release}${shared_ext}$major'
14143 ;;
14144
14145 aix4* | aix5*)
14146 version_type=linux
14147 need_lib_prefix=no
14148 need_version=no
14149 hardcode_into_libs=yes
14150 if testscip-shell system . . test. "$host_cpu" = ia64; then
14151 # AIX 5 supports IA64
14152 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14153 shlibpath_var=LD_LIBRARY_PATH
14154 else
14155 # With GCC up to 2.95.x, collect2 would create an import file
14156 # for dependence libraries. The import file would start with
14157 # the line `#! .'. This would cause the generated library to
14158 # depend on `.', always an invalid library. This was fixed in
14159 # development snapshots of GCC prior to 3.0.
14160 case $host_os in
14161 aix4 | aix4.[01] | aix4.[01].*)
14162 if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14163 echoscip-shell system . . echo. ' yes '
14164 echoscip-shell system . . echo. '#endif'; } | ${CC} -E - | grepscip-shell system . . grep. yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then
14165 :
14166 else
14167 can_build_shared=no
14168 fi
14169 ;;
14170 esac
14171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14172 # soname into executable. Probably we can add versioning support to
14173 # collect2, so additional links can be useful in future.
14174 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
14175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14176 # instead of lib<name>.a to let people know that these are not
14177 # typical AIX shared libraries.
14178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14179 else
14180 # We preserve .a as extension for shared libraries through AIX4.2
14181 # and later when we are not doing run time linking.
14182 library_names_spec='${libname}${release}.a $libname.a'
14183 soname_spec='${libname}${release}${shared_ext}$major'
14184 fi
14185 shlibpath_var=LIBPATH
14186 fi
14187 ;;
14188
14189 amigaos*)
14190 library_names_spec='$libname.ixlibrary $libname.a'
14191 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14192 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
14193 ;;
14194
14195 beos*)
14196 library_names_spec='${libname}${shared_ext}'
14197 dynamic_linker="$host_os ld.so"
14198 shlibpath_var=LIBRARY_PATH
14199 ;;
14200
14201 bsdi[45]*)
14202 version_type=linux
14203 need_version=no
14204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205 soname_spec='${libname}${release}${shared_ext}$major'
14206 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14207 shlibpath_var=LD_LIBRARY_PATH
14208 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`."
14209 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`."
14210 # the default ld.so.conf also contains /usr/contrib/lib and
14211 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14212 # libtool to hard-code these into programs
14213 ;;
14214
14215 cygwin* | mingw* | pw32*)
14216 version_type=windows
14217 shrext_cmds=".dll"
14218 need_version=no
14219 need_lib_prefix=no
14220
14221 case $GCC,$host_os in
14222 yes,cygwin* | yes,mingw* | yes,pw32*)
14223 library_names_spec='$libname.dll.a'
14224 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14225 postinstall_cmds='base_file=`basename \${file}`~
14226 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14227 dldir=$destdir/`dirname \$dlpath`~
14228 test -d \$dldir || mkdir -p \$dldir~
14229 $install_prog $dir/$dlname \$dldir/$dlname~
14230 chmod a+x \$dldir/$dlname'
14231 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14232 dlpath=$dir/\$dldll~
14233 $rm \$dlpath'
14234 shlibpath_overrides_runpath=yes
14235
14236 case $host_os in
14237 cygwin*)
14238 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14239 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14240 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/libscip-shell filesystem . . `/usr/lib /lib/w32api /lib /usr/local/lib`."
14241 ;;
14242 mingw*)
14243 # MinGW DLLs use traditional 'lib' prefix
14244 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14245 sys_lib_search_path_spec=`$CC -print-search-dirs | grepscip-shell system . . grep. "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14246 if echoscip-shell system . . echo. "$sys_lib_search_path_spec" | grepscip-shell system . . grep. ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
14247 # It is most probably a Windows format PATH printed by
14248 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14249 # path with ; separators, and with drive letters. We can handle the
14250 # drive letters (cygwin fileutils understands them), so leave them,
14251 # especially as we might pass files found there to a mingw objdump,
14252 # which wouldn't understand a cygwinified path. Ahh.
14253 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14254 else
14255 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14256 fi
14257 ;;
14258 pw32*)
14259 # pw32 DLLs use 'pw' prefix rather than 'lib'
14260 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14261 ;;
14262 esac
14263 ;;
14264
14265 linux*)
14266 if $LD --help 2>&1 | egrepscip-shell system . . egrep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
14267 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14268 supports_anon_versioning=no
14269 case `$LD -v 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
14270 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14271 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14272 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14273 *\ 2.11.*) ;; # other 2.11 versions
14274 *) supports_anon_versioning=yes ;;
14275 esac
14276 if testscip-shell system . . test. $supports_anon_versioning = yes; then
14277 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
14278 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14279 $echo "local: *; };" >> $output_objdir/$libname.ver~
14280 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14281 else
14282 $archive_expsym_cmds="$archive_cmds"
14283 fi
14284 else
14285 ld_shlibs=no
14286 fi
14287 ;;
14288
14289 *)
14290 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14291 ;;
14292 esac
14293 dynamic_linker='Win32 ld.exe'
14294 # FIXME: first we should search . and the directory the executable is in
14295 shlibpath_var=PATH
14296 ;;
14297
14298 darwin* | rhapsody*)
14299 dynamic_linker="$host_os dyld"
14300 version_type=darwin
14301 need_lib_prefix=no
14302 need_version=no
14303 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14304 soname_spec='${libname}${release}${major}$shared_ext'
14305 shlibpath_overrides_runpath=yes
14306 shlibpath_var=DYLD_LIBRARY_PATH
14307 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14308 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14309 if testscip-shell system . . test. "$GCC" = yes; then
14310 sys_lib_search_path_spec=`$CC -print-search-dirs | trscip-shell system . . tr. "\n" "$PATH_SEPARATOR" | sedscip-shell system . . sed. -e 's/libraries:/@libraries:/' | trscip-shell system . . tr. "@" "\n" | grepscip-shell system . . grep. "^libraries:" | sedscip-shell system . . sed. -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14311 else
14312 sys_lib_search_path_spec='/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`.'
14313 fi
14314 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.'
14315 ;;
14316
14317 dgux*)
14318 version_type=linux
14319 need_lib_prefix=no
14320 need_version=no
14321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14322 soname_spec='${libname}${release}${shared_ext}$major'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 ;;
14325
14326 freebsd1*)
14327 dynamic_linker=no
14328 ;;
14329
14330 kfreebsd*-gnu)
14331 version_type=linux
14332 need_lib_prefix=no
14333 need_version=no
14334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14335 soname_spec='${libname}${release}${shared_ext}$major'
14336 shlibpath_var=LD_LIBRARY_PATH
14337 shlibpath_overrides_runpath=no
14338 hardcode_into_libs=yes
14339 dynamic_linker='GNU ld.so'
14340 ;;
14341
14342 freebsd* | dragonfly*)
14343 # DragonFly does not have aout. When/if they implement a new
14344 # versioning mechanism, adjust this.
14345 if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then
14346 objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.`
14347 else
14348 case $host_os in
14349 freebsd[123]*) objformat=aout ;;
14350 *) objformat=elf ;;
14351 esac
14352 fi
14353 # Handle Gentoo/FreeBSD as it was Linux
14354 case $host_vendor in
14355 gentoo)
14356 version_type=linux ;;
14357 *)
14358 version_type=freebsd-$objformat ;;
14359 esac
14360
14361 case $version_type in
14362 freebsd-elf*)
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14364 need_version=no
14365 need_lib_prefix=no
14366 ;;
14367 freebsd-*)
14368 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14369 need_version=yes
14370 ;;
14371 linux)
14372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14373 soname_spec='${libname}${release}${shared_ext}$major'
14374 need_lib_prefix=no
14375 need_version=no
14376 ;;
14377 esac
14378 shlibpath_var=LD_LIBRARY_PATH
14379 case $host_os in
14380 freebsd2*)
14381 shlibpath_overrides_runpath=yes
14382 ;;
14383 freebsd3.[01]* | freebsdelf3.[01]*)
14384 shlibpath_overrides_runpath=yes
14385 hardcode_into_libs=yes
14386 ;;
14387 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14388 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14389 shlibpath_overrides_runpath=no
14390 hardcode_into_libs=yes
14391 ;;
14392 freebsd*) # from 4.6 on
14393 shlibpath_overrides_runpath=yes
14394 hardcode_into_libs=yes
14395 ;;
14396 esac
14397 ;;
14398
14399 gnu*)
14400 version_type=linux
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 shlibpath_var=LD_LIBRARY_PATH
14406 hardcode_into_libs=yes
14407 ;;
14408
14409 hpux9* | hpux10* | hpux11*)
14410 # Give a soname corresponding to the major version so that dld.sl refuses to
14411 # link against other versions.
14412 version_type=sunos
14413 need_lib_prefix=no
14414 need_version=no
14415 case $host_cpu in
14416 ia64*)
14417 shrext_cmds='.so'
14418 hardcode_into_libs=yes
14419 dynamic_linker="$host_os dld.so"
14420 shlibpath_var=LD_LIBRARY_PATH
14421 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14423 soname_spec='${libname}${release}${shared_ext}$major'
14424 if testscip-shell system . . test. "X$HPUX_IA64_MODE" = X32; then
14425 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`."
14426 else
14427 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`."
14428 fi
14429 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14430 ;;
14431 hppa*64*)
14432 shrext_cmds='.sl'
14433 hardcode_into_libs=yes
14434 dynamic_linker="$host_os dld.sl"
14435 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14436 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14438 soname_spec='${libname}${release}${shared_ext}$major'
14439 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`."
14440 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14441 ;;
14442 *)
14443 shrext_cmds='.sl'
14444 dynamic_linker="$host_os dld.sl"
14445 shlibpath_var=SHLIB_PATH
14446 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14448 soname_spec='${libname}${release}${shared_ext}$major'
14449 ;;
14450 esac
14451 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14452 postinstall_cmds='chmod 555 $lib'
14453 ;;
14454
14455 interix3*)
14456 version_type=linux
14457 need_lib_prefix=no
14458 need_version=no
14459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14460 soname_spec='${libname}${release}${shared_ext}$major'
14461 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14462 shlibpath_var=LD_LIBRARY_PATH
14463 shlibpath_overrides_runpath=no
14464 hardcode_into_libs=yes
14465 ;;
14466
14467 irix5* | irix6* | nonstopux*)
14468 case $host_os in
14469 nonstopux*) version_type=nonstopux ;;
14470 *)
14471 if testscip-shell system . . test. "$lt_cv_prog_gnu_ld" = yes; then
14472 version_type=linux
14473 else
14474 version_type=irix
14475 fi ;;
14476 esac
14477 need_lib_prefix=no
14478 need_version=no
14479 soname_spec='${libname}${release}${shared_ext}$major'
14480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14481 case $host_os in
14482 irix5* | nonstopux*)
14483 libsuff= shlibsuff=
14484 ;;
14485 *)
14486 case $LD in # libtool.m4 will add one of these switches to LD
14487 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14488 libsuff= shlibsuff= libmagic=32-bit;;
14489 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14490 libsuff=32 shlibsuff=N32 libmagic=N32;;
14491 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14492 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14493 *) libsuff= shlibsuff= libmagic=never-match;;
14494 esac
14495 ;;
14496 esac
14497 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14498 shlibpath_overrides_runpath=no
14499 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14500 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14501 hardcode_into_libs=yes
14502 ;;
14503
14504 # No shared lib support for Linux oldld, aout, or coff.
14505 linux*oldld* | linux*aout* | linux*coff*)
14506 dynamic_linker=no
14507 ;;
14508
14509 # This must be Linux ELF.
14510 linux*)
14511 version_type=linux
14512 need_lib_prefix=no
14513 need_version=no
14514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14515 soname_spec='${libname}${release}${shared_ext}$major'
14516 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14517 shlibpath_var=LD_LIBRARY_PATH
14518 shlibpath_overrides_runpath=no
14519 # This implies no fast_install, which is unacceptable.
14520 # Some rework will be needed to allow for fast_install
14521 # before this can be enabled.
14522 hardcode_into_libs=yes
14523
14524 # Append ld.so.conf contents to the search path
14525 if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then
14526 lt_ld_extra=`awkscip-shell system . . awk. '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }scip-shell filesystem . . `/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }`.' < /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`. | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | trscip-shell system . . tr. '\n' ' '`
14527 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14528 fi
14529
14530 # We used to test for /lib/ld.so.1 and disable shared libraries on
14531 # powerpc, because MkLinux only supported shared libraries with the
14532 # GNU dynamic linker. Since this was broken with cross compilers,
14533 # most powerpc-linux boxes support dynamic linking these days and
14534 # people can always --disable-shared, the test was removed, and we
14535 # assume the GNU/Linux dynamic linker is in use.
14536 dynamic_linker='GNU/Linux ld.so'
14537 ;;
14538
14539 knetbsd*-gnu)
14540 version_type=linux
14541 need_lib_prefix=no
14542 need_version=no
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14544 soname_spec='${libname}${release}${shared_ext}$major'
14545 shlibpath_var=LD_LIBRARY_PATH
14546 shlibpath_overrides_runpath=no
14547 hardcode_into_libs=yes
14548 dynamic_linker='GNU ld.so'
14549 ;;
14550
14551 netbsd*)
14552 version_type=sunos
14553 need_lib_prefix=no
14554 need_version=no
14555 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
14556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14557 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14558 dynamic_linker='NetBSD (a.out) ld.so'
14559 else
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14561 soname_spec='${libname}${release}${shared_ext}$major'
14562 dynamic_linker='NetBSD ld.elf_so'
14563 fi
14564 shlibpath_var=LD_LIBRARY_PATH
14565 shlibpath_overrides_runpath=yes
14566 hardcode_into_libs=yes
14567 ;;
14568
14569 newsos6)
14570 version_type=linux
14571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14572 shlibpath_var=LD_LIBRARY_PATH
14573 shlibpath_overrides_runpath=yes
14574 ;;
14575
14576 nto-qnx*)
14577 version_type=linux
14578 need_lib_prefix=no
14579 need_version=no
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 soname_spec='${libname}${release}${shared_ext}$major'
14582 shlibpath_var=LD_LIBRARY_PATH
14583 shlibpath_overrides_runpath=yes
14584 ;;
14585
14586 openbsd*)
14587 version_type=sunos
14588 sys_lib_dlsearch_path_spec="/usr/libscip-shell filesystem . . `/usr/lib`."
14589 need_lib_prefix=no
14590 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14591 case $host_os in
14592 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14593 *) need_version=no ;;
14594 esac
14595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14596 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14597 shlibpath_var=LD_LIBRARY_PATH
14598 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`" || testscip-shell system . . test. "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14599 case $host_os in
14600 openbsd2.[89] | openbsd2.[89].*)
14601 shlibpath_overrides_runpath=no
14602 ;;
14603 *)
14604 shlibpath_overrides_runpath=yes
14605 ;;
14606 esac
14607 else
14608 shlibpath_overrides_runpath=yes
14609 fi
14610 ;;
14611
14612 os2*)
14613 libname_spec='$name'
14614 shrext_cmds=".dll"
14615 need_lib_prefix=no
14616 library_names_spec='$libname${shared_ext} $libname.a'
14617 dynamic_linker='OS/2 ld.exe'
14618 shlibpath_var=LIBPATH
14619 ;;
14620
14621 osf3* | osf4* | osf5*)
14622 version_type=osf
14623 need_lib_prefix=no
14624 need_version=no
14625 soname_spec='${libname}${release}${shared_ext}$major'
14626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14627 shlibpath_var=LD_LIBRARY_PATH
14628 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`."
14629 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14630 ;;
14631
14632 solaris*)
14633 version_type=linux
14634 need_lib_prefix=no
14635 need_version=no
14636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14637 soname_spec='${libname}${release}${shared_ext}$major'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 shlibpath_overrides_runpath=yes
14640 hardcode_into_libs=yes
14641 # ldd complains unless libraries are executable
14642 postinstall_cmds='chmod +x $lib'
14643 ;;
14644
14645 sunos4*)
14646 version_type=sunos
14647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14648 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14649 shlibpath_var=LD_LIBRARY_PATH
14650 shlibpath_overrides_runpath=yes
14651 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
14652 need_lib_prefix=no
14653 fi
14654 need_version=yes
14655 ;;
14656
14657 sysv4 | sysv4.3*)
14658 version_type=linux
14659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14660 soname_spec='${libname}${release}${shared_ext}$major'
14661 shlibpath_var=LD_LIBRARY_PATH
14662 case $host_vendor in
14663 sni)
14664 shlibpath_overrides_runpath=no
14665 need_lib_prefix=no
14666 export_dynamic_flag_spec='${wl}-Blargedynsym'
14667 runpath_var=LD_RUN_PATH
14668 ;;
14669 siemens)
14670 need_lib_prefix=no
14671 ;;
14672 motorola)
14673 need_lib_prefix=no
14674 need_version=no
14675 shlibpath_overrides_runpath=no
14676 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.'
14677 ;;
14678 esac
14679 ;;
14680
14681 sysv4*MP*)
14682 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`. ;then
14683 version_type=linux
14684 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14685 soname_spec='$libname${shared_ext}.$major'
14686 shlibpath_var=LD_LIBRARY_PATH
14687 fi
14688 ;;
14689
14690 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14691 version_type=freebsd-elf
14692 need_lib_prefix=no
14693 need_version=no
14694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14695 soname_spec='${libname}${release}${shared_ext}$major'
14696 shlibpath_var=LD_LIBRARY_PATH
14697 hardcode_into_libs=yes
14698 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
14699 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`.'
14700 shlibpath_overrides_runpath=no
14701 else
14702 sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.'
14703 shlibpath_overrides_runpath=yes
14704 case $host_os in
14705 sco3.2v5*)
14706 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14707 ;;
14708 esac
14709 fi
14710 sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.'
14711 ;;
14712
14713 uts4*)
14714 version_type=linux
14715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14716 soname_spec='${libname}${release}${shared_ext}$major'
14717 shlibpath_var=LD_LIBRARY_PATH
14718 ;;
14719
14720 *)
14721 dynamic_linker=no
14722 ;;
14723 esac
14724 echoscip-shell system . . echo. "$as_me:$LINENO: result: $dynamic_linker" >&5
14725 echoscip-shell system . . echo. "${ECHO_T}$dynamic_linker" >&6
14726 testscip-shell system . . test. "$dynamic_linker" = no && can_build_shared=no
14727
14728 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14729 if testscip-shell system . . test. "$GCC" = yes; then
14730 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14731 fi
14732
14733 echoscip-shell system . . echo. "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14734 echoscip-shell system . . echo. $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14735 hardcode_action_F77=
14736 if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec_F77" || \
14737 test -n "$runpath_var_F77" || \
14738 test "X$hardcode_automatic_F77" = "Xyes" ; then
14739
14740 # We can hardcode non-existant directories.
14741 if testscip-shell system . . test. "$hardcode_direct_F77" != no &&
14742 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14743 # have to relink, otherwise we might link with an installed library
14744 # when we should be linking with a yet-to-be-installed one
14745 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14746 testscip-shell system . . test. "$hardcode_minus_L_F77" != no; then
14747 # Linking always hardcodes the temporary library directory.
14748 hardcode_action_F77=relink
14749 else
14750 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14751 hardcode_action_F77=immediate
14752 fi
14753 else
14754 # We cannot hardcode anything, or else we can only hardcode existing
14755 # directories.
14756 hardcode_action_F77=unsupported
14757 fi
14758 echoscip-shell system . . echo. "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14759 echoscip-shell system . . echo. "${ECHO_T}$hardcode_action_F77" >&6
14760
14761 if testscip-shell system . . test. "$hardcode_action_F77" = relink; then
14762 # Fast installation is not supported
14763 enable_fast_install=no
14764 elif testscip-shell system . . test. "$shlibpath_overrides_runpath" = yes ||
14765 testscip-shell system . . test. "$enable_shared" = no; then
14766 # Fast installation is not necessary
14767 enable_fast_install=needless
14768 fi
14769
14770
14771 # The else clause should only fire when bootstrapping the
14772 # libtool distribution, otherwise you forgot to ship ltmain.sh
14773 # with your package, and you will get complaints that there are
14774 # no rules to generate ltmain.sh.
14775 if testscip-shell system . . test. -f "$ltmain"; then
14776 # See if we are running on zsh, and set the options which allow our commands through
14777 # without removal of \ escapes.
14778 if testscip-shell system . . test. -n "${ZSH_VERSION+set}" ; then
14779 setopt NO_GLOB_SUBST
14780 fi
14781 # Now quote all the things that may contain metacharacters while being
14782 # careful not to overquote the AC_SUBSTed values. We take copies of the
14783 # variables and quote the copies for generation of the libtool script.
14784 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14785 SED SHELL STRIP \
14786 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14787 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14788 deplibs_check_method reload_flag reload_cmds need_locks \
14789 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14790 lt_cv_sys_global_symbol_to_c_name_address \
14791 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14792 old_postinstall_cmds old_postuninstall_cmds \
14793 compiler_F77 \
14794 CC_F77 \
14795 LD_F77 \
14796 lt_prog_compiler_wl_F77 \
14797 lt_prog_compiler_pic_F77 \
14798 lt_prog_compiler_static_F77 \
14799 lt_prog_compiler_no_builtin_flag_F77 \
14800 export_dynamic_flag_spec_F77 \
14801 thread_safe_flag_spec_F77 \
14802 whole_archive_flag_spec_F77 \
14803 enable_shared_with_static_runtimes_F77 \
14804 old_archive_cmds_F77 \
14805 old_archive_from_new_cmds_F77 \
14806 predep_objects_F77 \
14807 postdep_objects_F77 \
14808 predeps_F77 \
14809 postdeps_F77 \
14810 compiler_lib_search_path_F77 \
14811 archive_cmds_F77 \
14812 archive_expsym_cmds_F77 \
14813 postinstall_cmds_F77 \
14814 postuninstall_cmds_F77 \
14815 old_archive_from_expsyms_cmds_F77 \
14816 allow_undefined_flag_F77 \
14817 no_undefined_flag_F77 \
14818 export_symbols_cmds_F77 \
14819 hardcode_libdir_flag_spec_F77 \
14820 hardcode_libdir_flag_spec_ld_F77 \
14821 hardcode_libdir_separator_F77 \
14822 hardcode_automatic_F77 \
14823 module_cmds_F77 \
14824 module_expsym_cmds_F77 \
14825 lt_cv_prog_compiler_c_o_F77 \
14826 exclude_expsyms_F77 \
14827 include_expsyms_F77; do
14828
14829 case $var in
14830 old_archive_cmds_F77 | \
14831 old_archive_from_new_cmds_F77 | \
14832 archive_cmds_F77 | \
14833 archive_expsym_cmds_F77 | \
14834 module_cmds_F77 | \
14835 module_expsym_cmds_F77 | \
14836 old_archive_from_expsyms_cmds_F77 | \
14837 export_symbols_cmds_F77 | \
14838 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14839 postinstall_cmds | postuninstall_cmds | \
14840 old_postinstall_cmds | old_postuninstall_cmds | \
14841 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14842 # Double-quote double-evaled strings.
14843 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14844 ;;
14845 *)
14846 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14847 ;;
14848 esac
14849 done
14850
14851 case $lt_echo in
14852 *'\$0 --fallback-echo"')
14853 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14854 ;;
14855 esac
14856
14857 cfgfile="$ofile"
14858
14859 catscip-shell system . . cat. <<__EOF__ >> "$cfgfile"
14860 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14861
14862 # Libtool was configured on host `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`:
14863
14864 # Shell to use when invoking shell scripts.
14865 SHELL=$lt_SHELL
14866
14867 # Whether or not to build shared libraries.
14868 build_libtool_libs=$enable_shared
14869
14870 # Whether or not to build static libraries.
14871 build_old_libs=$enable_static
14872
14873 # Whether or not to add -lc for building shared libraries.
14874 build_libtool_need_lc=$archive_cmds_need_lc_F77
14875
14876 # Whether or not to disallow shared libs when runtime libs are static
14877 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14878
14879 # Whether or not to optimize for fast installation.
14880 fast_install=$enable_fast_install
14881
14882 # The host system.
14883 host_alias=$host_alias
14884 host=$host
14885 host_os=$host_os
14886
14887 # The build system.
14888 build_alias=$build_alias
14889 build=$build
14890 build_os=$build_os
14891
14892 # An echo program that does not interpret backslashes.
14893 echo=$lt_echo
14894
14895 # The archiver.
14896 AR=$lt_AR
14897 AR_FLAGS=$lt_AR_FLAGS
14898
14899 # A C compiler.
14900 LTCC=$lt_LTCC
14901
14902 # LTCC compiler flags.
14903 LTCFLAGS=$lt_LTCFLAGS
14904
14905 # A language-specific compiler.
14906 CC=$lt_compiler_F77
14907
14908 # Is the compiler the GNU C compiler?
14909 with_gcc=$GCC_F77
14910
14911 # An ERE matcher.
14912 EGREP=$lt_EGREP
14913
14914 # The linker used to build libraries.
14915 LD=$lt_LD_F77
14916
14917 # Whether we need hard or soft links.
14918 LN_S=$lt_LN_S
14919
14920 # A BSD-compatible nm program.
14921 NM=$lt_NM
14922
14923 # A symbol stripping program
14924 STRIP=$lt_STRIP
14925
14926 # Used to examine libraries when file_magic_cmd begins "file"
14927 MAGIC_CMD=$MAGIC_CMD
14928
14929 # Used on cygwin: DLL creation program.
14930 DLLTOOL="$DLLTOOL"
14931
14932 # Used on cygwin: object dumper.
14933 OBJDUMP="$OBJDUMP"
14934
14935 # Used on cygwin: assembler.
14936 AS="$AS"
14937
14938 # The name of the directory that contains temporary libtool files.
14939 objdir=$objdir
14940
14941 # How to create reloadable object files.
14942 reload_flag=$lt_reload_flag
14943 reload_cmds=$lt_reload_cmds
14944
14945 # How to pass a linker flag through the compiler.
14946 wl=$lt_lt_prog_compiler_wl_F77
14947
14948 # Object file suffix (normally "o").
14949 objext="$ac_objext"
14950
14951 # Old archive suffix (normally "a").
14952 libext="$libext"
14953
14954 # Shared library suffix (normally ".so").
14955 shrext_cmds='$shrext_cmds'
14956
14957 # Executable file suffix (normally "").
14958 exeext="$exeext"
14959
14960 # Additional compiler flags for building library objects.
14961 pic_flag=$lt_lt_prog_compiler_pic_F77
14962 pic_mode=$pic_mode
14963
14964 # What is the maximum length of a command?
14965 max_cmd_len=$lt_cv_sys_max_cmd_len
14966
14967 # Does compiler simultaneously support -c and -o options?
14968 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14969
14970 # Must we lock files when doing compilation?
14971 need_locks=$lt_need_locks
14972
14973 # Do we need the lib prefix for modules?
14974 need_lib_prefix=$need_lib_prefix
14975
14976 # Do we need a version for libraries?
14977 need_version=$need_version
14978
14979 # Whether dlopen is supported.
14980 dlopen_support=$enable_dlopen
14981
14982 # Whether dlopen of programs is supported.
14983 dlopen_self=$enable_dlopen_self
14984
14985 # Whether dlopen of statically linked programs is supported.
14986 dlopen_self_static=$enable_dlopen_self_static
14987
14988 # Compiler flag to prevent dynamic linking.
14989 link_static_flag=$lt_lt_prog_compiler_static_F77
14990
14991 # Compiler flag to turn off builtin functions.
14992 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14993
14994 # Compiler flag to allow reflexive dlopens.
14995 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14996
14997 # Compiler flag to generate shared objects directly from archives.
14998 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14999
15000 # Compiler flag to generate thread-safe objects.
15001 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15002
15003 # Library versioning type.
15004 version_type=$version_type
15005
15006 # Format of library name prefix.
15007 libname_spec=$lt_libname_spec
15008
15009 # List of archive names. First name is the real one, the rest are links.
15010 # The last name is the one that the linker finds with -lNAME.
15011 library_names_spec=$lt_library_names_spec
15012
15013 # The coded name of the library, if different from the real name.
15014 soname_spec=$lt_soname_spec
15015
15016 # Commands used to build and install an old-style archive.
15017 RANLIB=$lt_RANLIB
15018 old_archive_cmds=$lt_old_archive_cmds_F77
15019 old_postinstall_cmds=$lt_old_postinstall_cmds
15020 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15021
15022 # Create an old-style archive from a shared archive.
15023 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15024
15025 # Create a temporary old-style archive to link instead of a shared archive.
15026 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15027
15028 # Commands used to build and install a shared archive.
15029 archive_cmds=$lt_archive_cmds_F77
15030 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15031 postinstall_cmds=$lt_postinstall_cmds
15032 postuninstall_cmds=$lt_postuninstall_cmds
15033
15034 # Commands used to build a loadable module (assumed same as above if empty)
15035 module_cmds=$lt_module_cmds_F77
15036 module_expsym_cmds=$lt_module_expsym_cmds_F77
15037
15038 # Commands to strip libraries.
15039 old_striplib=$lt_old_striplib
15040 striplib=$lt_striplib
15041
15042 # Dependencies to place before the objects being linked to create a
15043 # shared library.
15044 predep_objects=$lt_predep_objects_F77
15045
15046 # Dependencies to place after the objects being linked to create a
15047 # shared library.
15048 postdep_objects=$lt_postdep_objects_F77
15049
15050 # Dependencies to place before the objects being linked to create a
15051 # shared library.
15052 predeps=$lt_predeps_F77
15053
15054 # Dependencies to place after the objects being linked to create a
15055 # shared library.
15056 postdeps=$lt_postdeps_F77
15057
15058 # The library search path used internally by the compiler when linking
15059 # a shared library.
15060 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15061
15062 # Method to check whether dependent libraries are shared objects.
15063 deplibs_check_method=$lt_deplibs_check_method
15064
15065 # Command to use when deplibs_check_method == file_magic.
15066 file_magic_cmd=$lt_file_magic_cmd
15067
15068 # Flag that allows shared libraries with undefined symbols to be built.
15069 allow_undefined_flag=$lt_allow_undefined_flag_F77
15070
15071 # Flag that forces no undefined symbols.
15072 no_undefined_flag=$lt_no_undefined_flag_F77
15073
15074 # Commands used to finish a libtool library installation in a directory.
15075 finish_cmds=$lt_finish_cmds
15076
15077 # Same as above, but a single script fragment to be evaled but not shown.
15078 finish_eval=$lt_finish_eval
15079
15080 # Take the output of nm and produce a listing of raw symbols and C names.
15081 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15082
15083 # Transform the output of nm in a proper C declaration
15084 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15085
15086 # Transform the output of nm in a C name address pair
15087 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15088
15089 # This is the shared library runtime path variable.
15090 runpath_var=$runpath_var
15091
15092 # This is the shared library path variable.
15093 shlibpath_var=$shlibpath_var
15094
15095 # Is shlibpath searched before the hard-coded library search path?
15096 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15097
15098 # How to hardcode a shared library path into an executable.
15099 hardcode_action=$hardcode_action_F77
15100
15101 # Whether we should hardcode library paths into libraries.
15102 hardcode_into_libs=$hardcode_into_libs
15103
15104 # Flag to hardcode \$libdir into a binary during linking.
15105 # This must work even if \$libdir does not exist.
15106 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15107
15108 # If ld is used when linking, flag to hardcode \$libdir into
15109 # a binary during linking. This must work even if \$libdir does
15110 # not exist.
15111 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15112
15113 # Whether we need a single -rpath flag with a separated argument.
15114 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15115
15116 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15117 # resulting binary.
15118 hardcode_direct=$hardcode_direct_F77
15119
15120 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15121 # resulting binary.
15122 hardcode_minus_L=$hardcode_minus_L_F77
15123
15124 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15125 # the resulting binary.
15126 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15127
15128 # Set to yes if building a shared library automatically hardcodes DIR into the library
15129 # and all subsequent libraries and executables linked against it.
15130 hardcode_automatic=$hardcode_automatic_F77
15131
15132 # Variables whose values should be saved in libtool wrapper scripts and
15133 # restored at relink time.
15134 variables_saved_for_relink="$variables_saved_for_relink"
15135
15136 # Whether libtool must link a program against all its dependency libraries.
15137 link_all_deplibs=$link_all_deplibs_F77
15138
15139 # Compile-time system search path for libraries
15140 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15141
15142 # Run-time system search path for libraries
15143 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15144
15145 # Fix the shell variable \$srcfile for the compiler.
15146 fix_srcfile_path="$fix_srcfile_path_F77"
15147
15148 # Set to yes if exported symbols are required.
15149 always_export_symbols=$always_export_symbols_F77
15150
15151 # The commands to list exported symbols.
15152 export_symbols_cmds=$lt_export_symbols_cmds_F77
15153
15154 # The commands to extract the exported symbol list from a shared archive.
15155 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15156
15157 # Symbols that should not be listed in the preloaded symbols.
15158 exclude_expsyms=$lt_exclude_expsyms_F77
15159
15160 # Symbols that must always be exported.
15161 include_expsyms=$lt_include_expsyms_F77
15162
15163 # ### END LIBTOOL TAG CONFIG: $tagname
15164
15165 __EOF__
15166
15167
15168 else
15169 # If there is no Makefile yet, we rely on a make rule to execute
15170 # `config.status --recheck' to rerun these tests and create the
15171 # libtool script then.
15172 ltmain_in=`echoscip-shell system . . echo. $ltmain | sedscip-shell system . . sed. -e 's/\.sh$/.in/'`
15173 if testscip-shell system . . test. -f "$ltmain_in"; then
15174 testscip-shell system . . test. -f Makefile && makescip-shell system . . make. "$ltmain"
15175 fi
15176 fi
15177
15178
15179 ac_ext=c
15180 ac_cpp='$CPP $CPPFLAGS'
15181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15184
15185 CC="$lt_save_CC"
15186
15187 else
15188 tagname=""
15189 fi
15190 ;;
15191
15192 GCJ)
15193 if testscip-shell system . . test. -n "$GCJ" && testscip-shell system . . test. "X$GCJ" != "Xno"; then
15194
15195
15196
15197 # Source file extension for Java test sources.
15198 ac_ext=java
15199
15200 # Object file extension for compiled Java test sources.
15201 objext=o
15202 objext_GCJ=$objext
15203
15204 # Code to be used in simple compile tests
15205 lt_simple_compile_test_code="class foo {}\n"
15206
15207 # Code to be used in simple link tests
15208 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15209
15210 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15211
15212 # If no C compiler was specified, use CC.
15213 LTCC=${LTCC-"$CC"}
15214
15215 # If no C compiler flags were specified, use CFLAGS.
15216 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15217
15218 # Allow CC to be a program name with arguments.
15219 compiler=$CC
15220
15221
15222 # save warnings/boilerplate of simple test code
15223 ac_outfile=conftest.$ac_objext
15224 printfscip-shell system . . printf. "$lt_simple_compile_test_code" >conftest.$ac_ext
15225 eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
15226 _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err`
15227 $rm conftest*
15228
15229 ac_outfile=conftest.$ac_objext
15230 printfscip-shell system . . printf. "$lt_simple_link_test_code" >conftest.$ac_ext
15231 eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
15232 _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err`
15233 $rm conftest*
15234
15235
15236 # Allow CC to be a program name with arguments.
15237 lt_save_CC="$CC"
15238 CC=${GCJ-"gcj"}
15239 compiler=$CC
15240 compiler_GCJ=$CC
15241 for cc_temp in $compiler""; do
15242 case $cc_temp in
15243 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15244 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15245 \-*) ;;
15246 *) break;;
15247 esac
15248 done
15249 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15250
15251
15252 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15253 archive_cmds_need_lc_GCJ=no
15254
15255 old_archive_cmds_GCJ=$old_archive_cmds
15256
15257
15258 lt_prog_compiler_no_builtin_flag_GCJ=
15259
15260 if testscip-shell system . . test. "$GCC" = yes; then
15261 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15262
15263
15264 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15265 echoscip-shell system . . echo. $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15266 if testscip-shell system . . test. "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15267 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
15268 else
15269 lt_cv_prog_compiler_rtti_exceptions=no
15270 ac_outfile=conftest.$ac_objext
15271 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
15272 lt_compiler_flag="-fno-rtti -fno-exceptions"
15273 # Insert the option either (1) after the last *FLAGS variable, or
15274 # (2) before a word containing "conftest.", or (3) at the end.
15275 # Note that $ac_compile itself does not contain backslashes and begins
15276 # with a dollar sign (not a hyphen), so the echo should work correctly.
15277 # The option is referenced via a variable to avoid confusing sed.
15278 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
15279 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15281 -e 's:$: $lt_compiler_flag:'`
15282 (eval echo "\"\$as_me:15282: $lt_compile\"" >&5)
15283 (eval "$lt_compile" 2>conftest.err)
15284 ac_status=$?
15285 catscip-shell system . . cat. conftest.err >&5
15286 echoscip-shell system . . echo. "$as_me:15286: \$? = $ac_status" >&5
15287 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
15288 # The compiler can only warn and ignore the option if not recognized
15289 # So say no if there are warnings other than the usual output.
15290 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
15291 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
15292 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15293 lt_cv_prog_compiler_rtti_exceptions=yes
15294 fi
15295 fi
15296 $rm conftest*
15297
15298 fi
15299 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15300 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15301
15302 if testscip-shell system . . test. x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15303 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15304 else
15305 :
15306 fi
15307
15308 fi
15309
15310 lt_prog_compiler_wl_GCJ=
15311 lt_prog_compiler_pic_GCJ=
15312 lt_prog_compiler_static_GCJ=
15313
15314 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15315 echoscip-shell system . . echo. $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15316
15317 if testscip-shell system . . test. "$GCC" = yes; then
15318 lt_prog_compiler_wl_GCJ='-Wl,'
15319 lt_prog_compiler_static_GCJ='-static'
15320
15321 case $host_os in
15322 aix*)
15323 # All AIX code is PIC.
15324 if testscip-shell system . . test. "$host_cpu" = ia64; then
15325 # AIX 5 now supports IA64 processor
15326 lt_prog_compiler_static_GCJ='-Bstatic'
15327 fi
15328 ;;
15329
15330 amigaos*)
15331 # FIXME: we need at least 68020 code to build shared libraries, but
15332 # adding the `-m68020' flag to GCC prevents building anything better,
15333 # like `-m68040'.
15334 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15335 ;;
15336
15337 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15338 # PIC is the default for these OSes.
15339 ;;
15340
15341 mingw* | pw32* | os2*)
15342 # This hack is so that the source file can tell whether it is being
15343 # built for inclusion in a dll (and should export symbols for example).
15344 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15345 ;;
15346
15347 darwin* | rhapsody*)
15348 # PIC is the default on this platform
15349 # Common symbols not allowed in MH_DYLIB files
15350 lt_prog_compiler_pic_GCJ='-fno-common'
15351 ;;
15352
15353 interix3*)
15354 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15355 # Instead, we relocate shared libraries at runtime.
15356 ;;
15357
15358 msdosdjgpp*)
15359 # Just because we use GCC doesn't mean we suddenly get shared libraries
15360 # on systems that don't support them.
15361 lt_prog_compiler_can_build_shared_GCJ=no
15362 enable_shared=no
15363 ;;
15364
15365 sysv4*MP*)
15366 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
15367 lt_prog_compiler_pic_GCJ=-Kconform_pic
15368 fi
15369 ;;
15370
15371 hpux*)
15372 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15373 # not for PA HP-UX.
15374 case $host_cpu in
15375 hppa*64*|ia64*)
15376 # +Z the default
15377 ;;
15378 *)
15379 lt_prog_compiler_pic_GCJ='-fPIC'
15380 ;;
15381 esac
15382 ;;
15383
15384 *)
15385 lt_prog_compiler_pic_GCJ='-fPIC'
15386 ;;
15387 esac
15388 else
15389 # PORTME Check for flag to pass linker flags through the system compiler.
15390 case $host_os in
15391 aix*)
15392 lt_prog_compiler_wl_GCJ='-Wl,'
15393 if testscip-shell system . . test. "$host_cpu" = ia64; then
15394 # AIX 5 now supports IA64 processor
15395 lt_prog_compiler_static_GCJ='-Bstatic'
15396 else
15397 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15398 fi
15399 ;;
15400 darwin*)
15401 # PIC is the default on this platform
15402 # Common symbols not allowed in MH_DYLIB files
15403 case $cc_basename in
15404 xlc*)
15405 lt_prog_compiler_pic_GCJ='-qnocommon'
15406 lt_prog_compiler_wl_GCJ='-Wl,'
15407 ;;
15408 esac
15409 ;;
15410
15411 mingw* | pw32* | os2*)
15412 # This hack is so that the source file can tell whether it is being
15413 # built for inclusion in a dll (and should export symbols for example).
15414 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15415 ;;
15416
15417 hpux9* | hpux10* | hpux11*)
15418 lt_prog_compiler_wl_GCJ='-Wl,'
15419 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15420 # not for PA HP-UX.
15421 case $host_cpu in
15422 hppa*64*|ia64*)
15423 # +Z the default
15424 ;;
15425 *)
15426 lt_prog_compiler_pic_GCJ='+Z'
15427 ;;
15428 esac
15429 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15430 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15431 ;;
15432
15433 irix5* | irix6* | nonstopux*)
15434 lt_prog_compiler_wl_GCJ='-Wl,'
15435 # PIC (with -KPIC) is the default.
15436 lt_prog_compiler_static_GCJ='-non_shared'
15437 ;;
15438
15439 newsos6)
15440 lt_prog_compiler_pic_GCJ='-KPIC'
15441 lt_prog_compiler_static_GCJ='-Bstatic'
15442 ;;
15443
15444 linux*)
15445 case $cc_basename in
15446 icc* | ecc*)
15447 lt_prog_compiler_wl_GCJ='-Wl,'
15448 lt_prog_compiler_pic_GCJ='-KPIC'
15449 lt_prog_compiler_static_GCJ='-static'
15450 ;;
15451 pgcc* | pgf77* | pgf90* | pgf95*)
15452 # Portland Group compilers (*not* the Pentium gcc compiler,
15453 # which looks to be a dead project)
15454 lt_prog_compiler_wl_GCJ='-Wl,'
15455 lt_prog_compiler_pic_GCJ='-fpic'
15456 lt_prog_compiler_static_GCJ='-Bstatic'
15457 ;;
15458 ccc*)
15459 lt_prog_compiler_wl_GCJ='-Wl,'
15460 # All Alpha code is PIC.
15461 lt_prog_compiler_static_GCJ='-non_shared'
15462 ;;
15463 esac
15464 ;;
15465
15466 osf3* | osf4* | osf5*)
15467 lt_prog_compiler_wl_GCJ='-Wl,'
15468 # All OSF/1 code is PIC.
15469 lt_prog_compiler_static_GCJ='-non_shared'
15470 ;;
15471
15472 solaris*)
15473 lt_prog_compiler_pic_GCJ='-KPIC'
15474 lt_prog_compiler_static_GCJ='-Bstatic'
15475 case $cc_basename in
15476 f77* | f90* | f95*)
15477 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
15478 *)
15479 lt_prog_compiler_wl_GCJ='-Wl,';;
15480 esac
15481 ;;
15482
15483 sunos4*)
15484 lt_prog_compiler_wl_GCJ='-Qoption ld '
15485 lt_prog_compiler_pic_GCJ='-PIC'
15486 lt_prog_compiler_static_GCJ='-Bstatic'
15487 ;;
15488
15489 sysv4 | sysv4.2uw2* | sysv4.3*)
15490 lt_prog_compiler_wl_GCJ='-Wl,'
15491 lt_prog_compiler_pic_GCJ='-KPIC'
15492 lt_prog_compiler_static_GCJ='-Bstatic'
15493 ;;
15494
15495 sysv4*MP*)
15496 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`. ;then
15497 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15498 lt_prog_compiler_static_GCJ='-Bstatic'
15499 fi
15500 ;;
15501
15502 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15503 lt_prog_compiler_wl_GCJ='-Wl,'
15504 lt_prog_compiler_pic_GCJ='-KPIC'
15505 lt_prog_compiler_static_GCJ='-Bstatic'
15506 ;;
15507
15508 unicos*)
15509 lt_prog_compiler_wl_GCJ='-Wl,'
15510 lt_prog_compiler_can_build_shared_GCJ=no
15511 ;;
15512
15513 uts4*)
15514 lt_prog_compiler_pic_GCJ='-pic'
15515 lt_prog_compiler_static_GCJ='-Bstatic'
15516 ;;
15517
15518 *)
15519 lt_prog_compiler_can_build_shared_GCJ=no
15520 ;;
15521 esac
15522 fi
15523
15524 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15525 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15526
15527 #
15528 # Check to make sure the PIC flag actually works.
15529 #
15530 if testscip-shell system . . test. -n "$lt_prog_compiler_pic_GCJ"; then
15531
15532 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15533 echoscip-shell system . . echo. $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15534 if testscip-shell system . . test. "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15535 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
15536 else
15537 lt_prog_compiler_pic_works_GCJ=no
15538 ac_outfile=conftest.$ac_objext
15539 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
15540 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15541 # Insert the option either (1) after the last *FLAGS variable, or
15542 # (2) before a word containing "conftest.", or (3) at the end.
15543 # Note that $ac_compile itself does not contain backslashes and begins
15544 # with a dollar sign (not a hyphen), so the echo should work correctly.
15545 # The option is referenced via a variable to avoid confusing sed.
15546 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
15547 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15549 -e 's:$: $lt_compiler_flag:'`
15550 (eval echo "\"\$as_me:15550: $lt_compile\"" >&5)
15551 (eval "$lt_compile" 2>conftest.err)
15552 ac_status=$?
15553 catscip-shell system . . cat. conftest.err >&5
15554 echoscip-shell system . . echo. "$as_me:15554: \$? = $ac_status" >&5
15555 if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then
15556 # The compiler can only warn and ignore the option if not recognized
15557 # So say no if there are warnings other than the usual output.
15558 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp
15559 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
15560 if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15561 lt_prog_compiler_pic_works_GCJ=yes
15562 fi
15563 fi
15564 $rm conftest*
15565
15566 fi
15567 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15568 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15569
15570 if testscip-shell system . . test. x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15571 case $lt_prog_compiler_pic_GCJ in
15572 "" | " "*) ;;
15573 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15574 esac
15575 else
15576 lt_prog_compiler_pic_GCJ=
15577 lt_prog_compiler_can_build_shared_GCJ=no
15578 fi
15579
15580 fi
15581 case $host_os in
15582 # For platforms which do not support PIC, -DPIC is meaningless:
15583 *djgpp*)
15584 lt_prog_compiler_pic_GCJ=
15585 ;;
15586 *)
15587 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15588 ;;
15589 esac
15590
15591 #
15592 # Check to make sure the static flag actually works.
15593 #
15594 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15595 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15596 echoscip-shell system . . echo. $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15597 if testscip-shell system . . test. "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15598 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
15599 else
15600 lt_prog_compiler_static_works_GCJ=no
15601 save_LDFLAGS="$LDFLAGS"
15602 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15603 printfscip-shell system . . printf. "$lt_simple_link_test_code" > conftest.$ac_ext
15604 if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then
15605 # The linker can only warn and ignore the option if not recognized
15606 # So say no if there are warnings
15607 if testscip-shell system . . test. -s conftest.err; then
15608 # Append any errors to the config.log.
15609 catscip-shell system . . cat. conftest.err 1>&5
15610 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp
15611 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2
15612 if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15613 lt_prog_compiler_static_works_GCJ=yes
15614 fi
15615 else
15616 lt_prog_compiler_static_works_GCJ=yes
15617 fi
15618 fi
15619 $rm conftest*
15620 LDFLAGS="$save_LDFLAGS"
15621
15622 fi
15623 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15624 echoscip-shell system . . echo. "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
15625
15626 if testscip-shell system . . test. x"$lt_prog_compiler_static_works_GCJ" = xyes; then
15627 :
15628 else
15629 lt_prog_compiler_static_GCJ=
15630 fi
15631
15632
15633 echoscip-shell system . . echo. "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15634 echoscip-shell system . . echo. $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15635 if testscip-shell system . . test. "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15636 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
15637 else
15638 lt_cv_prog_compiler_c_o_GCJ=no
15639 $rm -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`.
15640 mkdirscip-shell system . . mkdir. conftest
15641 cd conftest
15642 mkdirscip-shell system . . mkdir. out
15643 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
15644
15645 lt_compiler_flag="-o out/conftest2.$ac_objext"
15646 # Insert the option either (1) after the last *FLAGS variable, or
15647 # (2) before a word containing "conftest.", or (3) at the end.
15648 # Note that $ac_compile itself does not contain backslashes and begins
15649 # with a dollar sign (not a hyphen), so the echo should work correctly.
15650 lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \
15651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15653 -e 's:$: $lt_compiler_flag:'`
15654 (eval echo "\"\$as_me:15654: $lt_compile\"" >&5)
15655 (eval "$lt_compile" 2>out/conftest.err)
15656 ac_status=$?
15657 catscip-shell system . . cat. out/conftest.err >&5
15658 echoscip-shell system . . echo. "$as_me:15658: \$? = $ac_status" >&5
15659 if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext
15660 then
15661 # The compiler can only warn and ignore the option if not recognized
15662 # So say no if there are warnings
15663 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp
15664 $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2
15665 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
15666 lt_cv_prog_compiler_c_o_GCJ=yes
15667 fi
15668 fi
15669 chmodscip-shell system . . chmod. u+w . 2>&5
15670 $rm conftest*
15671 # SGI C++ compiler will create directory out/ii_files/ for
15672 # template instantiation
15673 testscip-shell system . . test. -d out/ii_files && $rm out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files
15674 $rm out/* && rmdirscip-shell system . . rmdir. out
15675 cd ..
15676 rmdirscip-shell system . . rmdir. conftest
15677 $rm conftest*
15678
15679 fi
15680 echoscip-shell system . . echo. "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15681 echoscip-shell system . . echo. "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15682
15683
15684 hard_links="nottested"
15685 if testscip-shell system . . test. "$lt_cv_prog_compiler_c_o_GCJ" = no && testscip-shell system . . test. "$need_locks" != no; then
15686 # do not overwrite the value of need_locks provided by the user
15687 echoscip-shell system . . echo. "$as_me:$LINENO: checking if we can lock with hard links" >&5
15688 echoscip-shell system . . echo. $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15689 hard_links=yes
15690 $rm conftest*
15691 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
15692 touchscip-shell system . . touch. conftest.a
15693 lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no
15694 lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no
15695 echoscip-shell system . . echo. "$as_me:$LINENO: result: $hard_links" >&5
15696 echoscip-shell system . . echo. "${ECHO_T}$hard_links" >&6
15697 if testscip-shell system . . test. "$hard_links" = no; then
15698 { echoscip-shell system . . echo. "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15699 echoscip-shell system . . echo. "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15700 need_locks=warn
15701 fi
15702 else
15703 need_locks=no
15704 fi
15705
15706 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15707 echoscip-shell system . . echo. $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15708
15709 runpath_var=
15710 allow_undefined_flag_GCJ=
15711 enable_shared_with_static_runtimes_GCJ=no
15712 archive_cmds_GCJ=
15713 archive_expsym_cmds_GCJ=
15714 old_archive_From_new_cmds_GCJ=
15715 old_archive_from_expsyms_cmds_GCJ=
15716 export_dynamic_flag_spec_GCJ=
15717 whole_archive_flag_spec_GCJ=
15718 thread_safe_flag_spec_GCJ=
15719 hardcode_libdir_flag_spec_GCJ=
15720 hardcode_libdir_flag_spec_ld_GCJ=
15721 hardcode_libdir_separator_GCJ=
15722 hardcode_direct_GCJ=no
15723 hardcode_minus_L_GCJ=no
15724 hardcode_shlibpath_var_GCJ=unsupported
15725 link_all_deplibs_GCJ=unknown
15726 hardcode_automatic_GCJ=no
15727 module_cmds_GCJ=
15728 module_expsym_cmds_GCJ=
15729 always_export_symbols_GCJ=no
15730 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15731 # include_expsyms should be a list of space-separated symbols to be *always*
15732 # included in the symbol list
15733 include_expsyms_GCJ=
15734 # exclude_expsyms can be an extended regexp of symbols to exclude
15735 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15736 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15737 # as well as any symbol that contains `d'.
15738 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15739 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15740 # platforms (ab)use it in PIC code, but their linkers get confused if
15741 # the symbol is explicitly referenced. Since portable code cannot
15742 # rely on this symbol name, it's probably fine to never include it in
15743 # preloaded symbol tables.
15744 extract_expsyms_cmds=
15745 # Just being paranoid about ensuring that cc_basename is set.
15746 for cc_temp in $compiler""; do
15747 case $cc_temp in
15748 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15749 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15750 \-*) ;;
15751 *) break;;
15752 esac
15753 done
15754 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15755
15756 case $host_os in
15757 cygwin* | mingw* | pw32*)
15758 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15759 # When not using gcc, we currently assume that we are using
15760 # Microsoft Visual C++.
15761 if testscip-shell system . . test. "$GCC" != yes; then
15762 with_gnu_ld=no
15763 fi
15764 ;;
15765 interix*)
15766 # we just hope/assume this is gcc and not c89 (= MSVC++)
15767 with_gnu_ld=yes
15768 ;;
15769 openbsd*)
15770 with_gnu_ld=no
15771 ;;
15772 esac
15773
15774 ld_shlibs_GCJ=yes
15775 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
15776 # If archive_cmds runs LD, not CC, wlarc should be empty
15777 wlarc='${wl}'
15778
15779 # Set some defaults for GNU ld with shared library support. These
15780 # are reset later if shared libraries are not supported. Putting them
15781 # here allows them to be overridden if necessary.
15782 runpath_var=LD_RUN_PATH
15783 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15784 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15785 # ancient GNU ld didn't support --whole-archive et. al.
15786 if $LD --help 2>&1 | grepscip-shell system . . grep. 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
15787 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15788 else
15789 whole_archive_flag_spec_GCJ=
15790 fi
15791 supports_anon_versioning=no
15792 case `$LD -v 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
15793 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15794 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15795 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15796 *\ 2.11.*) ;; # other 2.11 versions
15797 *) supports_anon_versioning=yes ;;
15798 esac
15799
15800 # See if GNU ld supports shared libraries.
15801 case $host_os in
15802 aix3* | aix4* | aix5*)
15803 # On AIX/PPC, the GNU linker is very broken
15804 if testscip-shell system . . test. "$host_cpu" != ia64; then
15805 ld_shlibs_GCJ=no
15806 catscip-shell system . . cat. <<EOF 1>&2
15807
15808 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15809 *** to be unable to reliably create shared libraries on AIX.
15810 *** Therefore, libtool is disabling shared libraries support. If you
15811 *** really care for shared libraries, you may want to modify your PATH
15812 *** so that a non-GNU linker is found, and then restart.
15813
15814 EOF
15815 fi
15816 ;;
15817
15818 amigaos*)
15819 archive_cmds_GCJ='$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)'
15820 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15821 hardcode_minus_L_GCJ=yes
15822
15823 # Samuel A. Falvo II <[email protected]> reports
15824 # that the semantics of dynamic libraries on AmigaOS, at least up
15825 # to version 4, is to share data among multiple programs linked
15826 # with the same dynamic library. Since this doesn't match the
15827 # behavior of shared libraries on other platforms, we can't use
15828 # them.
15829 ld_shlibs_GCJ=no
15830 ;;
15831
15832 beos*)
15833 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
15834 allow_undefined_flag_GCJ=unsupported
15835 # Joseph Beckenbach <[email protected]> says some releases of gcc
15836 # support --undefined. This deserves some investigation. FIXME
15837 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15838 else
15839 ld_shlibs_GCJ=no
15840 fi
15841 ;;
15842
15843 cygwin* | mingw* | pw32*)
15844 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15845 # as there is no search path for DLLs.
15846 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15847 allow_undefined_flag_GCJ=unsupported
15848 always_export_symbols_GCJ=no
15849 enable_shared_with_static_runtimes_GCJ=yes
15850 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15851
15852 if $LD --help 2>&1 | grepscip-shell system . . grep. 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
15853 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15854 # If the export-symbols file already is a .def file (1st line
15855 # is EXPORTS), use it as is; otherwise, prepend...
15856 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15857 cp $export_symbols $output_objdir/$soname.def;
15858 else
15859 echo EXPORTS > $output_objdir/$soname.def;
15860 cat $export_symbols >> $output_objdir/$soname.def;
15861 fi~
15862 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15863 else
15864 ld_shlibs_GCJ=no
15865 fi
15866 ;;
15867
15868 interix3*)
15869 hardcode_direct_GCJ=no
15870 hardcode_shlibpath_var_GCJ=no
15871 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15872 export_dynamic_flag_spec_GCJ='${wl}-E'
15873 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15874 # Instead, shared libraries are loaded at an image base (0x10000000 by
15875 # default) and relocated if they conflict, which is a slow very memory
15876 # consuming and fragmenting process. To avoid this, we pick a random,
15877 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15878 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15879 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15880 archive_expsym_cmds_GCJ='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'
15881 ;;
15882
15883 linux*)
15884 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
15885 tmp_addflag=
15886 case $cc_basename,$host_cpu in
15887 pgcc*) # Portland Group C compiler
15888 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15889 tmp_addflag=' $pic_flag'
15890 ;;
15891 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15892 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15893 tmp_addflag=' $pic_flag -Mnomain' ;;
15894 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15895 tmp_addflag=' -i_dynamic' ;;
15896 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15897 tmp_addflag=' -i_dynamic -nofor_main' ;;
15898 ifc* | ifort*) # Intel Fortran compiler
15899 tmp_addflag=' -nofor_main' ;;
15900 esac
15901 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15902
15903 if testscip-shell system . . test. $supports_anon_versioning = yes; then
15904 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
15905 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15906 $echo "local: *; };" >> $output_objdir/$libname.ver~
15907 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15908 fi
15909 else
15910 ld_shlibs_GCJ=no
15911 fi
15912 ;;
15913
15914 netbsd*)
15915 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
15916 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15917 wlarc=
15918 else
15919 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15920 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15921 fi
15922 ;;
15923
15924 solaris*)
15925 if $LD -v 2>&1 | grepscip-shell system . . grep. 'BFD 2\.8' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
15926 ld_shlibs_GCJ=no
15927 catscip-shell system . . cat. <<EOF 1>&2
15928
15929 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15930 *** create shared libraries on Solaris systems. Therefore, libtool
15931 *** is disabling shared libraries support. We urge you to upgrade GNU
15932 *** binutils to release 2.9.1 or newer. Another option is to modify
15933 *** your PATH or compiler configuration so that the native linker is
15934 *** used, and then restart.
15935
15936 EOF
15937 elif $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
15938 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15939 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15940 else
15941 ld_shlibs_GCJ=no
15942 fi
15943 ;;
15944
15945 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15946 case `$LD -v 2>&1` in
15947 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15948 ld_shlibs_GCJ=no
15949 catscip-shell system . . cat. <<_LT_EOF 1>&2
15950
15951 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15952 *** reliably create shared libraries on SCO systems. Therefore, libtool
15953 *** is disabling shared libraries support. We urge you to upgrade GNU
15954 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15955 *** your PATH or compiler configuration so that the native linker is
15956 *** used, and then restart.
15957
15958 _LT_EOF
15959 ;;
15960 *)
15961 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
15962 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15963 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15964 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15965 else
15966 ld_shlibs_GCJ=no
15967 fi
15968 ;;
15969 esac
15970 ;;
15971
15972 sunos4*)
15973 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15974 wlarc=
15975 hardcode_direct_GCJ=yes
15976 hardcode_shlibpath_var_GCJ=no
15977 ;;
15978
15979 *)
15980 if $LD --help 2>&1 | grepscip-shell system . . grep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
15981 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15982 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15983 else
15984 ld_shlibs_GCJ=no
15985 fi
15986 ;;
15987 esac
15988
15989 if testscip-shell system . . test. "$ld_shlibs_GCJ" = no; then
15990 runpath_var=
15991 hardcode_libdir_flag_spec_GCJ=
15992 export_dynamic_flag_spec_GCJ=
15993 whole_archive_flag_spec_GCJ=
15994 fi
15995 else
15996 # PORTME fill in a description of your system's linker (not GNU ld)
15997 case $host_os in
15998 aix3*)
15999 allow_undefined_flag_GCJ=unsupported
16000 always_export_symbols_GCJ=yes
16001 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16002 # Note: this linker hardcodes the directories in LIBPATH if there
16003 # are no directories specified by -L.
16004 hardcode_minus_L_GCJ=yes
16005 if testscip-shell system . . test. "$GCC" = yes && testscip-shell system . . test. -z "$lt_prog_compiler_static"; then
16006 # Neither direct hardcoding nor static linking is supported with a
16007 # broken collect2.
16008 hardcode_direct_GCJ=unsupported
16009 fi
16010 ;;
16011
16012 aix4* | aix5*)
16013 if testscip-shell system . . test. "$host_cpu" = ia64; then
16014 # On IA64, the linker does run time linking by default, so we don't
16015 # have to do anything special.
16016 aix_use_runtimelinking=no
16017 exp_sym_flag='-Bexport'
16018 no_entry_flag=""
16019 else
16020 # If we're using GNU nm, then we don't want the "-C" option.
16021 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16022 if $NM -V 2>&1 | grepscip-shell system . . grep. 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
16023 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16024 else
16025 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16026 fi
16027 aix_use_runtimelinking=no
16028
16029 # Test if we are trying to use run time linking or normal
16030 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16031 # need to do runtime linking.
16032 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16033 for ld_flag in $LDFLAGS; do
16034 if (testscip-shell system . . test. $ld_flag = "-brtl" || testscip-shell system . . test. $ld_flag = "-Wl,-brtl"); then
16035 aix_use_runtimelinking=yes
16036 break
16037 fi
16038 done
16039 ;;
16040 esac
16041
16042 exp_sym_flag='-bexport'
16043 no_entry_flag='-bnoentry'
16044 fi
16045
16046 # When large executables or shared objects are built, AIX ld can
16047 # have problems creating the table of contents. If linking a library
16048 # or program results in "error TOC overflow" add -mminimal-toc to
16049 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16050 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16051
16052 archive_cmds_GCJ=''
16053 hardcode_direct_GCJ=yes
16054 hardcode_libdir_separator_GCJ=':'
16055 link_all_deplibs_GCJ=yes
16056
16057 if testscip-shell system . . test. "$GCC" = yes; then
16058 case $host_os in aix4.[012]|aix4.[012].*)
16059 # We only want to do this on AIX 4.2 and lower, the check
16060 # below for broken collect2 doesn't work under 4.3+
16061 collect2name=`${CC} -print-prog-name=collect2`
16062 if testscip-shell system . . test. -f "$collect2name" && \
16063 strings "$collect2name" | grepscip-shell system . . grep. resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`.
16064 then
16065 # We have reworked collect2
16066 hardcode_direct_GCJ=yes
16067 else
16068 # We have old collect2
16069 hardcode_direct_GCJ=unsupported
16070 # It fails to find uninstalled libraries when the uninstalled
16071 # path is not listed in the libpath. Setting hardcode_minus_L
16072 # to unsupported forces relinking
16073 hardcode_minus_L_GCJ=yes
16074 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16075 hardcode_libdir_separator_GCJ=
16076 fi
16077 ;;
16078 esac
16079 shared_flag='-shared'
16080 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
16081 shared_flag="$shared_flag "'${wl}-G'
16082 fi
16083 else
16084 # not using gcc
16085 if testscip-shell system . . test. "$host_cpu" = ia64; then
16086 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16087 # chokes on -Wl,-G. The following line is correct:
16088 shared_flag='-G'
16089 else
16090 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
16091 shared_flag='${wl}-G'
16092 else
16093 shared_flag='${wl}-bM:SRE'
16094 fi
16095 fi
16096 fi
16097
16098 # It seems that -bexpall does not export symbols beginning with
16099 # underscore (_), so it is better to generate a list of symbols to export.
16100 always_export_symbols_GCJ=yes
16101 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
16102 # Warning - without using the other runtime loading flags (-brtl),
16103 # -berok will link without error, but may produce a broken library.
16104 allow_undefined_flag_GCJ='-berok'
16105 # Determine the default libpath from the value encoded in an empty executable.
16106 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
16107 /* confdefs.h. */
16108 _ACEOF
16109 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
16110 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112
16113 int
16114 main ()
16115 {
16116
16117 ;
16118 return 0;
16119 }
16120 _ACEOF
16121 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
16122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16123 (eval $ac_link) 2>conftest.er1
16124 ac_status=$?
16125 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
16126 rmscip-shell system . . rm. -f conftest.er1
16127 catscip-shell system . . cat. conftest.err >&5
16128 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } &&
16130 { ac_try='test -z "$ac_c_werror_flag"
16131 || test ! -s conftest.err'
16132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133 (eval $ac_try) 2>&5
16134 ac_status=$?
16135 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; } &&
16137 { ac_try='test -s conftest$ac_exeext'
16138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139 (eval $ac_try) 2>&5
16140 ac_status=$?
16141 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); }; }; then
16143
16144 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16145 }'`
16146 # Check for a 64-bit object if we didn't find anything.
16147 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16148 }'`; fi
16149 else
16150 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
16151 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
16152
16153 fi
16154 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
16155 conftest$ac_exeext conftest.$ac_ext
16156 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath="/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`."; fi
16157
16158 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16159 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16160 else
16161 if testscip-shell system . . test. "$host_cpu" = ia64; then
16162 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16163 allow_undefined_flag_GCJ="-z nodefs"
16164 archive_expsym_cmds_GCJ="\$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"
16165 else
16166 # Determine the default libpath from the value encoded in an empty executable.
16167 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
16168 /* confdefs.h. */
16169 _ACEOF
16170 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
16171 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
16172 /* end confdefs.h. */
16173
16174 int
16175 main ()
16176 {
16177
16178 ;
16179 return 0;
16180 }
16181 _ACEOF
16182 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
16183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16184 (eval $ac_link) 2>conftest.er1
16185 ac_status=$?
16186 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
16187 rmscip-shell system . . rm. -f conftest.er1
16188 catscip-shell system . . cat. conftest.err >&5
16189 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); } &&
16191 { ac_try='test -z "$ac_c_werror_flag"
16192 || test ! -s conftest.err'
16193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16194 (eval $ac_try) 2>&5
16195 ac_status=$?
16196 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); }; } &&
16198 { ac_try='test -s conftest$ac_exeext'
16199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16200 (eval $ac_try) 2>&5
16201 ac_status=$?
16202 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); }; }; then
16204
16205 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16206 }'`
16207 # Check for a 64-bit object if we didn't find anything.
16208 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16209 }'`; fi
16210 else
16211 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
16212 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
16213
16214 fi
16215 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
16216 conftest$ac_exeext conftest.$ac_ext
16217 if testscip-shell system . . test. -z "$aix_libpath"; then aix_libpath="/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`."; fi
16218
16219 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16220 # Warning - without using the other run time loading flags,
16221 # -berok will link without error, but may produce a broken library.
16222 no_undefined_flag_GCJ=' ${wl}-bernotok'
16223 allow_undefined_flag_GCJ=' ${wl}-berok'
16224 # Exported symbols can be pulled into shared objects from archives
16225 whole_archive_flag_spec_GCJ='$convenience'
16226 archive_cmds_need_lc_GCJ=yes
16227 # This is similar to how AIX traditionally builds its shared libraries.
16228 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16229 fi
16230 fi
16231 ;;
16232
16233 amigaos*)
16234 archive_cmds_GCJ='$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)'
16235 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16236 hardcode_minus_L_GCJ=yes
16237 # see comment about different semantics on the GNU ld section
16238 ld_shlibs_GCJ=no
16239 ;;
16240
16241 bsdi[45]*)
16242 export_dynamic_flag_spec_GCJ=-rdynamic
16243 ;;
16244
16245 cygwin* | mingw* | pw32*)
16246 # When not using gcc, we currently assume that we are using
16247 # Microsoft Visual C++.
16248 # hardcode_libdir_flag_spec is actually meaningless, as there is
16249 # no search path for DLLs.
16250 hardcode_libdir_flag_spec_GCJ=' '
16251 allow_undefined_flag_GCJ=unsupported
16252 # Tell ltmain to make .lib files, not .a files.
16253 libext=lib
16254 # Tell ltmain to make .dll files, not .so files.
16255 shrext_cmds=".dll"
16256 # FIXME: Setting linknames here is a bad hack.
16257 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16258 # The linker will automatically build a .lib file if we build a DLL.
16259 old_archive_From_new_cmds_GCJ='true'
16260 # FIXME: Should let the user specify the lib program.
16261 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16262 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16263 enable_shared_with_static_runtimes_GCJ=yes
16264 ;;
16265
16266 darwin* | rhapsody*)
16267 case $host_os in
16268 rhapsody* | darwin1.[012])
16269 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
16270 ;;
16271 *) # Darwin 1.3 on
16272 if testscip-shell system . . test. -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16273 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16274 else
16275 case ${MACOSX_DEPLOYMENT_TARGET} in
16276 10.[012])
16277 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16278 ;;
16279 10.*)
16280 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
16281 ;;
16282 esac
16283 fi
16284 ;;
16285 esac
16286 archive_cmds_need_lc_GCJ=no
16287 hardcode_direct_GCJ=no
16288 hardcode_automatic_GCJ=yes
16289 hardcode_shlibpath_var_GCJ=unsupported
16290 whole_archive_flag_spec_GCJ=''
16291 link_all_deplibs_GCJ=yes
16292 if testscip-shell system . . test. "$GCC" = yes ; then
16293 output_verbose_link_cmd='echo'
16294 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16295 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16296 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16297 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16298 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16299 else
16300 case $cc_basename in
16301 xlc*)
16302 output_verbose_link_cmd='echo'
16303 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16304 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16305 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16306 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16307 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16308 ;;
16309 *)
16310 ld_shlibs_GCJ=no
16311 ;;
16312 esac
16313 fi
16314 ;;
16315
16316 dgux*)
16317 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16318 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16319 hardcode_shlibpath_var_GCJ=no
16320 ;;
16321
16322 freebsd1*)
16323 ld_shlibs_GCJ=no
16324 ;;
16325
16326 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16327 # support. Future versions do this automatically, but an explicit c++rt0.o
16328 # does not break anything, and helps significantly (at the cost of a little
16329 # extra space).
16330 freebsd2.2*)
16331 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16332 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16333 hardcode_direct_GCJ=yes
16334 hardcode_shlibpath_var_GCJ=no
16335 ;;
16336
16337 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16338 freebsd2*)
16339 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16340 hardcode_direct_GCJ=yes
16341 hardcode_minus_L_GCJ=yes
16342 hardcode_shlibpath_var_GCJ=no
16343 ;;
16344
16345 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16346 freebsd* | kfreebsd*-gnu | dragonfly*)
16347 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16348 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16349 hardcode_direct_GCJ=yes
16350 hardcode_shlibpath_var_GCJ=no
16351 ;;
16352
16353 hpux9*)
16354 if testscip-shell system . . test. "$GCC" = yes; then
16355 archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16356 else
16357 archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16358 fi
16359 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16360 hardcode_libdir_separator_GCJ=:
16361 hardcode_direct_GCJ=yes
16362
16363 # hardcode_minus_L: Not really in the search PATH,
16364 # but as the default location of the library.
16365 hardcode_minus_L_GCJ=yes
16366 export_dynamic_flag_spec_GCJ='${wl}-E'
16367 ;;
16368
16369 hpux10*)
16370 if testscip-shell system . . test. "$GCC" = yes -a "$with_gnu_ld" = no; then
16371 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16372 else
16373 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16374 fi
16375 if testscip-shell system . . test. "$with_gnu_ld" = no; then
16376 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16377 hardcode_libdir_separator_GCJ=:
16378
16379 hardcode_direct_GCJ=yes
16380 export_dynamic_flag_spec_GCJ='${wl}-E'
16381
16382 # hardcode_minus_L: Not really in the search PATH,
16383 # but as the default location of the library.
16384 hardcode_minus_L_GCJ=yes
16385 fi
16386 ;;
16387
16388 hpux11*)
16389 if testscip-shell system . . test. "$GCC" = yes -a "$with_gnu_ld" = no; then
16390 case $host_cpu in
16391 hppa*64*)
16392 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16393 ;;
16394 ia64*)
16395 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16396 ;;
16397 *)
16398 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16399 ;;
16400 esac
16401 else
16402 case $host_cpu in
16403 hppa*64*)
16404 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16405 ;;
16406 ia64*)
16407 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16408 ;;
16409 *)
16410 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16411 ;;
16412 esac
16413 fi
16414 if testscip-shell system . . test. "$with_gnu_ld" = no; then
16415 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16416 hardcode_libdir_separator_GCJ=:
16417
16418 case $host_cpu in
16419 hppa*64*|ia64*)
16420 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16421 hardcode_direct_GCJ=no
16422 hardcode_shlibpath_var_GCJ=no
16423 ;;
16424 *)
16425 hardcode_direct_GCJ=yes
16426 export_dynamic_flag_spec_GCJ='${wl}-E'
16427
16428 # hardcode_minus_L: Not really in the search PATH,
16429 # but as the default location of the library.
16430 hardcode_minus_L_GCJ=yes
16431 ;;
16432 esac
16433 fi
16434 ;;
16435
16436 irix5* | irix6* | nonstopux*)
16437 if testscip-shell system . . test. "$GCC" = yes; then
16438 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16439 else
16440 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16441 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
16442 fi
16443 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16444 hardcode_libdir_separator_GCJ=:
16445 link_all_deplibs_GCJ=yes
16446 ;;
16447
16448 netbsd*)
16449 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
16450 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16451 else
16452 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16453 fi
16454 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16455 hardcode_direct_GCJ=yes
16456 hardcode_shlibpath_var_GCJ=no
16457 ;;
16458
16459 newsos6)
16460 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16461 hardcode_direct_GCJ=yes
16462 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16463 hardcode_libdir_separator_GCJ=:
16464 hardcode_shlibpath_var_GCJ=no
16465 ;;
16466
16467 openbsd*)
16468 hardcode_direct_GCJ=yes
16469 hardcode_shlibpath_var_GCJ=no
16470 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`" || testscip-shell system . . test. "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16471 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16472 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16473 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16474 export_dynamic_flag_spec_GCJ='${wl}-E'
16475 else
16476 case $host_os in
16477 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16478 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16479 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16480 ;;
16481 *)
16482 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16483 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16484 ;;
16485 esac
16486 fi
16487 ;;
16488
16489 os2*)
16490 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16491 hardcode_minus_L_GCJ=yes
16492 allow_undefined_flag_GCJ=unsupported
16493 archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
16494 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16495 ;;
16496
16497 osf3*)
16498 if testscip-shell system . . test. "$GCC" = yes; then
16499 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16500 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16501 else
16502 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16503 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16504 fi
16505 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16506 hardcode_libdir_separator_GCJ=:
16507 ;;
16508
16509 osf4* | osf5*) # as osf3* with the addition of -msym flag
16510 if testscip-shell system . . test. "$GCC" = yes; then
16511 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16512 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16513 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16514 else
16515 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16516 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16517 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16518 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16519
16520 # Both c and cxx compiler support -rpath directly
16521 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16522 fi
16523 hardcode_libdir_separator_GCJ=:
16524 ;;
16525
16526 solaris*)
16527 no_undefined_flag_GCJ=' -z text'
16528 if testscip-shell system . . test. "$GCC" = yes; then
16529 wlarc='${wl}'
16530 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16531 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16532 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16533 else
16534 wlarc=''
16535 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16536 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16537 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16538 fi
16539 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16540 hardcode_shlibpath_var_GCJ=no
16541 case $host_os in
16542 solaris2.[0-5] | solaris2.[0-5].*) ;;
16543 *)
16544 # The compiler driver will combine linker options so we
16545 # cannot just pass the convience library names through
16546 # without $wl, iff we do not link with $LD.
16547 # Luckily, gcc supports the same syntax we need for Sun Studio.
16548 # Supported since Solaris 2.6 (maybe 2.5.1?)
16549 case $wlarc in
16550 '')
16551 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16552 *)
16553 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16554 esac ;;
16555 esac
16556 link_all_deplibs_GCJ=yes
16557 ;;
16558
16559 sunos4*)
16560 if testscip-shell system . . test. "x$host_vendor" = xsequent; then
16561 # Use $CC to link under sequent, because it throws in some extra .o
16562 # files that make .init and .fini sections work.
16563 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16564 else
16565 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16566 fi
16567 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16568 hardcode_direct_GCJ=yes
16569 hardcode_minus_L_GCJ=yes
16570 hardcode_shlibpath_var_GCJ=no
16571 ;;
16572
16573 sysv4)
16574 case $host_vendor in
16575 sni)
16576 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16577 hardcode_direct_GCJ=yes # is this really true???
16578 ;;
16579 siemens)
16580 ## LD is ld it makes a PLAMLIB
16581 ## CC just makes a GrossModule.
16582 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16583 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16584 hardcode_direct_GCJ=no
16585 ;;
16586 motorola)
16587 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16588 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16589 ;;
16590 esac
16591 runpath_var='LD_RUN_PATH'
16592 hardcode_shlibpath_var_GCJ=no
16593 ;;
16594
16595 sysv4.3*)
16596 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16597 hardcode_shlibpath_var_GCJ=no
16598 export_dynamic_flag_spec_GCJ='-Bexport'
16599 ;;
16600
16601 sysv4*MP*)
16602 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then
16603 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16604 hardcode_shlibpath_var_GCJ=no
16605 runpath_var=LD_RUN_PATH
16606 hardcode_runpath_var=yes
16607 ld_shlibs_GCJ=yes
16608 fi
16609 ;;
16610
16611 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
16612 no_undefined_flag_GCJ='${wl}-z,text'
16613 archive_cmds_need_lc_GCJ=no
16614 hardcode_shlibpath_var_GCJ=no
16615 runpath_var='LD_RUN_PATH'
16616
16617 if testscip-shell system . . test. "$GCC" = yes; then
16618 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16619 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16620 else
16621 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16622 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16623 fi
16624 ;;
16625
16626 sysv5* | sco3.2v5* | sco5v6*)
16627 # Note: We can NOT use -z defs as we might desire, because we do not
16628 # link with -lc, and that would cause any symbols used from libc to
16629 # always be unresolved, which means just about no library would
16630 # ever link correctly. If we're not using GNU ld we use -z text
16631 # though, which does catch some bad symbols but isn't as heavy-handed
16632 # as -z defs.
16633 no_undefined_flag_GCJ='${wl}-z,text'
16634 allow_undefined_flag_GCJ='${wl}-z,nodefs'
16635 archive_cmds_need_lc_GCJ=no
16636 hardcode_shlibpath_var_GCJ=no
16637 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16638 hardcode_libdir_separator_GCJ=':'
16639 link_all_deplibs_GCJ=yes
16640 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16641 runpath_var='LD_RUN_PATH'
16642
16643 if testscip-shell system . . test. "$GCC" = yes; then
16644 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16645 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16646 else
16647 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16648 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16649 fi
16650 ;;
16651
16652 uts4*)
16653 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16654 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16655 hardcode_shlibpath_var_GCJ=no
16656 ;;
16657
16658 *)
16659 ld_shlibs_GCJ=no
16660 ;;
16661 esac
16662 fi
16663
16664 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16665 echoscip-shell system . . echo. "${ECHO_T}$ld_shlibs_GCJ" >&6
16666 testscip-shell system . . test. "$ld_shlibs_GCJ" = no && can_build_shared=no
16667
16668 #
16669 # Do we need to explicitly link libc?
16670 #
16671 case "x$archive_cmds_need_lc_GCJ" in
16672 x|xyes)
16673 # Assume -lc should be added
16674 archive_cmds_need_lc_GCJ=yes
16675
16676 if testscip-shell system . . test. "$enable_shared" = yes && testscip-shell system . . test. "$GCC" = yes; then
16677 case $archive_cmds_GCJ in
16678 *'~'*)
16679 # FIXME: we may have to deal with multi-command sequences.
16680 ;;
16681 '$CC '*)
16682 # Test whether the compiler implicitly links with -lc since on some
16683 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16684 # to ld, don't add -lc before -lgcc.
16685 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16686 echoscip-shell system . . echo. $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16687 $rm conftest*
16688 printfscip-shell system . . printf. "$lt_simple_compile_test_code" > conftest.$ac_ext
16689
16690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16691 (eval $ac_compile) 2>&5
16692 ac_status=$?
16693 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); } 2>conftest.err; then
16695 soname=conftest
16696 lib=conftest
16697 libobjs=conftest.$ac_objext
16698 deplibs=
16699 wl=$lt_prog_compiler_wl_GCJ
16700 pic_flag=$lt_prog_compiler_pic_GCJ
16701 compiler_flags=-v
16702 linker_flags=-v
16703 verstring=
16704 output_objdir=.
16705 libname=conftest
16706 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16707 allow_undefined_flag_GCJ=
16708 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16709 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16710 ac_status=$?
16711 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }
16713 then
16714 archive_cmds_need_lc_GCJ=no
16715 else
16716 archive_cmds_need_lc_GCJ=yes
16717 fi
16718 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16719 else
16720 catscip-shell system . . cat. conftest.err 1>&5
16721 fi
16722 $rm conftest*
16723 echoscip-shell system . . echo. "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16724 echoscip-shell system . . echo. "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16725 ;;
16726 esac
16727 fi
16728 ;;
16729 esac
16730
16731 echoscip-shell system . . echo. "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16732 echoscip-shell system . . echo. $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16733 library_names_spec=
16734 libname_spec='lib$name'
16735 soname_spec=
16736 shrext_cmds=".so"
16737 postinstall_cmds=
16738 postuninstall_cmds=
16739 finish_cmds=
16740 finish_eval=
16741 shlibpath_var=
16742 shlibpath_overrides_runpath=unknown
16743 version_type=none
16744 dynamic_linker="$host_os ld.so"
16745 sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`."
16746 if testscip-shell system . . test. "$GCC" = yes; then
16747 sys_lib_search_path_spec=`$CC -print-search-dirs | grepscip-shell system . . grep. "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16748 if echoscip-shell system . . echo. "$sys_lib_search_path_spec" | grepscip-shell system . . grep. ';' >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
16749 # if the path contains ";" then we assume it to be the separator
16750 # otherwise default to the standard path separator (i.e. ":") - it is
16751 # assumed that no part of a normal pathname contains ";" but that should
16752 # okay in the real world where ";" in dirpaths is itself problematic.
16753 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16754 else
16755 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16756 fi
16757 else
16758 sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`."
16759 fi
16760 need_lib_prefix=unknown
16761 hardcode_into_libs=no
16762
16763 # when you set need_version to no, make sure it does not cause -set_version
16764 # flags to be left without arguments
16765 need_version=unknown
16766
16767 case $host_os in
16768 aix3*)
16769 version_type=linux
16770 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16771 shlibpath_var=LIBPATH
16772
16773 # AIX 3 has no versioning support, so we append a major version to the name.
16774 soname_spec='${libname}${release}${shared_ext}$major'
16775 ;;
16776
16777 aix4* | aix5*)
16778 version_type=linux
16779 need_lib_prefix=no
16780 need_version=no
16781 hardcode_into_libs=yes
16782 if testscip-shell system . . test. "$host_cpu" = ia64; then
16783 # AIX 5 supports IA64
16784 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16785 shlibpath_var=LD_LIBRARY_PATH
16786 else
16787 # With GCC up to 2.95.x, collect2 would create an import file
16788 # for dependence libraries. The import file would start with
16789 # the line `#! .'. This would cause the generated library to
16790 # depend on `.', always an invalid library. This was fixed in
16791 # development snapshots of GCC prior to 3.0.
16792 case $host_os in
16793 aix4 | aix4.[01] | aix4.[01].*)
16794 if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16795 echoscip-shell system . . echo. ' yes '
16796 echoscip-shell system . . echo. '#endif'; } | ${CC} -E - | grepscip-shell system . . grep. yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then
16797 :
16798 else
16799 can_build_shared=no
16800 fi
16801 ;;
16802 esac
16803 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16804 # soname into executable. Probably we can add versioning support to
16805 # collect2, so additional links can be useful in future.
16806 if testscip-shell system . . test. "$aix_use_runtimelinking" = yes; then
16807 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16808 # instead of lib<name>.a to let people know that these are not
16809 # typical AIX shared libraries.
16810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16811 else
16812 # We preserve .a as extension for shared libraries through AIX4.2
16813 # and later when we are not doing run time linking.
16814 library_names_spec='${libname}${release}.a $libname.a'
16815 soname_spec='${libname}${release}${shared_ext}$major'
16816 fi
16817 shlibpath_var=LIBPATH
16818 fi
16819 ;;
16820
16821 amigaos*)
16822 library_names_spec='$libname.ixlibrary $libname.a'
16823 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16824 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
16825 ;;
16826
16827 beos*)
16828 library_names_spec='${libname}${shared_ext}'
16829 dynamic_linker="$host_os ld.so"
16830 shlibpath_var=LIBRARY_PATH
16831 ;;
16832
16833 bsdi[45]*)
16834 version_type=linux
16835 need_version=no
16836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16837 soname_spec='${libname}${release}${shared_ext}$major'
16838 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16839 shlibpath_var=LD_LIBRARY_PATH
16840 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`."
16841 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`."
16842 # the default ld.so.conf also contains /usr/contrib/lib and
16843 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16844 # libtool to hard-code these into programs
16845 ;;
16846
16847 cygwin* | mingw* | pw32*)
16848 version_type=windows
16849 shrext_cmds=".dll"
16850 need_version=no
16851 need_lib_prefix=no
16852
16853 case $GCC,$host_os in
16854 yes,cygwin* | yes,mingw* | yes,pw32*)
16855 library_names_spec='$libname.dll.a'
16856 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16857 postinstall_cmds='base_file=`basename \${file}`~
16858 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16859 dldir=$destdir/`dirname \$dlpath`~
16860 test -d \$dldir || mkdir -p \$dldir~
16861 $install_prog $dir/$dlname \$dldir/$dlname~
16862 chmod a+x \$dldir/$dlname'
16863 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16864 dlpath=$dir/\$dldll~
16865 $rm \$dlpath'
16866 shlibpath_overrides_runpath=yes
16867
16868 case $host_os in
16869 cygwin*)
16870 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16871 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16872 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/libscip-shell filesystem . . `/usr/lib /lib/w32api /lib /usr/local/lib`."
16873 ;;
16874 mingw*)
16875 # MinGW DLLs use traditional 'lib' prefix
16876 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16877 sys_lib_search_path_spec=`$CC -print-search-dirs | grepscip-shell system . . grep. "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16878 if echoscip-shell system . . echo. "$sys_lib_search_path_spec" | grepscip-shell system . . grep. ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
16879 # It is most probably a Windows format PATH printed by
16880 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16881 # path with ; separators, and with drive letters. We can handle the
16882 # drive letters (cygwin fileutils understands them), so leave them,
16883 # especially as we might pass files found there to a mingw objdump,
16884 # which wouldn't understand a cygwinified path. Ahh.
16885 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16886 else
16887 sys_lib_search_path_spec=`echoscip-shell system . . echo. "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16888 fi
16889 ;;
16890 pw32*)
16891 # pw32 DLLs use 'pw' prefix rather than 'lib'
16892 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16893 ;;
16894 esac
16895 ;;
16896
16897 linux*)
16898 if $LD --help 2>&1 | egrepscip-shell system . . egrep. ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
16899 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16900 supports_anon_versioning=no
16901 case `$LD -v 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
16902 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16903 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16904 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16905 *\ 2.11.*) ;; # other 2.11 versions
16906 *) supports_anon_versioning=yes ;;
16907 esac
16908 if testscip-shell system . . test. $supports_anon_versioning = yes; then
16909 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
16910 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16911 $echo "local: *; };" >> $output_objdir/$libname.ver~
16912 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16913 else
16914 $archive_expsym_cmds="$archive_cmds"
16915 fi
16916 else
16917 ld_shlibs=no
16918 fi
16919 ;;
16920
16921 *)
16922 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16923 ;;
16924 esac
16925 dynamic_linker='Win32 ld.exe'
16926 # FIXME: first we should search . and the directory the executable is in
16927 shlibpath_var=PATH
16928 ;;
16929
16930 darwin* | rhapsody*)
16931 dynamic_linker="$host_os dyld"
16932 version_type=darwin
16933 need_lib_prefix=no
16934 need_version=no
16935 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16936 soname_spec='${libname}${release}${major}$shared_ext'
16937 shlibpath_overrides_runpath=yes
16938 shlibpath_var=DYLD_LIBRARY_PATH
16939 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16940 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16941 if testscip-shell system . . test. "$GCC" = yes; then
16942 sys_lib_search_path_spec=`$CC -print-search-dirs | trscip-shell system . . tr. "\n" "$PATH_SEPARATOR" | sedscip-shell system . . sed. -e 's/libraries:/@libraries:/' | trscip-shell system . . tr. "@" "\n" | grepscip-shell system . . grep. "^libraries:" | sedscip-shell system . . sed. -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16943 else
16944 sys_lib_search_path_spec='/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`.'
16945 fi
16946 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.'
16947 ;;
16948
16949 dgux*)
16950 version_type=linux
16951 need_lib_prefix=no
16952 need_version=no
16953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16954 soname_spec='${libname}${release}${shared_ext}$major'
16955 shlibpath_var=LD_LIBRARY_PATH
16956 ;;
16957
16958 freebsd1*)
16959 dynamic_linker=no
16960 ;;
16961
16962 kfreebsd*-gnu)
16963 version_type=linux
16964 need_lib_prefix=no
16965 need_version=no
16966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16967 soname_spec='${libname}${release}${shared_ext}$major'
16968 shlibpath_var=LD_LIBRARY_PATH
16969 shlibpath_overrides_runpath=no
16970 hardcode_into_libs=yes
16971 dynamic_linker='GNU ld.so'
16972 ;;
16973
16974 freebsd* | dragonfly*)
16975 # DragonFly does not have aout. When/if they implement a new
16976 # versioning mechanism, adjust this.
16977 if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then
16978 objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.`
16979 else
16980 case $host_os in
16981 freebsd[123]*) objformat=aout ;;
16982 *) objformat=elf ;;
16983 esac
16984 fi
16985 # Handle Gentoo/FreeBSD as it was Linux
16986 case $host_vendor in
16987 gentoo)
16988 version_type=linux ;;
16989 *)
16990 version_type=freebsd-$objformat ;;
16991 esac
16992
16993 case $version_type in
16994 freebsd-elf*)
16995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16996 need_version=no
16997 need_lib_prefix=no
16998 ;;
16999 freebsd-*)
17000 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17001 need_version=yes
17002 ;;
17003 linux)
17004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17005 soname_spec='${libname}${release}${shared_ext}$major'
17006 need_lib_prefix=no
17007 need_version=no
17008 ;;
17009 esac
17010 shlibpath_var=LD_LIBRARY_PATH
17011 case $host_os in
17012 freebsd2*)
17013 shlibpath_overrides_runpath=yes
17014 ;;
17015 freebsd3.[01]* | freebsdelf3.[01]*)
17016 shlibpath_overrides_runpath=yes
17017 hardcode_into_libs=yes
17018 ;;
17019 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17020 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17021 shlibpath_overrides_runpath=no
17022 hardcode_into_libs=yes
17023 ;;
17024 freebsd*) # from 4.6 on
17025 shlibpath_overrides_runpath=yes
17026 hardcode_into_libs=yes
17027 ;;
17028 esac
17029 ;;
17030
17031 gnu*)
17032 version_type=linux
17033 need_lib_prefix=no
17034 need_version=no
17035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17036 soname_spec='${libname}${release}${shared_ext}$major'
17037 shlibpath_var=LD_LIBRARY_PATH
17038 hardcode_into_libs=yes
17039 ;;
17040
17041 hpux9* | hpux10* | hpux11*)
17042 # Give a soname corresponding to the major version so that dld.sl refuses to
17043 # link against other versions.
17044 version_type=sunos
17045 need_lib_prefix=no
17046 need_version=no
17047 case $host_cpu in
17048 ia64*)
17049 shrext_cmds='.so'
17050 hardcode_into_libs=yes
17051 dynamic_linker="$host_os dld.so"
17052 shlibpath_var=LD_LIBRARY_PATH
17053 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17055 soname_spec='${libname}${release}${shared_ext}$major'
17056 if testscip-shell system . . test. "X$HPUX_IA64_MODE" = X32; then
17057 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`."
17058 else
17059 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`."
17060 fi
17061 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17062 ;;
17063 hppa*64*)
17064 shrext_cmds='.sl'
17065 hardcode_into_libs=yes
17066 dynamic_linker="$host_os dld.sl"
17067 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17068 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17070 soname_spec='${libname}${release}${shared_ext}$major'
17071 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`."
17072 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17073 ;;
17074 *)
17075 shrext_cmds='.sl'
17076 dynamic_linker="$host_os dld.sl"
17077 shlibpath_var=SHLIB_PATH
17078 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17080 soname_spec='${libname}${release}${shared_ext}$major'
17081 ;;
17082 esac
17083 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17084 postinstall_cmds='chmod 555 $lib'
17085 ;;
17086
17087 interix3*)
17088 version_type=linux
17089 need_lib_prefix=no
17090 need_version=no
17091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17092 soname_spec='${libname}${release}${shared_ext}$major'
17093 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17094 shlibpath_var=LD_LIBRARY_PATH
17095 shlibpath_overrides_runpath=no
17096 hardcode_into_libs=yes
17097 ;;
17098
17099 irix5* | irix6* | nonstopux*)
17100 case $host_os in
17101 nonstopux*) version_type=nonstopux ;;
17102 *)
17103 if testscip-shell system . . test. "$lt_cv_prog_gnu_ld" = yes; then
17104 version_type=linux
17105 else
17106 version_type=irix
17107 fi ;;
17108 esac
17109 need_lib_prefix=no
17110 need_version=no
17111 soname_spec='${libname}${release}${shared_ext}$major'
17112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17113 case $host_os in
17114 irix5* | nonstopux*)
17115 libsuff= shlibsuff=
17116 ;;
17117 *)
17118 case $LD in # libtool.m4 will add one of these switches to LD
17119 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17120 libsuff= shlibsuff= libmagic=32-bit;;
17121 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17122 libsuff=32 shlibsuff=N32 libmagic=N32;;
17123 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17124 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17125 *) libsuff= shlibsuff= libmagic=never-match;;
17126 esac
17127 ;;
17128 esac
17129 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17130 shlibpath_overrides_runpath=no
17131 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17132 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17133 hardcode_into_libs=yes
17134 ;;
17135
17136 # No shared lib support for Linux oldld, aout, or coff.
17137 linux*oldld* | linux*aout* | linux*coff*)
17138 dynamic_linker=no
17139 ;;
17140
17141 # This must be Linux ELF.
17142 linux*)
17143 version_type=linux
17144 need_lib_prefix=no
17145 need_version=no
17146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17147 soname_spec='${libname}${release}${shared_ext}$major'
17148 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17149 shlibpath_var=LD_LIBRARY_PATH
17150 shlibpath_overrides_runpath=no
17151 # This implies no fast_install, which is unacceptable.
17152 # Some rework will be needed to allow for fast_install
17153 # before this can be enabled.
17154 hardcode_into_libs=yes
17155
17156 # Append ld.so.conf contents to the search path
17157 if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then
17158 lt_ld_extra=`awkscip-shell system . . awk. '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }scip-shell filesystem . . `/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }`.' < /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`. | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | trscip-shell system . . tr. '\n' ' '`
17159 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17160 fi
17161
17162 # We used to test for /lib/ld.so.1 and disable shared libraries on
17163 # powerpc, because MkLinux only supported shared libraries with the
17164 # GNU dynamic linker. Since this was broken with cross compilers,
17165 # most powerpc-linux boxes support dynamic linking these days and
17166 # people can always --disable-shared, the test was removed, and we
17167 # assume the GNU/Linux dynamic linker is in use.
17168 dynamic_linker='GNU/Linux ld.so'
17169 ;;
17170
17171 knetbsd*-gnu)
17172 version_type=linux
17173 need_lib_prefix=no
17174 need_version=no
17175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17176 soname_spec='${libname}${release}${shared_ext}$major'
17177 shlibpath_var=LD_LIBRARY_PATH
17178 shlibpath_overrides_runpath=no
17179 hardcode_into_libs=yes
17180 dynamic_linker='GNU ld.so'
17181 ;;
17182
17183 netbsd*)
17184 version_type=sunos
17185 need_lib_prefix=no
17186 need_version=no
17187 if echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then
17188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17189 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17190 dynamic_linker='NetBSD (a.out) ld.so'
17191 else
17192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17193 soname_spec='${libname}${release}${shared_ext}$major'
17194 dynamic_linker='NetBSD ld.elf_so'
17195 fi
17196 shlibpath_var=LD_LIBRARY_PATH
17197 shlibpath_overrides_runpath=yes
17198 hardcode_into_libs=yes
17199 ;;
17200
17201 newsos6)
17202 version_type=linux
17203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17204 shlibpath_var=LD_LIBRARY_PATH
17205 shlibpath_overrides_runpath=yes
17206 ;;
17207
17208 nto-qnx*)
17209 version_type=linux
17210 need_lib_prefix=no
17211 need_version=no
17212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17213 soname_spec='${libname}${release}${shared_ext}$major'
17214 shlibpath_var=LD_LIBRARY_PATH
17215 shlibpath_overrides_runpath=yes
17216 ;;
17217
17218 openbsd*)
17219 version_type=sunos
17220 sys_lib_dlsearch_path_spec="/usr/libscip-shell filesystem . . `/usr/lib`."
17221 need_lib_prefix=no
17222 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17223 case $host_os in
17224 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17225 *) need_version=no ;;
17226 esac
17227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17228 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17229 shlibpath_var=LD_LIBRARY_PATH
17230 if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`" || testscip-shell system . . test. "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17231 case $host_os in
17232 openbsd2.[89] | openbsd2.[89].*)
17233 shlibpath_overrides_runpath=no
17234 ;;
17235 *)
17236 shlibpath_overrides_runpath=yes
17237 ;;
17238 esac
17239 else
17240 shlibpath_overrides_runpath=yes
17241 fi
17242 ;;
17243
17244 os2*)
17245 libname_spec='$name'
17246 shrext_cmds=".dll"
17247 need_lib_prefix=no
17248 library_names_spec='$libname${shared_ext} $libname.a'
17249 dynamic_linker='OS/2 ld.exe'
17250 shlibpath_var=LIBPATH
17251 ;;
17252
17253 osf3* | osf4* | osf5*)
17254 version_type=osf
17255 need_lib_prefix=no
17256 need_version=no
17257 soname_spec='${libname}${release}${shared_ext}$major'
17258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17259 shlibpath_var=LD_LIBRARY_PATH
17260 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`."
17261 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17262 ;;
17263
17264 solaris*)
17265 version_type=linux
17266 need_lib_prefix=no
17267 need_version=no
17268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17269 soname_spec='${libname}${release}${shared_ext}$major'
17270 shlibpath_var=LD_LIBRARY_PATH
17271 shlibpath_overrides_runpath=yes
17272 hardcode_into_libs=yes
17273 # ldd complains unless libraries are executable
17274 postinstall_cmds='chmod +x $lib'
17275 ;;
17276
17277 sunos4*)
17278 version_type=sunos
17279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17280 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17281 shlibpath_var=LD_LIBRARY_PATH
17282 shlibpath_overrides_runpath=yes
17283 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
17284 need_lib_prefix=no
17285 fi
17286 need_version=yes
17287 ;;
17288
17289 sysv4 | sysv4.3*)
17290 version_type=linux
17291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17292 soname_spec='${libname}${release}${shared_ext}$major'
17293 shlibpath_var=LD_LIBRARY_PATH
17294 case $host_vendor in
17295 sni)
17296 shlibpath_overrides_runpath=no
17297 need_lib_prefix=no
17298 export_dynamic_flag_spec='${wl}-Blargedynsym'
17299 runpath_var=LD_RUN_PATH
17300 ;;
17301 siemens)
17302 need_lib_prefix=no
17303 ;;
17304 motorola)
17305 need_lib_prefix=no
17306 need_version=no
17307 shlibpath_overrides_runpath=no
17308 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.'
17309 ;;
17310 esac
17311 ;;
17312
17313 sysv4*MP*)
17314 if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`. ;then
17315 version_type=linux
17316 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17317 soname_spec='$libname${shared_ext}.$major'
17318 shlibpath_var=LD_LIBRARY_PATH
17319 fi
17320 ;;
17321
17322 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17323 version_type=freebsd-elf
17324 need_lib_prefix=no
17325 need_version=no
17326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17327 soname_spec='${libname}${release}${shared_ext}$major'
17328 shlibpath_var=LD_LIBRARY_PATH
17329 hardcode_into_libs=yes
17330 if testscip-shell system . . test. "$with_gnu_ld" = yes; then
17331 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`.'
17332 shlibpath_overrides_runpath=no
17333 else
17334 sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.'
17335 shlibpath_overrides_runpath=yes
17336 case $host_os in
17337 sco3.2v5*)
17338 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17339 ;;
17340 esac
17341 fi
17342 sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.'
17343 ;;
17344
17345 uts4*)
17346 version_type=linux
17347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17348 soname_spec='${libname}${release}${shared_ext}$major'
17349 shlibpath_var=LD_LIBRARY_PATH
17350 ;;
17351
17352 *)
17353 dynamic_linker=no
17354 ;;
17355 esac
17356 echoscip-shell system . . echo. "$as_me:$LINENO: result: $dynamic_linker" >&5
17357 echoscip-shell system . . echo. "${ECHO_T}$dynamic_linker" >&6
17358 testscip-shell system . . test. "$dynamic_linker" = no && can_build_shared=no
17359
17360 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17361 if testscip-shell system . . test. "$GCC" = yes; then
17362 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17363 fi
17364
17365 echoscip-shell system . . echo. "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17366 echoscip-shell system . . echo. $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17367 hardcode_action_GCJ=
17368 if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec_GCJ" || \
17369 test -n "$runpath_var_GCJ" || \
17370 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17371
17372 # We can hardcode non-existant directories.
17373 if testscip-shell system . . test. "$hardcode_direct_GCJ" != no &&
17374 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17375 # have to relink, otherwise we might link with an installed library
17376 # when we should be linking with a yet-to-be-installed one
17377 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17378 testscip-shell system . . test. "$hardcode_minus_L_GCJ" != no; then
17379 # Linking always hardcodes the temporary library directory.
17380 hardcode_action_GCJ=relink
17381 else
17382 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17383 hardcode_action_GCJ=immediate
17384 fi
17385 else
17386 # We cannot hardcode anything, or else we can only hardcode existing
17387 # directories.
17388 hardcode_action_GCJ=unsupported
17389 fi
17390 echoscip-shell system . . echo. "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17391 echoscip-shell system . . echo. "${ECHO_T}$hardcode_action_GCJ" >&6
17392
17393 if testscip-shell system . . test. "$hardcode_action_GCJ" = relink; then
17394 # Fast installation is not supported
17395 enable_fast_install=no
17396 elif testscip-shell system . . test. "$shlibpath_overrides_runpath" = yes ||
17397 testscip-shell system . . test. "$enable_shared" = no; then
17398 # Fast installation is not necessary
17399 enable_fast_install=needless
17400 fi
17401
17402
17403 # The else clause should only fire when bootstrapping the
17404 # libtool distribution, otherwise you forgot to ship ltmain.sh
17405 # with your package, and you will get complaints that there are
17406 # no rules to generate ltmain.sh.
17407 if testscip-shell system . . test. -f "$ltmain"; then
17408 # See if we are running on zsh, and set the options which allow our commands through
17409 # without removal of \ escapes.
17410 if testscip-shell system . . test. -n "${ZSH_VERSION+set}" ; then
17411 setopt NO_GLOB_SUBST
17412 fi
17413 # Now quote all the things that may contain metacharacters while being
17414 # careful not to overquote the AC_SUBSTed values. We take copies of the
17415 # variables and quote the copies for generation of the libtool script.
17416 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17417 SED SHELL STRIP \
17418 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17419 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17420 deplibs_check_method reload_flag reload_cmds need_locks \
17421 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17422 lt_cv_sys_global_symbol_to_c_name_address \
17423 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17424 old_postinstall_cmds old_postuninstall_cmds \
17425 compiler_GCJ \
17426 CC_GCJ \
17427 LD_GCJ \
17428 lt_prog_compiler_wl_GCJ \
17429 lt_prog_compiler_pic_GCJ \
17430 lt_prog_compiler_static_GCJ \
17431 lt_prog_compiler_no_builtin_flag_GCJ \
17432 export_dynamic_flag_spec_GCJ \
17433 thread_safe_flag_spec_GCJ \
17434 whole_archive_flag_spec_GCJ \
17435 enable_shared_with_static_runtimes_GCJ \
17436 old_archive_cmds_GCJ \
17437 old_archive_from_new_cmds_GCJ \
17438 predep_objects_GCJ \
17439 postdep_objects_GCJ \
17440 predeps_GCJ \
17441 postdeps_GCJ \
17442 compiler_lib_search_path_GCJ \
17443 archive_cmds_GCJ \
17444 archive_expsym_cmds_GCJ \
17445 postinstall_cmds_GCJ \
17446 postuninstall_cmds_GCJ \
17447 old_archive_from_expsyms_cmds_GCJ \
17448 allow_undefined_flag_GCJ \
17449 no_undefined_flag_GCJ \
17450 export_symbols_cmds_GCJ \
17451 hardcode_libdir_flag_spec_GCJ \
17452 hardcode_libdir_flag_spec_ld_GCJ \
17453 hardcode_libdir_separator_GCJ \
17454 hardcode_automatic_GCJ \
17455 module_cmds_GCJ \
17456 module_expsym_cmds_GCJ \
17457 lt_cv_prog_compiler_c_o_GCJ \
17458 exclude_expsyms_GCJ \
17459 include_expsyms_GCJ; do
17460
17461 case $var in
17462 old_archive_cmds_GCJ | \
17463 old_archive_from_new_cmds_GCJ | \
17464 archive_cmds_GCJ | \
17465 archive_expsym_cmds_GCJ | \
17466 module_cmds_GCJ | \
17467 module_expsym_cmds_GCJ | \
17468 old_archive_from_expsyms_cmds_GCJ | \
17469 export_symbols_cmds_GCJ | \
17470 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17471 postinstall_cmds | postuninstall_cmds | \
17472 old_postinstall_cmds | old_postuninstall_cmds | \
17473 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17474 # Double-quote double-evaled strings.
17475 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17476 ;;
17477 *)
17478 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17479 ;;
17480 esac
17481 done
17482
17483 case $lt_echo in
17484 *'\$0 --fallback-echo"')
17485 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17486 ;;
17487 esac
17488
17489 cfgfile="$ofile"
17490
17491 catscip-shell system . . cat. <<__EOF__ >> "$cfgfile"
17492 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17493
17494 # Libtool was configured on host `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`:
17495
17496 # Shell to use when invoking shell scripts.
17497 SHELL=$lt_SHELL
17498
17499 # Whether or not to build shared libraries.
17500 build_libtool_libs=$enable_shared
17501
17502 # Whether or not to build static libraries.
17503 build_old_libs=$enable_static
17504
17505 # Whether or not to add -lc for building shared libraries.
17506 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17507
17508 # Whether or not to disallow shared libs when runtime libs are static
17509 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17510
17511 # Whether or not to optimize for fast installation.
17512 fast_install=$enable_fast_install
17513
17514 # The host system.
17515 host_alias=$host_alias
17516 host=$host
17517 host_os=$host_os
17518
17519 # The build system.
17520 build_alias=$build_alias
17521 build=$build
17522 build_os=$build_os
17523
17524 # An echo program that does not interpret backslashes.
17525 echo=$lt_echo
17526
17527 # The archiver.
17528 AR=$lt_AR
17529 AR_FLAGS=$lt_AR_FLAGS
17530
17531 # A C compiler.
17532 LTCC=$lt_LTCC
17533
17534 # LTCC compiler flags.
17535 LTCFLAGS=$lt_LTCFLAGS
17536
17537 # A language-specific compiler.
17538 CC=$lt_compiler_GCJ
17539
17540 # Is the compiler the GNU C compiler?
17541 with_gcc=$GCC_GCJ
17542
17543 # An ERE matcher.
17544 EGREP=$lt_EGREP
17545
17546 # The linker used to build libraries.
17547 LD=$lt_LD_GCJ
17548
17549 # Whether we need hard or soft links.
17550 LN_S=$lt_LN_S
17551
17552 # A BSD-compatible nm program.
17553 NM=$lt_NM
17554
17555 # A symbol stripping program
17556 STRIP=$lt_STRIP
17557
17558 # Used to examine libraries when file_magic_cmd begins "file"
17559 MAGIC_CMD=$MAGIC_CMD
17560
17561 # Used on cygwin: DLL creation program.
17562 DLLTOOL="$DLLTOOL"
17563
17564 # Used on cygwin: object dumper.
17565 OBJDUMP="$OBJDUMP"
17566
17567 # Used on cygwin: assembler.
17568 AS="$AS"
17569
17570 # The name of the directory that contains temporary libtool files.
17571 objdir=$objdir
17572
17573 # How to create reloadable object files.
17574 reload_flag=$lt_reload_flag
17575 reload_cmds=$lt_reload_cmds
17576
17577 # How to pass a linker flag through the compiler.
17578 wl=$lt_lt_prog_compiler_wl_GCJ
17579
17580 # Object file suffix (normally "o").
17581 objext="$ac_objext"
17582
17583 # Old archive suffix (normally "a").
17584 libext="$libext"
17585
17586 # Shared library suffix (normally ".so").
17587 shrext_cmds='$shrext_cmds'
17588
17589 # Executable file suffix (normally "").
17590 exeext="$exeext"
17591
17592 # Additional compiler flags for building library objects.
17593 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17594 pic_mode=$pic_mode
17595
17596 # What is the maximum length of a command?
17597 max_cmd_len=$lt_cv_sys_max_cmd_len
17598
17599 # Does compiler simultaneously support -c and -o options?
17600 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17601
17602 # Must we lock files when doing compilation?
17603 need_locks=$lt_need_locks
17604
17605 # Do we need the lib prefix for modules?
17606 need_lib_prefix=$need_lib_prefix
17607
17608 # Do we need a version for libraries?
17609 need_version=$need_version
17610
17611 # Whether dlopen is supported.
17612 dlopen_support=$enable_dlopen
17613
17614 # Whether dlopen of programs is supported.
17615 dlopen_self=$enable_dlopen_self
17616
17617 # Whether dlopen of statically linked programs is supported.
17618 dlopen_self_static=$enable_dlopen_self_static
17619
17620 # Compiler flag to prevent dynamic linking.
17621 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17622
17623 # Compiler flag to turn off builtin functions.
17624 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17625
17626 # Compiler flag to allow reflexive dlopens.
17627 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17628
17629 # Compiler flag to generate shared objects directly from archives.
17630 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17631
17632 # Compiler flag to generate thread-safe objects.
17633 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17634
17635 # Library versioning type.
17636 version_type=$version_type
17637
17638 # Format of library name prefix.
17639 libname_spec=$lt_libname_spec
17640
17641 # List of archive names. First name is the real one, the rest are links.
17642 # The last name is the one that the linker finds with -lNAME.
17643 library_names_spec=$lt_library_names_spec
17644
17645 # The coded name of the library, if different from the real name.
17646 soname_spec=$lt_soname_spec
17647
17648 # Commands used to build and install an old-style archive.
17649 RANLIB=$lt_RANLIB
17650 old_archive_cmds=$lt_old_archive_cmds_GCJ
17651 old_postinstall_cmds=$lt_old_postinstall_cmds
17652 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17653
17654 # Create an old-style archive from a shared archive.
17655 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17656
17657 # Create a temporary old-style archive to link instead of a shared archive.
17658 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17659
17660 # Commands used to build and install a shared archive.
17661 archive_cmds=$lt_archive_cmds_GCJ
17662 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17663 postinstall_cmds=$lt_postinstall_cmds
17664 postuninstall_cmds=$lt_postuninstall_cmds
17665
17666 # Commands used to build a loadable module (assumed same as above if empty)
17667 module_cmds=$lt_module_cmds_GCJ
17668 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17669
17670 # Commands to strip libraries.
17671 old_striplib=$lt_old_striplib
17672 striplib=$lt_striplib
17673
17674 # Dependencies to place before the objects being linked to create a
17675 # shared library.
17676 predep_objects=$lt_predep_objects_GCJ
17677
17678 # Dependencies to place after the objects being linked to create a
17679 # shared library.
17680 postdep_objects=$lt_postdep_objects_GCJ
17681
17682 # Dependencies to place before the objects being linked to create a
17683 # shared library.
17684 predeps=$lt_predeps_GCJ
17685
17686 # Dependencies to place after the objects being linked to create a
17687 # shared library.
17688 postdeps=$lt_postdeps_GCJ
17689
17690 # The library search path used internally by the compiler when linking
17691 # a shared library.
17692 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17693
17694 # Method to check whether dependent libraries are shared objects.
17695 deplibs_check_method=$lt_deplibs_check_method
17696
17697 # Command to use when deplibs_check_method == file_magic.
17698 file_magic_cmd=$lt_file_magic_cmd
17699
17700 # Flag that allows shared libraries with undefined symbols to be built.
17701 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17702
17703 # Flag that forces no undefined symbols.
17704 no_undefined_flag=$lt_no_undefined_flag_GCJ
17705
17706 # Commands used to finish a libtool library installation in a directory.
17707 finish_cmds=$lt_finish_cmds
17708
17709 # Same as above, but a single script fragment to be evaled but not shown.
17710 finish_eval=$lt_finish_eval
17711
17712 # Take the output of nm and produce a listing of raw symbols and C names.
17713 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17714
17715 # Transform the output of nm in a proper C declaration
17716 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17717
17718 # Transform the output of nm in a C name address pair
17719 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17720
17721 # This is the shared library runtime path variable.
17722 runpath_var=$runpath_var
17723
17724 # This is the shared library path variable.
17725 shlibpath_var=$shlibpath_var
17726
17727 # Is shlibpath searched before the hard-coded library search path?
17728 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17729
17730 # How to hardcode a shared library path into an executable.
17731 hardcode_action=$hardcode_action_GCJ
17732
17733 # Whether we should hardcode library paths into libraries.
17734 hardcode_into_libs=$hardcode_into_libs
17735
17736 # Flag to hardcode \$libdir into a binary during linking.
17737 # This must work even if \$libdir does not exist.
17738 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17739
17740 # If ld is used when linking, flag to hardcode \$libdir into
17741 # a binary during linking. This must work even if \$libdir does
17742 # not exist.
17743 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17744
17745 # Whether we need a single -rpath flag with a separated argument.
17746 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17747
17748 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17749 # resulting binary.
17750 hardcode_direct=$hardcode_direct_GCJ
17751
17752 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17753 # resulting binary.
17754 hardcode_minus_L=$hardcode_minus_L_GCJ
17755
17756 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17757 # the resulting binary.
17758 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17759
17760 # Set to yes if building a shared library automatically hardcodes DIR into the library
17761 # and all subsequent libraries and executables linked against it.
17762 hardcode_automatic=$hardcode_automatic_GCJ
17763
17764 # Variables whose values should be saved in libtool wrapper scripts and
17765 # restored at relink time.
17766 variables_saved_for_relink="$variables_saved_for_relink"
17767
17768 # Whether libtool must link a program against all its dependency libraries.
17769 link_all_deplibs=$link_all_deplibs_GCJ
17770
17771 # Compile-time system search path for libraries
17772 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17773
17774 # Run-time system search path for libraries
17775 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17776
17777 # Fix the shell variable \$srcfile for the compiler.
17778 fix_srcfile_path="$fix_srcfile_path_GCJ"
17779
17780 # Set to yes if exported symbols are required.
17781 always_export_symbols=$always_export_symbols_GCJ
17782
17783 # The commands to list exported symbols.
17784 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17785
17786 # The commands to extract the exported symbol list from a shared archive.
17787 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17788
17789 # Symbols that should not be listed in the preloaded symbols.
17790 exclude_expsyms=$lt_exclude_expsyms_GCJ
17791
17792 # Symbols that must always be exported.
17793 include_expsyms=$lt_include_expsyms_GCJ
17794
17795 # ### END LIBTOOL TAG CONFIG: $tagname
17796
17797 __EOF__
17798
17799
17800 else
17801 # If there is no Makefile yet, we rely on a make rule to execute
17802 # `config.status --recheck' to rerun these tests and create the
17803 # libtool script then.
17804 ltmain_in=`echoscip-shell system . . echo. $ltmain | sedscip-shell system . . sed. -e 's/\.sh$/.in/'`
17805 if testscip-shell system . . test. -f "$ltmain_in"; then
17806 testscip-shell system . . test. -f Makefile && makescip-shell system . . make. "$ltmain"
17807 fi
17808 fi
17809
17810
17811 ac_ext=c
17812 ac_cpp='$CPP $CPPFLAGS'
17813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17816
17817 CC="$lt_save_CC"
17818
17819 else
17820 tagname=""
17821 fi
17822 ;;
17823
17824 RC)
17825
17826
17827
17828 # Source file extension for RC test sources.
17829 ac_ext=rc
17830
17831 # Object file extension for compiled RC test sources.
17832 objext=o
17833 objext_RC=$objext
17834
17835 # Code to be used in simple compile tests
17836 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17837
17838 # Code to be used in simple link tests
17839 lt_simple_link_test_code="$lt_simple_compile_test_code"
17840
17841 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17842
17843 # If no C compiler was specified, use CC.
17844 LTCC=${LTCC-"$CC"}
17845
17846 # If no C compiler flags were specified, use CFLAGS.
17847 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17848
17849 # Allow CC to be a program name with arguments.
17850 compiler=$CC
17851
17852
17853 # save warnings/boilerplate of simple test code
17854 ac_outfile=conftest.$ac_objext
17855 printfscip-shell system . . printf. "$lt_simple_compile_test_code" >conftest.$ac_ext
17856 eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
17857 _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err`
17858 $rm conftest*
17859
17860 ac_outfile=conftest.$ac_objext
17861 printfscip-shell system . . printf. "$lt_simple_link_test_code" >conftest.$ac_ext
17862 eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err
17863 _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err`
17864 $rm conftest*
17865
17866
17867 # Allow CC to be a program name with arguments.
17868 lt_save_CC="$CC"
17869 CC=${RC-"windres"}
17870 compiler=$CC
17871 compiler_RC=$CC
17872 for cc_temp in $compiler""; do
17873 case $cc_temp in
17874 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17875 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17876 \-*) ;;
17877 *) break;;
17878 esac
17879 done
17880 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17881
17882 lt_cv_prog_compiler_c_o_RC=yes
17883
17884 # The else clause should only fire when bootstrapping the
17885 # libtool distribution, otherwise you forgot to ship ltmain.sh
17886 # with your package, and you will get complaints that there are
17887 # no rules to generate ltmain.sh.
17888 if testscip-shell system . . test. -f "$ltmain"; then
17889 # See if we are running on zsh, and set the options which allow our commands through
17890 # without removal of \ escapes.
17891 if testscip-shell system . . test. -n "${ZSH_VERSION+set}" ; then
17892 setopt NO_GLOB_SUBST
17893 fi
17894 # Now quote all the things that may contain metacharacters while being
17895 # careful not to overquote the AC_SUBSTed values. We take copies of the
17896 # variables and quote the copies for generation of the libtool script.
17897 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17898 SED SHELL STRIP \
17899 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17900 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17901 deplibs_check_method reload_flag reload_cmds need_locks \
17902 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17903 lt_cv_sys_global_symbol_to_c_name_address \
17904 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17905 old_postinstall_cmds old_postuninstall_cmds \
17906 compiler_RC \
17907 CC_RC \
17908 LD_RC \
17909 lt_prog_compiler_wl_RC \
17910 lt_prog_compiler_pic_RC \
17911 lt_prog_compiler_static_RC \
17912 lt_prog_compiler_no_builtin_flag_RC \
17913 export_dynamic_flag_spec_RC \
17914 thread_safe_flag_spec_RC \
17915 whole_archive_flag_spec_RC \
17916 enable_shared_with_static_runtimes_RC \
17917 old_archive_cmds_RC \
17918 old_archive_from_new_cmds_RC \
17919 predep_objects_RC \
17920 postdep_objects_RC \
17921 predeps_RC \
17922 postdeps_RC \
17923 compiler_lib_search_path_RC \
17924 archive_cmds_RC \
17925 archive_expsym_cmds_RC \
17926 postinstall_cmds_RC \
17927 postuninstall_cmds_RC \
17928 old_archive_from_expsyms_cmds_RC \
17929 allow_undefined_flag_RC \
17930 no_undefined_flag_RC \
17931 export_symbols_cmds_RC \
17932 hardcode_libdir_flag_spec_RC \
17933 hardcode_libdir_flag_spec_ld_RC \
17934 hardcode_libdir_separator_RC \
17935 hardcode_automatic_RC \
17936 module_cmds_RC \
17937 module_expsym_cmds_RC \
17938 lt_cv_prog_compiler_c_o_RC \
17939 exclude_expsyms_RC \
17940 include_expsyms_RC; do
17941
17942 case $var in
17943 old_archive_cmds_RC | \
17944 old_archive_from_new_cmds_RC | \
17945 archive_cmds_RC | \
17946 archive_expsym_cmds_RC | \
17947 module_cmds_RC | \
17948 module_expsym_cmds_RC | \
17949 old_archive_from_expsyms_cmds_RC | \
17950 export_symbols_cmds_RC | \
17951 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17952 postinstall_cmds | postuninstall_cmds | \
17953 old_postinstall_cmds | old_postuninstall_cmds | \
17954 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17955 # Double-quote double-evaled strings.
17956 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17957 ;;
17958 *)
17959 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17960 ;;
17961 esac
17962 done
17963
17964 case $lt_echo in
17965 *'\$0 --fallback-echo"')
17966 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17967 ;;
17968 esac
17969
17970 cfgfile="$ofile"
17971
17972 catscip-shell system . . cat. <<__EOF__ >> "$cfgfile"
17973 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17974
17975 # Libtool was configured on host `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`:
17976
17977 # Shell to use when invoking shell scripts.
17978 SHELL=$lt_SHELL
17979
17980 # Whether or not to build shared libraries.
17981 build_libtool_libs=$enable_shared
17982
17983 # Whether or not to build static libraries.
17984 build_old_libs=$enable_static
17985
17986 # Whether or not to add -lc for building shared libraries.
17987 build_libtool_need_lc=$archive_cmds_need_lc_RC
17988
17989 # Whether or not to disallow shared libs when runtime libs are static
17990 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
17991
17992 # Whether or not to optimize for fast installation.
17993 fast_install=$enable_fast_install
17994
17995 # The host system.
17996 host_alias=$host_alias
17997 host=$host
17998 host_os=$host_os
17999
18000 # The build system.
18001 build_alias=$build_alias
18002 build=$build
18003 build_os=$build_os
18004
18005 # An echo program that does not interpret backslashes.
18006 echo=$lt_echo
18007
18008 # The archiver.
18009 AR=$lt_AR
18010 AR_FLAGS=$lt_AR_FLAGS
18011
18012 # A C compiler.
18013 LTCC=$lt_LTCC
18014
18015 # LTCC compiler flags.
18016 LTCFLAGS=$lt_LTCFLAGS
18017
18018 # A language-specific compiler.
18019 CC=$lt_compiler_RC
18020
18021 # Is the compiler the GNU C compiler?
18022 with_gcc=$GCC_RC
18023
18024 # An ERE matcher.
18025 EGREP=$lt_EGREP
18026
18027 # The linker used to build libraries.
18028 LD=$lt_LD_RC
18029
18030 # Whether we need hard or soft links.
18031 LN_S=$lt_LN_S
18032
18033 # A BSD-compatible nm program.
18034 NM=$lt_NM
18035
18036 # A symbol stripping program
18037 STRIP=$lt_STRIP
18038
18039 # Used to examine libraries when file_magic_cmd begins "file"
18040 MAGIC_CMD=$MAGIC_CMD
18041
18042 # Used on cygwin: DLL creation program.
18043 DLLTOOL="$DLLTOOL"
18044
18045 # Used on cygwin: object dumper.
18046 OBJDUMP="$OBJDUMP"
18047
18048 # Used on cygwin: assembler.
18049 AS="$AS"
18050
18051 # The name of the directory that contains temporary libtool files.
18052 objdir=$objdir
18053
18054 # How to create reloadable object files.
18055 reload_flag=$lt_reload_flag
18056 reload_cmds=$lt_reload_cmds
18057
18058 # How to pass a linker flag through the compiler.
18059 wl=$lt_lt_prog_compiler_wl_RC
18060
18061 # Object file suffix (normally "o").
18062 objext="$ac_objext"
18063
18064 # Old archive suffix (normally "a").
18065 libext="$libext"
18066
18067 # Shared library suffix (normally ".so").
18068 shrext_cmds='$shrext_cmds'
18069
18070 # Executable file suffix (normally "").
18071 exeext="$exeext"
18072
18073 # Additional compiler flags for building library objects.
18074 pic_flag=$lt_lt_prog_compiler_pic_RC
18075 pic_mode=$pic_mode
18076
18077 # What is the maximum length of a command?
18078 max_cmd_len=$lt_cv_sys_max_cmd_len
18079
18080 # Does compiler simultaneously support -c and -o options?
18081 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18082
18083 # Must we lock files when doing compilation?
18084 need_locks=$lt_need_locks
18085
18086 # Do we need the lib prefix for modules?
18087 need_lib_prefix=$need_lib_prefix
18088
18089 # Do we need a version for libraries?
18090 need_version=$need_version
18091
18092 # Whether dlopen is supported.
18093 dlopen_support=$enable_dlopen
18094
18095 # Whether dlopen of programs is supported.
18096 dlopen_self=$enable_dlopen_self
18097
18098 # Whether dlopen of statically linked programs is supported.
18099 dlopen_self_static=$enable_dlopen_self_static
18100
18101 # Compiler flag to prevent dynamic linking.
18102 link_static_flag=$lt_lt_prog_compiler_static_RC
18103
18104 # Compiler flag to turn off builtin functions.
18105 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18106
18107 # Compiler flag to allow reflexive dlopens.
18108 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18109
18110 # Compiler flag to generate shared objects directly from archives.
18111 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18112
18113 # Compiler flag to generate thread-safe objects.
18114 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18115
18116 # Library versioning type.
18117 version_type=$version_type
18118
18119 # Format of library name prefix.
18120 libname_spec=$lt_libname_spec
18121
18122 # List of archive names. First name is the real one, the rest are links.
18123 # The last name is the one that the linker finds with -lNAME.
18124 library_names_spec=$lt_library_names_spec
18125
18126 # The coded name of the library, if different from the real name.
18127 soname_spec=$lt_soname_spec
18128
18129 # Commands used to build and install an old-style archive.
18130 RANLIB=$lt_RANLIB
18131 old_archive_cmds=$lt_old_archive_cmds_RC
18132 old_postinstall_cmds=$lt_old_postinstall_cmds
18133 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18134
18135 # Create an old-style archive from a shared archive.
18136 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18137
18138 # Create a temporary old-style archive to link instead of a shared archive.
18139 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18140
18141 # Commands used to build and install a shared archive.
18142 archive_cmds=$lt_archive_cmds_RC
18143 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18144 postinstall_cmds=$lt_postinstall_cmds
18145 postuninstall_cmds=$lt_postuninstall_cmds
18146
18147 # Commands used to build a loadable module (assumed same as above if empty)
18148 module_cmds=$lt_module_cmds_RC
18149 module_expsym_cmds=$lt_module_expsym_cmds_RC
18150
18151 # Commands to strip libraries.
18152 old_striplib=$lt_old_striplib
18153 striplib=$lt_striplib
18154
18155 # Dependencies to place before the objects being linked to create a
18156 # shared library.
18157 predep_objects=$lt_predep_objects_RC
18158
18159 # Dependencies to place after the objects being linked to create a
18160 # shared library.
18161 postdep_objects=$lt_postdep_objects_RC
18162
18163 # Dependencies to place before the objects being linked to create a
18164 # shared library.
18165 predeps=$lt_predeps_RC
18166
18167 # Dependencies to place after the objects being linked to create a
18168 # shared library.
18169 postdeps=$lt_postdeps_RC
18170
18171 # The library search path used internally by the compiler when linking
18172 # a shared library.
18173 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18174
18175 # Method to check whether dependent libraries are shared objects.
18176 deplibs_check_method=$lt_deplibs_check_method
18177
18178 # Command to use when deplibs_check_method == file_magic.
18179 file_magic_cmd=$lt_file_magic_cmd
18180
18181 # Flag that allows shared libraries with undefined symbols to be built.
18182 allow_undefined_flag=$lt_allow_undefined_flag_RC
18183
18184 # Flag that forces no undefined symbols.
18185 no_undefined_flag=$lt_no_undefined_flag_RC
18186
18187 # Commands used to finish a libtool library installation in a directory.
18188 finish_cmds=$lt_finish_cmds
18189
18190 # Same as above, but a single script fragment to be evaled but not shown.
18191 finish_eval=$lt_finish_eval
18192
18193 # Take the output of nm and produce a listing of raw symbols and C names.
18194 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18195
18196 # Transform the output of nm in a proper C declaration
18197 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18198
18199 # Transform the output of nm in a C name address pair
18200 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18201
18202 # This is the shared library runtime path variable.
18203 runpath_var=$runpath_var
18204
18205 # This is the shared library path variable.
18206 shlibpath_var=$shlibpath_var
18207
18208 # Is shlibpath searched before the hard-coded library search path?
18209 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18210
18211 # How to hardcode a shared library path into an executable.
18212 hardcode_action=$hardcode_action_RC
18213
18214 # Whether we should hardcode library paths into libraries.
18215 hardcode_into_libs=$hardcode_into_libs
18216
18217 # Flag to hardcode \$libdir into a binary during linking.
18218 # This must work even if \$libdir does not exist.
18219 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18220
18221 # If ld is used when linking, flag to hardcode \$libdir into
18222 # a binary during linking. This must work even if \$libdir does
18223 # not exist.
18224 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18225
18226 # Whether we need a single -rpath flag with a separated argument.
18227 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18228
18229 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18230 # resulting binary.
18231 hardcode_direct=$hardcode_direct_RC
18232
18233 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18234 # resulting binary.
18235 hardcode_minus_L=$hardcode_minus_L_RC
18236
18237 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18238 # the resulting binary.
18239 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18240
18241 # Set to yes if building a shared library automatically hardcodes DIR into the library
18242 # and all subsequent libraries and executables linked against it.
18243 hardcode_automatic=$hardcode_automatic_RC
18244
18245 # Variables whose values should be saved in libtool wrapper scripts and
18246 # restored at relink time.
18247 variables_saved_for_relink="$variables_saved_for_relink"
18248
18249 # Whether libtool must link a program against all its dependency libraries.
18250 link_all_deplibs=$link_all_deplibs_RC
18251
18252 # Compile-time system search path for libraries
18253 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18254
18255 # Run-time system search path for libraries
18256 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18257
18258 # Fix the shell variable \$srcfile for the compiler.
18259 fix_srcfile_path="$fix_srcfile_path_RC"
18260
18261 # Set to yes if exported symbols are required.
18262 always_export_symbols=$always_export_symbols_RC
18263
18264 # The commands to list exported symbols.
18265 export_symbols_cmds=$lt_export_symbols_cmds_RC
18266
18267 # The commands to extract the exported symbol list from a shared archive.
18268 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18269
18270 # Symbols that should not be listed in the preloaded symbols.
18271 exclude_expsyms=$lt_exclude_expsyms_RC
18272
18273 # Symbols that must always be exported.
18274 include_expsyms=$lt_include_expsyms_RC
18275
18276 # ### END LIBTOOL TAG CONFIG: $tagname
18277
18278 __EOF__
18279
18280
18281 else
18282 # If there is no Makefile yet, we rely on a make rule to execute
18283 # `config.status --recheck' to rerun these tests and create the
18284 # libtool script then.
18285 ltmain_in=`echoscip-shell system . . echo. $ltmain | sedscip-shell system . . sed. -e 's/\.sh$/.in/'`
18286 if testscip-shell system . . test. -f "$ltmain_in"; then
18287 testscip-shell system . . test. -f Makefile && makescip-shell system . . make. "$ltmain"
18288 fi
18289 fi
18290
18291
18292 ac_ext=c
18293 ac_cpp='$CPP $CPPFLAGS'
18294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18297
18298 CC="$lt_save_CC"
18299
18300 ;;
18301
18302 *)
18303 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18304 echoscip-shell system . . echo. "$as_me: error: Unsupported tag name: $tagname" >&2;}
18305 { (exit 1); exit 1; }; }
18306 ;;
18307 esac
18308
18309 # Append the new tag name to the list of available tags.
18310 if testscip-shell system . . test. -n "$tagname" ; then
18311 available_tags="$available_tags $tagname"
18312 fi
18313 fi
18314 done
18315 IFS="$lt_save_ifs"
18316
18317 # Now substitute the updated list of available tags.
18318 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18319 mvscip-shell system . . mv. "${ofile}T" "$ofile"
18320 chmodscip-shell system . . chmod. +x "$ofile"
18321 else
18322 rmscip-shell system . . rm. -f "${ofile}T"
18323 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18324 echoscip-shell system . . echo. "$as_me: error: unable to update list of available tagged configurations." >&2;}
18325 { (exit 1); exit 1; }; }
18326 fi
18327 fi
18328
18329
18330
18331 # This can be used to rebuild libtool when needed
18332 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18333
18334 # Always use our own libtool.
18335 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
18336
18337 # Prevent multiple expansion
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358 # Find a good install program. We prefer a C program (faster),
18359 # so one script is as good as another. But avoid the broken or
18360 # incompatible versions:
18361 # SysV /etc/install, /usr/sbin/install
18362 # SunOS /usr/etc/install
18363 # IRIX /sbin/install
18364 # AIX /bin/install
18365 # AmigaOS /C/install, which installs bootblocks on floppy discs
18366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
18367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
18368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18369 # OS/2's system install, which has a completely different semantic
18370 # ./install, which can be erroneously created by make from ./install.sh.
18371 echoscip-shell system . . echo. "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18372 echoscip-shell system . . echo. $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
18373 if testscip-shell system . . test. -z "$INSTALL"; then
18374 if testscip-shell system . . test. "${ac_cv_path_install+set}" = set; then
18375 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
18376 else
18377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18378 for as_dir in $PATH
18379 do
18380 IFS=$as_save_IFS
18381 testscip-shell system . . test. -z "$as_dir" && as_dir=.
18382 # Account for people who put trailing slashes in PATH elements.
18383 case $as_dir/ in
18384 ./ | .// | /cC/* | \
18385 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
18386 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
18387 /usr/ucb/* ) ;;
18388 *)
18389 # OSF1 and SCO ODT 3.0 have their own names for install.
18390 # Don't use installbsd from OSF since it installs stuff as root
18391 # by default.
18392 for ac_prog in ginstall scoinst install; do
18393 for ac_exec_ext in '' $ac_executable_extensions; do
18394 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
18395 if testscip-shell system . . test. $ac_prog = install &&
18396 grepscip-shell system . . grep. dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
18397 # AIX install. It has an incompatible calling convention.
18398 :
18399 elif testscip-shell system . . test. $ac_prog = install &&
18400 grepscip-shell system . . grep. pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
18401 # program-specific install script used by HP pwplus--don't use.
18402 :
18403 else
18404 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
18405 break 3
18406 fi
18407 fi
18408 done
18409 done
18410 ;;
18411 esac
18412 done
18413
18414
18415 fi
18416 if testscip-shell system . . test. "${ac_cv_path_install+set}" = set; then
18417 INSTALL=$ac_cv_path_install
18418 else
18419 # As a last resort, use the slow shell script. We don't cache a
18420 # path for INSTALL within a source directory, because that will
18421 # break other packages using the cache if that directory is
18422 # removed, or if the path is relative.
18423 INSTALL=$ac_install_sh
18424 fi
18425 fi
18426 echoscip-shell system . . echo. "$as_me:$LINENO: result: $INSTALL" >&5
18427 echoscip-shell system . . echo. "${ECHO_T}$INSTALL" >&6
18428
18429 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18430 # It thinks the first close brace ends the variable substitution.
18431 testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
18432
18433 testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
18434
18435 testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18436
18437 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether ln -s works" >&5
18438 echoscip-shell system . . echo. $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
18439 LN_S=$as_ln_s
18440 if testscip-shell system . . test. "$LN_S" = "ln -s"; then
18441 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes" >&5
18442 echoscip-shell system . . echo. "${ECHO_T}yes" >&6
18443 else
18444 echoscip-shell system . . echo. "$as_me:$LINENO: result: no, using $LN_S" >&5
18445 echoscip-shell system . . echo. "${ECHO_T}no, using $LN_S" >&6
18446 fi
18447
18448 # Extract the first word of "ar", so it can be a program name with args.
18449 set dummy ar; ac_word=$2
18450 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
18451 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18452 if testscip-shell system . . test. "${ac_cv_path_AR+set}" = set; then
18453 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
18454 else
18455 case $AR in
18456 [\\/]* | ?:[\\/]*)
18457 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18458 ;;
18459 *)
18460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18461 for as_dir in $PATH
18462 do
18463 IFS=$as_save_IFS
18464 testscip-shell system . . test. -z "$as_dir" && as_dir=.
18465 for ac_exec_ext in '' $ac_executable_extensions; do
18466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18467 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18468 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18469 break 2
18470 fi
18471 done
18472 done
18473
18474 testscip-shell system . . test. -z "$ac_cv_path_AR" && ac_cv_path_AR="no"
18475 ;;
18476 esac
18477 fi
18478 AR=$ac_cv_path_AR
18479
18480 if testscip-shell system . . test. -n "$AR"; then
18481 echoscip-shell system . . echo. "$as_me:$LINENO: result: $AR" >&5
18482 echoscip-shell system . . echo. "${ECHO_T}$AR" >&6
18483 else
18484 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
18485 echoscip-shell system . . echo. "${ECHO_T}no" >&6
18486 fi
18487
18488 if [scip-shell system . . `[`. $AR = "no" ] ; then
18489 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: \"Could not find ar - needed to create a library\"" >&5
18490 echoscip-shell system . . echo. "$as_me: error: \"Could not find ar - needed to create a library\"" >&2;}
18491 { (exit 1); exit 1; }; };
18492 fi
18493
18494 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18495 echoscip-shell system . . echo. $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18496 if testscip-shell system . . test. "${ac_cv_c_bigendian+set}" = set; then
18497 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
18498 else
18499 # See if sys/param.h defines the BYTE_ORDER macro.
18500 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
18501 /* confdefs.h. */
18502 _ACEOF
18503 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
18504 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
18505 /* end confdefs.h. */
18506 #include <sys/types.h>
18507 #include <sys/param.h>
18508
18509 int
18510 main ()
18511 {
18512 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18513 bogus endian macros
18514 #endif
18515
18516 ;
18517 return 0;
18518 }
18519 _ACEOF
18520 rmscip-shell system . . rm. -f conftest.$ac_objext
18521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18522 (eval $ac_compile) 2>conftest.er1
18523 ac_status=$?
18524 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
18525 rmscip-shell system . . rm. -f conftest.er1
18526 catscip-shell system . . cat. conftest.err >&5
18527 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); } &&
18529 { ac_try='test -z "$ac_c_werror_flag"
18530 || test ! -s conftest.err'
18531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18532 (eval $ac_try) 2>&5
18533 ac_status=$?
18534 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; } &&
18536 { ac_try='test -s conftest.$ac_objext'
18537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18538 (eval $ac_try) 2>&5
18539 ac_status=$?
18540 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); }; }; then
18542 # It does; now see whether it defined to BIG_ENDIAN or not.
18543 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
18544 /* confdefs.h. */
18545 _ACEOF
18546 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
18547 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
18548 /* end confdefs.h. */
18549 #include <sys/types.h>
18550 #include <sys/param.h>
18551
18552 int
18553 main ()
18554 {
18555 #if BYTE_ORDER != BIG_ENDIAN
18556 not big endian
18557 #endif
18558
18559 ;
18560 return 0;
18561 }
18562 _ACEOF
18563 rmscip-shell system . . rm. -f conftest.$ac_objext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18565 (eval $ac_compile) 2>conftest.er1
18566 ac_status=$?
18567 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
18568 rmscip-shell system . . rm. -f conftest.er1
18569 catscip-shell system . . cat. conftest.err >&5
18570 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } &&
18572 { ac_try='test -z "$ac_c_werror_flag"
18573 || test ! -s conftest.err'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18576 ac_status=$?
18577 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; } &&
18579 { ac_try='test -s conftest.$ac_objext'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18582 ac_status=$?
18583 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; }; then
18585 ac_cv_c_bigendian=yes
18586 else
18587 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
18588 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
18589
18590 ac_cv_c_bigendian=no
18591 fi
18592 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
18593 else
18594 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
18595 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
18596
18597 # It does not; compile a test program.
18598 if testscip-shell system . . test. "$cross_compiling" = yes; then
18599 # try to guess the endianness by grepping values into an object file
18600 ac_cv_c_bigendian=unknown
18601 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
18602 /* confdefs.h. */
18603 _ACEOF
18604 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
18605 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18607 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18608 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18609 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
18610 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18611 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18612 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
18613 int
18614 main ()
18615 {
18616 _ascii (); _ebcdic ();
18617 ;
18618 return 0;
18619 }
18620 _ACEOF
18621 rmscip-shell system . . rm. -f conftest.$ac_objext
18622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18623 (eval $ac_compile) 2>conftest.er1
18624 ac_status=$?
18625 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
18626 rmscip-shell system . . rm. -f conftest.er1
18627 catscip-shell system . . cat. conftest.err >&5
18628 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } &&
18630 { ac_try='test -z "$ac_c_werror_flag"
18631 || test ! -s conftest.err'
18632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18633 (eval $ac_try) 2>&5
18634 ac_status=$?
18635 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); }; } &&
18637 { ac_try='test -s conftest.$ac_objext'
18638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18639 (eval $ac_try) 2>&5
18640 ac_status=$?
18641 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); }; }; then
18643 if grepscip-shell system . . grep. BIGenDianSyS conftest.$ac_objext >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
18644 ac_cv_c_bigendian=yes
18645 fi
18646 if grepscip-shell system . . grep. LiTTleEnDian conftest.$ac_objext >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
18647 if testscip-shell system . . test. "$ac_cv_c_bigendian" = unknown; then
18648 ac_cv_c_bigendian=no
18649 else
18650 # finding both strings is unlikely to happen, but who knows?
18651 ac_cv_c_bigendian=unknown
18652 fi
18653 fi
18654 else
18655 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
18656 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
18657
18658 fi
18659 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
18660 else
18661 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
18662 /* confdefs.h. */
18663 _ACEOF
18664 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
18665 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 int
18668 main ()
18669 {
18670 /* Are we little or big endian? From Harbison&Steele. */
18671 union
18672 {
18673 long l;
18674 char c[sizeof (long)];
18675 } u;
18676 u.l = 1;
18677 exit (u.c[sizeof (long) - 1] == 1);
18678 }
18679 _ACEOF
18680 rmscip-shell system . . rm. -f conftest$ac_exeext
18681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18682 (eval $ac_link) 2>&5
18683 ac_status=$?
18684 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 (eval $ac_try) 2>&5
18688 ac_status=$?
18689 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); }; }; then
18691 ac_cv_c_bigendian=no
18692 else
18693 echoscip-shell system . . echo. "$as_me: program exited with status $ac_status" >&5
18694 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
18695 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
18696
18697 ( exit $ac_status )
18698 ac_cv_c_bigendian=yes
18699 fi
18700 rmscip-shell system . . rm. -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18701 fi
18702 fi
18703 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
18704 fi
18705 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18706 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_c_bigendian" >&6
18707 case $ac_cv_c_bigendian in
18708 yes)
18709
18710 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
18711 #define WORDS_BIGENDIAN 1
18712 _ACEOF
18713 ;;
18714 no)
18715 ;;
18716 *)
18717 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: unknown endianness
18718 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
18719 echoscip-shell system . . echo. "$as_me: error: unknown endianness
18720 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
18721 { (exit 1); exit 1; }; } ;;
18722 esac
18723
18724
18725
18726 echoscip-shell system . . echo. "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
18727 echoscip-shell system . . echo. $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
18728 if testscip-shell system . . test. "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
18729 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
18730 else
18731 ac_check_lib_save_LIBS=$LIBS
18732 LIBS="-lasound $LIBS"
18733 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
18734 /* confdefs.h. */
18735 _ACEOF
18736 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
18737 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
18738 /* end confdefs.h. */
18739
18740 /* Override any gcc2 internal prototype to avoid an error. */
18741 #ifdef __cplusplus
18742 extern "C"
18743 #endif
18744 /* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
18746 char snd_pcm_open ();
18747 int
18748 main ()
18749 {
18750 snd_pcm_open ();
18751 ;
18752 return 0;
18753 }
18754 _ACEOF
18755 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18757 (eval $ac_link) 2>conftest.er1
18758 ac_status=$?
18759 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
18760 rmscip-shell system . . rm. -f conftest.er1
18761 catscip-shell system . . cat. conftest.err >&5
18762 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try='test -z "$ac_c_werror_flag"
18765 || test ! -s conftest.err'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18768 ac_status=$?
18769 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; } &&
18771 { ac_try='test -s conftest$ac_exeext'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18774 ac_status=$?
18775 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; }; then
18777 ac_cv_lib_asound_snd_pcm_open=yes
18778 else
18779 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
18780 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
18781
18782 ac_cv_lib_asound_snd_pcm_open=no
18783 fi
18784 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
18785 conftest$ac_exeext conftest.$ac_ext
18786 LIBS=$ac_check_lib_save_LIBS
18787 fi
18788 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
18789 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
18790 if testscip-shell system . . test. $ac_cv_lib_asound_snd_pcm_open = yes; then
18791 have_alsa=yes
18792 else
18793 have_alsa=no
18794 fi
18795
18796
18797
18798
18799
18800 if testscip-shell system . . test. "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18801 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
18802 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18803 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18804 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
18805 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18806 if testscip-shell system . . test. "${ac_cv_path_PKG_CONFIG+set}" = set; then
18807 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
18808 else
18809 case $PKG_CONFIG in
18810 [\\/]* | ?:[\\/]*)
18811 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18812 ;;
18813 *)
18814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18815 for as_dir in $PATH
18816 do
18817 IFS=$as_save_IFS
18818 testscip-shell system . . test. -z "$as_dir" && as_dir=.
18819 for ac_exec_ext in '' $ac_executable_extensions; do
18820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18821 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18822 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18823 break 2
18824 fi
18825 done
18826 done
18827
18828 ;;
18829 esac
18830 fi
18831 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18832
18833 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
18834 echoscip-shell system . . echo. "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18835 echoscip-shell system . . echo. "${ECHO_T}$PKG_CONFIG" >&6
18836 else
18837 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
18838 echoscip-shell system . . echo. "${ECHO_T}no" >&6
18839 fi
18840
18841 fi
18842 if testscip-shell system . . test. -z "$ac_cv_path_PKG_CONFIG"; then
18843 ac_pt_PKG_CONFIG=$PKG_CONFIG
18844 # Extract the first word of "pkg-config", so it can be a program name with args.
18845 set dummy pkg-config; ac_word=$2
18846 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
18847 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18848 if testscip-shell system . . test. "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
18849 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
18850 else
18851 case $ac_pt_PKG_CONFIG in
18852 [\\/]* | ?:[\\/]*)
18853 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18854 ;;
18855 *)
18856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18857 for as_dir in $PATH
18858 do
18859 IFS=$as_save_IFS
18860 testscip-shell system . . test. -z "$as_dir" && as_dir=.
18861 for ac_exec_ext in '' $ac_executable_extensions; do
18862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18863 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18864 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18865 break 2
18866 fi
18867 done
18868 done
18869
18870 ;;
18871 esac
18872 fi
18873 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18874
18875 if testscip-shell system . . test. -n "$ac_pt_PKG_CONFIG"; then
18876 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
18877 echoscip-shell system . . echo. "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
18878 else
18879 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
18880 echoscip-shell system . . echo. "${ECHO_T}no" >&6
18881 fi
18882
18883 PKG_CONFIG=$ac_pt_PKG_CONFIG
18884 else
18885 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18886 fi
18887
18888 fi
18889 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
18890 _pkg_min_version=0.9.0
18891 echoscip-shell system . . echo. "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
18892 echoscip-shell system . . echo. $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
18893 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18894 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes" >&5
18895 echoscip-shell system . . echo. "${ECHO_T}yes" >&6
18896 else
18897 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
18898 echoscip-shell system . . echo. "${ECHO_T}no" >&6
18899 PKG_CONFIG=""
18900 fi
18901
18902 fi
18903
18904 pkg_failed=no
18905 echoscip-shell system . . echo. "$as_me:$LINENO: checking for JACK" >&5
18906 echoscip-shell system . . echo. $ECHO_N "checking for JACK... $ECHO_C" >&6
18907
18908 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
18909 if testscip-shell system . . test. -n "$JACK_CFLAGS"; then
18910 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
18911 else
18912 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
18913 { (echoscip-shell system . . echo. "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"jack\"") >&5
18914 ($PKG_CONFIG --exists --print-errors "jack") 2>&5
18915 ac_status=$?
18916 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); }; then
18918 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
18919 else
18920 pkg_failed=yes
18921 fi
18922 fi
18923 else
18924 pkg_failed=untried
18925 fi
18926 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
18927 if testscip-shell system . . test. -n "$JACK_LIBS"; then
18928 pkg_cv_JACK_LIBS="$JACK_LIBS"
18929 else
18930 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
18931 { (echoscip-shell system . . echo. "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"jack\"") >&5
18932 ($PKG_CONFIG --exists --print-errors "jack") 2>&5
18933 ac_status=$?
18934 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; then
18936 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
18937 else
18938 pkg_failed=yes
18939 fi
18940 fi
18941 else
18942 pkg_failed=untried
18943 fi
18944
18945
18946
18947 if testscip-shell system . . test. $pkg_failed = yes; then
18948
18949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18950 _pkg_short_errors_supported=yes
18951 else
18952 _pkg_short_errors_supported=no
18953 fi
18954 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
18955 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "jack"`
18956 else
18957 JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "jack"`
18958 fi
18959 # Put the nasty error message in config.log where it belongs
18960 echoscip-shell system . . echo. "$JACK_PKG_ERRORS" >&5
18961
18962 have_jack=no
18963 elif testscip-shell system . . test. $pkg_failed = untried; then
18964 have_jack=no
18965 else
18966 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
18967 JACK_LIBS=$pkg_cv_JACK_LIBS
18968 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes" >&5
18969 echoscip-shell system . . echo. "${ECHO_T}yes" >&6
18970 have_jack=yes
18971 fi
18972
18973
18974 echoscip-shell system . . echo. "$as_me:$LINENO: checking for short" >&5
18975 echoscip-shell system . . echo. $ECHO_N "checking for short... $ECHO_C" >&6
18976 if testscip-shell system . . test. "${ac_cv_type_short+set}" = set; then
18977 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
18978 else
18979 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
18980 /* confdefs.h. */
18981 _ACEOF
18982 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
18983 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
18984 /* end confdefs.h. */
18985 $ac_includes_default
18986 int
18987 main ()
18988 {
18989 if ((short *) 0)
18990 return 0;
18991 if (sizeof (short))
18992 return 0;
18993 ;
18994 return 0;
18995 }
18996 _ACEOF
18997 rmscip-shell system . . rm. -f conftest.$ac_objext
18998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18999 (eval $ac_compile) 2>conftest.er1
19000 ac_status=$?
19001 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19002 rmscip-shell system . . rm. -f conftest.er1
19003 catscip-shell system . . cat. conftest.err >&5
19004 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } &&
19006 { ac_try='test -z "$ac_c_werror_flag"
19007 || test ! -s conftest.err'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19010 ac_status=$?
19011 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; } &&
19013 { ac_try='test -s conftest.$ac_objext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19016 ac_status=$?
19017 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19019 ac_cv_type_short=yes
19020 else
19021 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19022 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19023
19024 ac_cv_type_short=no
19025 fi
19026 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19027 fi
19028 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19029 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_type_short" >&6
19030
19031 echoscip-shell system . . echo. "$as_me:$LINENO: checking size of short" >&5
19032 echoscip-shell system . . echo. $ECHO_N "checking size of short... $ECHO_C" >&6
19033 if testscip-shell system . . test. "${ac_cv_sizeof_short+set}" = set; then
19034 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
19035 else
19036 if testscip-shell system . . test. "$ac_cv_type_short" = yes; then
19037 # The cast to unsigned long works around a bug in the HP C Compiler
19038 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19039 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19040 # This bug is HP SR number 8606223364.
19041 if testscip-shell system . . test. "$cross_compiling" = yes; then
19042 # Depending upon the size, compute the lo and hi bounds.
19043 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19044 /* confdefs.h. */
19045 _ACEOF
19046 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19047 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19049 $ac_includes_default
19050 int
19051 main ()
19052 {
19053 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
19054 test_array [0] = 0
19055
19056 ;
19057 return 0;
19058 }
19059 _ACEOF
19060 rmscip-shell system . . rm. -f conftest.$ac_objext
19061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19062 (eval $ac_compile) 2>conftest.er1
19063 ac_status=$?
19064 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19065 rmscip-shell system . . rm. -f conftest.er1
19066 catscip-shell system . . cat. conftest.err >&5
19067 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } &&
19069 { ac_try='test -z "$ac_c_werror_flag"
19070 || test ! -s conftest.err'
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072 (eval $ac_try) 2>&5
19073 ac_status=$?
19074 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; } &&
19076 { ac_try='test -s conftest.$ac_objext'
19077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19078 (eval $ac_try) 2>&5
19079 ac_status=$?
19080 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }; }; then
19082 ac_lo=0 ac_mid=0
19083 while :; do
19084 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19085 /* confdefs.h. */
19086 _ACEOF
19087 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19088 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19089 /* end confdefs.h. */
19090 $ac_includes_default
19091 int
19092 main ()
19093 {
19094 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
19095 test_array [0] = 0
19096
19097 ;
19098 return 0;
19099 }
19100 _ACEOF
19101 rmscip-shell system . . rm. -f conftest.$ac_objext
19102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19103 (eval $ac_compile) 2>conftest.er1
19104 ac_status=$?
19105 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19106 rmscip-shell system . . rm. -f conftest.er1
19107 catscip-shell system . . cat. conftest.err >&5
19108 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } &&
19110 { ac_try='test -z "$ac_c_werror_flag"
19111 || test ! -s conftest.err'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19114 ac_status=$?
19115 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; } &&
19117 { ac_try='test -s conftest.$ac_objext'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19120 ac_status=$?
19121 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; }; then
19123 ac_hi=$ac_mid; break
19124 else
19125 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19126 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19127
19128 ac_lo=`exprscip-shell system . . expr. $ac_mid + 1`
19129 if testscip-shell system . . test. $ac_lo -le $ac_mid; then
19130 ac_lo= ac_hi=
19131 break
19132 fi
19133 ac_mid=`exprscip-shell system . . expr. 2 '*' $ac_mid + 1`
19134 fi
19135 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19136 done
19137 else
19138 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19139 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19140
19141 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19142 /* confdefs.h. */
19143 _ACEOF
19144 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19145 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19146 /* end confdefs.h. */
19147 $ac_includes_default
19148 int
19149 main ()
19150 {
19151 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
19152 test_array [0] = 0
19153
19154 ;
19155 return 0;
19156 }
19157 _ACEOF
19158 rmscip-shell system . . rm. -f conftest.$ac_objext
19159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19160 (eval $ac_compile) 2>conftest.er1
19161 ac_status=$?
19162 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19163 rmscip-shell system . . rm. -f conftest.er1
19164 catscip-shell system . . cat. conftest.err >&5
19165 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } &&
19167 { ac_try='test -z "$ac_c_werror_flag"
19168 || test ! -s conftest.err'
19169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19170 (eval $ac_try) 2>&5
19171 ac_status=$?
19172 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); }; } &&
19174 { ac_try='test -s conftest.$ac_objext'
19175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176 (eval $ac_try) 2>&5
19177 ac_status=$?
19178 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; }; then
19180 ac_hi=-1 ac_mid=-1
19181 while :; do
19182 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19183 /* confdefs.h. */
19184 _ACEOF
19185 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19186 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19188 $ac_includes_default
19189 int
19190 main ()
19191 {
19192 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
19193 test_array [0] = 0
19194
19195 ;
19196 return 0;
19197 }
19198 _ACEOF
19199 rmscip-shell system . . rm. -f conftest.$ac_objext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19201 (eval $ac_compile) 2>conftest.er1
19202 ac_status=$?
19203 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19204 rmscip-shell system . . rm. -f conftest.er1
19205 catscip-shell system . . cat. conftest.err >&5
19206 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try='test -z "$ac_c_werror_flag"
19209 || test ! -s conftest.err'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19212 ac_status=$?
19213 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try='test -s conftest.$ac_objext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19218 ac_status=$?
19219 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_lo=$ac_mid; break
19222 else
19223 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19224 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19225
19226 ac_hi=`exprscip-shell system . . expr. '(' $ac_mid ')' - 1`
19227 if testscip-shell system . . test. $ac_mid -le $ac_hi; then
19228 ac_lo= ac_hi=
19229 break
19230 fi
19231 ac_mid=`exprscip-shell system . . expr. 2 '*' $ac_mid`
19232 fi
19233 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19234 done
19235 else
19236 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19237 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19238
19239 ac_lo= ac_hi=
19240 fi
19241 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19242 fi
19243 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19244 # Binary search between lo and hi bounds.
19245 while testscip-shell system . . test. "x$ac_lo" != "x$ac_hi"; do
19246 ac_mid=`exprscip-shell system . . expr. '(' $ac_hi - $ac_lo ')' /scip-shell filesystem . . `/`. 2 + $ac_lo`
19247 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19248 /* confdefs.h. */
19249 _ACEOF
19250 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19251 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19253 $ac_includes_default
19254 int
19255 main ()
19256 {
19257 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
19258 test_array [0] = 0
19259
19260 ;
19261 return 0;
19262 }
19263 _ACEOF
19264 rmscip-shell system . . rm. -f conftest.$ac_objext
19265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19266 (eval $ac_compile) 2>conftest.er1
19267 ac_status=$?
19268 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19269 rmscip-shell system . . rm. -f conftest.er1
19270 catscip-shell system . . cat. conftest.err >&5
19271 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } &&
19273 { ac_try='test -z "$ac_c_werror_flag"
19274 || test ! -s conftest.err'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19277 ac_status=$?
19278 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; } &&
19280 { ac_try='test -s conftest.$ac_objext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19283 ac_status=$?
19284 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 ac_hi=$ac_mid
19287 else
19288 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19289 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19290
19291 ac_lo=`exprscip-shell system . . expr. '(' $ac_mid ')' + 1`
19292 fi
19293 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19294 done
19295 case $ac_lo in
19296 ?*) ac_cv_sizeof_short=$ac_lo;;
19297 '') { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot compute sizeof (short), 77
19298 See \`config.log' for more details." >&5
19299 echoscip-shell system . . echo. "$as_me: error: cannot compute sizeof (short), 77
19300 See \`config.log' for more details." >&2;}
19301 { (exit 1); exit 1; }; } ;;
19302 esac
19303 else
19304 if testscip-shell system . . test. "$cross_compiling" = yes; then
19305 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot run test program while cross compiling
19306 See \`config.log' for more details." >&5
19307 echoscip-shell system . . echo. "$as_me: error: cannot run test program while cross compiling
19308 See \`config.log' for more details." >&2;}
19309 { (exit 1); exit 1; }; }
19310 else
19311 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19312 /* confdefs.h. */
19313 _ACEOF
19314 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19315 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 $ac_includes_default
19318 long longval () { return (long) (sizeof (short)); }
19319 unsigned long ulongval () { return (long) (sizeof (short)); }
19320 #include <stdio.h>
19321 #include <stdlib.h>
19322 int
19323 main ()
19324 {
19325
19326 FILE *f = fopen ("conftest.val", "w");
19327 if (! f)
19328 exit (1);
19329 if (((long) (sizeof (short))) < 0)
19330 {
19331 long i = longval ();
19332 if (i != ((long) (sizeof (short))))
19333 exit (1);
19334 fprintf (f, "%ld\n", i);
19335 }
19336 else
19337 {
19338 unsigned long i = ulongval ();
19339 if (i != ((long) (sizeof (short))))
19340 exit (1);
19341 fprintf (f, "%lu\n", i);
19342 }
19343 exit (ferror (f) || fclose (f) != 0);
19344
19345 ;
19346 return 0;
19347 }
19348 _ACEOF
19349 rmscip-shell system . . rm. -f conftest$ac_exeext
19350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19351 (eval $ac_link) 2>&5
19352 ac_status=$?
19353 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19356 (eval $ac_try) 2>&5
19357 ac_status=$?
19358 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); }; }; then
19360 ac_cv_sizeof_short=`catscip-shell system . . cat. conftest.val`
19361 else
19362 echoscip-shell system . . echo. "$as_me: program exited with status $ac_status" >&5
19363 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19364 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19365
19366 ( exit $ac_status )
19367 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot compute sizeof (short), 77
19368 See \`config.log' for more details." >&5
19369 echoscip-shell system . . echo. "$as_me: error: cannot compute sizeof (short), 77
19370 See \`config.log' for more details." >&2;}
19371 { (exit 1); exit 1; }; }
19372 fi
19373 rmscip-shell system . . rm. -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19374 fi
19375 fi
19376 rmscip-shell system . . rm. -f conftest.val
19377 else
19378 ac_cv_sizeof_short=0
19379 fi
19380 fi
19381 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19382 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_sizeof_short" >&6
19383 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
19384 #define SIZEOF_SHORT $ac_cv_sizeof_short
19385 _ACEOF
19386
19387
19388 echoscip-shell system . . echo. "$as_me:$LINENO: checking for int" >&5
19389 echoscip-shell system . . echo. $ECHO_N "checking for int... $ECHO_C" >&6
19390 if testscip-shell system . . test. "${ac_cv_type_int+set}" = set; then
19391 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
19392 else
19393 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19394 /* confdefs.h. */
19395 _ACEOF
19396 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19397 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19398 /* end confdefs.h. */
19399 $ac_includes_default
19400 int
19401 main ()
19402 {
19403 if ((int *) 0)
19404 return 0;
19405 if (sizeof (int))
19406 return 0;
19407 ;
19408 return 0;
19409 }
19410 _ACEOF
19411 rmscip-shell system . . rm. -f conftest.$ac_objext
19412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19413 (eval $ac_compile) 2>conftest.er1
19414 ac_status=$?
19415 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19416 rmscip-shell system . . rm. -f conftest.er1
19417 catscip-shell system . . cat. conftest.err >&5
19418 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } &&
19420 { ac_try='test -z "$ac_c_werror_flag"
19421 || test ! -s conftest.err'
19422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19423 (eval $ac_try) 2>&5
19424 ac_status=$?
19425 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); }; } &&
19427 { ac_try='test -s conftest.$ac_objext'
19428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429 (eval $ac_try) 2>&5
19430 ac_status=$?
19431 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; }; then
19433 ac_cv_type_int=yes
19434 else
19435 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19436 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19437
19438 ac_cv_type_int=no
19439 fi
19440 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19441 fi
19442 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19443 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_type_int" >&6
19444
19445 echoscip-shell system . . echo. "$as_me:$LINENO: checking size of int" >&5
19446 echoscip-shell system . . echo. $ECHO_N "checking size of int... $ECHO_C" >&6
19447 if testscip-shell system . . test. "${ac_cv_sizeof_int+set}" = set; then
19448 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
19449 else
19450 if testscip-shell system . . test. "$ac_cv_type_int" = yes; then
19451 # The cast to unsigned long works around a bug in the HP C Compiler
19452 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19453 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19454 # This bug is HP SR number 8606223364.
19455 if testscip-shell system . . test. "$cross_compiling" = yes; then
19456 # Depending upon the size, compute the lo and hi bounds.
19457 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19458 /* confdefs.h. */
19459 _ACEOF
19460 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19461 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19463 $ac_includes_default
19464 int
19465 main ()
19466 {
19467 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19468 test_array [0] = 0
19469
19470 ;
19471 return 0;
19472 }
19473 _ACEOF
19474 rmscip-shell system . . rm. -f conftest.$ac_objext
19475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19476 (eval $ac_compile) 2>conftest.er1
19477 ac_status=$?
19478 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19479 rmscip-shell system . . rm. -f conftest.er1
19480 catscip-shell system . . cat. conftest.err >&5
19481 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } &&
19483 { ac_try='test -z "$ac_c_werror_flag"
19484 || test ! -s conftest.err'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19487 ac_status=$?
19488 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; } &&
19490 { ac_try='test -s conftest.$ac_objext'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19493 ac_status=$?
19494 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; }; then
19496 ac_lo=0 ac_mid=0
19497 while :; do
19498 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19499 /* confdefs.h. */
19500 _ACEOF
19501 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19502 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 $ac_includes_default
19505 int
19506 main ()
19507 {
19508 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19509 test_array [0] = 0
19510
19511 ;
19512 return 0;
19513 }
19514 _ACEOF
19515 rmscip-shell system . . rm. -f conftest.$ac_objext
19516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19517 (eval $ac_compile) 2>conftest.er1
19518 ac_status=$?
19519 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19520 rmscip-shell system . . rm. -f conftest.er1
19521 catscip-shell system . . cat. conftest.err >&5
19522 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } &&
19524 { ac_try='test -z "$ac_c_werror_flag"
19525 || test ! -s conftest.err'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19528 ac_status=$?
19529 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; } &&
19531 { ac_try='test -s conftest.$ac_objext'
19532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533 (eval $ac_try) 2>&5
19534 ac_status=$?
19535 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; }; then
19537 ac_hi=$ac_mid; break
19538 else
19539 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19540 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19541
19542 ac_lo=`exprscip-shell system . . expr. $ac_mid + 1`
19543 if testscip-shell system . . test. $ac_lo -le $ac_mid; then
19544 ac_lo= ac_hi=
19545 break
19546 fi
19547 ac_mid=`exprscip-shell system . . expr. 2 '*' $ac_mid + 1`
19548 fi
19549 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19550 done
19551 else
19552 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19553 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19554
19555 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19556 /* confdefs.h. */
19557 _ACEOF
19558 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19559 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19561 $ac_includes_default
19562 int
19563 main ()
19564 {
19565 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19566 test_array [0] = 0
19567
19568 ;
19569 return 0;
19570 }
19571 _ACEOF
19572 rmscip-shell system . . rm. -f conftest.$ac_objext
19573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19574 (eval $ac_compile) 2>conftest.er1
19575 ac_status=$?
19576 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19577 rmscip-shell system . . rm. -f conftest.er1
19578 catscip-shell system . . cat. conftest.err >&5
19579 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } &&
19581 { ac_try='test -z "$ac_c_werror_flag"
19582 || test ! -s conftest.err'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19585 ac_status=$?
19586 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; } &&
19588 { ac_try='test -s conftest.$ac_objext'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19591 ac_status=$?
19592 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; }; then
19594 ac_hi=-1 ac_mid=-1
19595 while :; do
19596 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19597 /* confdefs.h. */
19598 _ACEOF
19599 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19600 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19601 /* end confdefs.h. */
19602 $ac_includes_default
19603 int
19604 main ()
19605 {
19606 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19607 test_array [0] = 0
19608
19609 ;
19610 return 0;
19611 }
19612 _ACEOF
19613 rmscip-shell system . . rm. -f conftest.$ac_objext
19614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19615 (eval $ac_compile) 2>conftest.er1
19616 ac_status=$?
19617 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19618 rmscip-shell system . . rm. -f conftest.er1
19619 catscip-shell system . . cat. conftest.err >&5
19620 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try='test -z "$ac_c_werror_flag"
19623 || test ! -s conftest.err'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19626 ac_status=$?
19627 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; } &&
19629 { ac_try='test -s conftest.$ac_objext'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19632 ac_status=$?
19633 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_lo=$ac_mid; break
19636 else
19637 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19638 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19639
19640 ac_hi=`exprscip-shell system . . expr. '(' $ac_mid ')' - 1`
19641 if testscip-shell system . . test. $ac_mid -le $ac_hi; then
19642 ac_lo= ac_hi=
19643 break
19644 fi
19645 ac_mid=`exprscip-shell system . . expr. 2 '*' $ac_mid`
19646 fi
19647 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19648 done
19649 else
19650 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19651 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19652
19653 ac_lo= ac_hi=
19654 fi
19655 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19656 fi
19657 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19658 # Binary search between lo and hi bounds.
19659 while testscip-shell system . . test. "x$ac_lo" != "x$ac_hi"; do
19660 ac_mid=`exprscip-shell system . . expr. '(' $ac_hi - $ac_lo ')' /scip-shell filesystem . . `/`. 2 + $ac_lo`
19661 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19662 /* confdefs.h. */
19663 _ACEOF
19664 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19665 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19667 $ac_includes_default
19668 int
19669 main ()
19670 {
19671 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19672 test_array [0] = 0
19673
19674 ;
19675 return 0;
19676 }
19677 _ACEOF
19678 rmscip-shell system . . rm. -f conftest.$ac_objext
19679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19680 (eval $ac_compile) 2>conftest.er1
19681 ac_status=$?
19682 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19683 rmscip-shell system . . rm. -f conftest.er1
19684 catscip-shell system . . cat. conftest.err >&5
19685 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } &&
19687 { ac_try='test -z "$ac_c_werror_flag"
19688 || test ! -s conftest.err'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19691 ac_status=$?
19692 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; } &&
19694 { ac_try='test -s conftest.$ac_objext'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19697 ac_status=$?
19698 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; }; then
19700 ac_hi=$ac_mid
19701 else
19702 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19703 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19704
19705 ac_lo=`exprscip-shell system . . expr. '(' $ac_mid ')' + 1`
19706 fi
19707 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19708 done
19709 case $ac_lo in
19710 ?*) ac_cv_sizeof_int=$ac_lo;;
19711 '') { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19712 See \`config.log' for more details." >&5
19713 echoscip-shell system . . echo. "$as_me: error: cannot compute sizeof (int), 77
19714 See \`config.log' for more details." >&2;}
19715 { (exit 1); exit 1; }; } ;;
19716 esac
19717 else
19718 if testscip-shell system . . test. "$cross_compiling" = yes; then
19719 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot run test program while cross compiling
19720 See \`config.log' for more details." >&5
19721 echoscip-shell system . . echo. "$as_me: error: cannot run test program while cross compiling
19722 See \`config.log' for more details." >&2;}
19723 { (exit 1); exit 1; }; }
19724 else
19725 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19726 /* confdefs.h. */
19727 _ACEOF
19728 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19729 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731 $ac_includes_default
19732 long longval () { return (long) (sizeof (int)); }
19733 unsigned long ulongval () { return (long) (sizeof (int)); }
19734 #include <stdio.h>
19735 #include <stdlib.h>
19736 int
19737 main ()
19738 {
19739
19740 FILE *f = fopen ("conftest.val", "w");
19741 if (! f)
19742 exit (1);
19743 if (((long) (sizeof (int))) < 0)
19744 {
19745 long i = longval ();
19746 if (i != ((long) (sizeof (int))))
19747 exit (1);
19748 fprintf (f, "%ld\n", i);
19749 }
19750 else
19751 {
19752 unsigned long i = ulongval ();
19753 if (i != ((long) (sizeof (int))))
19754 exit (1);
19755 fprintf (f, "%lu\n", i);
19756 }
19757 exit (ferror (f) || fclose (f) != 0);
19758
19759 ;
19760 return 0;
19761 }
19762 _ACEOF
19763 rmscip-shell system . . rm. -f conftest$ac_exeext
19764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19765 (eval $ac_link) 2>&5
19766 ac_status=$?
19767 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770 (eval $ac_try) 2>&5
19771 ac_status=$?
19772 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); }; }; then
19774 ac_cv_sizeof_int=`catscip-shell system . . cat. conftest.val`
19775 else
19776 echoscip-shell system . . echo. "$as_me: program exited with status $ac_status" >&5
19777 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19778 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19779
19780 ( exit $ac_status )
19781 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19782 See \`config.log' for more details." >&5
19783 echoscip-shell system . . echo. "$as_me: error: cannot compute sizeof (int), 77
19784 See \`config.log' for more details." >&2;}
19785 { (exit 1); exit 1; }; }
19786 fi
19787 rmscip-shell system . . rm. -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19788 fi
19789 fi
19790 rmscip-shell system . . rm. -f conftest.val
19791 else
19792 ac_cv_sizeof_int=0
19793 fi
19794 fi
19795 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19796 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_sizeof_int" >&6
19797 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
19798 #define SIZEOF_INT $ac_cv_sizeof_int
19799 _ACEOF
19800
19801
19802 echoscip-shell system . . echo. "$as_me:$LINENO: checking for long" >&5
19803 echoscip-shell system . . echo. $ECHO_N "checking for long... $ECHO_C" >&6
19804 if testscip-shell system . . test. "${ac_cv_type_long+set}" = set; then
19805 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
19806 else
19807 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19808 /* confdefs.h. */
19809 _ACEOF
19810 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19811 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19813 $ac_includes_default
19814 int
19815 main ()
19816 {
19817 if ((long *) 0)
19818 return 0;
19819 if (sizeof (long))
19820 return 0;
19821 ;
19822 return 0;
19823 }
19824 _ACEOF
19825 rmscip-shell system . . rm. -f conftest.$ac_objext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19827 (eval $ac_compile) 2>conftest.er1
19828 ac_status=$?
19829 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19830 rmscip-shell system . . rm. -f conftest.er1
19831 catscip-shell system . . cat. conftest.err >&5
19832 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try='test -z "$ac_c_werror_flag"
19835 || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19838 ac_status=$?
19839 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try='test -s conftest.$ac_objext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19844 ac_status=$?
19845 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 ac_cv_type_long=yes
19848 else
19849 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19850 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19851
19852 ac_cv_type_long=no
19853 fi
19854 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19855 fi
19856 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19857 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_type_long" >&6
19858
19859 echoscip-shell system . . echo. "$as_me:$LINENO: checking size of long" >&5
19860 echoscip-shell system . . echo. $ECHO_N "checking size of long... $ECHO_C" >&6
19861 if testscip-shell system . . test. "${ac_cv_sizeof_long+set}" = set; then
19862 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
19863 else
19864 if testscip-shell system . . test. "$ac_cv_type_long" = yes; then
19865 # The cast to unsigned long works around a bug in the HP C Compiler
19866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19868 # This bug is HP SR number 8606223364.
19869 if testscip-shell system . . test. "$cross_compiling" = yes; then
19870 # Depending upon the size, compute the lo and hi bounds.
19871 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19872 /* confdefs.h. */
19873 _ACEOF
19874 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19875 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19876 /* end confdefs.h. */
19877 $ac_includes_default
19878 int
19879 main ()
19880 {
19881 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19882 test_array [0] = 0
19883
19884 ;
19885 return 0;
19886 }
19887 _ACEOF
19888 rmscip-shell system . . rm. -f conftest.$ac_objext
19889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19890 (eval $ac_compile) 2>conftest.er1
19891 ac_status=$?
19892 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19893 rmscip-shell system . . rm. -f conftest.er1
19894 catscip-shell system . . cat. conftest.err >&5
19895 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } &&
19897 { ac_try='test -z "$ac_c_werror_flag"
19898 || test ! -s conftest.err'
19899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19900 (eval $ac_try) 2>&5
19901 ac_status=$?
19902 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; } &&
19904 { ac_try='test -s conftest.$ac_objext'
19905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19906 (eval $ac_try) 2>&5
19907 ac_status=$?
19908 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); }; }; then
19910 ac_lo=0 ac_mid=0
19911 while :; do
19912 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19913 /* confdefs.h. */
19914 _ACEOF
19915 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19916 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 $ac_includes_default
19919 int
19920 main ()
19921 {
19922 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19923 test_array [0] = 0
19924
19925 ;
19926 return 0;
19927 }
19928 _ACEOF
19929 rmscip-shell system . . rm. -f conftest.$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931 (eval $ac_compile) 2>conftest.er1
19932 ac_status=$?
19933 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19934 rmscip-shell system . . rm. -f conftest.er1
19935 catscip-shell system . . cat. conftest.err >&5
19936 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try='test -z "$ac_c_werror_flag"
19939 || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19942 ac_status=$?
19943 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try='test -s conftest.$ac_objext'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19948 ac_status=$?
19949 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19951 ac_hi=$ac_mid; break
19952 else
19953 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19954 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19955
19956 ac_lo=`exprscip-shell system . . expr. $ac_mid + 1`
19957 if testscip-shell system . . test. $ac_lo -le $ac_mid; then
19958 ac_lo= ac_hi=
19959 break
19960 fi
19961 ac_mid=`exprscip-shell system . . expr. 2 '*' $ac_mid + 1`
19962 fi
19963 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
19964 done
19965 else
19966 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
19967 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
19968
19969 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
19970 /* confdefs.h. */
19971 _ACEOF
19972 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
19973 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
19974 /* end confdefs.h. */
19975 $ac_includes_default
19976 int
19977 main ()
19978 {
19979 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19980 test_array [0] = 0
19981
19982 ;
19983 return 0;
19984 }
19985 _ACEOF
19986 rmscip-shell system . . rm. -f conftest.$ac_objext
19987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19988 (eval $ac_compile) 2>conftest.er1
19989 ac_status=$?
19990 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
19991 rmscip-shell system . . rm. -f conftest.er1
19992 catscip-shell system . . cat. conftest.err >&5
19993 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } &&
19995 { ac_try='test -z "$ac_c_werror_flag"
19996 || test ! -s conftest.err'
19997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19998 (eval $ac_try) 2>&5
19999 ac_status=$?
20000 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); }; } &&
20002 { ac_try='test -s conftest.$ac_objext'
20003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20004 (eval $ac_try) 2>&5
20005 ac_status=$?
20006 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); }; }; then
20008 ac_hi=-1 ac_mid=-1
20009 while :; do
20010 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
20011 /* confdefs.h. */
20012 _ACEOF
20013 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
20014 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20017 int
20018 main ()
20019 {
20020 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
20021 test_array [0] = 0
20022
20023 ;
20024 return 0;
20025 }
20026 _ACEOF
20027 rmscip-shell system . . rm. -f conftest.$ac_objext
20028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20029 (eval $ac_compile) 2>conftest.er1
20030 ac_status=$?
20031 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
20032 rmscip-shell system . . rm. -f conftest.er1
20033 catscip-shell system . . cat. conftest.err >&5
20034 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } &&
20036 { ac_try='test -z "$ac_c_werror_flag"
20037 || test ! -s conftest.err'
20038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20039 (eval $ac_try) 2>&5
20040 ac_status=$?
20041 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); }; } &&
20043 { ac_try='test -s conftest.$ac_objext'
20044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20045 (eval $ac_try) 2>&5
20046 ac_status=$?
20047 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); }; }; then
20049 ac_lo=$ac_mid; break
20050 else
20051 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
20052 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
20053
20054 ac_hi=`exprscip-shell system . . expr. '(' $ac_mid ')' - 1`
20055 if testscip-shell system . . test. $ac_mid -le $ac_hi; then
20056 ac_lo= ac_hi=
20057 break
20058 fi
20059 ac_mid=`exprscip-shell system . . expr. 2 '*' $ac_mid`
20060 fi
20061 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
20062 done
20063 else
20064 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
20065 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
20066
20067 ac_lo= ac_hi=
20068 fi
20069 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
20070 fi
20071 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
20072 # Binary search between lo and hi bounds.
20073 while testscip-shell system . . test. "x$ac_lo" != "x$ac_hi"; do
20074 ac_mid=`exprscip-shell system . . expr. '(' $ac_hi - $ac_lo ')' /scip-shell filesystem . . `/`. 2 + $ac_lo`
20075 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
20076 /* confdefs.h. */
20077 _ACEOF
20078 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
20079 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20082 int
20083 main ()
20084 {
20085 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20086 test_array [0] = 0
20087
20088 ;
20089 return 0;
20090 }
20091 _ACEOF
20092 rmscip-shell system . . rm. -f conftest.$ac_objext
20093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20094 (eval $ac_compile) 2>conftest.er1
20095 ac_status=$?
20096 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
20097 rmscip-shell system . . rm. -f conftest.er1
20098 catscip-shell system . . cat. conftest.err >&5
20099 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } &&
20101 { ac_try='test -z "$ac_c_werror_flag"
20102 || test ! -s conftest.err'
20103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20104 (eval $ac_try) 2>&5
20105 ac_status=$?
20106 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); }; } &&
20108 { ac_try='test -s conftest.$ac_objext'
20109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20110 (eval $ac_try) 2>&5
20111 ac_status=$?
20112 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); }; }; then
20114 ac_hi=$ac_mid
20115 else
20116 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
20117 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
20118
20119 ac_lo=`exprscip-shell system . . expr. '(' $ac_mid ')' + 1`
20120 fi
20121 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
20122 done
20123 case $ac_lo in
20124 ?*) ac_cv_sizeof_long=$ac_lo;;
20125 '') { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20126 See \`config.log' for more details." >&5
20127 echoscip-shell system . . echo. "$as_me: error: cannot compute sizeof (long), 77
20128 See \`config.log' for more details." >&2;}
20129 { (exit 1); exit 1; }; } ;;
20130 esac
20131 else
20132 if testscip-shell system . . test. "$cross_compiling" = yes; then
20133 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot run test program while cross compiling
20134 See \`config.log' for more details." >&5
20135 echoscip-shell system . . echo. "$as_me: error: cannot run test program while cross compiling
20136 See \`config.log' for more details." >&2;}
20137 { (exit 1); exit 1; }; }
20138 else
20139 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
20140 /* confdefs.h. */
20141 _ACEOF
20142 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
20143 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145 $ac_includes_default
20146 long longval () { return (long) (sizeof (long)); }
20147 unsigned long ulongval () { return (long) (sizeof (long)); }
20148 #include <stdio.h>
20149 #include <stdlib.h>
20150 int
20151 main ()
20152 {
20153
20154 FILE *f = fopen ("conftest.val", "w");
20155 if (! f)
20156 exit (1);
20157 if (((long) (sizeof (long))) < 0)
20158 {
20159 long i = longval ();
20160 if (i != ((long) (sizeof (long))))
20161 exit (1);
20162 fprintf (f, "%ld\n", i);
20163 }
20164 else
20165 {
20166 unsigned long i = ulongval ();
20167 if (i != ((long) (sizeof (long))))
20168 exit (1);
20169 fprintf (f, "%lu\n", i);
20170 }
20171 exit (ferror (f) || fclose (f) != 0);
20172
20173 ;
20174 return 0;
20175 }
20176 _ACEOF
20177 rmscip-shell system . . rm. -f conftest$ac_exeext
20178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20179 (eval $ac_link) 2>&5
20180 ac_status=$?
20181 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20185 ac_status=$?
20186 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; }; then
20188 ac_cv_sizeof_long=`catscip-shell system . . cat. conftest.val`
20189 else
20190 echoscip-shell system . . echo. "$as_me: program exited with status $ac_status" >&5
20191 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
20192 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
20193
20194 ( exit $ac_status )
20195 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20196 See \`config.log' for more details." >&5
20197 echoscip-shell system . . echo. "$as_me: error: cannot compute sizeof (long), 77
20198 See \`config.log' for more details." >&2;}
20199 { (exit 1); exit 1; }; }
20200 fi
20201 rmscip-shell system . . rm. -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20202 fi
20203 fi
20204 rmscip-shell system . . rm. -f conftest.val
20205 else
20206 ac_cv_sizeof_long=0
20207 fi
20208 fi
20209 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20210 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_sizeof_long" >&6
20211 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
20212 #define SIZEOF_LONG $ac_cv_sizeof_long
20213 _ACEOF
20214
20215
20216
20217 save_LIBS="${LIBS}"
20218 echoscip-shell system . . echo. "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
20219 echoscip-shell system . . echo. $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
20220 if testscip-shell system . . test. "${ac_cv_lib_rt_clock_gettime+set}" = set; then
20221 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
20222 else
20223 ac_check_lib_save_LIBS=$LIBS
20224 LIBS="-lrt $LIBS"
20225 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
20226 /* confdefs.h. */
20227 _ACEOF
20228 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
20229 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
20230 /* end confdefs.h. */
20231
20232 /* Override any gcc2 internal prototype to avoid an error. */
20233 #ifdef __cplusplus
20234 extern "C"
20235 #endif
20236 /* We use char because int might match the return type of a gcc2
20237 builtin and then its argument prototype would still apply. */
20238 char clock_gettime ();
20239 int
20240 main ()
20241 {
20242 clock_gettime ();
20243 ;
20244 return 0;
20245 }
20246 _ACEOF
20247 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
20248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20249 (eval $ac_link) 2>conftest.er1
20250 ac_status=$?
20251 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
20252 rmscip-shell system . . rm. -f conftest.er1
20253 catscip-shell system . . cat. conftest.err >&5
20254 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } &&
20256 { ac_try='test -z "$ac_c_werror_flag"
20257 || test ! -s conftest.err'
20258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259 (eval $ac_try) 2>&5
20260 ac_status=$?
20261 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); }; } &&
20263 { ac_try='test -s conftest$ac_exeext'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20266 ac_status=$?
20267 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 ac_cv_lib_rt_clock_gettime=yes
20270 else
20271 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
20272 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
20273
20274 ac_cv_lib_rt_clock_gettime=no
20275 fi
20276 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
20277 conftest$ac_exeext conftest.$ac_ext
20278 LIBS=$ac_check_lib_save_LIBS
20279 fi
20280 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
20281 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
20282 if testscip-shell system . . test. $ac_cv_lib_rt_clock_gettime = yes; then
20283 rt_libs=" -lrt"
20284 fi
20285
20286 LIBS="${LIBS}${rt_libs}"
20287 DLL_LIBS="${DLL_LIBS}${rt_libs}"
20288
20289
20290 for ac_func in clock_gettime nanosleep
20291 do
20292 as_ac_var=`echoscip-shell system . . echo. "ac_cv_func_$ac_func" | $as_tr_sh`
20293 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_func" >&5
20294 echoscip-shell system . . echo. $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20295 if eval "test \"\${$as_ac_var+set}\" = set"; then
20296 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
20297 else
20298 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
20299 /* confdefs.h. */
20300 _ACEOF
20301 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
20302 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20306 #define $ac_func innocuous_$ac_func
20307
20308 /* System header to define __stub macros and hopefully few prototypes,
20309 which can conflict with char $ac_func (); below.
20310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20311 <limits.h> exists even on freestanding compilers. */
20312
20313 #ifdef __STDC__
20314 # include <limits.h>
20315 #else
20316 # include <assert.h>
20317 #endif
20318
20319 #undef $ac_func
20320
20321 /* Override any gcc2 internal prototype to avoid an error. */
20322 #ifdef __cplusplus
20323 extern "C"
20324 {
20325 #endif
20326 /* We use char because int might match the return type of a gcc2
20327 builtin and then its argument prototype would still apply. */
20328 char $ac_func ();
20329 /* The GNU C library defines this for functions which it implements
20330 to always fail with ENOSYS. Some functions are actually named
20331 something starting with __ and the normal name is an alias. */
20332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20333 choke me
20334 #else
20335 char (*f) () = $ac_func;
20336 #endif
20337 #ifdef __cplusplus
20338 }
20339 #endif
20340
20341 int
20342 main ()
20343 {
20344 return f != $ac_func;
20345 ;
20346 return 0;
20347 }
20348 _ACEOF
20349 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
20350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20351 (eval $ac_link) 2>conftest.er1
20352 ac_status=$?
20353 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
20354 rmscip-shell system . . rm. -f conftest.er1
20355 catscip-shell system . . cat. conftest.err >&5
20356 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } &&
20358 { ac_try='test -z "$ac_c_werror_flag"
20359 || test ! -s conftest.err'
20360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20361 (eval $ac_try) 2>&5
20362 ac_status=$?
20363 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); }; } &&
20365 { ac_try='test -s conftest$ac_exeext'
20366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20367 (eval $ac_try) 2>&5
20368 ac_status=$?
20369 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); }; }; then
20371 eval "$as_ac_var=yes"
20372 else
20373 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
20374 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
20375
20376 eval "$as_ac_var=no"
20377 fi
20378 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
20379 conftest$ac_exeext conftest.$ac_ext
20380 fi
20381 echoscip-shell system . . echo. "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20382 echoscip-shell system . . echo. "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20383 if testscip-shell system . . test. `eval echo '${'$as_ac_var'}'` = yes; then
20384 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
20385 #define `echoscip-shell system . . echo. "HAVE_$ac_func" | $as_tr_cpp` 1
20386 _ACEOF
20387
20388 fi
20389 done
20390
20391 LIBS="${save_LIBS}"
20392
20393 LT_CURRENT=2
20394 LT_REVISION=0
20395 LT_AGE=0
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410 CFLAGS=${CFLAGS:-"-g -O2 -Wall -pedantic -pipe -fPIC"}
20411
20412 if [scip-shell system . . `[`. $ac_cv_c_bigendian = "yes" ] ; then
20413 CFLAGS="$CFLAGS -DPA_BIG_ENDIAN"
20414 else
20415 CFLAGS="$CFLAGS -DPA_LITTLE_ENDIAN"
20416 fi
20417
20418 case "${host_os}" in
20419 darwin* )
20420
20421 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
20422 #define PA_USE_COREAUDIO 1
20423 _ACEOF
20424
20425 OTHER_OBJS="src/os/mac_osx/pa_mac_hostapis.o src/os/unix/pa_unix_util.o src/hostapi/coreaudio/pa_mac_core.o src/hostapi/coreaudio/ringbuffer.o src/hostapi/coreaudio/pa_mac_core_utilities.o src/hostapi/coreaudio/pa_mac_core_blocking.o";
20426 LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon";
20427 PADLL="libportaudio.dylib";
20428 SHARED_FLAGS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon -dynamiclib";
20429 if [scip-shell system . . `[`. $with_macapi = "asio" ] ; then
20430 if [scip-shell system . . `[`. $with_asiodir ] ; then
20431 ASIODIR="$with_asiodir";
20432 else
20433 ASIODIR="/usr/local/asiosdk2scip-shell filesystem . . `/usr/local/asiosdk2`.";
20434 fi
20435 echoscip-shell system . . echo. "ASIODIR: $ASIODIR";
20436
20437 OTHER_OBJS="$CFLAGS pa_asio/iasiothiscallresolver.o $ASIODIR/host/asiodrivers.o $ASIODIR/common/asio.o $ASIODIR/host/mac/asioshlib.o";
20438 CFLAGS="$CFLAGS -I\$(top_srcdir)/pa_asio -I$ASIDIR/host/mac -I$ASIODIR/common";
20439 CXXFLAGS="$CFLAGS";
20440 fi
20441 ;;
20442
20443 mingw* )
20444
20445 echoscip-shell system . . echo. "WINAPI: $with_winapi"
20446 if [scip-shell system . . `[`. $with_winapi = "directx" ] ; then
20447 if [scip-shell system . . `[`. $with_dxdir ] ; then
20448 DXDIR="$with_dxdir";
20449 else
20450 DXDIR="/usr/local/dx7sdkscip-shell filesystem . . `/usr/local/dx7sdk`.";
20451 fi
20452 echoscip-shell system . . echo. "DXDIR: $DXDIR"
20453 OTHER_OBJS="src/hostapi/dsound/pa_win_ds.o src/hostapi/dsound/dsound_wrapper.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o";
20454 LIBS="-lwinmm -lm -ldsound -lole32";
20455 PADLL="portaudio.dll";
20456 THREAD_CFLAGS="-mthreads"
20457 SHARED_FLAGS="-shared";
20458 DLL_LIBS="${DLL_LIBS} -lwinmm -lm -L./dx7sdk/lib -ldsound -lole32";
20459 #VC98="\"/c/Program Files/Microsoft Visual Studio/VC98/Include\"";
20460 #CFLAGS="$CFLAGS -I$VC98 -DPA_NO_WMME -DPA_NO_ASIO";
20461 CFLAGS="$CFLAGS -I\$(top_srcdir)/include -I$DXDIR/include -DPA_NO_WMME -DPA_NO_ASIO" -DPA_NO_WDMKS;
20462 elif [scip-shell system . . `[`. $with_winapi = "asio" ] ; then
20463 if [scip-shell system . . `[`. $with_asiodir ] ; then
20464 ASIODIR="$with_asiodir";
20465 else
20466 ASIODIR="/usr/local/asiosdk2scip-shell filesystem . . `/usr/local/asiosdk2`.";
20467 fi
20468 echoscip-shell system . . echo. "ASIODIR: $ASIODIR"
20469
20470 OTHER_OBJS="pa_asio/pa_asio.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o pa_asio/iasiothiscallresolver.o $ASIODIR/common/asio.o $ASIODIR/host/asiodrivers.o $ASIODIR/host/pc/asiolist.o";
20471 LIBS="-lwinmm -lm -lstdc++ -lole32 -luuid";
20472 PADLL="portaudio.dll";
20473 THREAD_CFLAGS="-mthreads"
20474 SHARED_FLAGS="-shared";
20475 DLL_LIBS="${DLL_LIBS} -lwinmm -lm -lstdc++ -lole32 -luuid";
20476 CFLAGS="$CFLAGS -ffast-math -fomit-frame-pointer -I\$(top_srcdir)/src/common -I\$(top_srcdir)/pa_asio -I$ASIODIR/host/pc -I$ASIODIR/common -I$ASIODIR/host -DPA_NO_WMME -DPA_NO_DS -DPA_NO_WDMKS -DWINDOWS";
20477 CXXFLAGS="$CFLAGS";
20478 elif [scip-shell system . . `[`. $with_winapi = "wdmks" ] ; then
20479 if [scip-shell system . . `[`. $with_dxdir ] ; then
20480 DXDIR="$with_dxdir";
20481 else
20482 DXDIR="/usr/local/dx7sdkscip-shell filesystem . . `/usr/local/dx7sdk`.";
20483 fi
20484 echoscip-shell system . . echo. "DXDIR: $DXDIR"
20485 OTHER_OBJS="src/hostapi/wdmks/pa_win_wdmks.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o";
20486 LIBS="-lwinmm -lm -luuid -lsetupapi -lole32";
20487 PADLL="portaudio.dll";
20488 THREAD_CFLAGS="-mthreads"
20489 SHARED_FLAGS="-shared";
20490 DLL_LIBS="${DLL_LIBS} -lwinmm -lm -L./dx7sdk/lib -luuid -lsetupapi -lole32";
20491 #VC98="\"/c/Program Files/Microsoft Visual Studio/VC98/Include\"";
20492 #CFLAGS="$CFLAGS -I$VC98 -DPA_NO_WMME -DPA_NO_ASIO";
20493 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/common -I$DXDIR/include -DPA_NO_WMME -DPA_NO_DS -DPA_NO_ASIO";
20494 else # WMME default
20495 OTHER_OBJS="src/hostapi/wmme/pa_win_wmme.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o";
20496 LIBS="-lwinmm -lm -lstdc++ -lole32 -luuid";
20497 PADLL="portaudio.dll";
20498 THREAD_CFLAGS="-mthreads"
20499 SHARED_FLAGS="-shared";
20500 DLL_LIBS="${DLL_LIBS} -lwinmm";
20501 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/common -DPA_NO_DS -DPA_NO_ASIO -DPA_NO_WDMKS";
20502 fi
20503 ;;
20504
20505 cygwin* )
20506
20507 OTHER_OBJS="src/hostapi/wmme/pa_win_wmme.o";
20508 LIBS="-lwinmm -lm";
20509 PADLL="portaudio.dll";
20510 THREAD_CFLAGS="-mthreads"
20511 SHARED_FLAGS="-shared";
20512 DLL_LIBS="${DLL_LIBS} -lwinmm";
20513 ;;
20514
20515 irix* )
20516
20517 echoscip-shell system . . echo. "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
20518 echoscip-shell system . . echo. $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
20519 if testscip-shell system . . test. "${ac_cv_lib_pthread_pthread_create+set}" = set; then
20520 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
20521 else
20522 ac_check_lib_save_LIBS=$LIBS
20523 LIBS="-lpthread $LIBS"
20524 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
20525 /* confdefs.h. */
20526 _ACEOF
20527 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
20528 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
20529 /* end confdefs.h. */
20530
20531 /* Override any gcc2 internal prototype to avoid an error. */
20532 #ifdef __cplusplus
20533 extern "C"
20534 #endif
20535 /* We use char because int might match the return type of a gcc2
20536 builtin and then its argument prototype would still apply. */
20537 char pthread_create ();
20538 int
20539 main ()
20540 {
20541 pthread_create ();
20542 ;
20543 return 0;
20544 }
20545 _ACEOF
20546 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
20547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20548 (eval $ac_link) 2>conftest.er1
20549 ac_status=$?
20550 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
20551 rmscip-shell system . . rm. -f conftest.er1
20552 catscip-shell system . . cat. conftest.err >&5
20553 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } &&
20555 { ac_try='test -z "$ac_c_werror_flag"
20556 || test ! -s conftest.err'
20557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20558 (eval $ac_try) 2>&5
20559 ac_status=$?
20560 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); }; } &&
20562 { ac_try='test -s conftest$ac_exeext'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20565 ac_status=$?
20566 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; }; then
20568 ac_cv_lib_pthread_pthread_create=yes
20569 else
20570 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
20571 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
20572
20573 ac_cv_lib_pthread_pthread_create=no
20574 fi
20575 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
20576 conftest$ac_exeext conftest.$ac_ext
20577 LIBS=$ac_check_lib_save_LIBS
20578 fi
20579 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
20580 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
20581 if testscip-shell system . . test. $ac_cv_lib_pthread_pthread_create = yes; then
20582 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
20583 #define HAVE_LIBPTHREAD 1
20584 _ACEOF
20585
20586 LIBS="-lpthread $LIBS"
20587
20588 else
20589 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: IRIX posix thread library not found!" >&5
20590 echoscip-shell system . . echo. "$as_me: error: IRIX posix thread library not found!" >&2;}
20591 { (exit 1); exit 1; }; }
20592 fi
20593
20594
20595 echoscip-shell system . . echo. "$as_me:$LINENO: checking for alOpenPort in -laudio" >&5
20596 echoscip-shell system . . echo. $ECHO_N "checking for alOpenPort in -laudio... $ECHO_C" >&6
20597 if testscip-shell system . . test. "${ac_cv_lib_audio_alOpenPort+set}" = set; then
20598 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
20599 else
20600 ac_check_lib_save_LIBS=$LIBS
20601 LIBS="-laudio $LIBS"
20602 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
20603 /* confdefs.h. */
20604 _ACEOF
20605 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
20606 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608
20609 /* Override any gcc2 internal prototype to avoid an error. */
20610 #ifdef __cplusplus
20611 extern "C"
20612 #endif
20613 /* We use char because int might match the return type of a gcc2
20614 builtin and then its argument prototype would still apply. */
20615 char alOpenPort ();
20616 int
20617 main ()
20618 {
20619 alOpenPort ();
20620 ;
20621 return 0;
20622 }
20623 _ACEOF
20624 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
20625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20626 (eval $ac_link) 2>conftest.er1
20627 ac_status=$?
20628 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
20629 rmscip-shell system . . rm. -f conftest.er1
20630 catscip-shell system . . cat. conftest.err >&5
20631 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } &&
20633 { ac_try='test -z "$ac_c_werror_flag"
20634 || test ! -s conftest.err'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20637 ac_status=$?
20638 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; } &&
20640 { ac_try='test -s conftest$ac_exeext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 ac_cv_lib_audio_alOpenPort=yes
20647 else
20648 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
20649 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
20650
20651 ac_cv_lib_audio_alOpenPort=no
20652 fi
20653 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
20654 conftest$ac_exeext conftest.$ac_ext
20655 LIBS=$ac_check_lib_save_LIBS
20656 fi
20657 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_lib_audio_alOpenPort" >&5
20658 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_lib_audio_alOpenPort" >&6
20659 if testscip-shell system . . test. $ac_cv_lib_audio_alOpenPort = yes; then
20660 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
20661 #define HAVE_LIBAUDIO 1
20662 _ACEOF
20663
20664 LIBS="-laudio $LIBS"
20665
20666 else
20667 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: IRIX audio library not found!" >&5
20668 echoscip-shell system . . echo. "$as_me: error: IRIX audio library not found!" >&2;}
20669 { (exit 1); exit 1; }; }
20670 fi
20671
20672
20673 echoscip-shell system . . echo. "$as_me:$LINENO: checking for dmGetUST in -ldmedia" >&5
20674 echoscip-shell system . . echo. $ECHO_N "checking for dmGetUST in -ldmedia... $ECHO_C" >&6
20675 if testscip-shell system . . test. "${ac_cv_lib_dmedia_dmGetUST+set}" = set; then
20676 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
20677 else
20678 ac_check_lib_save_LIBS=$LIBS
20679 LIBS="-ldmedia $LIBS"
20680 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
20681 /* confdefs.h. */
20682 _ACEOF
20683 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
20684 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
20685 /* end confdefs.h. */
20686
20687 /* Override any gcc2 internal prototype to avoid an error. */
20688 #ifdef __cplusplus
20689 extern "C"
20690 #endif
20691 /* We use char because int might match the return type of a gcc2
20692 builtin and then its argument prototype would still apply. */
20693 char dmGetUST ();
20694 int
20695 main ()
20696 {
20697 dmGetUST ();
20698 ;
20699 return 0;
20700 }
20701 _ACEOF
20702 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
20703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20704 (eval $ac_link) 2>conftest.er1
20705 ac_status=$?
20706 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
20707 rmscip-shell system . . rm. -f conftest.er1
20708 catscip-shell system . . cat. conftest.err >&5
20709 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } &&
20711 { ac_try='test -z "$ac_c_werror_flag"
20712 || test ! -s conftest.err'
20713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20714 (eval $ac_try) 2>&5
20715 ac_status=$?
20716 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); }; } &&
20718 { ac_try='test -s conftest$ac_exeext'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20721 ac_status=$?
20722 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; }; then
20724 ac_cv_lib_dmedia_dmGetUST=yes
20725 else
20726 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
20727 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
20728
20729 ac_cv_lib_dmedia_dmGetUST=no
20730 fi
20731 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
20732 conftest$ac_exeext conftest.$ac_ext
20733 LIBS=$ac_check_lib_save_LIBS
20734 fi
20735 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_lib_dmedia_dmGetUST" >&5
20736 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_lib_dmedia_dmGetUST" >&6
20737 if testscip-shell system . . test. $ac_cv_lib_dmedia_dmGetUST = yes; then
20738 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
20739 #define HAVE_LIBDMEDIA 1
20740 _ACEOF
20741
20742 LIBS="-ldmedia $LIBS"
20743
20744 else
20745 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: IRIX digital media library not found!" >&5
20746 echoscip-shell system . . echo. "$as_me: error: IRIX digital media library not found!" >&2;}
20747 { (exit 1); exit 1; }; }
20748 fi
20749
20750
20751 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
20752 #define PA_USE_SGI 1
20753 _ACEOF
20754
20755
20756 THREAD_CFLAGS="-D_REENTRANT"
20757
20758 OTHER_OBJS="pa_sgi/pa_sgi.o src/os/unix/pa_unix_hostapis.o src/os/unix/pa_unix_util.o";
20759
20760 LIBS="-lm -ldmedia -laudio -lpthread";
20761 PADLL="libportaudio.so";
20762 SHARED_FLAGS="";
20763 ;;
20764
20765 *)
20766
20767 echoscip-shell system . . echo. "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
20768 echoscip-shell system . . echo. $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
20769 if testscip-shell system . . test. "${ac_cv_lib_pthread_pthread_create+set}" = set; then
20770 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
20771 else
20772 ac_check_lib_save_LIBS=$LIBS
20773 LIBS="-lpthread $LIBS"
20774 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
20775 /* confdefs.h. */
20776 _ACEOF
20777 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
20778 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
20779 /* end confdefs.h. */
20780
20781 /* Override any gcc2 internal prototype to avoid an error. */
20782 #ifdef __cplusplus
20783 extern "C"
20784 #endif
20785 /* We use char because int might match the return type of a gcc2
20786 builtin and then its argument prototype would still apply. */
20787 char pthread_create ();
20788 int
20789 main ()
20790 {
20791 pthread_create ();
20792 ;
20793 return 0;
20794 }
20795 _ACEOF
20796 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
20797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20798 (eval $ac_link) 2>conftest.er1
20799 ac_status=$?
20800 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
20801 rmscip-shell system . . rm. -f conftest.er1
20802 catscip-shell system . . cat. conftest.err >&5
20803 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } &&
20805 { ac_try='test -z "$ac_c_werror_flag"
20806 || test ! -s conftest.err'
20807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20808 (eval $ac_try) 2>&5
20809 ac_status=$?
20810 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; } &&
20812 { ac_try='test -s conftest$ac_exeext'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; }; then
20818 ac_cv_lib_pthread_pthread_create=yes
20819 else
20820 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
20821 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
20822
20823 ac_cv_lib_pthread_pthread_create=no
20824 fi
20825 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
20826 conftest$ac_exeext conftest.$ac_ext
20827 LIBS=$ac_check_lib_save_LIBS
20828 fi
20829 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
20830 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
20831 if testscip-shell system . . test. $ac_cv_lib_pthread_pthread_create = yes; then
20832 have_pthread="yes"
20833
20834 else
20835 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: libpthread not found!" >&5
20836 echoscip-shell system . . echo. "$as_me: error: libpthread not found!" >&2;}
20837 { (exit 1); exit 1; }; }
20838 fi
20839
20840
20841 if [scip-shell system . . `[`. $have_alsa = "yes" ] && [scip-shell system . . `[`. $with_alsa != "no" ] ; then
20842 DLL_LIBS="$DLL_LIBS -lasound"
20843 OTHER_OBJS="$OTHER_OBJS src/hostapi/alsa/pa_linux_alsa.o"
20844 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
20845 #define PA_USE_ALSA 1
20846 _ACEOF
20847
20848 fi
20849
20850 if [scip-shell system . . `[`. $have_jack = "yes" ] && [scip-shell system . . `[`. $with_jack != "no" ] ; then
20851 DLL_LIBS="$DLL_LIBS $JACK_LIBS"
20852 CFLAGS="$CFLAGS $JACK_CFLAGS"
20853 OTHER_OBJS="$OTHER_OBJS src/hostapi/jack/pa_jack.o"
20854 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
20855 #define PA_USE_JACK 1
20856 _ACEOF
20857
20858 fi
20859
20860 if [scip-shell system . . `[`. $with_oss != "no" ] ; then
20861 OTHER_OBJS="$OTHER_OBJS src/hostapi/oss/pa_unix_oss.o"
20862 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
20863 #define PA_USE_OSS 1
20864 _ACEOF
20865
20866 fi
20867 THREAD_CFLAGS="-pthread"
20868 DLL_LIBS="$DLL_LIBS -lm -lpthread";
20869 LIBS="$LIBS -lm -lpthread";
20870 PADLL="libportaudio.so";
20871 SHARED_FLAGS="-shared -fPIC";
20872
20873 OTHER_OBJS="$OTHER_OBJS src/os/unix/pa_unix_hostapis.o src/os/unix/pa_unix_util.o"
20874 esac
20875 CFLAGS="$CFLAGS $THREAD_CFLAGS"
20876
20877 ac_config_files="$ac_config_files Makefile portaudio-2.0.pc"
20878 catscip-shell system . . cat. >confcache <<\_ACEOF
20879 # This file is a shell script that caches the results of configure
20880 # tests run on this system so they can be shared between configure
20881 # scripts and configure runs, see configure's option --config-cache.
20882 # It is not useful on other systems. If it contains results you don't
20883 # want to keep, you may remove or edit it.
20884 #
20885 # config.status only pays attention to the cache file if you give it
20886 # the --recheck option to rerun configure.
20887 #
20888 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20890 # following values.
20891
20892 _ACEOF
20893
20894 # The following way of writing the cache mishandles newlines in values,
20895 # but we know of no workaround that is simple, portable, and efficient.
20896 # So, don't put newlines in cache variables' values.
20897 # Ultrix sh set writes to stderr and can't be redirected directly,
20898 # and sets the high bit in the cache file unless we assign to the vars.
20899 {
20900 (set) 2>&1 |
20901 case `(ac_space=' '; set | grepscip-shell system . . grep. ac_space) 2>&1` in
20902 *ac_space=\ *)
20903 # `set' does not quote correctly, so add quotes (double-quote
20904 # substitution turns \\\\ into \\, and sed turns \\ into \).
20905 sedscip-shell system . . sed. -n \
20906 "s/'/'\\\\''/g;
20907 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20908 ;;
20909 *)
20910 # `set' quotes correctly as required by POSIX, so do not add quotes.
20911 sedscip-shell system . . sed. -n \
20912 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20913 ;;
20914 esac;
20915 } |
20916 sedscip-shell system . . sed. '
20917 t clear
20918 : clear
20919 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20920 t end
20921 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20922 : end' >>confcache
20923 if diffscip-shell system . . diff. $cache_file confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
20924 if testscip-shell system . . test. -w $cache_file; then
20925 testscip-shell system . . test. "x$cache_file" != "x/dev/null" && echoscip-shell system . . echo. "updating cache $cache_file"
20926 catscip-shell system . . cat. confcache >$cache_file
20927 else
20928 echoscip-shell system . . echo. "not updating unwritable cache $cache_file"
20929 fi
20930 fi
20931 rmscip-shell system . . rm. -f confcache
20932
20933 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
20934 # Let make expand exec_prefix.
20935 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20936
20937 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20938 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20939 # trailing colons and then remove the whole line if VPATH becomes empty
20940 # (actually we leave an empty line to preserve line numbers).
20941 if testscip-shell system . . test. "x$srcdir" = x.; then
20942 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20943 s/:*\$(srcdir):*/:/;
20944 s/:*\${srcdir}:*/:/;
20945 s/:*@srcdir@:*/:/;
20946 s/^\([^=]*=[ ]*\):*/\1/;
20947 s/:*$//;
20948 s/^[^=]*=[ ]*$//;
20949 }'
20950 fi
20951
20952 # Transform confdefs.h into DEFS.
20953 # Protect against shell expansion while executing Makefile rules.
20954 # Protect against Makefile macro expansion.
20955 #
20956 # If the first sed substitution is executed (which looks for macros that
20957 # take arguments), then we branch to the quote section. Otherwise,
20958 # look for a macro that doesn't take arguments.
20959 catscip-shell system . . cat. >confdef2opt.sed <<\_ACEOF
20960 t clear
20961 : clear
20962 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
20963 t quote
20964 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
20965 t quote
20966 d
20967 : quote
20968 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
20969 s,\[,\\&,g
20970 s,\],\\&,g
20971 s,\$,$$,g
20972 p
20973 _ACEOF
20974 # We use echo to avoid assuming a particular line-breaking character.
20975 # The extra dot is to prevent the shell from consuming trailing
20976 # line-breaks from the sub-command output. A line-break within
20977 # single-quotes doesn't work because, if this script is created in a
20978 # platform that uses two characters for line-breaks (e.g., DOS), tr
20979 # would break.
20980 ac_LF_and_DOT=`echoscip-shell system . . echo.; echoscip-shell system . . echo. .`
20981 DEFS=`sedscip-shell system . . sed. -n -f confdef2opt.sed confdefs.h | trscip-shell system . . tr. "$ac_LF_and_DOT" ' .'`
20982 rmscip-shell system . . rm. -f confdef2opt.sed
20983
20984
20985 ac_libobjs=
20986 ac_ltlibobjs=
20987 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
20988 # 1. Remove the extension, and $U if already installed.
20989 ac_i=`echoscip-shell system . . echo. "$ac_i" |
20990 sedscip-shell system . . sed. 's/\$U\././;s/\.o$//;s/\.obj$//'`
20991 # 2. Add them.
20992 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20993 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20994 done
20995 LIBOBJS=$ac_libobjs
20996
20997 LTLIBOBJS=$ac_ltlibobjs
20998
20999
21000
21001 : ${CONFIG_STATUS=./config.status}
21002 ac_clean_files_save=$ac_clean_files
21003 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21004 { echoscip-shell system . . echo. "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21005 echoscip-shell system . . echo. "$as_me: creating $CONFIG_STATUS" >&6;}
21006 catscip-shell system . . cat. >$CONFIG_STATUS <<_ACEOF
21007 #! $SHELL
21008 # Generated by $as_me.
21009 # Run this file to recreate the current configuration.
21010 # Compiler output produced by configure, useful for debugging
21011 # configure, is in config.log if it exists.
21012
21013 debug=false
21014 ac_cs_recheck=false
21015 ac_cs_silent=false
21016 SHELL=\${CONFIG_SHELL-$SHELL}
21017 _ACEOF
21018
21019 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
21020 ## --------------------- ##
21021 ## M4sh Initialization. ##
21022 ## --------------------- ##
21023
21024 # Be Bourne compatible
21025 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21026 emulate sh
21027 NULLCMD=:
21028 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21029 # is contrary to our usage. Disable this feature.
21030 alias -g '${1+"$@"}'='"$@"'
21031 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21032 set -o posix
21033 fi
21034 DUALCASE=1; export DUALCASE # for MKS sh
21035
21036 # Support unset when possible.
21037 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21038 as_unset=unset
21039 else
21040 as_unset=false
21041 fi
21042
21043
21044 # Work around bugs in pre-3.0 UWIN ksh.
21045 $as_unset ENV MAIL MAILPATH
21046 PS1='$ '
21047 PS2='> '
21048 PS4='+ '
21049
21050 # NLS nuisances.
21051 for as_var in \
21052 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21053 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21054 LC_TELEPHONE LC_TIME
21055 do
21056 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21057 eval $as_var=C; export $as_var
21058 else
21059 $as_unset $as_var
21060 fi
21061 done
21062
21063 # Required to use basename.
21064 if expr a : '\(a\)' >/dev/null 2>&1; then
21065 as_expr=expr
21066 else
21067 as_expr=false
21068 fi
21069
21070 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21071 as_basename=basename
21072 else
21073 as_basename=false
21074 fi
21075
21076
21077 # Name of the executable.
21078 as_me=`$as_basename "$0" ||
21079 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21080 X"$0" : 'X\(//\)$' \| \
21081 X"$0" : 'X\(/\)$' \| \
21082 . : '\(.\)' 2>/dev/null ||
21083 echo X/"$0" |
21084 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21085 /^X\/\(\/\/\)$/{ s//\1/; q; }
21086 /^X\/\(\/\).*/{ s//\1/; q; }
21087 s/.*/./; q'`
21088
21089
21090 # PATH needs CR, and LINENO needs CR and PATH.
21091 # Avoid depending upon Character Ranges.
21092 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21093 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21094 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21095 as_cr_digits='0123456789'
21096 as_cr_alnum=$as_cr_Letters$as_cr_digits
21097
21098 # The user is always right.
21099 if test "${PATH_SEPARATOR+set}" != set; then
21100 echo "#! /bin/sh" >conf$$.sh
21101 echo "exit 0" >>conf$$.sh
21102 chmod +x conf$$.sh
21103 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21104 PATH_SEPARATOR=';'
21105 else
21106 PATH_SEPARATOR=:
21107 fi
21108 rm -f conf$$.sh
21109 fi
21110
21111
21112 as_lineno_1=$LINENO
21113 as_lineno_2=$LINENO
21114 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21115 test "x$as_lineno_1" != "x$as_lineno_2" &&
21116 test "x$as_lineno_3" = "x$as_lineno_2" || {
21117 # Find who we are. Look in the path if we contain no path at all
21118 # relative or not.
21119 case $0 in
21120 *[\\/]* ) as_myself=$0 ;;
21121 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21122 for as_dir in $PATH
21123 do
21124 IFS=$as_save_IFS
21125 test -z "$as_dir" && as_dir=.
21126 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21127 done
21128
21129 ;;
21130 esac
21131 # We did not find ourselves, most probably we were run as `sh COMMAND'
21132 # in which case we are not to be found in the path.
21133 if test "x$as_myself" = x; then
21134 as_myself=$0
21135 fi
21136 if test ! -f "$as_myself"; then
21137 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21138 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21139 { (exit 1); exit 1; }; }
21140 fi
21141 case $CONFIG_SHELL in
21142 '')
21143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21144 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21145 do
21146 IFS=$as_save_IFS
21147 test -z "$as_dir" && as_dir=.
21148 for as_base in sh bash ksh sh5; do
21149 case $as_dir in
21150 /*)
21151 if ("$as_dir/$as_base" -c '
21152 as_lineno_1=$LINENO
21153 as_lineno_2=$LINENO
21154 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21155 test "x$as_lineno_1" != "x$as_lineno_2" &&
21156 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
21157 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21158 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21159 CONFIG_SHELL=$as_dir/$as_base
21160 export CONFIG_SHELL
21161 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21162 fi;;
21163 esac
21164 done
21165 done
21166 ;;
21167 esac
21168
21169 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21170 # uniformly replaced by the line number. The first 'sed' inserts a
21171 # line-number line before each line; the second 'sed' does the real
21172 # work. The second script uses 'N' to pair each line-number line
21173 # with the numbered line, and appends trailing '-' during
21174 # substitution so that $LINENO is not a special case at line end.
21175 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21176 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21177 sed '=' <$as_myself |
21178 sed '
21179 N
21180 s,$,-,
21181 : loop
21182 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21183 t loop
21184 s,-$,,
21185 s,^['$as_cr_digits']*\n,,
21186 ' >$as_me.lineno &&
21187 chmod +x $as_me.lineno ||
21188 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21189 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21190 { (exit 1); exit 1; }; }
21191
21192 # Don't try to exec as it changes $[0], causing all sort of problems
21193 # (the dirname of $[0] is not the place where we might find the
21194 # original and so on. Autoconf is especially sensible to this).
21195 . ./$as_me.lineno
21196 # Exit status is that of the last command.
21197 exit
21198 }
21199
21200
21201 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21202 *c*,-n*) ECHO_N= ECHO_C='
21203 ' ECHO_T=' ' ;;
21204 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21205 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21206 esac
21207
21208 if expr a : '\(a\)' >/dev/null 2>&1; then
21209 as_expr=expr
21210 else
21211 as_expr=false
21212 fi
21213
21214 rm -f conf$$ conf$$.exe conf$$.file
21215 echo >conf$$.file
21216 if ln -s conf$$.file conf$$ 2>/dev/null; then
21217 # We could just check for DJGPP; but this test a) works b) is more generic
21218 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21219 if test -f conf$$.exe; then
21220 # Don't use ln at all; we don't have any links
21221 as_ln_s='cp -p'
21222 else
21223 as_ln_s='ln -s'
21224 fi
21225 elif ln conf$$.file conf$$ 2>/dev/null; then
21226 as_ln_s=ln
21227 else
21228 as_ln_s='cp -p'
21229 fi
21230 rm -f conf$$ conf$$.exe conf$$.file
21231
21232 if mkdir -p . 2>/dev/null; then
21233 as_mkdir_p=:
21234 else
21235 test -d ./-p && rmdir ./-p
21236 as_mkdir_p=false
21237 fi
21238
21239 as_executable_p="test -f"
21240
21241 # Sed expression to map a string onto a valid CPP name.
21242 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21243
21244 # Sed expression to map a string onto a valid variable name.
21245 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21246
21247
21248 # IFS
21249 # We need space, tab and new line, in precisely that order.
21250 as_nl='
21251 '
21252 IFS=" $as_nl"
21253
21254 # CDPATH.
21255 $as_unset CDPATH
21256
21257 exec 6>&1
21258
21259 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21260 # report actual input values of CONFIG_FILES etc. instead of their
21261 # values after options handling. Logging --version etc. is OK.
21262 exec 5>>config.log
21263 {
21264 echo
21265 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21266 ## Running $as_me. ##
21267 _ASBOX
21268 } >&5
21269 cat >&5 <<_CSEOF
21270
21271 This file was extended by $as_me, which was
21272 generated by GNU Autoconf 2.59. Invocation command line was
21273
21274 CONFIG_FILES = $CONFIG_FILES
21275 CONFIG_HEADERS = $CONFIG_HEADERS
21276 CONFIG_LINKS = $CONFIG_LINKS
21277 CONFIG_COMMANDS = $CONFIG_COMMANDS
21278 $ $0 $@
21279
21280 _CSEOF
21281 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21282 echo >&5
21283 _ACEOF
21284
21285 # Files that config.status was made for.
21286 if testscip-shell system . . test. -n "$ac_config_files"; then
21287 echoscip-shell system . . echo. "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21288 fi
21289
21290 if testscip-shell system . . test. -n "$ac_config_headers"; then
21291 echoscip-shell system . . echo. "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21292 fi
21293
21294 if testscip-shell system . . test. -n "$ac_config_links"; then
21295 echoscip-shell system . . echo. "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21296 fi
21297
21298 if testscip-shell system . . test. -n "$ac_config_commands"; then
21299 echoscip-shell system . . echo. "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21300 fi
21301
21302 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
21303
21304 ac_cs_usage="\
21305 \`$as_me' instantiates files from templates according to the
21306 current configuration.
21307
21308 Usage: $0 [OPTIONS] [FILE]...
21309
21310 -h, --help print this help, then exit
21311 -V, --version print version number, then exit
21312 -q, --quiet do not print progress messages
21313 -d, --debug don't remove temporary files
21314 --recheck update $as_me by reconfiguring in the same conditions
21315 --file=FILE[:TEMPLATE]
21316 instantiate the configuration file FILE
21317
21318 Configuration files:
21319 $config_files
21320
21321 Report bugs to <[email protected]>."
21322 _ACEOF
21323
21324 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF
21325 ac_cs_version="\\
21326 config.status
21327 configured by $0, generated by GNU Autoconf 2.59,
21328 with options \\"`echo "scip-shell system . . echo.$ac_configure_args" | sed 'scip-shell system . . sed.s/[\\""\`\$]/\\\\&/g'`\\"
21329
21330 Copyright (C) 2003 Free Software Foundation, Inc.
21331 This config.status script is free software; the Free Software Foundation
21332 gives unlimited permission to copy, distribute and modify it."
21333 srcdir=$srcdir
21334 INSTALL="$INSTALL"
21335 _ACEOF
21336
21337 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
21338 # If no file are specified by the user, then we need to provide default
21339 # value. By we need to know if files were specified by the user.
21340 ac_need_defaults=:
21341 while test $# != 0
21342 do
21343 case $1 in
21344 --*=*)
21345 ac_option=`expr "x$1" : 'x\([^=]*\)='`
21346 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21347 ac_shift=:
21348 ;;
21349 -*)
21350 ac_option=$1
21351 ac_optarg=$2
21352 ac_shift=shift
21353 ;;
21354 *) # This is not an option, so the user has probably given explicit
21355 # arguments.
21356 ac_option=$1
21357 ac_need_defaults=false;;
21358 esac
21359
21360 case $ac_option in
21361 # Handling of the options.
21362 _ACEOF
21363 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
21364 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21365 ac_cs_recheck=: ;;
21366 --version | --vers* | -V )
21367 echo "$ac_cs_version"; exit 0 ;;
21368 --he | --h)
21369 # Conflict between --help and --header
21370 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21371 Try \`$0 --help' for more information." >&5
21372 echo "$as_me: error: ambiguous option: $1
21373 Try \`$0 --help' for more information." >&2;}
21374 { (exit 1); exit 1; }; };;
21375 --help | --hel | -h )
21376 echo "$ac_cs_usage"; exit 0 ;;
21377 --debug | --d* | -d )
21378 debug=: ;;
21379 --file | --fil | --fi | --f )
21380 $ac_shift
21381 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21382 ac_need_defaults=false;;
21383 --header | --heade | --head | --hea )
21384 $ac_shift
21385 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21386 ac_need_defaults=false;;
21387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21388 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21389 ac_cs_silent=: ;;
21390
21391 # This is an error.
21392 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21393 Try \`$0 --help' for more information." >&5
21394 echo "$as_me: error: unrecognized option: $1
21395 Try \`$0 --help' for more information." >&2;}
21396 { (exit 1); exit 1; }; } ;;
21397
21398 *) ac_config_targets="$ac_config_targets $1" ;;
21399
21400 esac
21401 shift
21402 done
21403
21404 ac_configure_extra_args=
21405
21406 if $ac_cs_silent; then
21407 exec 6>/dev/null
21408 ac_configure_extra_args="$ac_configure_extra_args --silent"
21409 fi
21410
21411 _ACEOF
21412 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF
21413 if \$ac_cs_recheck; then
21414 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21415 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21416 fi
21417
21418 _ACEOF
21419
21420
21421
21422
21423
21424 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
21425 for ac_config_target in $ac_config_targets
21426 do
21427 case "$ac_config_target" in
21428 # Handling of arguments.
21429 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21430 "portaudio-2.0.pc" ) CONFIG_FILES="$CONFIG_FILES portaudio-2.0.pc" ;;
21431 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21432 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21433 { (exit 1); exit 1; }; };;
21434 esac
21435 done
21436
21437 # If the user did not use the arguments to specify the items to instantiate,
21438 # then the envvar interface is used. Set only those that are not.
21439 # We use the long form for the default assignment because of an extremely
21440 # bizarre bug on SunOS 4.1.3.
21441 if $ac_need_defaults; then
21442 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21443 fi
21444
21445 # Have a temporary directory for convenience. Make it in the build tree
21446 # simply because there is no reason to put it here, and in addition,
21447 # creating and moving files from /tmp can sometimes cause problems.
21448 # Create a temporary directory, and hook for its removal unless debugging.
21449 $debug ||
21450 {
21451 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21452 trap '{ (exit 1); exit 1; }' 1 2 13 15
21453 }
21454
21455 # Create a (secure) tmp directory for tmp files.
21456
21457 {
21458 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21459 test -n "$tmp" && test -d "$tmp"
21460 } ||
21461 {
21462 tmp=./confstat$$-$RANDOM
21463 (umask 077 && mkdir $tmp)
21464 } ||
21465 {
21466 echo "$me: cannot create a temporary directory in ." >&2
21467 { (exit 1); exit 1; }
21468 }
21469
21470 _ACEOF
21471
21472 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF
21473
21474 #
21475 # CONFIG_FILES section.
21476 #
21477
21478 # No need to generate the scripts if there are no CONFIG_FILES.
21479 # This happens for instance when ./config.status config.h
21480 if test -n "\$CONFIG_FILES"; then
21481 # Protect against being on the right side of a sed subst in config.status.
21482 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21483 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21484 s,@SHELL@,$SHELL,;t t
21485 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21486 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21487 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21488 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21489 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21490 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21491 s,@exec_prefix@,$exec_prefix,;t t
21492 s,@prefix@,$prefix,;t t
21493 s,@program_transform_name@,$program_transform_name,;t t
21494 s,@bindir@,$bindir,;t t
21495 s,@sbindir@,$sbindir,;t t
21496 s,@libexecdir@,$libexecdir,;t t
21497 s,@datadir@,$datadir,;t t
21498 s,@sysconfdir@,$sysconfdir,;t t
21499 s,@sharedstatedir@,$sharedstatedir,;t t
21500 s,@localstatedir@,$localstatedir,;t t
21501 s,@libdir@,$libdir,;t t
21502 s,@includedir@,$includedir,;t t
21503 s,@oldincludedir@,$oldincludedir,;t t
21504 s,@infodir@,$infodir,;t t
21505 s,@mandir@,$mandir,;t t
21506 s,@build_alias@,$build_alias,;t t
21507 s,@host_alias@,$host_alias,;t t
21508 s,@target_alias@,$target_alias,;t t
21509 s,@DEFS@,$DEFS,;t t
21510 s,@ECHO_C@,$ECHO_C,;t t
21511 s,@ECHO_N@,$ECHO_N,;t t
21512 s,@ECHO_T@,$ECHO_T,;t t
21513 s,@LIBS@,$LIBS,;t t
21514 s,@CC@,$CC,;t t
21515 s,@CFLAGS@,$CFLAGS,;t t
21516 s,@LDFLAGS@,$LDFLAGS,;t t
21517 s,@CPPFLAGS@,$CPPFLAGS,;t t
21518 s,@ac_ct_CC@,$ac_ct_CC,;t t
21519 s,@EXEEXT@,$EXEEXT,;t t
21520 s,@OBJEXT@,$OBJEXT,;t t
21521 s,@build@,$build,;t t
21522 s,@build_cpu@,$build_cpu,;t t
21523 s,@build_vendor@,$build_vendor,;t t
21524 s,@build_os@,$build_os,;t t
21525 s,@host@,$host,;t t
21526 s,@host_cpu@,$host_cpu,;t t
21527 s,@host_vendor@,$host_vendor,;t t
21528 s,@host_os@,$host_os,;t t
21529 s,@EGREP@,$EGREP,;t t
21530 s,@LN_S@,$LN_S,;t t
21531 s,@ECHO@,$ECHO,;t t
21532 s,@AR@,$AR,;t t
21533 s,@ac_ct_AR@,$ac_ct_AR,;t t
21534 s,@RANLIB@,$RANLIB,;t t
21535 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21536 s,@STRIP@,$STRIP,;t t
21537 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21538 s,@DLLTOOL@,$DLLTOOL,;t t
21539 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21540 s,@AS@,$AS,;t t
21541 s,@ac_ct_AS@,$ac_ct_AS,;t t
21542 s,@OBJDUMP@,$OBJDUMP,;t t
21543 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
21544 s,@CPP@,$CPP,;t t
21545 s,@CXX@,$CXX,;t t
21546 s,@CXXFLAGS@,$CXXFLAGS,;t t
21547 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21548 s,@CXXCPP@,$CXXCPP,;t t
21549 s,@F77@,$F77,;t t
21550 s,@FFLAGS@,$FFLAGS,;t t
21551 s,@ac_ct_F77@,$ac_ct_F77,;t t
21552 s,@LIBTOOL@,$LIBTOOL,;t t
21553 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21554 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21555 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21556 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21557 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
21558 s,@JACK_CFLAGS@,$JACK_CFLAGS,;t t
21559 s,@JACK_LIBS@,$JACK_LIBS,;t t
21560 s,@LT_CURRENT@,$LT_CURRENT,;t t
21561 s,@LT_REVISION@,$LT_REVISION,;t t
21562 s,@LT_AGE@,$LT_AGE,;t t
21563 s,@OTHER_OBJS@,$OTHER_OBJS,;t t
21564 s,@PADLL@,$PADLL,;t t
21565 s,@SHARED_FLAGS@,$SHARED_FLAGS,;t t
21566 s,@THREAD_CFLAGS@,$THREAD_CFLAGS,;t t
21567 s,@DLL_LIBS@,$DLL_LIBS,;t t
21568 s,@NASM@,$NASM,;t t
21569 s,@NASMOPT@,$NASMOPT,;t t
21570 s,@LIBOBJS@,$LIBOBJS,;t t
21571 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21572 CEOF
21573
21574 _ACEOF
21575
21576 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
21577 # Split the substitutions into bite-sized pieces for seds with
21578 # small command number limits, like on Digital OSF/1 and HP-UX.
21579 ac_max_sed_lines=48
21580 ac_sed_frag=1 # Number of current file.
21581 ac_beg=1 # First line for current file.
21582 ac_end=$ac_max_sed_lines # Line after last line for current file.
21583 ac_more_lines=:
21584 ac_sed_cmds=
21585 while $ac_more_lines; do
21586 if test $ac_beg -gt 1; then
21587 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21588 else
21589 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21590 fi
21591 if test ! -s $tmp/subs.frag; then
21592 ac_more_lines=false
21593 else
21594 # The purpose of the label and of the branching condition is to
21595 # speed up the sed processing (if there are no `@' at all, there
21596 # is no need to browse any of the substitutions).
21597 # These are the two extra sed commands mentioned above.
21598 (echo ':t
21599 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21600 if test -z "$ac_sed_cmds"; then
21601 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21602 else
21603 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21604 fi
21605 ac_sed_frag=`expr $ac_sed_frag + 1`
21606 ac_beg=$ac_end
21607 ac_end=`expr $ac_end + $ac_max_sed_lines`
21608 fi
21609 done
21610 if test -z "$ac_sed_cmds"; then
21611 ac_sed_cmds=cat
21612 fi
21613 fi # test -n "$CONFIG_FILES"
21614
21615 _ACEOF
21616 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
21617 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21618 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21619 case $ac_file in
21620 - | *:- | *:-:* ) # input from stdin
21621 cat >$tmp/stdin
21622 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21623 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21624 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21625 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21626 * ) ac_file_in=$ac_file.in ;;
21627 esac
21628
21629 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21630 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21632 X"$ac_file" : 'X\(//\)[^/]' \| \
21633 X"$ac_file" : 'X\(//\)$' \| \
21634 X"$ac_file" : 'X\(/\)' \| \
21635 . : '\(.\)' 2>/dev/null ||
21636 echo X"$ac_file" |
21637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21638 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21639 /^X\(\/\/\)$/{ s//\1/; q; }
21640 /^X\(\/\).*/{ s//\1/; q; }
21641 s/.*/./; q'`
21642 { if $as_mkdir_p; then
21643 mkdir -p "$ac_dir"
21644 else
21645 as_dir="$ac_dir"
21646 as_dirs=
21647 while test ! -d "$as_dir"; do
21648 as_dirs="$as_dir $as_dirs"
21649 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21651 X"$as_dir" : 'X\(//\)[^/]' \| \
21652 X"$as_dir" : 'X\(//\)$' \| \
21653 X"$as_dir" : 'X\(/\)' \| \
21654 . : '\(.\)' 2>/dev/null ||
21655 echo X"$as_dir" |
21656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21658 /^X\(\/\/\)$/{ s//\1/; q; }
21659 /^X\(\/\).*/{ s//\1/; q; }
21660 s/.*/./; q'`
21661 done
21662 test ! -n "$as_dirs" || mkdir $as_dirs
21663 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21664 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21665 { (exit 1); exit 1; }; }; }
21666
21667 ac_builddir=.
21668
21669 if test "$ac_dir" != .; then
21670 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21671 # A "../" for each directory in $ac_dir_suffix.
21672 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21673 else
21674 ac_dir_suffix= ac_top_builddir=
21675 fi
21676
21677 case $srcdir in
21678 .) # No --srcdir option. We are building in place.
21679 ac_srcdir=.
21680 if test -z "$ac_top_builddir"; then
21681 ac_top_srcdir=.
21682 else
21683 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21684 fi ;;
21685 [\\/]* | ?:[\\/]* ) # Absolute path.
21686 ac_srcdir=$srcdir$ac_dir_suffix;
21687 ac_top_srcdir=$srcdir ;;
21688 *) # Relative path.
21689 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21690 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21691 esac
21692
21693 # Do not use `cd foo && pwd` to compute absolute paths, because
21694 # the directories may not exist.
21695 case `pwd` in
21696 .) ac_abs_builddir="$ac_dir";;
21697 *)
21698 case "$ac_dir" in
21699 .) ac_abs_builddir=`pwd`;;
21700 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21701 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21702 esac;;
21703 esac
21704 case $ac_abs_builddir in
21705 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21706 *)
21707 case ${ac_top_builddir}. in
21708 .) ac_abs_top_builddir=$ac_abs_builddir;;
21709 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21710 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21711 esac;;
21712 esac
21713 case $ac_abs_builddir in
21714 .) ac_abs_srcdir=$ac_srcdir;;
21715 *)
21716 case $ac_srcdir in
21717 .) ac_abs_srcdir=$ac_abs_builddir;;
21718 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21719 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21720 esac;;
21721 esac
21722 case $ac_abs_builddir in
21723 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21724 *)
21725 case $ac_top_srcdir in
21726 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21727 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21728 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21729 esac;;
21730 esac
21731
21732
21733 case $INSTALL in
21734 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21735 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21736 esac
21737
21738 if test x"$ac_file" != x-; then
21739 { echo "$as_me:$LINENO: creating $ac_file" >&5
21740 echo "$as_me: creating $ac_file" >&6;}
21741 rm -f "$ac_file"
21742 fi
21743 # Let's still pretend it is `configure' which instantiates (i.e., don't
21744 # use $as_me), people would be surprised to read:
21745 # /* config.h. Generated by config.status. */
21746 if test x"$ac_file" = x-; then
21747 configure_input=
21748 else
21749 configure_input="$ac_file. "
21750 fi
21751 configure_input=$configure_input"Generated from `echo $ac_file_in |
21752 sed 's,.*/,,'` by configure."
21753
21754 # First look for the input files in the build tree, otherwise in the
21755 # src tree.
21756 ac_file_inputs=`IFS=:
21757 for f in $ac_file_in; do
21758 case $f in
21759 -) echo $tmp/stdin ;;
21760 [\\/$]*)
21761 # Absolute (can't be DOS-style, as IFS=:)
21762 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21763 echo "$as_me: error: cannot find input file: $f" >&2;}
21764 { (exit 1); exit 1; }; }
21765 echo "$f";;
21766 *) # Relative
21767 if test -f "$f"; then
21768 # Build tree
21769 echo "$f"
21770 elif test -f "$srcdir/$f"; then
21771 # Source tree
21772 echo "$srcdir/$f"
21773 else
21774 # /dev/null tree
21775 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21776 echo "$as_me: error: cannot find input file: $f" >&2;}
21777 { (exit 1); exit 1; }; }
21778 fi;;
21779 esac
21780 done` || { (exit 1); exit 1; }
21781 _ACEOF
21782 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF
21783 sed "$ac_vpsub
21784 $extrasub
21785 _ACEOF
21786 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
21787 :t
21788 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21789 s,@configure_input@,$configure_input,;t t
21790 s,@srcdir@,$ac_srcdir,;t t
21791 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21792 s,@top_srcdir@,$ac_top_srcdir,;t t
21793 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21794 s,@builddir@,$ac_builddir,;t t
21795 s,@abs_builddir@,$ac_abs_builddir,;t t
21796 s,@top_builddir@,$ac_top_builddir,;t t
21797 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21798 s,@INSTALL@,$ac_INSTALL,;t t
21799 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21800 rm -f $tmp/stdin
21801 if test x"$ac_file" != x-; then
21802 mv $tmp/out $ac_file
21803 else
21804 cat $tmp/out
21805 rm -f $tmp/out
21806 fi
21807
21808 done
21809 _ACEOF
21810
21811 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
21812
21813 { (exit 0); exit 0; }
21814 _ACEOF
21815 chmodscip-shell system . . chmod. +x $CONFIG_STATUS
21816 ac_clean_files=$ac_clean_files_save
21817
21818
21819 # configure is writing to config.log, and then calls config.status.
21820 # config.status does its own redirection, appending to config.log.
21821 # Unfortunately, on DOS this fails, as config.log is still kept open
21822 # by configure, so config.status won't be able to write to it; its
21823 # output is simply discarded. So we exec the FD to /dev/null,
21824 # effectively closing config.log, so it can be properly (re)opened and
21825 # appended to by config.status. When coming back to configure, we
21826 # need to make the FD available again.
21827 if testscip-shell system . . test. "$no_create" != yes; then
21828 ac_cs_success=:
21829 ac_config_status_args=
21830 testscip-shell system . . test. "$silent" = yes &&
21831 ac_config_status_args="$ac_config_status_args --quiet"
21832 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
21833 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21834 exec 5>>config.log
21835 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21836 # would make configure fail if this is the last instruction.
21837 $ac_cs_success || { (exit 1); exit 1; }
21838 fi
21839