| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated by GNU Autoconf 2.63 for xpa 2.1.15. |
| 4 | # |
| 5 | # Report bugs to <[email protected]>. |
| 6 | # |
| 7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 9 | # This configure script is free software; the Free Software Foundation |
| 10 | # gives unlimited permission to copy, distribute and modify it. |
| 11 | ## --------------------- ## |
| 12 | ## M4sh Initialization. ## |
| 13 | ## --------------------- ## |
| 14 | |
| 15 | # Be more Bourne compatible |
| 16 | DUALCASE=1; export DUALCASE # for MKS sh |
| 17 | if testscip-shell system . . test. -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 18 | emulate sh |
| 19 | NULLCMD=: |
| 20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 21 | # is contrary to our usage. Disable this feature. |
| 22 | alias -g '${1+"$@"}'='"$@"' |
| 23 | setopt NO_GLOB_SUBST |
| 24 | else |
| 25 | case `(set -o) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 26 | *posix*) set -o posix ;; |
| 27 | esac |
| 28 | |
| 29 | fi |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | # PATH needs CR |
| 35 | # Avoid depending upon Character Ranges. |
| 36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 39 | as_cr_digits='0123456789' |
| 40 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 41 | |
| 42 | as_nl=' |
| 43 | ' |
| 44 | export as_nl |
| 45 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 46 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 49 | if (testscip-shell system . . test. "X`printfscip-shell system . . printf. %s $as_echo`" = "X$as_echo") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 50 | as_echo='printf %s\n' |
| 51 | as_echo_n='printf %s' |
| 52 | else |
| 53 | if testscip-shell system . . test. "X`(/usr/ucb/echoscip-shell filesystem . . `/usr/ucb/echo`. -n -n $as_echo) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = "X-n $as_echo"; then |
| 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 55 | as_echo_n='/usr/ucb/echo -nscip-shell filesystem . . `/usr/ucb/echo -n`.' |
| 56 | else |
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 58 | as_echo_n_body='eval |
| 59 | arg=$1; |
| 60 | case $arg in |
| 61 | *"$as_nl"*) |
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 64 | esac; |
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 66 | ' |
| 67 | export as_echo_n_body |
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo' |
| 69 | fi |
| 70 | export as_echo_body |
| 71 | as_echo='sh -c $as_echo_body as_echo' |
| 72 | fi |
| 73 | |
| 74 | # The user is always right. |
| 75 | if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then |
| 76 | PATH_SEPARATOR=: |
| 77 | (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && { |
| 78 | (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || |
| 79 | PATH_SEPARATOR=';' |
| 80 | } |
| 81 | fi |
| 82 | |
| 83 | # Support unset when possible. |
| 84 | if ( (MAIL=60; unset MAIL) || exit) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 85 | as_unset=unset |
| 86 | else |
| 87 | as_unset=false |
| 88 | fi |
| 89 | |
| 90 | |
| 91 | # IFS |
| 92 | # We need space, tab and new line, in precisely that order. Quoting is |
| 93 | # there to prevent editors from complaining about space-tab. |
| 94 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 95 | # splitting by setting IFS to empty value.) |
| 96 | IFS=" "" $as_nl" |
| 97 | |
| 98 | # Find who we are. Look in the path if we contain no directory separator. |
| 99 | case $0 in |
| 100 | *[\\/]* ) as_myself=$0 ;; |
| 101 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 102 | for as_dir in $PATH |
| 103 | do |
| 104 | IFS=$as_save_IFS |
| 105 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 106 | testscip-shell system . . test. -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 107 | done |
| 108 | IFS=$as_save_IFS |
| 109 | |
| 110 | ;; |
| 111 | esac |
| 112 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 113 | # in which case we are not to be found in the path. |
| 114 | if testscip-shell system . . test. "x$as_myself" = x; then |
| 115 | as_myself=$0 |
| 116 | fi |
| 117 | if testscip-shell system . . test. ! -f "$as_myself"; then |
| 118 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 119 | { (exit 1); exit 1; } |
| 120 | fi |
| 121 | |
| 122 | # Work around bugs in pre-3.0 UWIN ksh. |
| 123 | for as_var in ENV MAIL MAILPATH |
| 124 | do ($as_unset $as_var) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && $as_unset $as_var |
| 125 | done |
| 126 | PS1='$ ' |
| 127 | PS2='> ' |
| 128 | PS4='+ ' |
| 129 | |
| 130 | # NLS nuisances. |
| 131 | LC_ALL=C |
| 132 | export LC_ALL |
| 133 | LANGUAGE=C |
| 134 | export LANGUAGE |
| 135 | |
| 136 | # Required to use basename. |
| 137 | if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 138 | testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then |
| 139 | as_expr=expr |
| 140 | else |
| 141 | as_expr=false |
| 142 | fi |
| 143 | |
| 144 | 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 |
| 145 | as_basename=basename |
| 146 | else |
| 147 | as_basename=false |
| 148 | fi |
| 149 | |
| 150 | |
| 151 | # Name of the executable. |
| 152 | as_me=`$as_basename -- "$0" || |
| 153 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 154 | X"$0" : 'X\(//\)$' \| \ |
| 155 | X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. || |
| 156 | $as_echo X/"$0" | |
| 157 | sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{ |
| 158 | s//\1/ |
| 159 | q |
| 160 | } |
| 161 | /^X\/\(\/\/\)$/{ |
| 162 | s//\1/ |
| 163 | q |
| 164 | } |
| 165 | /^X\/\(\/\).*/{ |
| 166 | s//\1/ |
| 167 | q |
| 168 | } |
| 169 | s/.*/./; q'` |
| 170 | |
| 171 | # CDPATH. |
| 172 | $as_unset CDPATH |
| 173 | |
| 174 | |
| 175 | if testscip-shell system . . test. "x$CONFIG_SHELL" = x; then |
| 176 | if (eval ":") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 177 | as_have_required=yes |
| 178 | else |
| 179 | as_have_required=no |
| 180 | fi |
| 181 | |
| 182 | if testscip-shell system . . test. $as_have_required = yes && (eval ": |
| 183 | (as_func_return () { |
| 184 | (exit \$1) |
| 185 | } |
| 186 | as_func_success () { |
| 187 | as_func_return 0 |
| 188 | } |
| 189 | as_func_failure () { |
| 190 | as_func_return 1 |
| 191 | } |
| 192 | as_func_ret_success () { |
| 193 | return 0 |
| 194 | } |
| 195 | as_func_ret_failure () { |
| 196 | return 1 |
| 197 | } |
| 198 | |
| 199 | exitcode=0 |
| 200 | if as_func_success; then |
| 201 | : |
| 202 | else |
| 203 | exitcode=1 |
| 204 | echo as_func_success failed. |
| 205 | fi |
| 206 | |
| 207 | if as_func_failure; then |
| 208 | exitcode=1 |
| 209 | echo as_func_failure succeeded. |
| 210 | fi |
| 211 | |
| 212 | if as_func_ret_success; then |
| 213 | : |
| 214 | else |
| 215 | exitcode=1 |
| 216 | echo as_func_ret_success failed. |
| 217 | fi |
| 218 | |
| 219 | if as_func_ret_failure; then |
| 220 | exitcode=1 |
| 221 | echo as_func_ret_failure succeeded. |
| 222 | fi |
| 223 | |
| 224 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 225 | : |
| 226 | else |
| 227 | exitcode=1 |
| 228 | echo positional parameters were not saved. |
| 229 | fi |
| 230 | |
| 231 | test \$exitcode = 0) || { (exit 1); exit 1; } |
| 232 | |
| 233 | ( |
| 234 | as_lineno_1=\$LINENO |
| 235 | as_lineno_2=\$LINENO |
| 236 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
| 237 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
| 238 | ") 2> /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 239 | : |
| 240 | else |
| 241 | as_candidate_shells= |
| 242 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 243 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 244 | do |
| 245 | IFS=$as_save_IFS |
| 246 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 247 | case $as_dir in |
| 248 | /*) |
| 249 | for as_base in sh bash ksh sh5; do |
| 250 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
| 251 | done;; |
| 252 | esac |
| 253 | done |
| 254 | IFS=$as_save_IFS |
| 255 | |
| 256 | |
| 257 | for as_shell in $as_candidate_shells $SHELL; do |
| 258 | # Try only shells that exist, to save several forks. |
| 259 | if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } && |
| 260 | { ("$as_shell") 2> /dev/nullscip-shell filesystem . . `/dev/null`. <<\_ASEOF |
| 261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 262 | emulate sh |
| 263 | NULLCMD=: |
| 264 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 265 | # is contrary to our usage. Disable this feature. |
| 266 | alias -g '${1+"$@"}'='"$@"' |
| 267 | setopt NO_GLOB_SUBST |
| 268 | else |
| 269 | case `(set -o) 2>/dev/null` in |
| 270 | *posix*) set -o posix ;; |
| 271 | esac |
| 272 | |
| 273 | fi |
| 274 | |
| 275 | |
| 276 | : |
| 277 | _ASEOF |
| 278 | }; then |
| 279 | CONFIG_SHELL=$as_shell |
| 280 | as_have_required=yes |
| 281 | if { "$as_shell" 2> /dev/nullscip-shell filesystem . . `/dev/null`. <<\_ASEOF |
| 282 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 283 | emulate sh |
| 284 | NULLCMD=: |
| 285 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 286 | # is contrary to our usage. Disable this feature. |
| 287 | alias -g '${1+"$@"}'='"$@"' |
| 288 | setopt NO_GLOB_SUBST |
| 289 | else |
| 290 | case `(set -o) 2>/dev/null` in |
| 291 | *posix*) set -o posix ;; |
| 292 | esac |
| 293 | |
| 294 | fi |
| 295 | |
| 296 | |
| 297 | : |
| 298 | (as_func_return () { |
| 299 | (exit $1) |
| 300 | } |
| 301 | as_func_success () { |
| 302 | as_func_return 0 |
| 303 | } |
| 304 | as_func_failure () { |
| 305 | as_func_return 1 |
| 306 | } |
| 307 | as_func_ret_success () { |
| 308 | return 0 |
| 309 | } |
| 310 | as_func_ret_failure () { |
| 311 | return 1 |
| 312 | } |
| 313 | |
| 314 | exitcode=0 |
| 315 | if as_func_success; then |
| 316 | : |
| 317 | else |
| 318 | exitcode=1 |
| 319 | echo as_func_success failed. |
| 320 | fi |
| 321 | |
| 322 | if as_func_failure; then |
| 323 | exitcode=1 |
| 324 | echo as_func_failure succeeded. |
| 325 | fi |
| 326 | |
| 327 | if as_func_ret_success; then |
| 328 | : |
| 329 | else |
| 330 | exitcode=1 |
| 331 | echo as_func_ret_success failed. |
| 332 | fi |
| 333 | |
| 334 | if as_func_ret_failure; then |
| 335 | exitcode=1 |
| 336 | echo as_func_ret_failure succeeded. |
| 337 | fi |
| 338 | |
| 339 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
| 340 | : |
| 341 | else |
| 342 | exitcode=1 |
| 343 | echo positional parameters were not saved. |
| 344 | fi |
| 345 | |
| 346 | test $exitcode = 0) || { (exit 1); exit 1; } |
| 347 | |
| 348 | ( |
| 349 | as_lineno_1=$LINENO |
| 350 | as_lineno_2=$LINENO |
| 351 | test "x$as_lineno_1" != "x$as_lineno_2" && |
| 352 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| 353 | |
| 354 | _ASEOF |
| 355 | }; then |
| 356 | break |
| 357 | fi |
| 358 | |
| 359 | fi |
| 360 | |
| 361 | done |
| 362 | |
| 363 | if testscip-shell system . . test. "x$CONFIG_SHELL" != x; then |
| 364 | for as_var in BASH_ENV ENV |
| 365 | do ($as_unset $as_var) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && $as_unset $as_var |
| 366 | done |
| 367 | export CONFIG_SHELL |
| 368 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 369 | fi |
| 370 | |
| 371 | |
| 372 | if testscip-shell system . . test. $as_have_required = no; then |
| 373 | echoscip-shell system . . echo. This script requires a shell more modern than all the |
| 374 | echoscip-shell system . . echo. shells that I found on your system. Please install a |
| 375 | echoscip-shell system . . echo. modern shell, or manually run the script under such a |
| 376 | echoscip-shell system . . echo. shell if you do have one. |
| 377 | { (exit 1); exit 1; } |
| 378 | fi |
| 379 | |
| 380 | |
| 381 | fi |
| 382 | |
| 383 | fi |
| 384 | |
| 385 | |
| 386 | |
| 387 | (eval "as_func_return () { |
| 388 | (exit \$1) |
| 389 | } |
| 390 | as_func_success () { |
| 391 | as_func_return 0 |
| 392 | } |
| 393 | as_func_failure () { |
| 394 | as_func_return 1 |
| 395 | } |
| 396 | as_func_ret_success () { |
| 397 | return 0 |
| 398 | } |
| 399 | as_func_ret_failure () { |
| 400 | return 1 |
| 401 | } |
| 402 | |
| 403 | exitcode=0 |
| 404 | if as_func_success; then |
| 405 | : |
| 406 | else |
| 407 | exitcode=1 |
| 408 | echo as_func_success failed. |
| 409 | fi |
| 410 | |
| 411 | if as_func_failure; then |
| 412 | exitcode=1 |
| 413 | echo as_func_failure succeeded. |
| 414 | fi |
| 415 | |
| 416 | if as_func_ret_success; then |
| 417 | : |
| 418 | else |
| 419 | exitcode=1 |
| 420 | echo as_func_ret_success failed. |
| 421 | fi |
| 422 | |
| 423 | if as_func_ret_failure; then |
| 424 | exitcode=1 |
| 425 | echo as_func_ret_failure succeeded. |
| 426 | fi |
| 427 | |
| 428 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 429 | : |
| 430 | else |
| 431 | exitcode=1 |
| 432 | echo positional parameters were not saved. |
| 433 | fi |
| 434 | |
| 435 | test \$exitcode = 0") || { |
| 436 | echoscip-shell system . . echo. No shell found that supports shell functions. |
| 437 | echoscip-shell system . . echo. Please tell [email protected] about your system, |
| 438 | echoscip-shell system . . echo. including any error possibly output before this message. |
| 439 | echoscip-shell system . . echo. This can help us improve future autoconf versions. |
| 440 | echoscip-shell system . . echo. Configuration will now proceed without shell functions. |
| 441 | } |
| 442 | |
| 443 | |
| 444 | |
| 445 | as_lineno_1=$LINENO |
| 446 | as_lineno_2=$LINENO |
| 447 | testscip-shell system . . test. "x$as_lineno_1" != "x$as_lineno_2" && |
| 448 | testscip-shell system . . test. "x`exprscip-shell system . . expr. $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 449 | |
| 450 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 451 | # uniformly replaced by the line number. The first 'sed' inserts a |
| 452 | # line-number line after each line using $LINENO; the second 'sed' |
| 453 | # does the real work. The second script uses 'N' to pair each |
| 454 | # line-number line with the line containing $LINENO, and appends |
| 455 | # trailing '-' during substitution so that $LINENO is not a special |
| 456 | # case at line end. |
| 457 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 458 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
| 459 | # E. McMahon (1931-1989) for sed's syntax. :-) |
| 460 | sedscip-shell system . . sed. -n ' |
| 461 | p |
| 462 | /[$]LINENO/= |
| 463 | ' <$as_myself | |
| 464 | sedscip-shell system . . sed. ' |
| 465 | s/[$]LINENO.*/&-/ |
| 466 | t lineno |
| 467 | b |
| 468 | :lineno |
| 469 | N |
| 470 | :loop |
| 471 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 472 | t loop |
| 473 | s/-\n.*// |
| 474 | ' >$as_me.lineno && |
| 475 | chmodscip-shell system . . chmod. +x "$as_me.lineno" || |
| 476 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 477 | { (exit 1); exit 1; }; } |
| 478 | |
| 479 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 480 | # (the dirname of $[0] is not the place where we might find the |
| 481 | # original and so on. Autoconf is especially sensitive to this). |
| 482 | . "./$as_me.lineno" |
| 483 | # Exit status is that of the last command. |
| 484 | exit |
| 485 | } |
| 486 | |
| 487 | |
| 488 | if (as_dir=`dirnamescip-shell system . . dirname. -- /scip-shell filesystem . . `/`.` && testscip-shell system . . test. "X$as_dir" = X/) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 489 | as_dirname=dirname |
| 490 | else |
| 491 | as_dirname=false |
| 492 | fi |
| 493 | |
| 494 | ECHO_C= ECHO_N= ECHO_T= |
| 495 | case `echoscip-shell system . . echo. -n x` in |
| 496 | -n*) |
| 497 | case `echoscip-shell system . . echo. 'x\c'` in |
| 498 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 499 | *) ECHO_C='\c';; |
| 500 | esac;; |
| 501 | *) |
| 502 | ECHO_N='-n';; |
| 503 | esac |
| 504 | if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 505 | testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then |
| 506 | as_expr=expr |
| 507 | else |
| 508 | as_expr=false |
| 509 | fi |
| 510 | |
| 511 | rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file |
| 512 | if testscip-shell system . . test. -d conf$$.dir; then |
| 513 | rmscip-shell system . . rm. -f conf$$.dir/conf$$.file |
| 514 | else |
| 515 | rmscip-shell system . . rm. -f conf$$.dir |
| 516 | mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 517 | fi |
| 518 | if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 519 | if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 520 | as_ln_s='ln -s' |
| 521 | # ... but there are two gotchas: |
| 522 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 523 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 524 | # In both cases, we have to default to `cp -p'. |
| 525 | lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe || |
| 526 | as_ln_s='cp -p' |
| 527 | elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 528 | as_ln_s=ln |
| 529 | else |
| 530 | as_ln_s='cp -p' |
| 531 | fi |
| 532 | else |
| 533 | as_ln_s='cp -p' |
| 534 | fi |
| 535 | rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 536 | rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 537 | |
| 538 | if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 539 | as_mkdir_p=: |
| 540 | else |
| 541 | testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p |
| 542 | as_mkdir_p=false |
| 543 | fi |
| 544 | |
| 545 | if testscip-shell system . . test. -x /scip-shell filesystem . . `/`. >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 546 | as_test_x='test -x' |
| 547 | else |
| 548 | if lsscip-shell system . . ls. -dL /scip-shell filesystem . . `/`. >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 549 | as_ls_L_option=L |
| 550 | else |
| 551 | as_ls_L_option= |
| 552 | fi |
| 553 | as_test_x=' |
| 554 | eval sh -c '\'' |
| 555 | if test -d "$1"; then |
| 556 | test -d "$1/."; |
| 557 | else |
| 558 | case $1 in |
| 559 | -*)set "./$1";; |
| 560 | esac; |
| 561 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 562 | ???[sx]*):;;*)false;;esac;fi |
| 563 | '\'' sh |
| 564 | ' |
| 565 | fi |
| 566 | as_executable_p=$as_test_x |
| 567 | |
| 568 | # Sed expression to map a string onto a valid CPP name. |
| 569 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 570 | |
| 571 | # Sed expression to map a string onto a valid variable name. |
| 572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 573 | |
| 574 | |
| 575 | |
| 576 | exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`. 6>&1 |
| 577 | |
| 578 | # Name of the host. |
| 579 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 580 | # so uname gets run too. |
| 581 | ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q` |
| 582 | |
| 583 | # |
| 584 | # Initializations. |
| 585 | # |
| 586 | ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`. |
| 587 | ac_clean_files= |
| 588 | ac_config_libobj_dir=. |
| 589 | LIBOBJS= |
| 590 | cross_compiling=no |
| 591 | subdirs= |
| 592 | MFLAGS= |
| 593 | MAKEFLAGS= |
| 594 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 595 | |
| 596 | # Identity of this package. |
| 597 | PACKAGE_NAME='xpa' |
| 598 | PACKAGE_TARNAME='xpa' |
| 599 | PACKAGE_VERSION='2.1.15' |
| 600 | PACKAGE_STRING='xpa 2.1.15' |
| 601 | PACKAGE_BUGREPORT='[email protected]' |
| 602 | |
| 603 | ac_unique_file="./xpa.h" |
| 604 | # Factoring default headers for most tests. |
| 605 | ac_includes_default="\ |
| 606 | #include <stdio.h> |
| 607 | #ifdef HAVE_SYS_TYPES_H |
| 608 | # include <sys/types.h> |
| 609 | #endif |
| 610 | #ifdef HAVE_SYS_STAT_H |
| 611 | # include <sys/stat.h> |
| 612 | #endif |
| 613 | #ifdef STDC_HEADERS |
| 614 | # include <stdlib.h> |
| 615 | # include <stddef.h> |
| 616 | #else |
| 617 | # ifdef HAVE_STDLIB_H |
| 618 | # include <stdlib.h> |
| 619 | # endif |
| 620 | #endif |
| 621 | #ifdef HAVE_STRING_H |
| 622 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| 623 | # include <memory.h> |
| 624 | # endif |
| 625 | # include <string.h> |
| 626 | #endif |
| 627 | #ifdef HAVE_STRINGS_H |
| 628 | # include <strings.h> |
| 629 | #endif |
| 630 | #ifdef HAVE_INTTYPES_H |
| 631 | # include <inttypes.h> |
| 632 | #endif |
| 633 | #ifdef HAVE_STDINT_H |
| 634 | # include <stdint.h> |
| 635 | #endif |
| 636 | #ifdef HAVE_UNISTD_H |
| 637 | # include <unistd.h> |
| 638 | #endif" |
| 639 | |
| 640 | ac_subst_vars='LTLIBOBJS |
| 641 | LIBOBJS |
| 642 | EXTRA_LIBS |
| 643 | GTK_LIBS |
| 644 | GTK_CFLAGS |
| 645 | TCL_LIBS |
| 646 | TCL_CFLAGS |
| 647 | TCL_STUB_LIB_SPEC |
| 648 | TCL_STUB_LIB_FLAG |
| 649 | TCL_STUB_LIB_FILE |
| 650 | TCL_LIB_SPEC |
| 651 | TCL_LIB_FLAG |
| 652 | TCL_LIB_FILE |
| 653 | TCL_SRC_DIR |
| 654 | TCL_BIN_DIR |
| 655 | TCL_VERSION |
| 656 | X_EXTRA_LIBS |
| 657 | X_LIBS |
| 658 | X_PRE_LIBS |
| 659 | X_CFLAGS |
| 660 | XMKMF |
| 661 | LLIB |
| 662 | DOSHARED |
| 663 | TLIB |
| 664 | RANLIB |
| 665 | SZ_LONG |
| 666 | EGREP |
| 667 | GREP |
| 668 | CPP |
| 669 | OBJEXT |
| 670 | EXEEXT |
| 671 | ac_ct_CC |
| 672 | CPPFLAGS |
| 673 | LDFLAGS |
| 674 | CFLAGS |
| 675 | CC |
| 676 | host_os |
| 677 | host_vendor |
| 678 | host_cpu |
| 679 | host |
| 680 | build_os |
| 681 | build_vendor |
| 682 | build_cpu |
| 683 | build |
| 684 | target_alias |
| 685 | host_alias |
| 686 | build_alias |
| 687 | LIBS |
| 688 | ECHO_T |
| 689 | ECHO_N |
| 690 | ECHO_C |
| 691 | DEFS |
| 692 | mandir |
| 693 | localedir |
| 694 | libdir |
| 695 | psdir |
| 696 | pdfdir |
| 697 | dvidir |
| 698 | htmldir |
| 699 | infodir |
| 700 | docdir |
| 701 | oldincludedir |
| 702 | includedir |
| 703 | localstatedir |
| 704 | sharedstatedir |
| 705 | sysconfdir |
| 706 | datadir |
| 707 | datarootdir |
| 708 | libexecdir |
| 709 | sbindir |
| 710 | bindir |
| 711 | program_transform_name |
| 712 | prefix |
| 713 | exec_prefix |
| 714 | PACKAGE_BUGREPORT |
| 715 | PACKAGE_STRING |
| 716 | PACKAGE_VERSION |
| 717 | PACKAGE_TARNAME |
| 718 | PACKAGE_NAME |
| 719 | PATH_SEPARATOR |
| 720 | SHELL' |
| 721 | ac_subst_files='' |
| 722 | ac_user_opts=' |
| 723 | enable_option_checking |
| 724 | enable_threaded_xpans |
| 725 | enable_shared |
| 726 | enable_posix_spawn |
| 727 | with_x |
| 728 | with_tcl |
| 729 | with_threads |
| 730 | with_gtk |
| 731 | ' |
| 732 | ac_precious_vars='build_alias |
| 733 | host_alias |
| 734 | target_alias |
| 735 | CC |
| 736 | CFLAGS |
| 737 | LDFLAGS |
| 738 | LIBS |
| 739 | CPPFLAGS |
| 740 | CPP |
| 741 | XMKMF' |
| 742 | |
| 743 | |
| 744 | # Initialize some variables set by options. |
| 745 | ac_init_help= |
| 746 | ac_init_version=false |
| 747 | ac_unrecognized_opts= |
| 748 | ac_unrecognized_sep= |
| 749 | # The variables have the same names as the options, with |
| 750 | # dashes changed to underlines. |
| 751 | cache_file=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 752 | exec_prefix=NONE |
| 753 | no_create= |
| 754 | no_recursion= |
| 755 | prefix=NONE |
| 756 | program_prefix=NONE |
| 757 | program_suffix=NONE |
| 758 | program_transform_name=s,x,x, |
| 759 | silent= |
| 760 | site= |
| 761 | srcdir= |
| 762 | verbose= |
| 763 | x_includes=NONE |
| 764 | x_libraries=NONE |
| 765 | |
| 766 | # Installation directory options. |
| 767 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
| 768 | # and all the variables that are supposed to be based on exec_prefix |
| 769 | # by default will actually change. |
| 770 | # Use braces instead of parens because sh, perl, etc. also accept them. |
| 771 | # (The list follows the same order as the GNU Coding Standards.) |
| 772 | bindir='${exec_prefix}/bin' |
| 773 | sbindir='${exec_prefix}/sbin' |
| 774 | libexecdir='${exec_prefix}/libexec' |
| 775 | datarootdir='${prefix}/share' |
| 776 | datadir='${datarootdir}' |
| 777 | sysconfdir='${prefix}/etc' |
| 778 | sharedstatedir='${prefix}/com' |
| 779 | localstatedir='${prefix}/var' |
| 780 | includedir='${prefix}/include' |
| 781 | oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.' |
| 782 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 783 | infodir='${datarootdir}/info' |
| 784 | htmldir='${docdir}' |
| 785 | dvidir='${docdir}' |
| 786 | pdfdir='${docdir}' |
| 787 | psdir='${docdir}' |
| 788 | libdir='${exec_prefix}/lib' |
| 789 | localedir='${datarootdir}/locale' |
| 790 | mandir='${datarootdir}/man' |
| 791 | |
| 792 | ac_prev= |
| 793 | ac_dashdash= |
| 794 | for ac_option |
| 795 | do |
| 796 | # If the previous option needs an argument, assign it. |
| 797 | if testscip-shell system . . test. -n "$ac_prev"; then |
| 798 | eval $ac_prev=\$ac_option |
| 799 | ac_prev= |
| 800 | continue |
| 801 | fi |
| 802 | |
| 803 | case $ac_option in |
| 804 | *=*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 805 | *) ac_optarg=yes ;; |
| 806 | esac |
| 807 | |
| 808 | # Accept the important Cygnus configure options, so we can diagnose typos. |
| 809 | |
| 810 | case $ac_dashdash$ac_option in |
| 811 | --) |
| 812 | ac_dashdash=yes ;; |
| 813 | |
| 814 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 815 | ac_prev=bindir ;; |
| 816 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 817 | bindir=$ac_optarg ;; |
| 818 | |
| 819 | -build | --build | --buil | --bui | --bu) |
| 820 | ac_prev=build_alias ;; |
| 821 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 822 | build_alias=$ac_optarg ;; |
| 823 | |
| 824 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 825 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 826 | ac_prev=cache_file ;; |
| 827 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 828 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 829 | cache_file=$ac_optarg ;; |
| 830 | |
| 831 | --config-cache | -C) |
| 832 | cache_file=config.cache ;; |
| 833 | |
| 834 | -datadir | --datadir | --datadi | --datad) |
| 835 | ac_prev=datadir ;; |
| 836 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 837 | datadir=$ac_optarg ;; |
| 838 | |
| 839 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 840 | | --dataroo | --dataro | --datar) |
| 841 | ac_prev=datarootdir ;; |
| 842 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 843 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 844 | datarootdir=$ac_optarg ;; |
| 845 | |
| 846 | -disable-* | --disable-*) |
| 847 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'` |
| 848 | # Reject names that are not valid shell variable names. |
| 849 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 850 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| 851 | { (exit 1); exit 1; }; } |
| 852 | ac_useropt_orig=$ac_useropt |
| 853 | ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 854 | case $ac_user_opts in |
| 855 | *" |
| 856 | "enable_$ac_useropt" |
| 857 | "*) ;; |
| 858 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 859 | ac_unrecognized_sep=', ';; |
| 860 | esac |
| 861 | eval enable_$ac_useropt=no ;; |
| 862 | |
| 863 | -docdir | --docdir | --docdi | --doc | --do) |
| 864 | ac_prev=docdir ;; |
| 865 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 866 | docdir=$ac_optarg ;; |
| 867 | |
| 868 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 869 | ac_prev=dvidir ;; |
| 870 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 871 | dvidir=$ac_optarg ;; |
| 872 | |
| 873 | -enable-* | --enable-*) |
| 874 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 875 | # Reject names that are not valid shell variable names. |
| 876 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 877 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| 878 | { (exit 1); exit 1; }; } |
| 879 | ac_useropt_orig=$ac_useropt |
| 880 | ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 881 | case $ac_user_opts in |
| 882 | *" |
| 883 | "enable_$ac_useropt" |
| 884 | "*) ;; |
| 885 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 886 | ac_unrecognized_sep=', ';; |
| 887 | esac |
| 888 | eval enable_$ac_useropt=\$ac_optarg ;; |
| 889 | |
| 890 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 891 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 892 | | --exec | --exe | --ex) |
| 893 | ac_prev=exec_prefix ;; |
| 894 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 895 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 896 | | --exec=* | --exe=* | --ex=*) |
| 897 | exec_prefix=$ac_optarg ;; |
| 898 | |
| 899 | -gas | --gas | --ga | --g) |
| 900 | # Obsolete; use --with-gas. |
| 901 | with_gas=yes ;; |
| 902 | |
| 903 | -help | --help | --hel | --he | -h) |
| 904 | ac_init_help=long ;; |
| 905 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 906 | ac_init_help=recursive ;; |
| 907 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 908 | ac_init_help=short ;; |
| 909 | |
| 910 | -host | --host | --hos | --ho) |
| 911 | ac_prev=host_alias ;; |
| 912 | -host=* | --host=* | --hos=* | --ho=*) |
| 913 | host_alias=$ac_optarg ;; |
| 914 | |
| 915 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 916 | ac_prev=htmldir ;; |
| 917 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 918 | | --ht=*) |
| 919 | htmldir=$ac_optarg ;; |
| 920 | |
| 921 | -includedir | --includedir | --includedi | --included | --include \ |
| 922 | | --includ | --inclu | --incl | --inc) |
| 923 | ac_prev=includedir ;; |
| 924 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 925 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
| 926 | includedir=$ac_optarg ;; |
| 927 | |
| 928 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
| 929 | ac_prev=infodir ;; |
| 930 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 931 | infodir=$ac_optarg ;; |
| 932 | |
| 933 | -libdir | --libdir | --libdi | --libd) |
| 934 | ac_prev=libdir ;; |
| 935 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 936 | libdir=$ac_optarg ;; |
| 937 | |
| 938 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 939 | | --libexe | --libex | --libe) |
| 940 | ac_prev=libexecdir ;; |
| 941 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 942 | | --libexe=* | --libex=* | --libe=*) |
| 943 | libexecdir=$ac_optarg ;; |
| 944 | |
| 945 | -localedir | --localedir | --localedi | --localed | --locale) |
| 946 | ac_prev=localedir ;; |
| 947 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 948 | localedir=$ac_optarg ;; |
| 949 | |
| 950 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 951 | | --localstate | --localstat | --localsta | --localst | --locals) |
| 952 | ac_prev=localstatedir ;; |
| 953 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 954 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 955 | localstatedir=$ac_optarg ;; |
| 956 | |
| 957 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 958 | ac_prev=mandir ;; |
| 959 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 960 | mandir=$ac_optarg ;; |
| 961 | |
| 962 | -nfp | --nfp | --nf) |
| 963 | # Obsolete; use --without-fp. |
| 964 | with_fp=no ;; |
| 965 | |
| 966 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 967 | | --no-cr | --no-c | -n) |
| 968 | no_create=yes ;; |
| 969 | |
| 970 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 971 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 972 | no_recursion=yes ;; |
| 973 | |
| 974 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 975 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 976 | | --oldin | --oldi | --old | --ol | --o) |
| 977 | ac_prev=oldincludedir ;; |
| 978 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 979 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 980 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 981 | oldincludedir=$ac_optarg ;; |
| 982 | |
| 983 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 984 | ac_prev=prefix ;; |
| 985 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 986 | prefix=$ac_optarg ;; |
| 987 | |
| 988 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 989 | | --program-pre | --program-pr | --program-p) |
| 990 | ac_prev=program_prefix ;; |
| 991 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 992 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 993 | program_prefix=$ac_optarg ;; |
| 994 | |
| 995 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 996 | | --program-suf | --program-su | --program-s) |
| 997 | ac_prev=program_suffix ;; |
| 998 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 999 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 1000 | program_suffix=$ac_optarg ;; |
| 1001 | |
| 1002 | -program-transform-name | --program-transform-name \ |
| 1003 | | --program-transform-nam | --program-transform-na \ |
| 1004 | | --program-transform-n | --program-transform- \ |
| 1005 | | --program-transform | --program-transfor \ |
| 1006 | | --program-transfo | --program-transf \ |
| 1007 | | --program-trans | --program-tran \ |
| 1008 | | --progr-tra | --program-tr | --program-t) |
| 1009 | ac_prev=program_transform_name ;; |
| 1010 | -program-transform-name=* | --program-transform-name=* \ |
| 1011 | | --program-transform-nam=* | --program-transform-na=* \ |
| 1012 | | --program-transform-n=* | --program-transform-=* \ |
| 1013 | | --program-transform=* | --program-transfor=* \ |
| 1014 | | --program-transfo=* | --program-transf=* \ |
| 1015 | | --program-trans=* | --program-tran=* \ |
| 1016 | | --progr-tra=* | --program-tr=* | --program-t=*) |
| 1017 | program_transform_name=$ac_optarg ;; |
| 1018 | |
| 1019 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1020 | ac_prev=pdfdir ;; |
| 1021 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1022 | pdfdir=$ac_optarg ;; |
| 1023 | |
| 1024 | -psdir | --psdir | --psdi | --psd | --ps) |
| 1025 | ac_prev=psdir ;; |
| 1026 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1027 | psdir=$ac_optarg ;; |
| 1028 | |
| 1029 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1030 | | -silent | --silent | --silen | --sile | --sil) |
| 1031 | silent=yes ;; |
| 1032 | |
| 1033 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1034 | ac_prev=sbindir ;; |
| 1035 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1036 | | --sbi=* | --sb=*) |
| 1037 | sbindir=$ac_optarg ;; |
| 1038 | |
| 1039 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1040 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1041 | | --sharedst | --shareds | --shared | --share | --shar \ |
| 1042 | | --sha | --sh) |
| 1043 | ac_prev=sharedstatedir ;; |
| 1044 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1045 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1046 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1047 | | --sha=* | --sh=*) |
| 1048 | sharedstatedir=$ac_optarg ;; |
| 1049 | |
| 1050 | -site | --site | --sit) |
| 1051 | ac_prev=site ;; |
| 1052 | -site=* | --site=* | --sit=*) |
| 1053 | site=$ac_optarg ;; |
| 1054 | |
| 1055 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1056 | ac_prev=srcdir ;; |
| 1057 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1058 | srcdir=$ac_optarg ;; |
| 1059 | |
| 1060 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 1061 | | --syscon | --sysco | --sysc | --sys | --sy) |
| 1062 | ac_prev=sysconfdir ;; |
| 1063 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 1064 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 1065 | sysconfdir=$ac_optarg ;; |
| 1066 | |
| 1067 | -target | --target | --targe | --targ | --tar | --ta | --t) |
| 1068 | ac_prev=target_alias ;; |
| 1069 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1070 | target_alias=$ac_optarg ;; |
| 1071 | |
| 1072 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1073 | verbose=yes ;; |
| 1074 | |
| 1075 | -version | --version | --versio | --versi | --vers | -V) |
| 1076 | ac_init_version=: ;; |
| 1077 | |
| 1078 | -with-* | --with-*) |
| 1079 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1080 | # Reject names that are not valid shell variable names. |
| 1081 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1082 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
| 1083 | { (exit 1); exit 1; }; } |
| 1084 | ac_useropt_orig=$ac_useropt |
| 1085 | ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1086 | case $ac_user_opts in |
| 1087 | *" |
| 1088 | "with_$ac_useropt" |
| 1089 | "*) ;; |
| 1090 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 1091 | ac_unrecognized_sep=', ';; |
| 1092 | esac |
| 1093 | eval with_$ac_useropt=\$ac_optarg ;; |
| 1094 | |
| 1095 | -without-* | --without-*) |
| 1096 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'` |
| 1097 | # Reject names that are not valid shell variable names. |
| 1098 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1099 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
| 1100 | { (exit 1); exit 1; }; } |
| 1101 | ac_useropt_orig=$ac_useropt |
| 1102 | ac_useropt=`$as_echo "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1103 | case $ac_user_opts in |
| 1104 | *" |
| 1105 | "with_$ac_useropt" |
| 1106 | "*) ;; |
| 1107 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1108 | ac_unrecognized_sep=', ';; |
| 1109 | esac |
| 1110 | eval with_$ac_useropt=no ;; |
| 1111 | |
| 1112 | --x) |
| 1113 | # Obsolete; use --with-x. |
| 1114 | with_x=yes ;; |
| 1115 | |
| 1116 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1117 | | --x-incl | --x-inc | --x-in | --x-i) |
| 1118 | ac_prev=x_includes ;; |
| 1119 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1120 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1121 | x_includes=$ac_optarg ;; |
| 1122 | |
| 1123 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1124 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1125 | ac_prev=x_libraries ;; |
| 1126 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1127 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1128 | x_libraries=$ac_optarg ;; |
| 1129 | |
| 1130 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
| 1131 | Try \`$0 --help' for more information." >&2 |
| 1132 | { (exit 1); exit 1; }; } |
| 1133 | ;; |
| 1134 | |
| 1135 | *=*) |
| 1136 | ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='` |
| 1137 | # Reject names that are not valid shell variable names. |
| 1138 | exprscip-shell system . . expr. "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1139 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 1140 | { (exit 1); exit 1; }; } |
| 1141 | eval $ac_envvar=\$ac_optarg |
| 1142 | export $ac_envvar ;; |
| 1143 | |
| 1144 | *) |
| 1145 | # FIXME: should be removed in autoconf 3.0. |
| 1146 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1147 | exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1148 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1149 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| 1150 | ;; |
| 1151 | |
| 1152 | esac |
| 1153 | done |
| 1154 | |
| 1155 | if testscip-shell system . . test. -n "$ac_prev"; then |
| 1156 | ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'` |
| 1157 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
| 1158 | { (exit 1); exit 1; }; } |
| 1159 | fi |
| 1160 | |
| 1161 | if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then |
| 1162 | case $enable_option_checking in |
| 1163 | no) ;; |
| 1164 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
| 1165 | { (exit 1); exit 1; }; } ;; |
| 1166 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1167 | esac |
| 1168 | fi |
| 1169 | |
| 1170 | # Check all directory arguments for consistency. |
| 1171 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1172 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1173 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1174 | libdir localedir mandir |
| 1175 | do |
| 1176 | eval ac_val=\$$ac_var |
| 1177 | # Remove trailing slashes. |
| 1178 | case $ac_val in |
| 1179 | */ ) |
| 1180 | ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1181 | eval $ac_var=\$ac_val;; |
| 1182 | esac |
| 1183 | # Be sure to have absolute directory names. |
| 1184 | case $ac_val in |
| 1185 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1186 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1187 | esac |
| 1188 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1189 | { (exit 1); exit 1; }; } |
| 1190 | done |
| 1191 | |
| 1192 | # There might be people who depend on the old broken behavior: `$host' |
| 1193 | # used to hold the argument of --host etc. |
| 1194 | # FIXME: To remove some day. |
| 1195 | build=$build_alias |
| 1196 | host=$host_alias |
| 1197 | target=$target_alias |
| 1198 | |
| 1199 | # FIXME: To remove some day. |
| 1200 | if testscip-shell system . . test. "x$host_alias" != x; then |
| 1201 | if testscip-shell system . . test. "x$build_alias" = x; then |
| 1202 | cross_compiling=maybe |
| 1203 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| 1204 | If a cross compiler is detected then cross compile mode will be used." >&2 |
| 1205 | elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then |
| 1206 | cross_compiling=yes |
| 1207 | fi |
| 1208 | fi |
| 1209 | |
| 1210 | ac_tool_prefix= |
| 1211 | testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1212 | |
| 1213 | testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 1214 | |
| 1215 | |
| 1216 | ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" && |
| 1217 | ac_ls_di=`lsscip-shell system . . ls. -di .` && |
| 1218 | ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` || |
| 1219 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 |
| 1220 | { (exit 1); exit 1; }; } |
| 1221 | testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1222 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
| 1223 | { (exit 1); exit 1; }; } |
| 1224 | |
| 1225 | |
| 1226 | # Find the source files, if location was not specified. |
| 1227 | if testscip-shell system . . test. -z "$srcdir"; then |
| 1228 | ac_srcdir_defaulted=yes |
| 1229 | # Try the directory containing this script, then the parent directory. |
| 1230 | ac_confdir=`$as_dirname -- "$as_myself" || |
| 1231 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1232 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1233 | X"$as_myself" : 'X\(//\)$' \| \ |
| 1234 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. || |
| 1235 | $as_echo X"$as_myself" | |
| 1236 | sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1237 | s//\1/ |
| 1238 | q |
| 1239 | } |
| 1240 | /^X\(\/\/\)[^/].*/{ |
| 1241 | s//\1/ |
| 1242 | q |
| 1243 | } |
| 1244 | /^X\(\/\/\)$/{ |
| 1245 | s//\1/ |
| 1246 | q |
| 1247 | } |
| 1248 | /^X\(\/\).*/{ |
| 1249 | s//\1/ |
| 1250 | q |
| 1251 | } |
| 1252 | s/.*/./; q'` |
| 1253 | srcdir=$ac_confdir |
| 1254 | if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then |
| 1255 | srcdir=.. |
| 1256 | fi |
| 1257 | else |
| 1258 | ac_srcdir_defaulted=no |
| 1259 | fi |
| 1260 | if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then |
| 1261 | testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1262 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 1263 | { (exit 1); exit 1; }; } |
| 1264 | fi |
| 1265 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1266 | ac_abs_confdir=`( |
| 1267 | cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
| 1268 | { (exit 1); exit 1; }; } |
| 1269 | pwdscip-shell system . . pwd.)` |
| 1270 | # When building in place, set srcdir=. |
| 1271 | if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then |
| 1272 | srcdir=. |
| 1273 | fi |
| 1274 | # Remove unnecessary trailing slashes from srcdir. |
| 1275 | # Double slashes in file names in object file debugging info |
| 1276 | # mess up M-x gdb in Emacs. |
| 1277 | case $srcdir in |
| 1278 | */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1279 | esac |
| 1280 | for ac_var in $ac_precious_vars; do |
| 1281 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1282 | eval ac_env_${ac_var}_value=\$${ac_var} |
| 1283 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1284 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1285 | done |
| 1286 | |
| 1287 | # |
| 1288 | # Report the --help message. |
| 1289 | # |
| 1290 | if testscip-shell system . . test. "$ac_init_help" = "long"; then |
| 1291 | # Omit some internal or obsolete options to make the list less imposing. |
| 1292 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 1293 | catscip-shell system . . cat. <<_ACEOF |
| 1294 | \`configure' configures xpa 2.1.15 to adapt to many kinds of systems. |
| 1295 | |
| 1296 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1297 | |
| 1298 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1299 | VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1300 | |
| 1301 | Defaults for the options are specified in brackets. |
| 1302 | |
| 1303 | Configuration: |
| 1304 | -h, --help display this help and exit |
| 1305 | --help=short display options specific to this package |
| 1306 | --help=recursive display the short help of all the included packages |
| 1307 | -V, --version display version information and exit |
| 1308 | -q, --quiet, --silent do not print \`checking...' messages |
| 1309 | --cache-file=FILE cache test results in FILE [disabled] |
| 1310 | -C, --config-cache alias for \`--cache-file=config.cache' |
| 1311 | -n, --no-create do not create output files |
| 1312 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1313 | |
| 1314 | Installation directories: |
| 1315 | --prefix=PREFIX install architecture-independent files in PREFIX |
| 1316 | [$ac_default_prefix] |
| 1317 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1318 | [PREFIX] |
| 1319 | |
| 1320 | By default, \`make install' will install all the files in |
| 1321 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 1322 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 1323 | for instance \`--prefix=\$HOME'. |
| 1324 | |
| 1325 | For better control, use the options below. |
| 1326 | |
| 1327 | Fine tuning of the installation directories: |
| 1328 | --bindir=DIR user executables [EPREFIX/bin] |
| 1329 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1330 | --libexecdir=DIR program executables [EPREFIX/libexec] |
| 1331 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1332 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1333 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1334 | --libdir=DIR object code libraries [EPREFIX/lib] |
| 1335 | --includedir=DIR C header files [PREFIX/include] |
| 1336 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1337 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1338 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1339 | --infodir=DIR info documentation [DATAROOTDIR/info] |
| 1340 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1341 | --mandir=DIR man documentation [DATAROOTDIR/man] |
| 1342 | --docdir=DIR documentation root [DATAROOTDIR/doc/xpa] |
| 1343 | --htmldir=DIR html documentation [DOCDIR] |
| 1344 | --dvidir=DIR dvi documentation [DOCDIR] |
| 1345 | --pdfdir=DIR pdf documentation [DOCDIR] |
| 1346 | --psdir=DIR ps documentation [DOCDIR] |
| 1347 | _ACEOF |
| 1348 | |
| 1349 | catscip-shell system . . cat. <<\_ACEOF |
| 1350 | |
| 1351 | X features: |
| 1352 | --x-includes=DIR X include files are in DIR |
| 1353 | --x-libraries=DIR X library files are in DIR |
| 1354 | |
| 1355 | System types: |
| 1356 | --build=BUILD configure for building on BUILD [guessed] |
| 1357 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1358 | _ACEOF |
| 1359 | fi |
| 1360 | |
| 1361 | if testscip-shell system . . test. -n "$ac_init_help"; then |
| 1362 | case $ac_init_help in |
| 1363 | short | recursive ) echoscip-shell system . . echo. "Configuration of xpa 2.1.15:";; |
| 1364 | esac |
| 1365 | catscip-shell system . . cat. <<\_ACEOF |
| 1366 | |
| 1367 | Optional Features: |
| 1368 | --disable-option-checking ignore unrecognized --enable/--with options |
| 1369 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1370 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1371 | --enable-threaded-xpans build threaded xpans |
| 1372 | --enable-shared build shared libraries |
| 1373 | --enable-posix_spawn use posix_spawn() if available |
| 1374 | |
| 1375 | Optional Packages: |
| 1376 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1377 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1378 | --with-x use the X Window System |
| 1379 | --with-tcl directory containing tcl configuration (tclConfig.sh) |
| 1380 | --with-threads build for use in threaded programs |
| 1381 | --with-gtk=<path> include directory for gtk e.g. /usr/include/gtk-1.2 |
| 1382 | |
| 1383 | Some influential environment variables: |
| 1384 | CC C compiler command |
| 1385 | CFLAGS C compiler flags |
| 1386 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1387 | nonstandard directory <lib dir> |
| 1388 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 1389 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1390 | you have headers in a nonstandard directory <include dir> |
| 1391 | CPP C preprocessor |
| 1392 | XMKMF Path to xmkmf, Makefile generator for X Window System |
| 1393 | |
| 1394 | Use these variables to override the choices made by `configure' or to help |
| 1395 | it to find libraries and programs with nonstandard names/locations. |
| 1396 | |
| 1397 | Report bugs to <[email protected]>. |
| 1398 | _ACEOF |
| 1399 | ac_status=$? |
| 1400 | fi |
| 1401 | |
| 1402 | if testscip-shell system . . test. "$ac_init_help" = "recursive"; then |
| 1403 | # If there are subdirs, report their specific --help. |
| 1404 | for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue |
| 1405 | testscip-shell system . . test. -d "$ac_dir" || |
| 1406 | { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } || |
| 1407 | continue |
| 1408 | ac_builddir=. |
| 1409 | |
| 1410 | case "$ac_dir" in |
| 1411 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1412 | *) |
| 1413 | ac_dir_suffix=/`$as_echo "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'` |
| 1414 | # A ".." for each directory in $ac_dir_suffix. |
| 1415 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'` |
| 1416 | case $ac_top_builddir_sub in |
| 1417 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1418 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1419 | esac ;; |
| 1420 | esac |
| 1421 | ac_abs_top_builddir=$ac_pwd |
| 1422 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1423 | # for backward compatibility: |
| 1424 | ac_top_builddir=$ac_top_build_prefix |
| 1425 | |
| 1426 | case $srcdir in |
| 1427 | .) # We are building in place. |
| 1428 | ac_srcdir=. |
| 1429 | ac_top_srcdir=$ac_top_builddir_sub |
| 1430 | ac_abs_top_srcdir=$ac_pwd ;; |
| 1431 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 1432 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 1433 | ac_top_srcdir=$srcdir |
| 1434 | ac_abs_top_srcdir=$srcdir ;; |
| 1435 | *) # Relative name. |
| 1436 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1437 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1438 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 1439 | esac |
| 1440 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1441 | |
| 1442 | cd "$ac_dir" || { ac_status=$?; continue; } |
| 1443 | # Check for guested configure. |
| 1444 | if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then |
| 1445 | echoscip-shell system . . echo. && |
| 1446 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1447 | elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then |
| 1448 | echoscip-shell system . . echo. && |
| 1449 | $SHELL "$ac_srcdir/configure" --help=recursive |
| 1450 | else |
| 1451 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1452 | fi || ac_status=$? |
| 1453 | cd "$ac_pwd" || { ac_status=$?; break; } |
| 1454 | done |
| 1455 | fi |
| 1456 | |
| 1457 | testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status |
| 1458 | if $ac_init_version; then |
| 1459 | catscip-shell system . . cat. <<\_ACEOF |
| 1460 | xpa configure 2.1.15 |
| 1461 | generated by GNU Autoconf 2.63 |
| 1462 | |
| 1463 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1464 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 1465 | This configure script is free software; the Free Software Foundation |
| 1466 | gives unlimited permission to copy, distribute and modify it. |
| 1467 | _ACEOF |
| 1468 | exit |
| 1469 | fi |
| 1470 | catscip-shell system . . cat. >config.log <<_ACEOF |
| 1471 | This file contains any messages produced by compilers while |
| 1472 | running configure, to aid debugging if configure makes a mistake. |
| 1473 | |
| 1474 | It was created by xpa $as_me 2.1.15, which was |
| 1475 | generated by GNU Autoconf 2.63. Invocation command line was |
| 1476 | |
| 1477 | $ $0 $@ |
| 1478 | |
| 1479 | _ACEOF |
| 1480 | exec 5>>config.log |
| 1481 | { |
| 1482 | catscip-shell system . . cat. <<_ASUNAME |
| 1483 | ## --------- ## |
| 1484 | ## Platform. ## |
| 1485 | ## --------- ## |
| 1486 | |
| 1487 | hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q` |
| 1488 | uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 1489 | uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 1490 | uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 1491 | uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 1492 | |
| 1493 | /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` |
| 1494 | /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 1495 | |
| 1496 | /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 1497 | /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` |
| 1498 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 1499 | /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 1500 | /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 1501 | /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 1502 | /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 1503 | |
| 1504 | _ASUNAME |
| 1505 | |
| 1506 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1507 | for as_dir in $PATH |
| 1508 | do |
| 1509 | IFS=$as_save_IFS |
| 1510 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 1511 | $as_echo "PATH: $as_dir" |
| 1512 | done |
| 1513 | IFS=$as_save_IFS |
| 1514 | |
| 1515 | } >&5 |
| 1516 | |
| 1517 | catscip-shell system . . cat. >&5 <<_ACEOF |
| 1518 | |
| 1519 | |
| 1520 | ## ----------- ## |
| 1521 | ## Core tests. ## |
| 1522 | ## ----------- ## |
| 1523 | |
| 1524 | _ACEOF |
| 1525 | |
| 1526 | |
| 1527 | # Keep a trace of the command line. |
| 1528 | # Strip out --no-create and --no-recursion so they do not pile up. |
| 1529 | # Strip out --silent because we don't want to record it for future runs. |
| 1530 | # Also quote any args containing shell meta-characters. |
| 1531 | # Make two passes to allow for proper duplicate-argument suppression. |
| 1532 | ac_configure_args= |
| 1533 | ac_configure_args0= |
| 1534 | ac_configure_args1= |
| 1535 | ac_must_keep_next=false |
| 1536 | for ac_pass in 1 2 |
| 1537 | do |
| 1538 | for ac_arg |
| 1539 | do |
| 1540 | case $ac_arg in |
| 1541 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 1542 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1543 | | -silent | --silent | --silen | --sile | --sil) |
| 1544 | continue ;; |
| 1545 | *\'*) |
| 1546 | ac_arg=`$as_echo "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;; |
| 1547 | esac |
| 1548 | case $ac_pass in |
| 1549 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| 1550 | 2) |
| 1551 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 1552 | if testscip-shell system . . test. $ac_must_keep_next = true; then |
| 1553 | ac_must_keep_next=false # Got value, back to normal. |
| 1554 | else |
| 1555 | case $ac_arg in |
| 1556 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1557 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1558 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1559 | | -with-* | --with-* | -without-* | --without-* | --x) |
| 1560 | case "$ac_configure_args0 " in |
| 1561 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1562 | esac |
| 1563 | ;; |
| 1564 | -* ) ac_must_keep_next=true ;; |
| 1565 | esac |
| 1566 | fi |
| 1567 | ac_configure_args="$ac_configure_args '$ac_arg'" |
| 1568 | ;; |
| 1569 | esac |
| 1570 | done |
| 1571 | done |
| 1572 | $as_unset ac_configure_args0 || testscip-shell system . . test. "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
| 1573 | $as_unset ac_configure_args1 || testscip-shell system . . test. "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
| 1574 | |
| 1575 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 1576 | # config.log. We remove comments because anyway the quotes in there |
| 1577 | # would cause problems or look ugly. |
| 1578 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1579 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 1580 | trap 'exit_status=$? |
| 1581 | # Save into config.log some information that might help in debugging. |
| 1582 | { |
| 1583 | echo |
| 1584 | |
| 1585 | cat <<\_ASBOX |
| 1586 | ## ---------------- ## |
| 1587 | ## Cache variables. ## |
| 1588 | ## ---------------- ## |
| 1589 | _ASBOX |
| 1590 | echo |
| 1591 | # The following way of writing the cache mishandles newlines in values, |
| 1592 | ( |
| 1593 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 1594 | eval ac_val=\$$ac_var |
| 1595 | case $ac_val in #( |
| 1596 | *${as_nl}*) |
| 1597 | case $ac_var in #( |
| 1598 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
| 1599 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 1600 | esac |
| 1601 | case $ac_var in #( |
| 1602 | _ | IFS | as_nl) ;; #( |
| 1603 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 1604 | *) $as_unset $ac_var ;; |
| 1605 | esac ;; |
| 1606 | esac |
| 1607 | done |
| 1608 | (set) 2>&1 | |
| 1609 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1610 | *${as_nl}ac_space=\ *) |
| 1611 | sed -n \ |
| 1612 | "s/'\''/'\''\\\\'\'''\''/g; |
| 1613 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 1614 | ;; #( |
| 1615 | *) |
| 1616 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 1617 | ;; |
| 1618 | esac | |
| 1619 | sort |
| 1620 | ) |
| 1621 | echo |
| 1622 | |
| 1623 | cat <<\_ASBOX |
| 1624 | ## ----------------- ## |
| 1625 | ## Output variables. ## |
| 1626 | ## ----------------- ## |
| 1627 | _ASBOX |
| 1628 | echo |
| 1629 | for ac_var in $ac_subst_vars |
| 1630 | do |
| 1631 | eval ac_val=\$$ac_var |
| 1632 | case $ac_val in |
| 1633 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1634 | esac |
| 1635 | $as_echo "$ac_var='\''$ac_val'\''" |
| 1636 | done | sort |
| 1637 | echo |
| 1638 | |
| 1639 | if test -n "$ac_subst_files"; then |
| 1640 | cat <<\_ASBOX |
| 1641 | ## ------------------- ## |
| 1642 | ## File substitutions. ## |
| 1643 | ## ------------------- ## |
| 1644 | _ASBOX |
| 1645 | echo |
| 1646 | for ac_var in $ac_subst_files |
| 1647 | do |
| 1648 | eval ac_val=\$$ac_var |
| 1649 | case $ac_val in |
| 1650 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1651 | esac |
| 1652 | $as_echo "$ac_var='\''$ac_val'\''" |
| 1653 | done | sort |
| 1654 | echo |
| 1655 | fi |
| 1656 | |
| 1657 | if test -s confdefs.h; then |
| 1658 | cat <<\_ASBOX |
| 1659 | ## ----------- ## |
| 1660 | ## confdefs.h. ## |
| 1661 | ## ----------- ## |
| 1662 | _ASBOX |
| 1663 | echo |
| 1664 | cat confdefs.h |
| 1665 | echo |
| 1666 | fi |
| 1667 | test "$ac_signal" != 0 && |
| 1668 | $as_echo "$as_me: caught signal $ac_signal" |
| 1669 | $as_echo "$as_me: exit $exit_status" |
| 1670 | } >&5 |
| 1671 | rm -f core *.core core.conftest.* && |
| 1672 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 1673 | exit $exit_status |
| 1674 | ' 0 |
| 1675 | for ac_signal in 1 2 13 15; do |
| 1676 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1677 | done |
| 1678 | ac_signal=0 |
| 1679 | |
| 1680 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1681 | rmscip-shell system . . rm. -f -r conftest* confdefs.h |
| 1682 | |
| 1683 | # Predefined preprocessor variables. |
| 1684 | |
| 1685 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 1686 | #define PACKAGE_NAME "$PACKAGE_NAME" |
| 1687 | _ACEOF |
| 1688 | |
| 1689 | |
| 1690 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 1691 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 1692 | _ACEOF |
| 1693 | |
| 1694 | |
| 1695 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 1696 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 1697 | _ACEOF |
| 1698 | |
| 1699 | |
| 1700 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 1701 | #define PACKAGE_STRING "$PACKAGE_STRING" |
| 1702 | _ACEOF |
| 1703 | |
| 1704 | |
| 1705 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 1706 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 1707 | _ACEOF |
| 1708 | |
| 1709 | |
| 1710 | # Let the site file select an alternate cache file if it wants to. |
| 1711 | # Prefer an explicitly selected file to automatically selected ones. |
| 1712 | ac_site_file1=NONE |
| 1713 | ac_site_file2=NONE |
| 1714 | if testscip-shell system . . test. -n "$CONFIG_SITE"; then |
| 1715 | ac_site_file1=$CONFIG_SITE |
| 1716 | elif testscip-shell system . . test. "x$prefix" != xNONE; then |
| 1717 | ac_site_file1=$prefix/share/config.site |
| 1718 | ac_site_file2=$prefix/etc/config.site |
| 1719 | else |
| 1720 | ac_site_file1=$ac_default_prefix/share/config.site |
| 1721 | ac_site_file2=$ac_default_prefix/etc/config.site |
| 1722 | fi |
| 1723 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 1724 | do |
| 1725 | testscip-shell system . . test. "x$ac_site_file" = xNONE && continue |
| 1726 | if testscip-shell system . . test. -r "$ac_site_file"; then |
| 1727 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1728 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1729 | sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5 |
| 1730 | . "$ac_site_file" |
| 1731 | fi |
| 1732 | done |
| 1733 | |
| 1734 | if testscip-shell system . . test. -r "$cache_file"; then |
| 1735 | # Some versions of bash will fail to source /dev/null (special |
| 1736 | # files actually), so we avoid doing that. |
| 1737 | if testscip-shell system . . test. -f "$cache_file"; then |
| 1738 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1739 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
| 1740 | case $cache_file in |
| 1741 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1742 | *) . "./$cache_file";; |
| 1743 | esac |
| 1744 | fi |
| 1745 | else |
| 1746 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 1747 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
| 1748 | >$cache_file |
| 1749 | fi |
| 1750 | |
| 1751 | # Check that the precious variables saved in the cache have kept the same |
| 1752 | # value. |
| 1753 | ac_cache_corrupted=false |
| 1754 | for ac_var in $ac_precious_vars; do |
| 1755 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1756 | eval ac_new_set=\$ac_env_${ac_var}_set |
| 1757 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 1758 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 1759 | case $ac_old_set,$ac_new_set in |
| 1760 | set,) |
| 1761 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1762 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 1763 | ac_cache_corrupted=: ;; |
| 1764 | ,set) |
| 1765 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| 1766 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 1767 | ac_cache_corrupted=: ;; |
| 1768 | ,);; |
| 1769 | *) |
| 1770 | if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then |
| 1771 | # differences in whitespace do not lead to failure. |
| 1772 | ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val` |
| 1773 | ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val` |
| 1774 | if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then |
| 1775 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1776 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1777 | ac_cache_corrupted=: |
| 1778 | else |
| 1779 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 1780 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 1781 | eval $ac_var=\$ac_old_val |
| 1782 | fi |
| 1783 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
| 1784 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 1785 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
| 1786 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 1787 | fi;; |
| 1788 | esac |
| 1789 | # Pass precious variables to config.status. |
| 1790 | if testscip-shell system . . test. "$ac_new_set" = set; then |
| 1791 | case $ac_new_val in |
| 1792 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;; |
| 1793 | *) ac_arg=$ac_var=$ac_new_val ;; |
| 1794 | esac |
| 1795 | case " $ac_configure_args " in |
| 1796 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 1797 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
| 1798 | esac |
| 1799 | fi |
| 1800 | done |
| 1801 | if $ac_cache_corrupted; then |
| 1802 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 1803 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 1804 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
| 1805 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 1806 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
| 1807 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
| 1808 | { (exit 1); exit 1; }; } |
| 1809 | fi |
| 1810 | |
| 1811 | |
| 1812 | |
| 1813 | |
| 1814 | |
| 1815 | |
| 1816 | |
| 1817 | |
| 1818 | |
| 1819 | |
| 1820 | |
| 1821 | |
| 1822 | |
| 1823 | |
| 1824 | |
| 1825 | |
| 1826 | |
| 1827 | |
| 1828 | |
| 1829 | |
| 1830 | |
| 1831 | |
| 1832 | |
| 1833 | |
| 1834 | |
| 1835 | ac_ext=c |
| 1836 | ac_cpp='$CPP $CPPFLAGS' |
| 1837 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1838 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1839 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1840 | |
| 1841 | |
| 1842 | |
| 1843 | ac_config_headers="$ac_config_headers conf.h" |
| 1844 | |
| 1845 | |
| 1846 | ac_aux_dir= |
| 1847 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 1848 | if testscip-shell system . . test. -f "$ac_dir/install-sh"; then |
| 1849 | ac_aux_dir=$ac_dir |
| 1850 | ac_install_sh="$ac_aux_dir/install-sh -c" |
| 1851 | break |
| 1852 | elif testscip-shell system . . test. -f "$ac_dir/install.sh"; then |
| 1853 | ac_aux_dir=$ac_dir |
| 1854 | ac_install_sh="$ac_aux_dir/install.sh -c" |
| 1855 | break |
| 1856 | elif testscip-shell system . . test. -f "$ac_dir/shtool"; then |
| 1857 | ac_aux_dir=$ac_dir |
| 1858 | ac_install_sh="$ac_aux_dir/shtool install -c" |
| 1859 | break |
| 1860 | fi |
| 1861 | done |
| 1862 | if testscip-shell system . . test. -z "$ac_aux_dir"; then |
| 1863 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
| 1864 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
| 1865 | { (exit 1); exit 1; }; } |
| 1866 | fi |
| 1867 | |
| 1868 | # These three variables are undocumented and unsupported, |
| 1869 | # and are intended to be withdrawn in a future Autoconf release. |
| 1870 | # They can cause serious problems if a builder's source tree is in a directory |
| 1871 | # whose full name contains unusual characters. |
| 1872 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 1873 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 1874 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 1875 | |
| 1876 | |
| 1877 | # Make sure we can run config.sub. |
| 1878 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || |
| 1879 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
| 1880 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
| 1881 | { (exit 1); exit 1; }; } |
| 1882 | |
| 1883 | { $as_echo "$as_me:$LINENO: checking build system type" >&5 |
| 1884 | $as_echo_n "checking build system type... " >&6; } |
| 1885 | if testscip-shell system . . test. "${ac_cv_build+set}" = set; then |
| 1886 | $as_echo_n "(cached) " >&6 |
| 1887 | else |
| 1888 | ac_build_alias=$build_alias |
| 1889 | testscip-shell system . . test. "x$ac_build_alias" = x && |
| 1890 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 1891 | testscip-shell system . . test. "x$ac_build_alias" = x && |
| 1892 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 1893 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
| 1894 | { (exit 1); exit 1; }; } |
| 1895 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 1896 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
| 1897 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
| 1898 | { (exit 1); exit 1; }; } |
| 1899 | |
| 1900 | fi |
| 1901 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 1902 | $as_echo "$ac_cv_build" >&6; } |
| 1903 | case $ac_cv_build in |
| 1904 | *-*-*) ;; |
| 1905 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
| 1906 | $as_echo "$as_me: error: invalid value of canonical build" >&2;} |
| 1907 | { (exit 1); exit 1; }; };; |
| 1908 | esac |
| 1909 | build=$ac_cv_build |
| 1910 | ac_save_IFS=$IFS; IFS='-' |
| 1911 | set x $ac_cv_build |
| 1912 | shift |
| 1913 | build_cpu=$1 |
| 1914 | build_vendor=$2 |
| 1915 | shift; shift |
| 1916 | # Remember, the first character of IFS is used to create $*, |
| 1917 | # except with old shells: |
| 1918 | build_os=$* |
| 1919 | IFS=$ac_save_IFS |
| 1920 | case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac |
| 1921 | |
| 1922 | |
| 1923 | { $as_echo "$as_me:$LINENO: checking host system type" >&5 |
| 1924 | $as_echo_n "checking host system type... " >&6; } |
| 1925 | if testscip-shell system . . test. "${ac_cv_host+set}" = set; then |
| 1926 | $as_echo_n "(cached) " >&6 |
| 1927 | else |
| 1928 | if testscip-shell system . . test. "x$host_alias" = x; then |
| 1929 | ac_cv_host=$ac_cv_build |
| 1930 | else |
| 1931 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 1932 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
| 1933 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
| 1934 | { (exit 1); exit 1; }; } |
| 1935 | fi |
| 1936 | |
| 1937 | fi |
| 1938 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 1939 | $as_echo "$ac_cv_host" >&6; } |
| 1940 | case $ac_cv_host in |
| 1941 | *-*-*) ;; |
| 1942 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
| 1943 | $as_echo "$as_me: error: invalid value of canonical host" >&2;} |
| 1944 | { (exit 1); exit 1; }; };; |
| 1945 | esac |
| 1946 | host=$ac_cv_host |
| 1947 | ac_save_IFS=$IFS; IFS='-' |
| 1948 | set x $ac_cv_host |
| 1949 | shift |
| 1950 | host_cpu=$1 |
| 1951 | host_vendor=$2 |
| 1952 | shift; shift |
| 1953 | # Remember, the first character of IFS is used to create $*, |
| 1954 | # except with old shells: |
| 1955 | host_os=$* |
| 1956 | IFS=$ac_save_IFS |
| 1957 | case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac |
| 1958 | |
| 1959 | |
| 1960 | |
| 1961 | # save LDFLAGS |
| 1962 | XLDFLAGS="$LDFLAGS" |
| 1963 | |
| 1964 | # |
| 1965 | # checks that we use in most projects |
| 1966 | # |
| 1967 | ac_ext=c |
| 1968 | ac_cpp='$CPP $CPPFLAGS' |
| 1969 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1970 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1971 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1972 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 1973 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 1974 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 1975 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1976 | $as_echo_n "checking for $ac_word... " >&6; } |
| 1977 | if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then |
| 1978 | $as_echo_n "(cached) " >&6 |
| 1979 | else |
| 1980 | if testscip-shell system . . test. -n "$CC"; then |
| 1981 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1982 | else |
| 1983 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1984 | for as_dir in $PATH |
| 1985 | do |
| 1986 | IFS=$as_save_IFS |
| 1987 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 1988 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 1989 | if { testscip-shell system . . test. -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 1990 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 1991 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1992 | break 2 |
| 1993 | fi |
| 1994 | done |
| 1995 | done |
| 1996 | IFS=$as_save_IFS |
| 1997 | |
| 1998 | fi |
| 1999 | fi |
| 2000 | CC=$ac_cv_prog_CC |
| 2001 | if testscip-shell system . . test. -n "$CC"; then |
| 2002 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 2003 | $as_echo "$CC" >&6; } |
| 2004 | else |
| 2005 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 2006 | $as_echo "no" >&6; } |
| 2007 | fi |
| 2008 | |
| 2009 | |
| 2010 | fi |
| 2011 | if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then |
| 2012 | ac_ct_CC=$CC |
| 2013 | # Extract the first word of "gcc", so it can be a program name with args. |
| 2014 | set dummy gcc; ac_word=$2 |
| 2015 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2016 | $as_echo_n "checking for $ac_word... " >&6; } |
| 2017 | if testscip-shell system . . test. "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2018 | $as_echo_n "(cached) " >&6 |
| 2019 | else |
| 2020 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 2021 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2022 | else |
| 2023 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2024 | for as_dir in $PATH |
| 2025 | do |
| 2026 | IFS=$as_save_IFS |
| 2027 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 2028 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2029 | if { testscip-shell system . . test. -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2030 | ac_cv_prog_ac_ct_CC="gcc" |
| 2031 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2032 | break 2 |
| 2033 | fi |
| 2034 | done |
| 2035 | done |
| 2036 | IFS=$as_save_IFS |
| 2037 | |
| 2038 | fi |
| 2039 | fi |
| 2040 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2041 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 2042 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2043 | $as_echo "$ac_ct_CC" >&6; } |
| 2044 | else |
| 2045 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 2046 | $as_echo "no" >&6; } |
| 2047 | fi |
| 2048 | |
| 2049 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 2050 | CC="" |
| 2051 | else |
| 2052 | case $cross_compiling:$ac_tool_warned in |
| 2053 | yes:) |
| 2054 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 2055 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 2056 | ac_tool_warned=yes ;; |
| 2057 | esac |
| 2058 | CC=$ac_ct_CC |
| 2059 | fi |
| 2060 | else |
| 2061 | CC="$ac_cv_prog_CC" |
| 2062 | fi |
| 2063 | |
| 2064 | if testscip-shell system . . test. -z "$CC"; then |
| 2065 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 2066 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 2067 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 2068 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2069 | $as_echo_n "checking for $ac_word... " >&6; } |
| 2070 | if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then |
| 2071 | $as_echo_n "(cached) " >&6 |
| 2072 | else |
| 2073 | if testscip-shell system . . test. -n "$CC"; then |
| 2074 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2075 | else |
| 2076 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2077 | for as_dir in $PATH |
| 2078 | do |
| 2079 | IFS=$as_save_IFS |
| 2080 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 2081 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2082 | if { testscip-shell system . . test. -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2083 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 2084 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2085 | break 2 |
| 2086 | fi |
| 2087 | done |
| 2088 | done |
| 2089 | IFS=$as_save_IFS |
| 2090 | |
| 2091 | fi |
| 2092 | fi |
| 2093 | CC=$ac_cv_prog_CC |
| 2094 | if testscip-shell system . . test. -n "$CC"; then |
| 2095 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 2096 | $as_echo "$CC" >&6; } |
| 2097 | else |
| 2098 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 2099 | $as_echo "no" >&6; } |
| 2100 | fi |
| 2101 | |
| 2102 | |
| 2103 | fi |
| 2104 | fi |
| 2105 | if testscip-shell system . . test. -z "$CC"; then |
| 2106 | # Extract the first word of "cc", so it can be a program name with args. |
| 2107 | set dummy cc; ac_word=$2 |
| 2108 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2109 | $as_echo_n "checking for $ac_word... " >&6; } |
| 2110 | if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then |
| 2111 | $as_echo_n "(cached) " >&6 |
| 2112 | else |
| 2113 | if testscip-shell system . . test. -n "$CC"; then |
| 2114 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2115 | else |
| 2116 | ac_prog_rejected=no |
| 2117 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2118 | for as_dir in $PATH |
| 2119 | do |
| 2120 | IFS=$as_save_IFS |
| 2121 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 2122 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2123 | if { testscip-shell system . . test. -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2124 | if testscip-shell system . . test. "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then |
| 2125 | ac_prog_rejected=yes |
| 2126 | continue |
| 2127 | fi |
| 2128 | ac_cv_prog_CC="cc" |
| 2129 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2130 | break 2 |
| 2131 | fi |
| 2132 | done |
| 2133 | done |
| 2134 | IFS=$as_save_IFS |
| 2135 | |
| 2136 | if testscip-shell system . . test. $ac_prog_rejected = yes; then |
| 2137 | # We found a bogon in the path, so make sure we never use it. |
| 2138 | set dummy $ac_cv_prog_CC |
| 2139 | shift |
| 2140 | if testscip-shell system . . test. $# != 0; then |
| 2141 | # We chose a different compiler from the bogus one. |
| 2142 | # However, it has the same basename, so the bogon will be chosen |
| 2143 | # first if we set CC to just the basename; use the full file name. |
| 2144 | shift |
| 2145 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 2146 | fi |
| 2147 | fi |
| 2148 | fi |
| 2149 | fi |
| 2150 | CC=$ac_cv_prog_CC |
| 2151 | if testscip-shell system . . test. -n "$CC"; then |
| 2152 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 2153 | $as_echo "$CC" >&6; } |
| 2154 | else |
| 2155 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 2156 | $as_echo "no" >&6; } |
| 2157 | fi |
| 2158 | |
| 2159 | |
| 2160 | fi |
| 2161 | if testscip-shell system . . test. -z "$CC"; then |
| 2162 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 2163 | for ac_prog in cl.exe |
| 2164 | do |
| 2165 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2166 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2167 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2168 | $as_echo_n "checking for $ac_word... " >&6; } |
| 2169 | if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then |
| 2170 | $as_echo_n "(cached) " >&6 |
| 2171 | else |
| 2172 | if testscip-shell system . . test. -n "$CC"; then |
| 2173 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2174 | else |
| 2175 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2176 | for as_dir in $PATH |
| 2177 | do |
| 2178 | IFS=$as_save_IFS |
| 2179 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 2180 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2181 | if { testscip-shell system . . test. -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2182 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 2183 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2184 | break 2 |
| 2185 | fi |
| 2186 | done |
| 2187 | done |
| 2188 | IFS=$as_save_IFS |
| 2189 | |
| 2190 | fi |
| 2191 | fi |
| 2192 | CC=$ac_cv_prog_CC |
| 2193 | if testscip-shell system . . test. -n "$CC"; then |
| 2194 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 2195 | $as_echo "$CC" >&6; } |
| 2196 | else |
| 2197 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 2198 | $as_echo "no" >&6; } |
| 2199 | fi |
| 2200 | |
| 2201 | |
| 2202 | testscip-shell system . . test. -n "$CC" && break |
| 2203 | done |
| 2204 | fi |
| 2205 | if testscip-shell system . . test. -z "$CC"; then |
| 2206 | ac_ct_CC=$CC |
| 2207 | for ac_prog in cl.exe |
| 2208 | do |
| 2209 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2210 | set dummy $ac_prog; ac_word=$2 |
| 2211 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2212 | $as_echo_n "checking for $ac_word... " >&6; } |
| 2213 | if testscip-shell system . . test. "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2214 | $as_echo_n "(cached) " >&6 |
| 2215 | else |
| 2216 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 2217 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2218 | else |
| 2219 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2220 | for as_dir in $PATH |
| 2221 | do |
| 2222 | IFS=$as_save_IFS |
| 2223 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 2224 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2225 | if { testscip-shell system . . test. -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2226 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 2227 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2228 | break 2 |
| 2229 | fi |
| 2230 | done |
| 2231 | done |
| 2232 | IFS=$as_save_IFS |
| 2233 | |
| 2234 | fi |
| 2235 | fi |
| 2236 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2237 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 2238 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2239 | $as_echo "$ac_ct_CC" >&6; } |
| 2240 | else |
| 2241 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 2242 | $as_echo "no" >&6; } |
| 2243 | fi |
| 2244 | |
| 2245 | |
| 2246 | testscip-shell system . . test. -n "$ac_ct_CC" && break |
| 2247 | done |
| 2248 | |
| 2249 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 2250 | CC="" |
| 2251 | else |
| 2252 | case $cross_compiling:$ac_tool_warned in |
| 2253 | yes:) |
| 2254 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 2255 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 2256 | ac_tool_warned=yes ;; |
| 2257 | esac |
| 2258 | CC=$ac_ct_CC |
| 2259 | fi |
| 2260 | fi |
| 2261 | |
| 2262 | fi |
| 2263 | |
| 2264 | |
| 2265 | testscip-shell system . . test. -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 2266 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2267 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 2268 | See \`config.log' for more details." >&5 |
| 2269 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 2270 | See \`config.log' for more details." >&2;} |
| 2271 | { (exit 1); exit 1; }; }; } |
| 2272 | |
| 2273 | # Provide some information about the compiler. |
| 2274 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| 2275 | set X $ac_compile |
| 2276 | ac_compiler=$2 |
| 2277 | { (ac_try="$ac_compiler --version >&5" |
| 2278 | case "(($ac_try" in |
| 2279 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2280 | *) ac_try_echo=$ac_try;; |
| 2281 | esac |
| 2282 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2283 | $as_echo "$ac_try_echo") >&5 |
| 2284 | (eval "$ac_compiler --version >&5") 2>&5 |
| 2285 | ac_status=$? |
| 2286 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2287 | (exit $ac_status); } |
| 2288 | { (ac_try="$ac_compiler -v >&5" |
| 2289 | case "(($ac_try" in |
| 2290 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2291 | *) ac_try_echo=$ac_try;; |
| 2292 | esac |
| 2293 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2294 | $as_echo "$ac_try_echo") >&5 |
| 2295 | (eval "$ac_compiler -v >&5") 2>&5 |
| 2296 | ac_status=$? |
| 2297 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2298 | (exit $ac_status); } |
| 2299 | { (ac_try="$ac_compiler -V >&5" |
| 2300 | case "(($ac_try" in |
| 2301 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2302 | *) ac_try_echo=$ac_try;; |
| 2303 | esac |
| 2304 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2305 | $as_echo "$ac_try_echo") >&5 |
| 2306 | (eval "$ac_compiler -V >&5") 2>&5 |
| 2307 | ac_status=$? |
| 2308 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2309 | (exit $ac_status); } |
| 2310 | |
| 2311 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 2312 | /* confdefs.h. */ |
| 2313 | _ACEOF |
| 2314 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 2315 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 2316 | /* end confdefs.h. */ |
| 2317 | |
| 2318 | int |
| 2319 | main () |
| 2320 | { |
| 2321 | |
| 2322 | ; |
| 2323 | return 0; |
| 2324 | } |
| 2325 | _ACEOF |
| 2326 | ac_clean_files_save=$ac_clean_files |
| 2327 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 2328 | # Try to create an executable without -o first, disregard a.out. |
| 2329 | # It will help us diagnose broken compilers, and finding out an intuition |
| 2330 | # of exeext. |
| 2331 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 2332 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
| 2333 | ac_link_default=`$as_echo "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'` |
| 2334 | |
| 2335 | # The possible output files: |
| 2336 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 2337 | |
| 2338 | ac_rmfiles= |
| 2339 | for ac_file in $ac_files |
| 2340 | do |
| 2341 | case $ac_file in |
| 2342 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 2343 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 2344 | esac |
| 2345 | done |
| 2346 | rmscip-shell system . . rm. -f $ac_rmfiles |
| 2347 | |
| 2348 | if { (ac_try="$ac_link_default" |
| 2349 | case "(($ac_try" in |
| 2350 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2351 | *) ac_try_echo=$ac_try;; |
| 2352 | esac |
| 2353 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2354 | $as_echo "$ac_try_echo") >&5 |
| 2355 | (eval "$ac_link_default") 2>&5 |
| 2356 | ac_status=$? |
| 2357 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2358 | (exit $ac_status); }; then |
| 2359 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 2360 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 2361 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 2362 | # so that the user can short-circuit this test for compilers unknown to |
| 2363 | # Autoconf. |
| 2364 | for ac_file in $ac_files '' |
| 2365 | do |
| 2366 | testscip-shell system . . test. -f "$ac_file" || continue |
| 2367 | case $ac_file in |
| 2368 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
| 2369 | ;; |
| 2370 | [ab].out ) |
| 2371 | # We found the default executable, but exeext='' is most |
| 2372 | # certainly right. |
| 2373 | break;; |
| 2374 | *.* ) |
| 2375 | if testscip-shell system . . test. "${ac_cv_exeext+set}" = set && testscip-shell system . . test. "$ac_cv_exeext" != no; |
| 2376 | then :; else |
| 2377 | ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'` |
| 2378 | fi |
| 2379 | # We set ac_cv_exeext here because the later test for it is not |
| 2380 | # safe: cross compilers may not add the suffix if given an `-o' |
| 2381 | # argument, so we may need to know it at that point already. |
| 2382 | # Even if this section looks crufty: it has the advantage of |
| 2383 | # actually working. |
| 2384 | break;; |
| 2385 | * ) |
| 2386 | break;; |
| 2387 | esac |
| 2388 | done |
| 2389 | testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext= |
| 2390 | |
| 2391 | else |
| 2392 | ac_file='' |
| 2393 | fi |
| 2394 | |
| 2395 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 2396 | $as_echo "$ac_file" >&6; } |
| 2397 | if testscip-shell system . . test. -z "$ac_file"; then |
| 2398 | $as_echo "$as_me: failed program was:" >&5 |
| 2399 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2400 | |
| 2401 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 2402 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2403 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
| 2404 | See \`config.log' for more details." >&5 |
| 2405 | $as_echo "$as_me: error: C compiler cannot create executables |
| 2406 | See \`config.log' for more details." >&2;} |
| 2407 | { (exit 77); exit 77; }; }; } |
| 2408 | fi |
| 2409 | |
| 2410 | ac_exeext=$ac_cv_exeext |
| 2411 | |
| 2412 | # Check that the compiler produces executables we can run. If not, either |
| 2413 | # the compiler is broken, or we cross compile. |
| 2414 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 2415 | $as_echo_n "checking whether the C compiler works... " >&6; } |
| 2416 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 2417 | # If not cross compiling, check that we can run a simple program. |
| 2418 | if testscip-shell system . . test. "$cross_compiling" != yes; then |
| 2419 | if { ac_try='./$ac_file' |
| 2420 | { (case "(($ac_try" in |
| 2421 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2422 | *) ac_try_echo=$ac_try;; |
| 2423 | esac |
| 2424 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2425 | $as_echo "$ac_try_echo") >&5 |
| 2426 | (eval "$ac_try") 2>&5 |
| 2427 | ac_status=$? |
| 2428 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2429 | (exit $ac_status); }; }; then |
| 2430 | cross_compiling=no |
| 2431 | else |
| 2432 | if testscip-shell system . . test. "$cross_compiling" = maybe; then |
| 2433 | cross_compiling=yes |
| 2434 | else |
| 2435 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 2436 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2437 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
| 2438 | If you meant to cross compile, use \`--host'. |
| 2439 | See \`config.log' for more details." >&5 |
| 2440 | $as_echo "$as_me: error: cannot run C compiled programs. |
| 2441 | If you meant to cross compile, use \`--host'. |
| 2442 | See \`config.log' for more details." >&2;} |
| 2443 | { (exit 1); exit 1; }; }; } |
| 2444 | fi |
| 2445 | fi |
| 2446 | fi |
| 2447 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 2448 | $as_echo "yes" >&6; } |
| 2449 | |
| 2450 | rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 2451 | ac_clean_files=$ac_clean_files_save |
| 2452 | # Check that the compiler produces executables we can run. If not, either |
| 2453 | # the compiler is broken, or we cross compile. |
| 2454 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 2455 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
| 2456 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 2457 | $as_echo "$cross_compiling" >&6; } |
| 2458 | |
| 2459 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 2460 | $as_echo_n "checking for suffix of executables... " >&6; } |
| 2461 | if { (ac_try="$ac_link" |
| 2462 | case "(($ac_try" in |
| 2463 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2464 | *) ac_try_echo=$ac_try;; |
| 2465 | esac |
| 2466 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2467 | $as_echo "$ac_try_echo") >&5 |
| 2468 | (eval "$ac_link") 2>&5 |
| 2469 | ac_status=$? |
| 2470 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2471 | (exit $ac_status); }; then |
| 2472 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 2473 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 2474 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
| 2475 | # `rm'. |
| 2476 | for ac_file in conftest.exe conftest conftest.*; do |
| 2477 | testscip-shell system . . test. -f "$ac_file" || continue |
| 2478 | case $ac_file in |
| 2479 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 2480 | *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'` |
| 2481 | break;; |
| 2482 | * ) break;; |
| 2483 | esac |
| 2484 | done |
| 2485 | else |
| 2486 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 2487 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2488 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 2489 | See \`config.log' for more details." >&5 |
| 2490 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| 2491 | See \`config.log' for more details." >&2;} |
| 2492 | { (exit 1); exit 1; }; }; } |
| 2493 | fi |
| 2494 | |
| 2495 | rmscip-shell system . . rm. -f conftest$ac_cv_exeext |
| 2496 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 2497 | $as_echo "$ac_cv_exeext" >&6; } |
| 2498 | |
| 2499 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 2500 | EXEEXT=$ac_cv_exeext |
| 2501 | ac_exeext=$EXEEXT |
| 2502 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 2503 | $as_echo_n "checking for suffix of object files... " >&6; } |
| 2504 | if testscip-shell system . . test. "${ac_cv_objext+set}" = set; then |
| 2505 | $as_echo_n "(cached) " >&6 |
| 2506 | else |
| 2507 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 2508 | /* confdefs.h. */ |
| 2509 | _ACEOF |
| 2510 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 2511 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 2512 | /* end confdefs.h. */ |
| 2513 | |
| 2514 | int |
| 2515 | main () |
| 2516 | { |
| 2517 | |
| 2518 | ; |
| 2519 | return 0; |
| 2520 | } |
| 2521 | _ACEOF |
| 2522 | rmscip-shell system . . rm. -f conftest.o conftest.obj |
| 2523 | if { (ac_try="$ac_compile" |
| 2524 | case "(($ac_try" in |
| 2525 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2526 | *) ac_try_echo=$ac_try;; |
| 2527 | esac |
| 2528 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2529 | $as_echo "$ac_try_echo") >&5 |
| 2530 | (eval "$ac_compile") 2>&5 |
| 2531 | ac_status=$? |
| 2532 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2533 | (exit $ac_status); }; then |
| 2534 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 2535 | testscip-shell system . . test. -f "$ac_file" || continue; |
| 2536 | case $ac_file in |
| 2537 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
| 2538 | *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'` |
| 2539 | break;; |
| 2540 | esac |
| 2541 | done |
| 2542 | else |
| 2543 | $as_echo "$as_me: failed program was:" >&5 |
| 2544 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2545 | |
| 2546 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 2547 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2548 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| 2549 | See \`config.log' for more details." >&5 |
| 2550 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| 2551 | See \`config.log' for more details." >&2;} |
| 2552 | { (exit 1); exit 1; }; }; } |
| 2553 | fi |
| 2554 | |
| 2555 | rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext |
| 2556 | fi |
| 2557 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 2558 | $as_echo "$ac_cv_objext" >&6; } |
| 2559 | OBJEXT=$ac_cv_objext |
| 2560 | ac_objext=$OBJEXT |
| 2561 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 2562 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 2563 | if testscip-shell system . . test. "${ac_cv_c_compiler_gnu+set}" = set; then |
| 2564 | $as_echo_n "(cached) " >&6 |
| 2565 | else |
| 2566 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 2567 | /* confdefs.h. */ |
| 2568 | _ACEOF |
| 2569 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 2570 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 2571 | /* end confdefs.h. */ |
| 2572 | |
| 2573 | int |
| 2574 | main () |
| 2575 | { |
| 2576 | #ifndef __GNUC__ |
| 2577 | choke me |
| 2578 | #endif |
| 2579 | |
| 2580 | ; |
| 2581 | return 0; |
| 2582 | } |
| 2583 | _ACEOF |
| 2584 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 2585 | if { (ac_try="$ac_compile" |
| 2586 | case "(($ac_try" in |
| 2587 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2588 | *) ac_try_echo=$ac_try;; |
| 2589 | esac |
| 2590 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2591 | $as_echo "$ac_try_echo") >&5 |
| 2592 | (eval "$ac_compile") 2>conftest.er1 |
| 2593 | ac_status=$? |
| 2594 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 2595 | rmscip-shell system . . rm. -f conftest.er1 |
| 2596 | catscip-shell system . . cat. conftest.err >&5 |
| 2597 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2598 | (exit $ac_status); } && { |
| 2599 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 2600 | testscip-shell system . . test. ! -s conftest.err |
| 2601 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 2602 | ac_compiler_gnu=yes |
| 2603 | else |
| 2604 | $as_echo "$as_me: failed program was:" >&5 |
| 2605 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2606 | |
| 2607 | ac_compiler_gnu=no |
| 2608 | fi |
| 2609 | |
| 2610 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2611 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 2612 | |
| 2613 | fi |
| 2614 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2615 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 2616 | if testscip-shell system . . test. $ac_compiler_gnu = yes; then |
| 2617 | GCC=yes |
| 2618 | else |
| 2619 | GCC= |
| 2620 | fi |
| 2621 | ac_test_CFLAGS=${CFLAGS+set} |
| 2622 | ac_save_CFLAGS=$CFLAGS |
| 2623 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 2624 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 2625 | if testscip-shell system . . test. "${ac_cv_prog_cc_g+set}" = set; then |
| 2626 | $as_echo_n "(cached) " >&6 |
| 2627 | else |
| 2628 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 2629 | ac_c_werror_flag=yes |
| 2630 | ac_cv_prog_cc_g=no |
| 2631 | CFLAGS="-g" |
| 2632 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 2633 | /* confdefs.h. */ |
| 2634 | _ACEOF |
| 2635 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 2636 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 2637 | /* end confdefs.h. */ |
| 2638 | |
| 2639 | int |
| 2640 | main () |
| 2641 | { |
| 2642 | |
| 2643 | ; |
| 2644 | return 0; |
| 2645 | } |
| 2646 | _ACEOF |
| 2647 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 2648 | if { (ac_try="$ac_compile" |
| 2649 | case "(($ac_try" in |
| 2650 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2651 | *) ac_try_echo=$ac_try;; |
| 2652 | esac |
| 2653 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2654 | $as_echo "$ac_try_echo") >&5 |
| 2655 | (eval "$ac_compile") 2>conftest.er1 |
| 2656 | ac_status=$? |
| 2657 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 2658 | rmscip-shell system . . rm. -f conftest.er1 |
| 2659 | catscip-shell system . . cat. conftest.err >&5 |
| 2660 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2661 | (exit $ac_status); } && { |
| 2662 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 2663 | testscip-shell system . . test. ! -s conftest.err |
| 2664 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 2665 | ac_cv_prog_cc_g=yes |
| 2666 | else |
| 2667 | $as_echo "$as_me: failed program was:" >&5 |
| 2668 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2669 | |
| 2670 | CFLAGS="" |
| 2671 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 2672 | /* confdefs.h. */ |
| 2673 | _ACEOF |
| 2674 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 2675 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 2676 | /* end confdefs.h. */ |
| 2677 | |
| 2678 | int |
| 2679 | main () |
| 2680 | { |
| 2681 | |
| 2682 | ; |
| 2683 | return 0; |
| 2684 | } |
| 2685 | _ACEOF |
| 2686 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 2687 | if { (ac_try="$ac_compile" |
| 2688 | case "(($ac_try" in |
| 2689 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2690 | *) ac_try_echo=$ac_try;; |
| 2691 | esac |
| 2692 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2693 | $as_echo "$ac_try_echo") >&5 |
| 2694 | (eval "$ac_compile") 2>conftest.er1 |
| 2695 | ac_status=$? |
| 2696 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 2697 | rmscip-shell system . . rm. -f conftest.er1 |
| 2698 | catscip-shell system . . cat. conftest.err >&5 |
| 2699 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2700 | (exit $ac_status); } && { |
| 2701 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 2702 | testscip-shell system . . test. ! -s conftest.err |
| 2703 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 2704 | : |
| 2705 | else |
| 2706 | $as_echo "$as_me: failed program was:" >&5 |
| 2707 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2708 | |
| 2709 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 2710 | CFLAGS="-g" |
| 2711 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 2712 | /* confdefs.h. */ |
| 2713 | _ACEOF |
| 2714 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 2715 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 2716 | /* end confdefs.h. */ |
| 2717 | |
| 2718 | int |
| 2719 | main () |
| 2720 | { |
| 2721 | |
| 2722 | ; |
| 2723 | return 0; |
| 2724 | } |
| 2725 | _ACEOF |
| 2726 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 2727 | if { (ac_try="$ac_compile" |
| 2728 | case "(($ac_try" in |
| 2729 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2730 | *) ac_try_echo=$ac_try;; |
| 2731 | esac |
| 2732 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2733 | $as_echo "$ac_try_echo") >&5 |
| 2734 | (eval "$ac_compile") 2>conftest.er1 |
| 2735 | ac_status=$? |
| 2736 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 2737 | rmscip-shell system . . rm. -f conftest.er1 |
| 2738 | catscip-shell system . . cat. conftest.err >&5 |
| 2739 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2740 | (exit $ac_status); } && { |
| 2741 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 2742 | testscip-shell system . . test. ! -s conftest.err |
| 2743 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 2744 | ac_cv_prog_cc_g=yes |
| 2745 | else |
| 2746 | $as_echo "$as_me: failed program was:" >&5 |
| 2747 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2748 | |
| 2749 | |
| 2750 | fi |
| 2751 | |
| 2752 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2753 | fi |
| 2754 | |
| 2755 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2756 | fi |
| 2757 | |
| 2758 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2759 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 2760 | fi |
| 2761 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 2762 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
| 2763 | if testscip-shell system . . test. "$ac_test_CFLAGS" = set; then |
| 2764 | CFLAGS=$ac_save_CFLAGS |
| 2765 | elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then |
| 2766 | if testscip-shell system . . test. "$GCC" = yes; then |
| 2767 | CFLAGS="-g -O2" |
| 2768 | else |
| 2769 | CFLAGS="-g" |
| 2770 | fi |
| 2771 | else |
| 2772 | if testscip-shell system . . test. "$GCC" = yes; then |
| 2773 | CFLAGS="-O2" |
| 2774 | else |
| 2775 | CFLAGS= |
| 2776 | fi |
| 2777 | fi |
| 2778 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 2779 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 2780 | if testscip-shell system . . test. "${ac_cv_prog_cc_c89+set}" = set; then |
| 2781 | $as_echo_n "(cached) " >&6 |
| 2782 | else |
| 2783 | ac_cv_prog_cc_c89=no |
| 2784 | ac_save_CC=$CC |
| 2785 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 2786 | /* confdefs.h. */ |
| 2787 | _ACEOF |
| 2788 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 2789 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 2790 | /* end confdefs.h. */ |
| 2791 | #include <stdarg.h> |
| 2792 | #include <stdio.h> |
| 2793 | #include <sys/types.h> |
| 2794 | #include <sys/stat.h> |
| 2795 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 2796 | struct buf { int x; }; |
| 2797 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 2798 | static char *e (p, i) |
| 2799 | char **p; |
| 2800 | int i; |
| 2801 | { |
| 2802 | return p[i]; |
| 2803 | } |
| 2804 | static char *f (char * (*g) (char **, int), char **p, ...) |
| 2805 | { |
| 2806 | char *s; |
| 2807 | va_list v; |
| 2808 | va_start (v,p); |
| 2809 | s = g (p, va_arg (v,int)); |
| 2810 | va_end (v); |
| 2811 | return s; |
| 2812 | } |
| 2813 | |
| 2814 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2815 | function prototypes and stuff, but not '\xHH' hex character constants. |
| 2816 | These don't provoke an error unfortunately, instead are silently treated |
| 2817 | as 'x'. The following induces an error, until -std is added to get |
| 2818 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 2819 | array size at least. It's necessary to write '\x00'==0 to get something |
| 2820 | that's true only with -std. */ |
| 2821 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 2822 | |
| 2823 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 2824 | inside strings and character constants. */ |
| 2825 | #define FOO(x) 'x' |
| 2826 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 2827 | |
| 2828 | int test (int i, double x); |
| 2829 | struct s1 {int (*f) (int a);}; |
| 2830 | struct s2 {int (*f) (double a);}; |
| 2831 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 2832 | int argc; |
| 2833 | char **argv; |
| 2834 | int |
| 2835 | main () |
| 2836 | { |
| 2837 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 2838 | ; |
| 2839 | return 0; |
| 2840 | } |
| 2841 | _ACEOF |
| 2842 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 2843 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 2844 | do |
| 2845 | CC="$ac_save_CC $ac_arg" |
| 2846 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 2847 | if { (ac_try="$ac_compile" |
| 2848 | case "(($ac_try" in |
| 2849 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2850 | *) ac_try_echo=$ac_try;; |
| 2851 | esac |
| 2852 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2853 | $as_echo "$ac_try_echo") >&5 |
| 2854 | (eval "$ac_compile") 2>conftest.er1 |
| 2855 | ac_status=$? |
| 2856 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 2857 | rmscip-shell system . . rm. -f conftest.er1 |
| 2858 | catscip-shell system . . cat. conftest.err >&5 |
| 2859 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2860 | (exit $ac_status); } && { |
| 2861 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 2862 | testscip-shell system . . test. ! -s conftest.err |
| 2863 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 2864 | ac_cv_prog_cc_c89=$ac_arg |
| 2865 | else |
| 2866 | $as_echo "$as_me: failed program was:" >&5 |
| 2867 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2868 | |
| 2869 | |
| 2870 | fi |
| 2871 | |
| 2872 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext |
| 2873 | testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break |
| 2874 | done |
| 2875 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 2876 | CC=$ac_save_CC |
| 2877 | |
| 2878 | fi |
| 2879 | # AC_CACHE_VAL |
| 2880 | case "x$ac_cv_prog_cc_c89" in |
| 2881 | x) |
| 2882 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
| 2883 | $as_echo "none needed" >&6; } ;; |
| 2884 | xno) |
| 2885 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
| 2886 | $as_echo "unsupported" >&6; } ;; |
| 2887 | *) |
| 2888 | CC="$CC $ac_cv_prog_cc_c89" |
| 2889 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| 2890 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 2891 | esac |
| 2892 | |
| 2893 | |
| 2894 | ac_ext=c |
| 2895 | ac_cpp='$CPP $CPPFLAGS' |
| 2896 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2897 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2898 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2899 | |
| 2900 | |
| 2901 | |
| 2902 | if testscip-shell system . . test. x"${EXEEXT}" = "xno"; then |
| 2903 | EXEEXT="" |
| 2904 | fi |
| 2905 | |
| 2906 | |
| 2907 | ac_ext=c |
| 2908 | ac_cpp='$CPP $CPPFLAGS' |
| 2909 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2910 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2911 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2912 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 2913 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 2914 | # On Suns, sometimes $CPP names a directory. |
| 2915 | if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then |
| 2916 | CPP= |
| 2917 | fi |
| 2918 | if testscip-shell system . . test. -z "$CPP"; then |
| 2919 | if testscip-shell system . . test. "${ac_cv_prog_CPP+set}" = set; then |
| 2920 | $as_echo_n "(cached) " >&6 |
| 2921 | else |
| 2922 | # Double quotes because CPP needs to be expanded |
| 2923 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cppscip-shell filesystem . . `/lib/cpp`." |
| 2924 | do |
| 2925 | ac_preproc_ok=false |
| 2926 | for ac_c_preproc_warn_flag in '' yes |
| 2927 | do |
| 2928 | # Use a header file that comes with gcc, so configuring glibc |
| 2929 | # with a fresh cross-compiler works. |
| 2930 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 2931 | # <limits.h> exists even on freestanding compilers. |
| 2932 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2933 | # not just through cpp. "Syntax error" is here to catch this case. |
| 2934 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 2935 | /* confdefs.h. */ |
| 2936 | _ACEOF |
| 2937 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 2938 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 2939 | /* end confdefs.h. */ |
| 2940 | #ifdef __STDC__ |
| 2941 | # include <limits.h> |
| 2942 | #else |
| 2943 | # include <assert.h> |
| 2944 | #endif |
| 2945 | Syntax error |
| 2946 | _ACEOF |
| 2947 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 2948 | case "(($ac_try" in |
| 2949 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2950 | *) ac_try_echo=$ac_try;; |
| 2951 | esac |
| 2952 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2953 | $as_echo "$ac_try_echo") >&5 |
| 2954 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 2955 | ac_status=$? |
| 2956 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 2957 | rmscip-shell system . . rm. -f conftest.er1 |
| 2958 | catscip-shell system . . cat. conftest.err >&5 |
| 2959 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2960 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 2961 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 2962 | testscip-shell system . . test. ! -s conftest.err |
| 2963 | }; then |
| 2964 | : |
| 2965 | else |
| 2966 | $as_echo "$as_me: failed program was:" >&5 |
| 2967 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2968 | |
| 2969 | # Broken: fails on valid input. |
| 2970 | continue |
| 2971 | fi |
| 2972 | |
| 2973 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 2974 | |
| 2975 | # OK, works on sane cases. Now check whether nonexistent headers |
| 2976 | # can be detected and how. |
| 2977 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 2978 | /* confdefs.h. */ |
| 2979 | _ACEOF |
| 2980 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 2981 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 2982 | /* end confdefs.h. */ |
| 2983 | #include <ac_nonexistent.h> |
| 2984 | _ACEOF |
| 2985 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 2986 | case "(($ac_try" in |
| 2987 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2988 | *) ac_try_echo=$ac_try;; |
| 2989 | esac |
| 2990 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 2991 | $as_echo "$ac_try_echo") >&5 |
| 2992 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 2993 | ac_status=$? |
| 2994 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 2995 | rmscip-shell system . . rm. -f conftest.er1 |
| 2996 | catscip-shell system . . cat. conftest.err >&5 |
| 2997 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2998 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 2999 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3000 | testscip-shell system . . test. ! -s conftest.err |
| 3001 | }; then |
| 3002 | # Broken: success on invalid input. |
| 3003 | continue |
| 3004 | else |
| 3005 | $as_echo "$as_me: failed program was:" >&5 |
| 3006 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3007 | |
| 3008 | # Passes both tests. |
| 3009 | ac_preproc_ok=: |
| 3010 | break |
| 3011 | fi |
| 3012 | |
| 3013 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 3014 | |
| 3015 | done |
| 3016 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3017 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 3018 | if $ac_preproc_ok; then |
| 3019 | break |
| 3020 | fi |
| 3021 | |
| 3022 | done |
| 3023 | ac_cv_prog_CPP=$CPP |
| 3024 | |
| 3025 | fi |
| 3026 | CPP=$ac_cv_prog_CPP |
| 3027 | else |
| 3028 | ac_cv_prog_CPP=$CPP |
| 3029 | fi |
| 3030 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
| 3031 | $as_echo "$CPP" >&6; } |
| 3032 | ac_preproc_ok=false |
| 3033 | for ac_c_preproc_warn_flag in '' yes |
| 3034 | do |
| 3035 | # Use a header file that comes with gcc, so configuring glibc |
| 3036 | # with a fresh cross-compiler works. |
| 3037 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3038 | # <limits.h> exists even on freestanding compilers. |
| 3039 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 3040 | # not just through cpp. "Syntax error" is here to catch this case. |
| 3041 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3042 | /* confdefs.h. */ |
| 3043 | _ACEOF |
| 3044 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3045 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3046 | /* end confdefs.h. */ |
| 3047 | #ifdef __STDC__ |
| 3048 | # include <limits.h> |
| 3049 | #else |
| 3050 | # include <assert.h> |
| 3051 | #endif |
| 3052 | Syntax error |
| 3053 | _ACEOF |
| 3054 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3055 | case "(($ac_try" in |
| 3056 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3057 | *) ac_try_echo=$ac_try;; |
| 3058 | esac |
| 3059 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3060 | $as_echo "$ac_try_echo") >&5 |
| 3061 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 3062 | ac_status=$? |
| 3063 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 3064 | rmscip-shell system . . rm. -f conftest.er1 |
| 3065 | catscip-shell system . . cat. conftest.err >&5 |
| 3066 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3067 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 3068 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3069 | testscip-shell system . . test. ! -s conftest.err |
| 3070 | }; then |
| 3071 | : |
| 3072 | else |
| 3073 | $as_echo "$as_me: failed program was:" >&5 |
| 3074 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3075 | |
| 3076 | # Broken: fails on valid input. |
| 3077 | continue |
| 3078 | fi |
| 3079 | |
| 3080 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 3081 | |
| 3082 | # OK, works on sane cases. Now check whether nonexistent headers |
| 3083 | # can be detected and how. |
| 3084 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3085 | /* confdefs.h. */ |
| 3086 | _ACEOF |
| 3087 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3088 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3089 | /* end confdefs.h. */ |
| 3090 | #include <ac_nonexistent.h> |
| 3091 | _ACEOF |
| 3092 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3093 | case "(($ac_try" in |
| 3094 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3095 | *) ac_try_echo=$ac_try;; |
| 3096 | esac |
| 3097 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3098 | $as_echo "$ac_try_echo") >&5 |
| 3099 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 3100 | ac_status=$? |
| 3101 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 3102 | rmscip-shell system . . rm. -f conftest.er1 |
| 3103 | catscip-shell system . . cat. conftest.err >&5 |
| 3104 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3105 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 3106 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3107 | testscip-shell system . . test. ! -s conftest.err |
| 3108 | }; then |
| 3109 | # Broken: success on invalid input. |
| 3110 | continue |
| 3111 | else |
| 3112 | $as_echo "$as_me: failed program was:" >&5 |
| 3113 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3114 | |
| 3115 | # Passes both tests. |
| 3116 | ac_preproc_ok=: |
| 3117 | break |
| 3118 | fi |
| 3119 | |
| 3120 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 3121 | |
| 3122 | done |
| 3123 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3124 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 3125 | if $ac_preproc_ok; then |
| 3126 | : |
| 3127 | else |
| 3128 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 3129 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3130 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 3131 | See \`config.log' for more details." >&5 |
| 3132 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 3133 | See \`config.log' for more details." >&2;} |
| 3134 | { (exit 1); exit 1; }; }; } |
| 3135 | fi |
| 3136 | |
| 3137 | ac_ext=c |
| 3138 | ac_cpp='$CPP $CPPFLAGS' |
| 3139 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3140 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3141 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3142 | |
| 3143 | |
| 3144 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
| 3145 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 3146 | if testscip-shell system . . test. "${ac_cv_path_GREP+set}" = set; then |
| 3147 | $as_echo_n "(cached) " >&6 |
| 3148 | else |
| 3149 | if testscip-shell system . . test. -z "$GREP"; then |
| 3150 | ac_path_GREP_found=false |
| 3151 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 3152 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3153 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 3154 | do |
| 3155 | IFS=$as_save_IFS |
| 3156 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 3157 | for ac_prog in grep ggrep; do |
| 3158 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3159 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 3160 | { testscip-shell system . . test. -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| 3161 | # Check for GNU ac_path_GREP and select it if it is found. |
| 3162 | # Check for GNU $ac_path_GREP |
| 3163 | case `"$ac_path_GREP" --version 2>&1` in |
| 3164 | *GNU*) |
| 3165 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 3166 | *) |
| 3167 | ac_count=0 |
| 3168 | $as_echo_n 0123456789 >"conftest.in" |
| 3169 | while : |
| 3170 | do |
| 3171 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 3172 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 3173 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 3174 | $as_echo 'GREP' >> "conftest.nl" |
| 3175 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 3176 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 3177 | ac_count=`exprscip-shell system . . expr. $ac_count + 1` |
| 3178 | if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then |
| 3179 | # Best one so far, save it but keep looking for a better one |
| 3180 | ac_cv_path_GREP="$ac_path_GREP" |
| 3181 | ac_path_GREP_max=$ac_count |
| 3182 | fi |
| 3183 | # 10*(2^10) chars as input seems more than enough |
| 3184 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 3185 | done |
| 3186 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 3187 | esac |
| 3188 | |
| 3189 | $ac_path_GREP_found && break 3 |
| 3190 | done |
| 3191 | done |
| 3192 | done |
| 3193 | IFS=$as_save_IFS |
| 3194 | if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then |
| 3195 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 3196 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| 3197 | { (exit 1); exit 1; }; } |
| 3198 | fi |
| 3199 | else |
| 3200 | ac_cv_path_GREP=$GREP |
| 3201 | fi |
| 3202 | |
| 3203 | fi |
| 3204 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
| 3205 | $as_echo "$ac_cv_path_GREP" >&6; } |
| 3206 | GREP="$ac_cv_path_GREP" |
| 3207 | |
| 3208 | |
| 3209 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
| 3210 | $as_echo_n "checking for egrep... " >&6; } |
| 3211 | if testscip-shell system . . test. "${ac_cv_path_EGREP+set}" = set; then |
| 3212 | $as_echo_n "(cached) " >&6 |
| 3213 | else |
| 3214 | if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 3215 | then ac_cv_path_EGREP="$GREP -E" |
| 3216 | else |
| 3217 | if testscip-shell system . . test. -z "$EGREP"; then |
| 3218 | ac_path_EGREP_found=false |
| 3219 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 3220 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3221 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 3222 | do |
| 3223 | IFS=$as_save_IFS |
| 3224 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 3225 | for ac_prog in egrep; do |
| 3226 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3227 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 3228 | { testscip-shell system . . test. -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 3229 | # Check for GNU ac_path_EGREP and select it if it is found. |
| 3230 | # Check for GNU $ac_path_EGREP |
| 3231 | case `"$ac_path_EGREP" --version 2>&1` in |
| 3232 | *GNU*) |
| 3233 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 3234 | *) |
| 3235 | ac_count=0 |
| 3236 | $as_echo_n 0123456789 >"conftest.in" |
| 3237 | while : |
| 3238 | do |
| 3239 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 3240 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 3241 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 3242 | $as_echo 'EGREP' >> "conftest.nl" |
| 3243 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 3244 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 3245 | ac_count=`exprscip-shell system . . expr. $ac_count + 1` |
| 3246 | if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 3247 | # Best one so far, save it but keep looking for a better one |
| 3248 | ac_cv_path_EGREP="$ac_path_EGREP" |
| 3249 | ac_path_EGREP_max=$ac_count |
| 3250 | fi |
| 3251 | # 10*(2^10) chars as input seems more than enough |
| 3252 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 3253 | done |
| 3254 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 3255 | esac |
| 3256 | |
| 3257 | $ac_path_EGREP_found && break 3 |
| 3258 | done |
| 3259 | done |
| 3260 | done |
| 3261 | IFS=$as_save_IFS |
| 3262 | if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then |
| 3263 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 3264 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| 3265 | { (exit 1); exit 1; }; } |
| 3266 | fi |
| 3267 | else |
| 3268 | ac_cv_path_EGREP=$EGREP |
| 3269 | fi |
| 3270 | |
| 3271 | fi |
| 3272 | fi |
| 3273 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
| 3274 | $as_echo "$ac_cv_path_EGREP" >&6; } |
| 3275 | EGREP="$ac_cv_path_EGREP" |
| 3276 | |
| 3277 | |
| 3278 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 3279 | $as_echo_n "checking for ANSI C header files... " >&6; } |
| 3280 | if testscip-shell system . . test. "${ac_cv_header_stdc+set}" = set; then |
| 3281 | $as_echo_n "(cached) " >&6 |
| 3282 | else |
| 3283 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3284 | /* confdefs.h. */ |
| 3285 | _ACEOF |
| 3286 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3287 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3288 | /* end confdefs.h. */ |
| 3289 | #include <stdlib.h> |
| 3290 | #include <stdarg.h> |
| 3291 | #include <string.h> |
| 3292 | #include <float.h> |
| 3293 | |
| 3294 | int |
| 3295 | main () |
| 3296 | { |
| 3297 | |
| 3298 | ; |
| 3299 | return 0; |
| 3300 | } |
| 3301 | _ACEOF |
| 3302 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 3303 | if { (ac_try="$ac_compile" |
| 3304 | case "(($ac_try" in |
| 3305 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3306 | *) ac_try_echo=$ac_try;; |
| 3307 | esac |
| 3308 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3309 | $as_echo "$ac_try_echo") >&5 |
| 3310 | (eval "$ac_compile") 2>conftest.er1 |
| 3311 | ac_status=$? |
| 3312 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 3313 | rmscip-shell system . . rm. -f conftest.er1 |
| 3314 | catscip-shell system . . cat. conftest.err >&5 |
| 3315 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3316 | (exit $ac_status); } && { |
| 3317 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 3318 | testscip-shell system . . test. ! -s conftest.err |
| 3319 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 3320 | ac_cv_header_stdc=yes |
| 3321 | else |
| 3322 | $as_echo "$as_me: failed program was:" >&5 |
| 3323 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3324 | |
| 3325 | ac_cv_header_stdc=no |
| 3326 | fi |
| 3327 | |
| 3328 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3329 | |
| 3330 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 3331 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3332 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3333 | /* confdefs.h. */ |
| 3334 | _ACEOF |
| 3335 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3336 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3337 | /* end confdefs.h. */ |
| 3338 | #include <string.h> |
| 3339 | |
| 3340 | _ACEOF |
| 3341 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3342 | $EGREP "memchr" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3343 | : |
| 3344 | else |
| 3345 | ac_cv_header_stdc=no |
| 3346 | fi |
| 3347 | rmscip-shell system . . rm. -f conftest* |
| 3348 | |
| 3349 | fi |
| 3350 | |
| 3351 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 3352 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3353 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3354 | /* confdefs.h. */ |
| 3355 | _ACEOF |
| 3356 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3357 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3358 | /* end confdefs.h. */ |
| 3359 | #include <stdlib.h> |
| 3360 | |
| 3361 | _ACEOF |
| 3362 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3363 | $EGREP "free" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3364 | : |
| 3365 | else |
| 3366 | ac_cv_header_stdc=no |
| 3367 | fi |
| 3368 | rmscip-shell system . . rm. -f conftest* |
| 3369 | |
| 3370 | fi |
| 3371 | |
| 3372 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 3373 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3374 | if testscip-shell system . . test. "$cross_compiling" = yes; then |
| 3375 | : |
| 3376 | else |
| 3377 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3378 | /* confdefs.h. */ |
| 3379 | _ACEOF |
| 3380 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3381 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3382 | /* end confdefs.h. */ |
| 3383 | #include <ctype.h> |
| 3384 | #include <stdlib.h> |
| 3385 | #if ((' ' & 0x0FF) == 0x020) |
| 3386 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3387 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3388 | #else |
| 3389 | # define ISLOWER(c) \ |
| 3390 | (('a' <= (c) && (c) <= 'i') \ |
| 3391 | || ('j' <= (c) && (c) <= 'r') \ |
| 3392 | || ('s' <= (c) && (c) <= 'z')) |
| 3393 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 3394 | #endif |
| 3395 | |
| 3396 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3397 | int |
| 3398 | main () |
| 3399 | { |
| 3400 | int i; |
| 3401 | for (i = 0; i < 256; i++) |
| 3402 | if (XOR (islower (i), ISLOWER (i)) |
| 3403 | || toupper (i) != TOUPPER (i)) |
| 3404 | return 2; |
| 3405 | return 0; |
| 3406 | } |
| 3407 | _ACEOF |
| 3408 | rmscip-shell system . . rm. -f conftest$ac_exeext |
| 3409 | if { (ac_try="$ac_link" |
| 3410 | case "(($ac_try" in |
| 3411 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3412 | *) ac_try_echo=$ac_try;; |
| 3413 | esac |
| 3414 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3415 | $as_echo "$ac_try_echo") >&5 |
| 3416 | (eval "$ac_link") 2>&5 |
| 3417 | ac_status=$? |
| 3418 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3419 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 3420 | { (case "(($ac_try" in |
| 3421 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3422 | *) ac_try_echo=$ac_try;; |
| 3423 | esac |
| 3424 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3425 | $as_echo "$ac_try_echo") >&5 |
| 3426 | (eval "$ac_try") 2>&5 |
| 3427 | ac_status=$? |
| 3428 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3429 | (exit $ac_status); }; }; then |
| 3430 | : |
| 3431 | else |
| 3432 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 3433 | $as_echo "$as_me: failed program was:" >&5 |
| 3434 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3435 | |
| 3436 | ( exit $ac_status ) |
| 3437 | ac_cv_header_stdc=no |
| 3438 | fi |
| 3439 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 3440 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 3441 | fi |
| 3442 | |
| 3443 | |
| 3444 | fi |
| 3445 | fi |
| 3446 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 3447 | $as_echo "$ac_cv_header_stdc" >&6; } |
| 3448 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 3449 | |
| 3450 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 3451 | #define STDC_HEADERS 1 |
| 3452 | _ACEOF |
| 3453 | |
| 3454 | fi |
| 3455 | |
| 3456 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 3457 | |
| 3458 | |
| 3459 | |
| 3460 | |
| 3461 | |
| 3462 | |
| 3463 | |
| 3464 | |
| 3465 | |
| 3466 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 3467 | inttypes.h stdint.h unistd.h |
| 3468 | do |
| 3469 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 3470 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 3471 | $as_echo_n "checking for $ac_header... " >&6; } |
| 3472 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 3473 | $as_echo_n "(cached) " >&6 |
| 3474 | else |
| 3475 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3476 | /* confdefs.h. */ |
| 3477 | _ACEOF |
| 3478 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3479 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3480 | /* end confdefs.h. */ |
| 3481 | $ac_includes_default |
| 3482 | |
| 3483 | #include <$ac_header> |
| 3484 | _ACEOF |
| 3485 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 3486 | if { (ac_try="$ac_compile" |
| 3487 | case "(($ac_try" in |
| 3488 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3489 | *) ac_try_echo=$ac_try;; |
| 3490 | esac |
| 3491 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3492 | $as_echo "$ac_try_echo") >&5 |
| 3493 | (eval "$ac_compile") 2>conftest.er1 |
| 3494 | ac_status=$? |
| 3495 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 3496 | rmscip-shell system . . rm. -f conftest.er1 |
| 3497 | catscip-shell system . . cat. conftest.err >&5 |
| 3498 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3499 | (exit $ac_status); } && { |
| 3500 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 3501 | testscip-shell system . . test. ! -s conftest.err |
| 3502 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 3503 | eval "$as_ac_Header=yes" |
| 3504 | else |
| 3505 | $as_echo "$as_me: failed program was:" >&5 |
| 3506 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3507 | |
| 3508 | eval "$as_ac_Header=no" |
| 3509 | fi |
| 3510 | |
| 3511 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3512 | fi |
| 3513 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 3514 | $as_echo "$as_val"'` |
| 3515 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 3516 | $as_echo "$ac_res" >&6; } |
| 3517 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 3518 | $as_echo "$as_val"'` |
| 3519 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 3520 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 3521 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 3522 | _ACEOF |
| 3523 | |
| 3524 | fi |
| 3525 | |
| 3526 | done |
| 3527 | |
| 3528 | |
| 3529 | # The cast to long int works around a bug in the HP C Compiler |
| 3530 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 3531 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 3532 | # This bug is HP SR number 8606223364. |
| 3533 | { $as_echo "$as_me:$LINENO: checking size of long" >&5 |
| 3534 | $as_echo_n "checking size of long... " >&6; } |
| 3535 | if testscip-shell system . . test. "${ac_cv_sizeof_long+set}" = set; then |
| 3536 | $as_echo_n "(cached) " >&6 |
| 3537 | else |
| 3538 | if testscip-shell system . . test. "$cross_compiling" = yes; then |
| 3539 | # Depending upon the size, compute the lo and hi bounds. |
| 3540 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3541 | /* confdefs.h. */ |
| 3542 | _ACEOF |
| 3543 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3544 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3545 | /* end confdefs.h. */ |
| 3546 | $ac_includes_default |
| 3547 | int |
| 3548 | main () |
| 3549 | { |
| 3550 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; |
| 3551 | test_array [0] = 0 |
| 3552 | |
| 3553 | ; |
| 3554 | return 0; |
| 3555 | } |
| 3556 | _ACEOF |
| 3557 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 3558 | if { (ac_try="$ac_compile" |
| 3559 | case "(($ac_try" in |
| 3560 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3561 | *) ac_try_echo=$ac_try;; |
| 3562 | esac |
| 3563 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3564 | $as_echo "$ac_try_echo") >&5 |
| 3565 | (eval "$ac_compile") 2>conftest.er1 |
| 3566 | ac_status=$? |
| 3567 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 3568 | rmscip-shell system . . rm. -f conftest.er1 |
| 3569 | catscip-shell system . . cat. conftest.err >&5 |
| 3570 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3571 | (exit $ac_status); } && { |
| 3572 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 3573 | testscip-shell system . . test. ! -s conftest.err |
| 3574 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 3575 | ac_lo=0 ac_mid=0 |
| 3576 | while :; do |
| 3577 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3578 | /* confdefs.h. */ |
| 3579 | _ACEOF |
| 3580 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3581 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3582 | /* end confdefs.h. */ |
| 3583 | $ac_includes_default |
| 3584 | int |
| 3585 | main () |
| 3586 | { |
| 3587 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; |
| 3588 | test_array [0] = 0 |
| 3589 | |
| 3590 | ; |
| 3591 | return 0; |
| 3592 | } |
| 3593 | _ACEOF |
| 3594 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 3595 | if { (ac_try="$ac_compile" |
| 3596 | case "(($ac_try" in |
| 3597 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3598 | *) ac_try_echo=$ac_try;; |
| 3599 | esac |
| 3600 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3601 | $as_echo "$ac_try_echo") >&5 |
| 3602 | (eval "$ac_compile") 2>conftest.er1 |
| 3603 | ac_status=$? |
| 3604 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 3605 | rmscip-shell system . . rm. -f conftest.er1 |
| 3606 | catscip-shell system . . cat. conftest.err >&5 |
| 3607 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3608 | (exit $ac_status); } && { |
| 3609 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 3610 | testscip-shell system . . test. ! -s conftest.err |
| 3611 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 3612 | ac_hi=$ac_mid; break |
| 3613 | else |
| 3614 | $as_echo "$as_me: failed program was:" >&5 |
| 3615 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3616 | |
| 3617 | ac_lo=`exprscip-shell system . . expr. $ac_mid + 1` |
| 3618 | if testscip-shell system . . test. $ac_lo -le $ac_mid; then |
| 3619 | ac_lo= ac_hi= |
| 3620 | break |
| 3621 | fi |
| 3622 | ac_mid=`exprscip-shell system . . expr. 2 '*' $ac_mid + 1` |
| 3623 | fi |
| 3624 | |
| 3625 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3626 | done |
| 3627 | else |
| 3628 | $as_echo "$as_me: failed program was:" >&5 |
| 3629 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3630 | |
| 3631 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3632 | /* confdefs.h. */ |
| 3633 | _ACEOF |
| 3634 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3635 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3636 | /* end confdefs.h. */ |
| 3637 | $ac_includes_default |
| 3638 | int |
| 3639 | main () |
| 3640 | { |
| 3641 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; |
| 3642 | test_array [0] = 0 |
| 3643 | |
| 3644 | ; |
| 3645 | return 0; |
| 3646 | } |
| 3647 | _ACEOF |
| 3648 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 3649 | if { (ac_try="$ac_compile" |
| 3650 | case "(($ac_try" in |
| 3651 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3652 | *) ac_try_echo=$ac_try;; |
| 3653 | esac |
| 3654 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3655 | $as_echo "$ac_try_echo") >&5 |
| 3656 | (eval "$ac_compile") 2>conftest.er1 |
| 3657 | ac_status=$? |
| 3658 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 3659 | rmscip-shell system . . rm. -f conftest.er1 |
| 3660 | catscip-shell system . . cat. conftest.err >&5 |
| 3661 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3662 | (exit $ac_status); } && { |
| 3663 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 3664 | testscip-shell system . . test. ! -s conftest.err |
| 3665 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 3666 | ac_hi=-1 ac_mid=-1 |
| 3667 | while :; do |
| 3668 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3669 | /* confdefs.h. */ |
| 3670 | _ACEOF |
| 3671 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3672 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3673 | /* end confdefs.h. */ |
| 3674 | $ac_includes_default |
| 3675 | int |
| 3676 | main () |
| 3677 | { |
| 3678 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; |
| 3679 | test_array [0] = 0 |
| 3680 | |
| 3681 | ; |
| 3682 | return 0; |
| 3683 | } |
| 3684 | _ACEOF |
| 3685 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 3686 | if { (ac_try="$ac_compile" |
| 3687 | case "(($ac_try" in |
| 3688 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3689 | *) ac_try_echo=$ac_try;; |
| 3690 | esac |
| 3691 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3692 | $as_echo "$ac_try_echo") >&5 |
| 3693 | (eval "$ac_compile") 2>conftest.er1 |
| 3694 | ac_status=$? |
| 3695 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 3696 | rmscip-shell system . . rm. -f conftest.er1 |
| 3697 | catscip-shell system . . cat. conftest.err >&5 |
| 3698 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3699 | (exit $ac_status); } && { |
| 3700 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 3701 | testscip-shell system . . test. ! -s conftest.err |
| 3702 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 3703 | ac_lo=$ac_mid; break |
| 3704 | else |
| 3705 | $as_echo "$as_me: failed program was:" >&5 |
| 3706 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3707 | |
| 3708 | ac_hi=`exprscip-shell system . . expr. '(' $ac_mid ')' - 1` |
| 3709 | if testscip-shell system . . test. $ac_mid -le $ac_hi; then |
| 3710 | ac_lo= ac_hi= |
| 3711 | break |
| 3712 | fi |
| 3713 | ac_mid=`exprscip-shell system . . expr. 2 '*' $ac_mid` |
| 3714 | fi |
| 3715 | |
| 3716 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3717 | done |
| 3718 | else |
| 3719 | $as_echo "$as_me: failed program was:" >&5 |
| 3720 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3721 | |
| 3722 | ac_lo= ac_hi= |
| 3723 | fi |
| 3724 | |
| 3725 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3726 | fi |
| 3727 | |
| 3728 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3729 | # Binary search between lo and hi bounds. |
| 3730 | while testscip-shell system . . test. "x$ac_lo" != "x$ac_hi"; do |
| 3731 | ac_mid=`exprscip-shell system . . expr. '(' $ac_hi - $ac_lo ')' /scip-shell filesystem . . `/`. 2 + $ac_lo` |
| 3732 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3733 | /* confdefs.h. */ |
| 3734 | _ACEOF |
| 3735 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3736 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3737 | /* end confdefs.h. */ |
| 3738 | $ac_includes_default |
| 3739 | int |
| 3740 | main () |
| 3741 | { |
| 3742 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; |
| 3743 | test_array [0] = 0 |
| 3744 | |
| 3745 | ; |
| 3746 | return 0; |
| 3747 | } |
| 3748 | _ACEOF |
| 3749 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 3750 | if { (ac_try="$ac_compile" |
| 3751 | case "(($ac_try" in |
| 3752 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3753 | *) ac_try_echo=$ac_try;; |
| 3754 | esac |
| 3755 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3756 | $as_echo "$ac_try_echo") >&5 |
| 3757 | (eval "$ac_compile") 2>conftest.er1 |
| 3758 | ac_status=$? |
| 3759 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 3760 | rmscip-shell system . . rm. -f conftest.er1 |
| 3761 | catscip-shell system . . cat. conftest.err >&5 |
| 3762 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3763 | (exit $ac_status); } && { |
| 3764 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 3765 | testscip-shell system . . test. ! -s conftest.err |
| 3766 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 3767 | ac_hi=$ac_mid |
| 3768 | else |
| 3769 | $as_echo "$as_me: failed program was:" >&5 |
| 3770 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3771 | |
| 3772 | ac_lo=`exprscip-shell system . . expr. '(' $ac_mid ')' + 1` |
| 3773 | fi |
| 3774 | |
| 3775 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3776 | done |
| 3777 | case $ac_lo in |
| 3778 | ?*) ac_cv_sizeof_long=$ac_lo;; |
| 3779 | '') if testscip-shell system . . test. "$ac_cv_type_long" = yes; then |
| 3780 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 3781 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3782 | { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) |
| 3783 | See \`config.log' for more details." >&5 |
| 3784 | $as_echo "$as_me: error: cannot compute sizeof (long) |
| 3785 | See \`config.log' for more details." >&2;} |
| 3786 | { (exit 77); exit 77; }; }; } |
| 3787 | else |
| 3788 | ac_cv_sizeof_long=0 |
| 3789 | fi ;; |
| 3790 | esac |
| 3791 | else |
| 3792 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3793 | /* confdefs.h. */ |
| 3794 | _ACEOF |
| 3795 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3796 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3797 | /* end confdefs.h. */ |
| 3798 | $ac_includes_default |
| 3799 | static long int longval () { return (long int) (sizeof (long)); } |
| 3800 | static unsigned long int ulongval () { return (long int) (sizeof (long)); } |
| 3801 | #include <stdio.h> |
| 3802 | #include <stdlib.h> |
| 3803 | int |
| 3804 | main () |
| 3805 | { |
| 3806 | |
| 3807 | FILE *f = fopen ("conftest.val", "w"); |
| 3808 | if (! f) |
| 3809 | return 1; |
| 3810 | if (((long int) (sizeof (long))) < 0) |
| 3811 | { |
| 3812 | long int i = longval (); |
| 3813 | if (i != ((long int) (sizeof (long)))) |
| 3814 | return 1; |
| 3815 | fprintf (f, "%ld", i); |
| 3816 | } |
| 3817 | else |
| 3818 | { |
| 3819 | unsigned long int i = ulongval (); |
| 3820 | if (i != ((long int) (sizeof (long)))) |
| 3821 | return 1; |
| 3822 | fprintf (f, "%lu", i); |
| 3823 | } |
| 3824 | /* Do not output a trailing newline, as this causes \r\n confusion |
| 3825 | on some platforms. */ |
| 3826 | return ferror (f) || fclose (f) != 0; |
| 3827 | |
| 3828 | ; |
| 3829 | return 0; |
| 3830 | } |
| 3831 | _ACEOF |
| 3832 | rmscip-shell system . . rm. -f conftest$ac_exeext |
| 3833 | if { (ac_try="$ac_link" |
| 3834 | case "(($ac_try" in |
| 3835 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3836 | *) ac_try_echo=$ac_try;; |
| 3837 | esac |
| 3838 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3839 | $as_echo "$ac_try_echo") >&5 |
| 3840 | (eval "$ac_link") 2>&5 |
| 3841 | ac_status=$? |
| 3842 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3843 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 3844 | { (case "(($ac_try" in |
| 3845 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3846 | *) ac_try_echo=$ac_try;; |
| 3847 | esac |
| 3848 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3849 | $as_echo "$ac_try_echo") >&5 |
| 3850 | (eval "$ac_try") 2>&5 |
| 3851 | ac_status=$? |
| 3852 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3853 | (exit $ac_status); }; }; then |
| 3854 | ac_cv_sizeof_long=`catscip-shell system . . cat. conftest.val` |
| 3855 | else |
| 3856 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 3857 | $as_echo "$as_me: failed program was:" >&5 |
| 3858 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3859 | |
| 3860 | ( exit $ac_status ) |
| 3861 | if testscip-shell system . . test. "$ac_cv_type_long" = yes; then |
| 3862 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 3863 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3864 | { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) |
| 3865 | See \`config.log' for more details." >&5 |
| 3866 | $as_echo "$as_me: error: cannot compute sizeof (long) |
| 3867 | See \`config.log' for more details." >&2;} |
| 3868 | { (exit 77); exit 77; }; }; } |
| 3869 | else |
| 3870 | ac_cv_sizeof_long=0 |
| 3871 | fi |
| 3872 | fi |
| 3873 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 3874 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 3875 | fi |
| 3876 | rmscip-shell system . . rm. -f conftest.val |
| 3877 | fi |
| 3878 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
| 3879 | $as_echo "$ac_cv_sizeof_long" >&6; } |
| 3880 | |
| 3881 | |
| 3882 | |
| 3883 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 3884 | #define SIZEOF_LONG $ac_cv_sizeof_long |
| 3885 | _ACEOF |
| 3886 | |
| 3887 | |
| 3888 | SZ_LONG=$ac_cv_sizeof_long |
| 3889 | |
| 3890 | |
| 3891 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 3892 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 3893 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 3894 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3895 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3896 | if testscip-shell system . . test. "${ac_cv_prog_RANLIB+set}" = set; then |
| 3897 | $as_echo_n "(cached) " >&6 |
| 3898 | else |
| 3899 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 3900 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 3901 | else |
| 3902 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3903 | for as_dir in $PATH |
| 3904 | do |
| 3905 | IFS=$as_save_IFS |
| 3906 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 3907 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3908 | if { testscip-shell system . . test. -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3909 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 3910 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3911 | break 2 |
| 3912 | fi |
| 3913 | done |
| 3914 | done |
| 3915 | IFS=$as_save_IFS |
| 3916 | |
| 3917 | fi |
| 3918 | fi |
| 3919 | RANLIB=$ac_cv_prog_RANLIB |
| 3920 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 3921 | { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 3922 | $as_echo "$RANLIB" >&6; } |
| 3923 | else |
| 3924 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3925 | $as_echo "no" >&6; } |
| 3926 | fi |
| 3927 | |
| 3928 | |
| 3929 | fi |
| 3930 | if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then |
| 3931 | ac_ct_RANLIB=$RANLIB |
| 3932 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 3933 | set dummy ranlib; ac_word=$2 |
| 3934 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3935 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3936 | if testscip-shell system . . test. "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
| 3937 | $as_echo_n "(cached) " >&6 |
| 3938 | else |
| 3939 | if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then |
| 3940 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 3941 | else |
| 3942 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3943 | for as_dir in $PATH |
| 3944 | do |
| 3945 | IFS=$as_save_IFS |
| 3946 | testscip-shell system . . test. -z "$as_dir" && as_dir=. |
| 3947 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3948 | if { testscip-shell system . . test. -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3949 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 3950 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3951 | break 2 |
| 3952 | fi |
| 3953 | done |
| 3954 | done |
| 3955 | IFS=$as_save_IFS |
| 3956 | |
| 3957 | fi |
| 3958 | fi |
| 3959 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 3960 | if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then |
| 3961 | { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 3962 | $as_echo "$ac_ct_RANLIB" >&6; } |
| 3963 | else |
| 3964 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3965 | $as_echo "no" >&6; } |
| 3966 | fi |
| 3967 | |
| 3968 | if testscip-shell system . . test. "x$ac_ct_RANLIB" = x; then |
| 3969 | RANLIB=":" |
| 3970 | else |
| 3971 | case $cross_compiling:$ac_tool_warned in |
| 3972 | yes:) |
| 3973 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3974 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3975 | ac_tool_warned=yes ;; |
| 3976 | esac |
| 3977 | RANLIB=$ac_ct_RANLIB |
| 3978 | fi |
| 3979 | else |
| 3980 | RANLIB="$ac_cv_prog_RANLIB" |
| 3981 | fi |
| 3982 | |
| 3983 | |
| 3984 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 3985 | $as_echo_n "checking for ANSI C header files... " >&6; } |
| 3986 | if testscip-shell system . . test. "${ac_cv_header_stdc+set}" = set; then |
| 3987 | $as_echo_n "(cached) " >&6 |
| 3988 | else |
| 3989 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 3990 | /* confdefs.h. */ |
| 3991 | _ACEOF |
| 3992 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 3993 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 3994 | /* end confdefs.h. */ |
| 3995 | #include <stdlib.h> |
| 3996 | #include <stdarg.h> |
| 3997 | #include <string.h> |
| 3998 | #include <float.h> |
| 3999 | |
| 4000 | int |
| 4001 | main () |
| 4002 | { |
| 4003 | |
| 4004 | ; |
| 4005 | return 0; |
| 4006 | } |
| 4007 | _ACEOF |
| 4008 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 4009 | if { (ac_try="$ac_compile" |
| 4010 | case "(($ac_try" in |
| 4011 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4012 | *) ac_try_echo=$ac_try;; |
| 4013 | esac |
| 4014 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4015 | $as_echo "$ac_try_echo") >&5 |
| 4016 | (eval "$ac_compile") 2>conftest.er1 |
| 4017 | ac_status=$? |
| 4018 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4019 | rmscip-shell system . . rm. -f conftest.er1 |
| 4020 | catscip-shell system . . cat. conftest.err >&5 |
| 4021 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4022 | (exit $ac_status); } && { |
| 4023 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 4024 | testscip-shell system . . test. ! -s conftest.err |
| 4025 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 4026 | ac_cv_header_stdc=yes |
| 4027 | else |
| 4028 | $as_echo "$as_me: failed program was:" >&5 |
| 4029 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4030 | |
| 4031 | ac_cv_header_stdc=no |
| 4032 | fi |
| 4033 | |
| 4034 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4035 | |
| 4036 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 4037 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4038 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4039 | /* confdefs.h. */ |
| 4040 | _ACEOF |
| 4041 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4042 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4043 | /* end confdefs.h. */ |
| 4044 | #include <string.h> |
| 4045 | |
| 4046 | _ACEOF |
| 4047 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4048 | $EGREP "memchr" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 4049 | : |
| 4050 | else |
| 4051 | ac_cv_header_stdc=no |
| 4052 | fi |
| 4053 | rmscip-shell system . . rm. -f conftest* |
| 4054 | |
| 4055 | fi |
| 4056 | |
| 4057 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 4058 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4059 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4060 | /* confdefs.h. */ |
| 4061 | _ACEOF |
| 4062 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4063 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4064 | /* end confdefs.h. */ |
| 4065 | #include <stdlib.h> |
| 4066 | |
| 4067 | _ACEOF |
| 4068 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4069 | $EGREP "free" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 4070 | : |
| 4071 | else |
| 4072 | ac_cv_header_stdc=no |
| 4073 | fi |
| 4074 | rmscip-shell system . . rm. -f conftest* |
| 4075 | |
| 4076 | fi |
| 4077 | |
| 4078 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 4079 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 4080 | if testscip-shell system . . test. "$cross_compiling" = yes; then |
| 4081 | : |
| 4082 | else |
| 4083 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4084 | /* confdefs.h. */ |
| 4085 | _ACEOF |
| 4086 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4087 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4088 | /* end confdefs.h. */ |
| 4089 | #include <ctype.h> |
| 4090 | #include <stdlib.h> |
| 4091 | #if ((' ' & 0x0FF) == 0x020) |
| 4092 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 4093 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 4094 | #else |
| 4095 | # define ISLOWER(c) \ |
| 4096 | (('a' <= (c) && (c) <= 'i') \ |
| 4097 | || ('j' <= (c) && (c) <= 'r') \ |
| 4098 | || ('s' <= (c) && (c) <= 'z')) |
| 4099 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 4100 | #endif |
| 4101 | |
| 4102 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 4103 | int |
| 4104 | main () |
| 4105 | { |
| 4106 | int i; |
| 4107 | for (i = 0; i < 256; i++) |
| 4108 | if (XOR (islower (i), ISLOWER (i)) |
| 4109 | || toupper (i) != TOUPPER (i)) |
| 4110 | return 2; |
| 4111 | return 0; |
| 4112 | } |
| 4113 | _ACEOF |
| 4114 | rmscip-shell system . . rm. -f conftest$ac_exeext |
| 4115 | if { (ac_try="$ac_link" |
| 4116 | case "(($ac_try" in |
| 4117 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4118 | *) ac_try_echo=$ac_try;; |
| 4119 | esac |
| 4120 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4121 | $as_echo "$ac_try_echo") >&5 |
| 4122 | (eval "$ac_link") 2>&5 |
| 4123 | ac_status=$? |
| 4124 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4125 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 4126 | { (case "(($ac_try" in |
| 4127 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4128 | *) ac_try_echo=$ac_try;; |
| 4129 | esac |
| 4130 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4131 | $as_echo "$ac_try_echo") >&5 |
| 4132 | (eval "$ac_try") 2>&5 |
| 4133 | ac_status=$? |
| 4134 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4135 | (exit $ac_status); }; }; then |
| 4136 | : |
| 4137 | else |
| 4138 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 4139 | $as_echo "$as_me: failed program was:" >&5 |
| 4140 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4141 | |
| 4142 | ( exit $ac_status ) |
| 4143 | ac_cv_header_stdc=no |
| 4144 | fi |
| 4145 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 4146 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4147 | fi |
| 4148 | |
| 4149 | |
| 4150 | fi |
| 4151 | fi |
| 4152 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 4153 | $as_echo "$ac_cv_header_stdc" >&6; } |
| 4154 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 4155 | |
| 4156 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 4157 | #define STDC_HEADERS 1 |
| 4158 | _ACEOF |
| 4159 | |
| 4160 | fi |
| 4161 | |
| 4162 | |
| 4163 | for ac_header in malloc.h |
| 4164 | do |
| 4165 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4166 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4167 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4168 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4169 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4170 | $as_echo_n "(cached) " >&6 |
| 4171 | fi |
| 4172 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 4173 | $as_echo "$as_val"'` |
| 4174 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4175 | $as_echo "$ac_res" >&6; } |
| 4176 | else |
| 4177 | # Is the header compilable? |
| 4178 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 4179 | $as_echo_n "checking $ac_header usability... " >&6; } |
| 4180 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4181 | /* confdefs.h. */ |
| 4182 | _ACEOF |
| 4183 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4184 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4185 | /* end confdefs.h. */ |
| 4186 | $ac_includes_default |
| 4187 | #include <$ac_header> |
| 4188 | _ACEOF |
| 4189 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 4190 | if { (ac_try="$ac_compile" |
| 4191 | case "(($ac_try" in |
| 4192 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4193 | *) ac_try_echo=$ac_try;; |
| 4194 | esac |
| 4195 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4196 | $as_echo "$ac_try_echo") >&5 |
| 4197 | (eval "$ac_compile") 2>conftest.er1 |
| 4198 | ac_status=$? |
| 4199 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4200 | rmscip-shell system . . rm. -f conftest.er1 |
| 4201 | catscip-shell system . . cat. conftest.err >&5 |
| 4202 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4203 | (exit $ac_status); } && { |
| 4204 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 4205 | testscip-shell system . . test. ! -s conftest.err |
| 4206 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 4207 | ac_header_compiler=yes |
| 4208 | else |
| 4209 | $as_echo "$as_me: failed program was:" >&5 |
| 4210 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4211 | |
| 4212 | ac_header_compiler=no |
| 4213 | fi |
| 4214 | |
| 4215 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4216 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 4217 | $as_echo "$ac_header_compiler" >&6; } |
| 4218 | |
| 4219 | # Is the header present? |
| 4220 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 4221 | $as_echo_n "checking $ac_header presence... " >&6; } |
| 4222 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4223 | /* confdefs.h. */ |
| 4224 | _ACEOF |
| 4225 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4226 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4227 | /* end confdefs.h. */ |
| 4228 | #include <$ac_header> |
| 4229 | _ACEOF |
| 4230 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4231 | case "(($ac_try" in |
| 4232 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4233 | *) ac_try_echo=$ac_try;; |
| 4234 | esac |
| 4235 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4236 | $as_echo "$ac_try_echo") >&5 |
| 4237 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 4238 | ac_status=$? |
| 4239 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4240 | rmscip-shell system . . rm. -f conftest.er1 |
| 4241 | catscip-shell system . . cat. conftest.err >&5 |
| 4242 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4243 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 4244 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4245 | testscip-shell system . . test. ! -s conftest.err |
| 4246 | }; then |
| 4247 | ac_header_preproc=yes |
| 4248 | else |
| 4249 | $as_echo "$as_me: failed program was:" >&5 |
| 4250 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4251 | |
| 4252 | ac_header_preproc=no |
| 4253 | fi |
| 4254 | |
| 4255 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 4256 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 4257 | $as_echo "$ac_header_preproc" >&6; } |
| 4258 | |
| 4259 | # So? What about this header? |
| 4260 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 4261 | yes:no: ) |
| 4262 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 4263 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 4264 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 4265 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 4266 | ac_header_preproc=yes |
| 4267 | ;; |
| 4268 | no:yes:* ) |
| 4269 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 4270 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 4271 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 4272 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 4273 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 4274 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 4275 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 4276 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 4277 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 4278 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 4279 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 4280 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 4281 | ( catscip-shell system . . cat. <<\_ASBOX |
| 4282 | ## ------------------------------------ ## |
| 4283 | ## Report this to [email protected] ## |
| 4284 | ## ------------------------------------ ## |
| 4285 | _ASBOX |
| 4286 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 4287 | ;; |
| 4288 | esac |
| 4289 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4290 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4291 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4292 | $as_echo_n "(cached) " >&6 |
| 4293 | else |
| 4294 | eval "$as_ac_Header=\$ac_header_preproc" |
| 4295 | fi |
| 4296 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 4297 | $as_echo "$as_val"'` |
| 4298 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4299 | $as_echo "$ac_res" >&6; } |
| 4300 | |
| 4301 | fi |
| 4302 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 4303 | $as_echo "$as_val"'` |
| 4304 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 4305 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 4306 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4307 | _ACEOF |
| 4308 | |
| 4309 | fi |
| 4310 | |
| 4311 | done |
| 4312 | |
| 4313 | |
| 4314 | for ac_header in getopt.h |
| 4315 | do |
| 4316 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4317 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4318 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4319 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4320 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4321 | $as_echo_n "(cached) " >&6 |
| 4322 | fi |
| 4323 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 4324 | $as_echo "$as_val"'` |
| 4325 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4326 | $as_echo "$ac_res" >&6; } |
| 4327 | else |
| 4328 | # Is the header compilable? |
| 4329 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 4330 | $as_echo_n "checking $ac_header usability... " >&6; } |
| 4331 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4332 | /* confdefs.h. */ |
| 4333 | _ACEOF |
| 4334 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4335 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4336 | /* end confdefs.h. */ |
| 4337 | $ac_includes_default |
| 4338 | #include <$ac_header> |
| 4339 | _ACEOF |
| 4340 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 4341 | if { (ac_try="$ac_compile" |
| 4342 | case "(($ac_try" in |
| 4343 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4344 | *) ac_try_echo=$ac_try;; |
| 4345 | esac |
| 4346 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4347 | $as_echo "$ac_try_echo") >&5 |
| 4348 | (eval "$ac_compile") 2>conftest.er1 |
| 4349 | ac_status=$? |
| 4350 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4351 | rmscip-shell system . . rm. -f conftest.er1 |
| 4352 | catscip-shell system . . cat. conftest.err >&5 |
| 4353 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4354 | (exit $ac_status); } && { |
| 4355 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 4356 | testscip-shell system . . test. ! -s conftest.err |
| 4357 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 4358 | ac_header_compiler=yes |
| 4359 | else |
| 4360 | $as_echo "$as_me: failed program was:" >&5 |
| 4361 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4362 | |
| 4363 | ac_header_compiler=no |
| 4364 | fi |
| 4365 | |
| 4366 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4367 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 4368 | $as_echo "$ac_header_compiler" >&6; } |
| 4369 | |
| 4370 | # Is the header present? |
| 4371 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 4372 | $as_echo_n "checking $ac_header presence... " >&6; } |
| 4373 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4374 | /* confdefs.h. */ |
| 4375 | _ACEOF |
| 4376 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4377 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4378 | /* end confdefs.h. */ |
| 4379 | #include <$ac_header> |
| 4380 | _ACEOF |
| 4381 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4382 | case "(($ac_try" in |
| 4383 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4384 | *) ac_try_echo=$ac_try;; |
| 4385 | esac |
| 4386 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4387 | $as_echo "$ac_try_echo") >&5 |
| 4388 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 4389 | ac_status=$? |
| 4390 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4391 | rmscip-shell system . . rm. -f conftest.er1 |
| 4392 | catscip-shell system . . cat. conftest.err >&5 |
| 4393 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4394 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 4395 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4396 | testscip-shell system . . test. ! -s conftest.err |
| 4397 | }; then |
| 4398 | ac_header_preproc=yes |
| 4399 | else |
| 4400 | $as_echo "$as_me: failed program was:" >&5 |
| 4401 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4402 | |
| 4403 | ac_header_preproc=no |
| 4404 | fi |
| 4405 | |
| 4406 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 4407 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 4408 | $as_echo "$ac_header_preproc" >&6; } |
| 4409 | |
| 4410 | # So? What about this header? |
| 4411 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 4412 | yes:no: ) |
| 4413 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 4414 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 4415 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 4416 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 4417 | ac_header_preproc=yes |
| 4418 | ;; |
| 4419 | no:yes:* ) |
| 4420 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 4421 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 4422 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 4423 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 4424 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 4425 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 4426 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 4427 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 4428 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 4429 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 4430 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 4431 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 4432 | ( catscip-shell system . . cat. <<\_ASBOX |
| 4433 | ## ------------------------------------ ## |
| 4434 | ## Report this to [email protected] ## |
| 4435 | ## ------------------------------------ ## |
| 4436 | _ASBOX |
| 4437 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 4438 | ;; |
| 4439 | esac |
| 4440 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4441 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4442 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4443 | $as_echo_n "(cached) " >&6 |
| 4444 | else |
| 4445 | eval "$as_ac_Header=\$ac_header_preproc" |
| 4446 | fi |
| 4447 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 4448 | $as_echo "$as_val"'` |
| 4449 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4450 | $as_echo "$ac_res" >&6; } |
| 4451 | |
| 4452 | fi |
| 4453 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 4454 | $as_echo "$as_val"'` |
| 4455 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 4456 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 4457 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4458 | _ACEOF |
| 4459 | |
| 4460 | fi |
| 4461 | |
| 4462 | done |
| 4463 | |
| 4464 | |
| 4465 | for ac_header in pwd.h |
| 4466 | do |
| 4467 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4468 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4469 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4470 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4471 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4472 | $as_echo_n "(cached) " >&6 |
| 4473 | fi |
| 4474 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 4475 | $as_echo "$as_val"'` |
| 4476 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4477 | $as_echo "$ac_res" >&6; } |
| 4478 | else |
| 4479 | # Is the header compilable? |
| 4480 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 4481 | $as_echo_n "checking $ac_header usability... " >&6; } |
| 4482 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4483 | /* confdefs.h. */ |
| 4484 | _ACEOF |
| 4485 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4486 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4487 | /* end confdefs.h. */ |
| 4488 | $ac_includes_default |
| 4489 | #include <$ac_header> |
| 4490 | _ACEOF |
| 4491 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 4492 | if { (ac_try="$ac_compile" |
| 4493 | case "(($ac_try" in |
| 4494 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4495 | *) ac_try_echo=$ac_try;; |
| 4496 | esac |
| 4497 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4498 | $as_echo "$ac_try_echo") >&5 |
| 4499 | (eval "$ac_compile") 2>conftest.er1 |
| 4500 | ac_status=$? |
| 4501 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4502 | rmscip-shell system . . rm. -f conftest.er1 |
| 4503 | catscip-shell system . . cat. conftest.err >&5 |
| 4504 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4505 | (exit $ac_status); } && { |
| 4506 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 4507 | testscip-shell system . . test. ! -s conftest.err |
| 4508 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 4509 | ac_header_compiler=yes |
| 4510 | else |
| 4511 | $as_echo "$as_me: failed program was:" >&5 |
| 4512 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4513 | |
| 4514 | ac_header_compiler=no |
| 4515 | fi |
| 4516 | |
| 4517 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4518 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 4519 | $as_echo "$ac_header_compiler" >&6; } |
| 4520 | |
| 4521 | # Is the header present? |
| 4522 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 4523 | $as_echo_n "checking $ac_header presence... " >&6; } |
| 4524 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4525 | /* confdefs.h. */ |
| 4526 | _ACEOF |
| 4527 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4528 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4529 | /* end confdefs.h. */ |
| 4530 | #include <$ac_header> |
| 4531 | _ACEOF |
| 4532 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4533 | case "(($ac_try" in |
| 4534 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4535 | *) ac_try_echo=$ac_try;; |
| 4536 | esac |
| 4537 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4538 | $as_echo "$ac_try_echo") >&5 |
| 4539 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 4540 | ac_status=$? |
| 4541 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4542 | rmscip-shell system . . rm. -f conftest.er1 |
| 4543 | catscip-shell system . . cat. conftest.err >&5 |
| 4544 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4545 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 4546 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4547 | testscip-shell system . . test. ! -s conftest.err |
| 4548 | }; then |
| 4549 | ac_header_preproc=yes |
| 4550 | else |
| 4551 | $as_echo "$as_me: failed program was:" >&5 |
| 4552 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4553 | |
| 4554 | ac_header_preproc=no |
| 4555 | fi |
| 4556 | |
| 4557 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 4558 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 4559 | $as_echo "$ac_header_preproc" >&6; } |
| 4560 | |
| 4561 | # So? What about this header? |
| 4562 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 4563 | yes:no: ) |
| 4564 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 4565 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 4566 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 4567 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 4568 | ac_header_preproc=yes |
| 4569 | ;; |
| 4570 | no:yes:* ) |
| 4571 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 4572 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 4573 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 4574 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 4575 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 4576 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 4577 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 4578 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 4579 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 4580 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 4581 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 4582 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 4583 | ( catscip-shell system . . cat. <<\_ASBOX |
| 4584 | ## ------------------------------------ ## |
| 4585 | ## Report this to [email protected] ## |
| 4586 | ## ------------------------------------ ## |
| 4587 | _ASBOX |
| 4588 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 4589 | ;; |
| 4590 | esac |
| 4591 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4592 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4593 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4594 | $as_echo_n "(cached) " >&6 |
| 4595 | else |
| 4596 | eval "$as_ac_Header=\$ac_header_preproc" |
| 4597 | fi |
| 4598 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 4599 | $as_echo "$as_val"'` |
| 4600 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4601 | $as_echo "$ac_res" >&6; } |
| 4602 | |
| 4603 | fi |
| 4604 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 4605 | $as_echo "$as_val"'` |
| 4606 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 4607 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 4608 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4609 | _ACEOF |
| 4610 | |
| 4611 | fi |
| 4612 | |
| 4613 | done |
| 4614 | |
| 4615 | |
| 4616 | for ac_header in values.h |
| 4617 | do |
| 4618 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4619 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4620 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4621 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4622 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4623 | $as_echo_n "(cached) " >&6 |
| 4624 | fi |
| 4625 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 4626 | $as_echo "$as_val"'` |
| 4627 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4628 | $as_echo "$ac_res" >&6; } |
| 4629 | else |
| 4630 | # Is the header compilable? |
| 4631 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 4632 | $as_echo_n "checking $ac_header usability... " >&6; } |
| 4633 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4634 | /* confdefs.h. */ |
| 4635 | _ACEOF |
| 4636 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4637 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4638 | /* end confdefs.h. */ |
| 4639 | $ac_includes_default |
| 4640 | #include <$ac_header> |
| 4641 | _ACEOF |
| 4642 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 4643 | if { (ac_try="$ac_compile" |
| 4644 | case "(($ac_try" in |
| 4645 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4646 | *) ac_try_echo=$ac_try;; |
| 4647 | esac |
| 4648 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4649 | $as_echo "$ac_try_echo") >&5 |
| 4650 | (eval "$ac_compile") 2>conftest.er1 |
| 4651 | ac_status=$? |
| 4652 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4653 | rmscip-shell system . . rm. -f conftest.er1 |
| 4654 | catscip-shell system . . cat. conftest.err >&5 |
| 4655 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4656 | (exit $ac_status); } && { |
| 4657 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 4658 | testscip-shell system . . test. ! -s conftest.err |
| 4659 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 4660 | ac_header_compiler=yes |
| 4661 | else |
| 4662 | $as_echo "$as_me: failed program was:" >&5 |
| 4663 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4664 | |
| 4665 | ac_header_compiler=no |
| 4666 | fi |
| 4667 | |
| 4668 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4669 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 4670 | $as_echo "$ac_header_compiler" >&6; } |
| 4671 | |
| 4672 | # Is the header present? |
| 4673 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 4674 | $as_echo_n "checking $ac_header presence... " >&6; } |
| 4675 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4676 | /* confdefs.h. */ |
| 4677 | _ACEOF |
| 4678 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4679 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4680 | /* end confdefs.h. */ |
| 4681 | #include <$ac_header> |
| 4682 | _ACEOF |
| 4683 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4684 | case "(($ac_try" in |
| 4685 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4686 | *) ac_try_echo=$ac_try;; |
| 4687 | esac |
| 4688 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4689 | $as_echo "$ac_try_echo") >&5 |
| 4690 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 4691 | ac_status=$? |
| 4692 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4693 | rmscip-shell system . . rm. -f conftest.er1 |
| 4694 | catscip-shell system . . cat. conftest.err >&5 |
| 4695 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4696 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 4697 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4698 | testscip-shell system . . test. ! -s conftest.err |
| 4699 | }; then |
| 4700 | ac_header_preproc=yes |
| 4701 | else |
| 4702 | $as_echo "$as_me: failed program was:" >&5 |
| 4703 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4704 | |
| 4705 | ac_header_preproc=no |
| 4706 | fi |
| 4707 | |
| 4708 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 4709 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 4710 | $as_echo "$ac_header_preproc" >&6; } |
| 4711 | |
| 4712 | # So? What about this header? |
| 4713 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 4714 | yes:no: ) |
| 4715 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 4716 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 4717 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 4718 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 4719 | ac_header_preproc=yes |
| 4720 | ;; |
| 4721 | no:yes:* ) |
| 4722 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 4723 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 4724 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 4725 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 4726 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 4727 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 4728 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 4729 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 4730 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 4731 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 4732 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 4733 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 4734 | ( catscip-shell system . . cat. <<\_ASBOX |
| 4735 | ## ------------------------------------ ## |
| 4736 | ## Report this to [email protected] ## |
| 4737 | ## ------------------------------------ ## |
| 4738 | _ASBOX |
| 4739 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 4740 | ;; |
| 4741 | esac |
| 4742 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4743 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4744 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4745 | $as_echo_n "(cached) " >&6 |
| 4746 | else |
| 4747 | eval "$as_ac_Header=\$ac_header_preproc" |
| 4748 | fi |
| 4749 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 4750 | $as_echo "$as_val"'` |
| 4751 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4752 | $as_echo "$ac_res" >&6; } |
| 4753 | |
| 4754 | fi |
| 4755 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 4756 | $as_echo "$as_val"'` |
| 4757 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 4758 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 4759 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4760 | _ACEOF |
| 4761 | |
| 4762 | fi |
| 4763 | |
| 4764 | done |
| 4765 | |
| 4766 | |
| 4767 | for ac_header in dlfcn.h |
| 4768 | do |
| 4769 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4770 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4771 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4772 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4773 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4774 | $as_echo_n "(cached) " >&6 |
| 4775 | fi |
| 4776 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 4777 | $as_echo "$as_val"'` |
| 4778 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4779 | $as_echo "$ac_res" >&6; } |
| 4780 | else |
| 4781 | # Is the header compilable? |
| 4782 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 4783 | $as_echo_n "checking $ac_header usability... " >&6; } |
| 4784 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4785 | /* confdefs.h. */ |
| 4786 | _ACEOF |
| 4787 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4788 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4789 | /* end confdefs.h. */ |
| 4790 | $ac_includes_default |
| 4791 | #include <$ac_header> |
| 4792 | _ACEOF |
| 4793 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 4794 | if { (ac_try="$ac_compile" |
| 4795 | case "(($ac_try" in |
| 4796 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4797 | *) ac_try_echo=$ac_try;; |
| 4798 | esac |
| 4799 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4800 | $as_echo "$ac_try_echo") >&5 |
| 4801 | (eval "$ac_compile") 2>conftest.er1 |
| 4802 | ac_status=$? |
| 4803 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4804 | rmscip-shell system . . rm. -f conftest.er1 |
| 4805 | catscip-shell system . . cat. conftest.err >&5 |
| 4806 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4807 | (exit $ac_status); } && { |
| 4808 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 4809 | testscip-shell system . . test. ! -s conftest.err |
| 4810 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 4811 | ac_header_compiler=yes |
| 4812 | else |
| 4813 | $as_echo "$as_me: failed program was:" >&5 |
| 4814 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4815 | |
| 4816 | ac_header_compiler=no |
| 4817 | fi |
| 4818 | |
| 4819 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4820 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 4821 | $as_echo "$ac_header_compiler" >&6; } |
| 4822 | |
| 4823 | # Is the header present? |
| 4824 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 4825 | $as_echo_n "checking $ac_header presence... " >&6; } |
| 4826 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4827 | /* confdefs.h. */ |
| 4828 | _ACEOF |
| 4829 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4830 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4831 | /* end confdefs.h. */ |
| 4832 | #include <$ac_header> |
| 4833 | _ACEOF |
| 4834 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4835 | case "(($ac_try" in |
| 4836 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4837 | *) ac_try_echo=$ac_try;; |
| 4838 | esac |
| 4839 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4840 | $as_echo "$ac_try_echo") >&5 |
| 4841 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 4842 | ac_status=$? |
| 4843 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4844 | rmscip-shell system . . rm. -f conftest.er1 |
| 4845 | catscip-shell system . . cat. conftest.err >&5 |
| 4846 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4847 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 4848 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4849 | testscip-shell system . . test. ! -s conftest.err |
| 4850 | }; then |
| 4851 | ac_header_preproc=yes |
| 4852 | else |
| 4853 | $as_echo "$as_me: failed program was:" >&5 |
| 4854 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4855 | |
| 4856 | ac_header_preproc=no |
| 4857 | fi |
| 4858 | |
| 4859 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 4860 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 4861 | $as_echo "$ac_header_preproc" >&6; } |
| 4862 | |
| 4863 | # So? What about this header? |
| 4864 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 4865 | yes:no: ) |
| 4866 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 4867 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 4868 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 4869 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 4870 | ac_header_preproc=yes |
| 4871 | ;; |
| 4872 | no:yes:* ) |
| 4873 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 4874 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 4875 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 4876 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 4877 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 4878 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 4879 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 4880 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 4881 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 4882 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 4883 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 4884 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 4885 | ( catscip-shell system . . cat. <<\_ASBOX |
| 4886 | ## ------------------------------------ ## |
| 4887 | ## Report this to [email protected] ## |
| 4888 | ## ------------------------------------ ## |
| 4889 | _ASBOX |
| 4890 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 4891 | ;; |
| 4892 | esac |
| 4893 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4894 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4895 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4896 | $as_echo_n "(cached) " >&6 |
| 4897 | else |
| 4898 | eval "$as_ac_Header=\$ac_header_preproc" |
| 4899 | fi |
| 4900 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 4901 | $as_echo "$as_val"'` |
| 4902 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4903 | $as_echo "$ac_res" >&6; } |
| 4904 | |
| 4905 | fi |
| 4906 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 4907 | $as_echo "$as_val"'` |
| 4908 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 4909 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 4910 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4911 | _ACEOF |
| 4912 | |
| 4913 | fi |
| 4914 | |
| 4915 | done |
| 4916 | |
| 4917 | |
| 4918 | for ac_header in setjmp.h |
| 4919 | do |
| 4920 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4921 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4922 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4923 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4924 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4925 | $as_echo_n "(cached) " >&6 |
| 4926 | fi |
| 4927 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 4928 | $as_echo "$as_val"'` |
| 4929 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4930 | $as_echo "$ac_res" >&6; } |
| 4931 | else |
| 4932 | # Is the header compilable? |
| 4933 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 4934 | $as_echo_n "checking $ac_header usability... " >&6; } |
| 4935 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4936 | /* confdefs.h. */ |
| 4937 | _ACEOF |
| 4938 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4939 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4940 | /* end confdefs.h. */ |
| 4941 | $ac_includes_default |
| 4942 | #include <$ac_header> |
| 4943 | _ACEOF |
| 4944 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 4945 | if { (ac_try="$ac_compile" |
| 4946 | case "(($ac_try" in |
| 4947 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4948 | *) ac_try_echo=$ac_try;; |
| 4949 | esac |
| 4950 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4951 | $as_echo "$ac_try_echo") >&5 |
| 4952 | (eval "$ac_compile") 2>conftest.er1 |
| 4953 | ac_status=$? |
| 4954 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4955 | rmscip-shell system . . rm. -f conftest.er1 |
| 4956 | catscip-shell system . . cat. conftest.err >&5 |
| 4957 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4958 | (exit $ac_status); } && { |
| 4959 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 4960 | testscip-shell system . . test. ! -s conftest.err |
| 4961 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 4962 | ac_header_compiler=yes |
| 4963 | else |
| 4964 | $as_echo "$as_me: failed program was:" >&5 |
| 4965 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4966 | |
| 4967 | ac_header_compiler=no |
| 4968 | fi |
| 4969 | |
| 4970 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4971 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 4972 | $as_echo "$ac_header_compiler" >&6; } |
| 4973 | |
| 4974 | # Is the header present? |
| 4975 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 4976 | $as_echo_n "checking $ac_header presence... " >&6; } |
| 4977 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 4978 | /* confdefs.h. */ |
| 4979 | _ACEOF |
| 4980 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 4981 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 4982 | /* end confdefs.h. */ |
| 4983 | #include <$ac_header> |
| 4984 | _ACEOF |
| 4985 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4986 | case "(($ac_try" in |
| 4987 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4988 | *) ac_try_echo=$ac_try;; |
| 4989 | esac |
| 4990 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4991 | $as_echo "$ac_try_echo") >&5 |
| 4992 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 4993 | ac_status=$? |
| 4994 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 4995 | rmscip-shell system . . rm. -f conftest.er1 |
| 4996 | catscip-shell system . . cat. conftest.err >&5 |
| 4997 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4998 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 4999 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 5000 | testscip-shell system . . test. ! -s conftest.err |
| 5001 | }; then |
| 5002 | ac_header_preproc=yes |
| 5003 | else |
| 5004 | $as_echo "$as_me: failed program was:" >&5 |
| 5005 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5006 | |
| 5007 | ac_header_preproc=no |
| 5008 | fi |
| 5009 | |
| 5010 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 5011 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5012 | $as_echo "$ac_header_preproc" >&6; } |
| 5013 | |
| 5014 | # So? What about this header? |
| 5015 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5016 | yes:no: ) |
| 5017 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5018 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5019 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5020 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5021 | ac_header_preproc=yes |
| 5022 | ;; |
| 5023 | no:yes:* ) |
| 5024 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5025 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5026 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5027 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5028 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5029 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5030 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5031 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5032 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5033 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5034 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5035 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5036 | ( catscip-shell system . . cat. <<\_ASBOX |
| 5037 | ## ------------------------------------ ## |
| 5038 | ## Report this to [email protected] ## |
| 5039 | ## ------------------------------------ ## |
| 5040 | _ASBOX |
| 5041 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 5042 | ;; |
| 5043 | esac |
| 5044 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5045 | $as_echo_n "checking for $ac_header... " >&6; } |
| 5046 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5047 | $as_echo_n "(cached) " >&6 |
| 5048 | else |
| 5049 | eval "$as_ac_Header=\$ac_header_preproc" |
| 5050 | fi |
| 5051 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 5052 | $as_echo "$as_val"'` |
| 5053 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 5054 | $as_echo "$ac_res" >&6; } |
| 5055 | |
| 5056 | fi |
| 5057 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 5058 | $as_echo "$as_val"'` |
| 5059 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 5060 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 5061 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5062 | _ACEOF |
| 5063 | |
| 5064 | fi |
| 5065 | |
| 5066 | done |
| 5067 | |
| 5068 | |
| 5069 | for ac_header in sys/un.h |
| 5070 | do |
| 5071 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5072 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5073 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5074 | $as_echo_n "checking for $ac_header... " >&6; } |
| 5075 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5076 | $as_echo_n "(cached) " >&6 |
| 5077 | fi |
| 5078 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 5079 | $as_echo "$as_val"'` |
| 5080 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 5081 | $as_echo "$ac_res" >&6; } |
| 5082 | else |
| 5083 | # Is the header compilable? |
| 5084 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5085 | $as_echo_n "checking $ac_header usability... " >&6; } |
| 5086 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5087 | /* confdefs.h. */ |
| 5088 | _ACEOF |
| 5089 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5090 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5091 | /* end confdefs.h. */ |
| 5092 | $ac_includes_default |
| 5093 | #include <$ac_header> |
| 5094 | _ACEOF |
| 5095 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 5096 | if { (ac_try="$ac_compile" |
| 5097 | case "(($ac_try" in |
| 5098 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5099 | *) ac_try_echo=$ac_try;; |
| 5100 | esac |
| 5101 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5102 | $as_echo "$ac_try_echo") >&5 |
| 5103 | (eval "$ac_compile") 2>conftest.er1 |
| 5104 | ac_status=$? |
| 5105 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5106 | rmscip-shell system . . rm. -f conftest.er1 |
| 5107 | catscip-shell system . . cat. conftest.err >&5 |
| 5108 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5109 | (exit $ac_status); } && { |
| 5110 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 5111 | testscip-shell system . . test. ! -s conftest.err |
| 5112 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 5113 | ac_header_compiler=yes |
| 5114 | else |
| 5115 | $as_echo "$as_me: failed program was:" >&5 |
| 5116 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5117 | |
| 5118 | ac_header_compiler=no |
| 5119 | fi |
| 5120 | |
| 5121 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5122 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5123 | $as_echo "$ac_header_compiler" >&6; } |
| 5124 | |
| 5125 | # Is the header present? |
| 5126 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5127 | $as_echo_n "checking $ac_header presence... " >&6; } |
| 5128 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5129 | /* confdefs.h. */ |
| 5130 | _ACEOF |
| 5131 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5132 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5133 | /* end confdefs.h. */ |
| 5134 | #include <$ac_header> |
| 5135 | _ACEOF |
| 5136 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5137 | case "(($ac_try" in |
| 5138 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5139 | *) ac_try_echo=$ac_try;; |
| 5140 | esac |
| 5141 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5142 | $as_echo "$ac_try_echo") >&5 |
| 5143 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 5144 | ac_status=$? |
| 5145 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5146 | rmscip-shell system . . rm. -f conftest.er1 |
| 5147 | catscip-shell system . . cat. conftest.err >&5 |
| 5148 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5149 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 5150 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 5151 | testscip-shell system . . test. ! -s conftest.err |
| 5152 | }; then |
| 5153 | ac_header_preproc=yes |
| 5154 | else |
| 5155 | $as_echo "$as_me: failed program was:" >&5 |
| 5156 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5157 | |
| 5158 | ac_header_preproc=no |
| 5159 | fi |
| 5160 | |
| 5161 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 5162 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5163 | $as_echo "$ac_header_preproc" >&6; } |
| 5164 | |
| 5165 | # So? What about this header? |
| 5166 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5167 | yes:no: ) |
| 5168 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5169 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5170 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5171 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5172 | ac_header_preproc=yes |
| 5173 | ;; |
| 5174 | no:yes:* ) |
| 5175 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5176 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5177 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5178 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5179 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5180 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5181 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5182 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5183 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5184 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5185 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5186 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5187 | ( catscip-shell system . . cat. <<\_ASBOX |
| 5188 | ## ------------------------------------ ## |
| 5189 | ## Report this to [email protected] ## |
| 5190 | ## ------------------------------------ ## |
| 5191 | _ASBOX |
| 5192 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 5193 | ;; |
| 5194 | esac |
| 5195 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5196 | $as_echo_n "checking for $ac_header... " >&6; } |
| 5197 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5198 | $as_echo_n "(cached) " >&6 |
| 5199 | else |
| 5200 | eval "$as_ac_Header=\$ac_header_preproc" |
| 5201 | fi |
| 5202 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 5203 | $as_echo "$as_val"'` |
| 5204 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 5205 | $as_echo "$ac_res" >&6; } |
| 5206 | |
| 5207 | fi |
| 5208 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 5209 | $as_echo "$as_val"'` |
| 5210 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 5211 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 5212 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5213 | _ACEOF |
| 5214 | |
| 5215 | fi |
| 5216 | |
| 5217 | done |
| 5218 | |
| 5219 | |
| 5220 | for ac_header in sys/shm.h |
| 5221 | do |
| 5222 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5223 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5224 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5225 | $as_echo_n "checking for $ac_header... " >&6; } |
| 5226 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5227 | $as_echo_n "(cached) " >&6 |
| 5228 | fi |
| 5229 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 5230 | $as_echo "$as_val"'` |
| 5231 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 5232 | $as_echo "$ac_res" >&6; } |
| 5233 | else |
| 5234 | # Is the header compilable? |
| 5235 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5236 | $as_echo_n "checking $ac_header usability... " >&6; } |
| 5237 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5238 | /* confdefs.h. */ |
| 5239 | _ACEOF |
| 5240 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5241 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5242 | /* end confdefs.h. */ |
| 5243 | $ac_includes_default |
| 5244 | #include <$ac_header> |
| 5245 | _ACEOF |
| 5246 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 5247 | if { (ac_try="$ac_compile" |
| 5248 | case "(($ac_try" in |
| 5249 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5250 | *) ac_try_echo=$ac_try;; |
| 5251 | esac |
| 5252 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5253 | $as_echo "$ac_try_echo") >&5 |
| 5254 | (eval "$ac_compile") 2>conftest.er1 |
| 5255 | ac_status=$? |
| 5256 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5257 | rmscip-shell system . . rm. -f conftest.er1 |
| 5258 | catscip-shell system . . cat. conftest.err >&5 |
| 5259 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5260 | (exit $ac_status); } && { |
| 5261 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 5262 | testscip-shell system . . test. ! -s conftest.err |
| 5263 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 5264 | ac_header_compiler=yes |
| 5265 | else |
| 5266 | $as_echo "$as_me: failed program was:" >&5 |
| 5267 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5268 | |
| 5269 | ac_header_compiler=no |
| 5270 | fi |
| 5271 | |
| 5272 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5273 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5274 | $as_echo "$ac_header_compiler" >&6; } |
| 5275 | |
| 5276 | # Is the header present? |
| 5277 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5278 | $as_echo_n "checking $ac_header presence... " >&6; } |
| 5279 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5280 | /* confdefs.h. */ |
| 5281 | _ACEOF |
| 5282 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5283 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5284 | /* end confdefs.h. */ |
| 5285 | #include <$ac_header> |
| 5286 | _ACEOF |
| 5287 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5288 | case "(($ac_try" in |
| 5289 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5290 | *) ac_try_echo=$ac_try;; |
| 5291 | esac |
| 5292 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5293 | $as_echo "$ac_try_echo") >&5 |
| 5294 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 5295 | ac_status=$? |
| 5296 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5297 | rmscip-shell system . . rm. -f conftest.er1 |
| 5298 | catscip-shell system . . cat. conftest.err >&5 |
| 5299 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5300 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 5301 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 5302 | testscip-shell system . . test. ! -s conftest.err |
| 5303 | }; then |
| 5304 | ac_header_preproc=yes |
| 5305 | else |
| 5306 | $as_echo "$as_me: failed program was:" >&5 |
| 5307 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5308 | |
| 5309 | ac_header_preproc=no |
| 5310 | fi |
| 5311 | |
| 5312 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 5313 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5314 | $as_echo "$ac_header_preproc" >&6; } |
| 5315 | |
| 5316 | # So? What about this header? |
| 5317 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5318 | yes:no: ) |
| 5319 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5320 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5321 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5322 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5323 | ac_header_preproc=yes |
| 5324 | ;; |
| 5325 | no:yes:* ) |
| 5326 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5327 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5328 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5329 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5330 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5331 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5332 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5333 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5334 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5335 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5336 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5337 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5338 | ( catscip-shell system . . cat. <<\_ASBOX |
| 5339 | ## ------------------------------------ ## |
| 5340 | ## Report this to [email protected] ## |
| 5341 | ## ------------------------------------ ## |
| 5342 | _ASBOX |
| 5343 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 5344 | ;; |
| 5345 | esac |
| 5346 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5347 | $as_echo_n "checking for $ac_header... " >&6; } |
| 5348 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5349 | $as_echo_n "(cached) " >&6 |
| 5350 | else |
| 5351 | eval "$as_ac_Header=\$ac_header_preproc" |
| 5352 | fi |
| 5353 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 5354 | $as_echo "$as_val"'` |
| 5355 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 5356 | $as_echo "$ac_res" >&6; } |
| 5357 | |
| 5358 | fi |
| 5359 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 5360 | $as_echo "$as_val"'` |
| 5361 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 5362 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 5363 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5364 | _ACEOF |
| 5365 | |
| 5366 | fi |
| 5367 | |
| 5368 | done |
| 5369 | |
| 5370 | |
| 5371 | for ac_header in sys/mman.h |
| 5372 | do |
| 5373 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5374 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5375 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5376 | $as_echo_n "checking for $ac_header... " >&6; } |
| 5377 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5378 | $as_echo_n "(cached) " >&6 |
| 5379 | fi |
| 5380 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 5381 | $as_echo "$as_val"'` |
| 5382 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 5383 | $as_echo "$ac_res" >&6; } |
| 5384 | else |
| 5385 | # Is the header compilable? |
| 5386 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5387 | $as_echo_n "checking $ac_header usability... " >&6; } |
| 5388 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5389 | /* confdefs.h. */ |
| 5390 | _ACEOF |
| 5391 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5392 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5393 | /* end confdefs.h. */ |
| 5394 | $ac_includes_default |
| 5395 | #include <$ac_header> |
| 5396 | _ACEOF |
| 5397 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 5398 | if { (ac_try="$ac_compile" |
| 5399 | case "(($ac_try" in |
| 5400 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5401 | *) ac_try_echo=$ac_try;; |
| 5402 | esac |
| 5403 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5404 | $as_echo "$ac_try_echo") >&5 |
| 5405 | (eval "$ac_compile") 2>conftest.er1 |
| 5406 | ac_status=$? |
| 5407 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5408 | rmscip-shell system . . rm. -f conftest.er1 |
| 5409 | catscip-shell system . . cat. conftest.err >&5 |
| 5410 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5411 | (exit $ac_status); } && { |
| 5412 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 5413 | testscip-shell system . . test. ! -s conftest.err |
| 5414 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 5415 | ac_header_compiler=yes |
| 5416 | else |
| 5417 | $as_echo "$as_me: failed program was:" >&5 |
| 5418 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5419 | |
| 5420 | ac_header_compiler=no |
| 5421 | fi |
| 5422 | |
| 5423 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5424 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5425 | $as_echo "$ac_header_compiler" >&6; } |
| 5426 | |
| 5427 | # Is the header present? |
| 5428 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5429 | $as_echo_n "checking $ac_header presence... " >&6; } |
| 5430 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5431 | /* confdefs.h. */ |
| 5432 | _ACEOF |
| 5433 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5434 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5435 | /* end confdefs.h. */ |
| 5436 | #include <$ac_header> |
| 5437 | _ACEOF |
| 5438 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5439 | case "(($ac_try" in |
| 5440 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5441 | *) ac_try_echo=$ac_try;; |
| 5442 | esac |
| 5443 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5444 | $as_echo "$ac_try_echo") >&5 |
| 5445 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 5446 | ac_status=$? |
| 5447 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5448 | rmscip-shell system . . rm. -f conftest.er1 |
| 5449 | catscip-shell system . . cat. conftest.err >&5 |
| 5450 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5451 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 5452 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 5453 | testscip-shell system . . test. ! -s conftest.err |
| 5454 | }; then |
| 5455 | ac_header_preproc=yes |
| 5456 | else |
| 5457 | $as_echo "$as_me: failed program was:" >&5 |
| 5458 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5459 | |
| 5460 | ac_header_preproc=no |
| 5461 | fi |
| 5462 | |
| 5463 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 5464 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5465 | $as_echo "$ac_header_preproc" >&6; } |
| 5466 | |
| 5467 | # So? What about this header? |
| 5468 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5469 | yes:no: ) |
| 5470 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5471 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5472 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5473 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5474 | ac_header_preproc=yes |
| 5475 | ;; |
| 5476 | no:yes:* ) |
| 5477 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5478 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5479 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5480 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5481 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5482 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5483 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5484 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5485 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5486 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5487 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5488 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5489 | ( catscip-shell system . . cat. <<\_ASBOX |
| 5490 | ## ------------------------------------ ## |
| 5491 | ## Report this to [email protected] ## |
| 5492 | ## ------------------------------------ ## |
| 5493 | _ASBOX |
| 5494 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 5495 | ;; |
| 5496 | esac |
| 5497 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5498 | $as_echo_n "checking for $ac_header... " >&6; } |
| 5499 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5500 | $as_echo_n "(cached) " >&6 |
| 5501 | else |
| 5502 | eval "$as_ac_Header=\$ac_header_preproc" |
| 5503 | fi |
| 5504 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 5505 | $as_echo "$as_val"'` |
| 5506 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 5507 | $as_echo "$ac_res" >&6; } |
| 5508 | |
| 5509 | fi |
| 5510 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 5511 | $as_echo "$as_val"'` |
| 5512 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 5513 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 5514 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5515 | _ACEOF |
| 5516 | |
| 5517 | fi |
| 5518 | |
| 5519 | done |
| 5520 | |
| 5521 | |
| 5522 | for ac_header in sys/ipc.h |
| 5523 | do |
| 5524 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5525 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5526 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5527 | $as_echo_n "checking for $ac_header... " >&6; } |
| 5528 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5529 | $as_echo_n "(cached) " >&6 |
| 5530 | fi |
| 5531 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 5532 | $as_echo "$as_val"'` |
| 5533 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 5534 | $as_echo "$ac_res" >&6; } |
| 5535 | else |
| 5536 | # Is the header compilable? |
| 5537 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5538 | $as_echo_n "checking $ac_header usability... " >&6; } |
| 5539 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5540 | /* confdefs.h. */ |
| 5541 | _ACEOF |
| 5542 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5543 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5544 | /* end confdefs.h. */ |
| 5545 | $ac_includes_default |
| 5546 | #include <$ac_header> |
| 5547 | _ACEOF |
| 5548 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 5549 | if { (ac_try="$ac_compile" |
| 5550 | case "(($ac_try" in |
| 5551 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5552 | *) ac_try_echo=$ac_try;; |
| 5553 | esac |
| 5554 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5555 | $as_echo "$ac_try_echo") >&5 |
| 5556 | (eval "$ac_compile") 2>conftest.er1 |
| 5557 | ac_status=$? |
| 5558 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5559 | rmscip-shell system . . rm. -f conftest.er1 |
| 5560 | catscip-shell system . . cat. conftest.err >&5 |
| 5561 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5562 | (exit $ac_status); } && { |
| 5563 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 5564 | testscip-shell system . . test. ! -s conftest.err |
| 5565 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 5566 | ac_header_compiler=yes |
| 5567 | else |
| 5568 | $as_echo "$as_me: failed program was:" >&5 |
| 5569 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5570 | |
| 5571 | ac_header_compiler=no |
| 5572 | fi |
| 5573 | |
| 5574 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5575 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5576 | $as_echo "$ac_header_compiler" >&6; } |
| 5577 | |
| 5578 | # Is the header present? |
| 5579 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5580 | $as_echo_n "checking $ac_header presence... " >&6; } |
| 5581 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5582 | /* confdefs.h. */ |
| 5583 | _ACEOF |
| 5584 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5585 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5586 | /* end confdefs.h. */ |
| 5587 | #include <$ac_header> |
| 5588 | _ACEOF |
| 5589 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5590 | case "(($ac_try" in |
| 5591 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5592 | *) ac_try_echo=$ac_try;; |
| 5593 | esac |
| 5594 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5595 | $as_echo "$ac_try_echo") >&5 |
| 5596 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 5597 | ac_status=$? |
| 5598 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5599 | rmscip-shell system . . rm. -f conftest.er1 |
| 5600 | catscip-shell system . . cat. conftest.err >&5 |
| 5601 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5602 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 5603 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 5604 | testscip-shell system . . test. ! -s conftest.err |
| 5605 | }; then |
| 5606 | ac_header_preproc=yes |
| 5607 | else |
| 5608 | $as_echo "$as_me: failed program was:" >&5 |
| 5609 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5610 | |
| 5611 | ac_header_preproc=no |
| 5612 | fi |
| 5613 | |
| 5614 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 5615 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5616 | $as_echo "$ac_header_preproc" >&6; } |
| 5617 | |
| 5618 | # So? What about this header? |
| 5619 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5620 | yes:no: ) |
| 5621 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5622 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5623 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5624 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5625 | ac_header_preproc=yes |
| 5626 | ;; |
| 5627 | no:yes:* ) |
| 5628 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5629 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5630 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5631 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5632 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5633 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5634 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5635 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5636 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5637 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5638 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5639 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5640 | ( catscip-shell system . . cat. <<\_ASBOX |
| 5641 | ## ------------------------------------ ## |
| 5642 | ## Report this to [email protected] ## |
| 5643 | ## ------------------------------------ ## |
| 5644 | _ASBOX |
| 5645 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 5646 | ;; |
| 5647 | esac |
| 5648 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5649 | $as_echo_n "checking for $ac_header... " >&6; } |
| 5650 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5651 | $as_echo_n "(cached) " >&6 |
| 5652 | else |
| 5653 | eval "$as_ac_Header=\$ac_header_preproc" |
| 5654 | fi |
| 5655 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 5656 | $as_echo "$as_val"'` |
| 5657 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 5658 | $as_echo "$ac_res" >&6; } |
| 5659 | |
| 5660 | fi |
| 5661 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 5662 | $as_echo "$as_val"'` |
| 5663 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 5664 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 5665 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5666 | _ACEOF |
| 5667 | |
| 5668 | fi |
| 5669 | |
| 5670 | done |
| 5671 | |
| 5672 | |
| 5673 | { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5 |
| 5674 | $as_echo_n "checking for socklen_t... " >&6; } |
| 5675 | if testscip-shell system . . test. "${ac_cv_type_socklen_t+set}" = set; then |
| 5676 | $as_echo_n "(cached) " >&6 |
| 5677 | else |
| 5678 | ac_cv_type_socklen_t=no |
| 5679 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5680 | /* confdefs.h. */ |
| 5681 | _ACEOF |
| 5682 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5683 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5684 | /* end confdefs.h. */ |
| 5685 | #include <sys/socket.h> |
| 5686 | |
| 5687 | int |
| 5688 | main () |
| 5689 | { |
| 5690 | if (sizeof (socklen_t)) |
| 5691 | return 0; |
| 5692 | ; |
| 5693 | return 0; |
| 5694 | } |
| 5695 | _ACEOF |
| 5696 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 5697 | if { (ac_try="$ac_compile" |
| 5698 | case "(($ac_try" in |
| 5699 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5700 | *) ac_try_echo=$ac_try;; |
| 5701 | esac |
| 5702 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5703 | $as_echo "$ac_try_echo") >&5 |
| 5704 | (eval "$ac_compile") 2>conftest.er1 |
| 5705 | ac_status=$? |
| 5706 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5707 | rmscip-shell system . . rm. -f conftest.er1 |
| 5708 | catscip-shell system . . cat. conftest.err >&5 |
| 5709 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5710 | (exit $ac_status); } && { |
| 5711 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 5712 | testscip-shell system . . test. ! -s conftest.err |
| 5713 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 5714 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5715 | /* confdefs.h. */ |
| 5716 | _ACEOF |
| 5717 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5718 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5719 | /* end confdefs.h. */ |
| 5720 | #include <sys/socket.h> |
| 5721 | |
| 5722 | int |
| 5723 | main () |
| 5724 | { |
| 5725 | if (sizeof ((socklen_t))) |
| 5726 | return 0; |
| 5727 | ; |
| 5728 | return 0; |
| 5729 | } |
| 5730 | _ACEOF |
| 5731 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 5732 | if { (ac_try="$ac_compile" |
| 5733 | case "(($ac_try" in |
| 5734 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5735 | *) ac_try_echo=$ac_try;; |
| 5736 | esac |
| 5737 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5738 | $as_echo "$ac_try_echo") >&5 |
| 5739 | (eval "$ac_compile") 2>conftest.er1 |
| 5740 | ac_status=$? |
| 5741 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5742 | rmscip-shell system . . rm. -f conftest.er1 |
| 5743 | catscip-shell system . . cat. conftest.err >&5 |
| 5744 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5745 | (exit $ac_status); } && { |
| 5746 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 5747 | testscip-shell system . . test. ! -s conftest.err |
| 5748 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 5749 | : |
| 5750 | else |
| 5751 | $as_echo "$as_me: failed program was:" >&5 |
| 5752 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5753 | |
| 5754 | ac_cv_type_socklen_t=yes |
| 5755 | fi |
| 5756 | |
| 5757 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5758 | else |
| 5759 | $as_echo "$as_me: failed program was:" >&5 |
| 5760 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5761 | |
| 5762 | |
| 5763 | fi |
| 5764 | |
| 5765 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5766 | fi |
| 5767 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
| 5768 | $as_echo "$ac_cv_type_socklen_t" >&6; } |
| 5769 | if testscip-shell system . . test. "x$ac_cv_type_socklen_t" = x""yes; then |
| 5770 | |
| 5771 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 5772 | #define HAVE_SOCKLEN_T 1 |
| 5773 | _ACEOF |
| 5774 | |
| 5775 | |
| 5776 | fi |
| 5777 | |
| 5778 | |
| 5779 | { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 5780 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 5781 | if testscip-shell system . . test. "${ac_cv_c_const+set}" = set; then |
| 5782 | $as_echo_n "(cached) " >&6 |
| 5783 | else |
| 5784 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5785 | /* confdefs.h. */ |
| 5786 | _ACEOF |
| 5787 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5788 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5789 | /* end confdefs.h. */ |
| 5790 | |
| 5791 | int |
| 5792 | main () |
| 5793 | { |
| 5794 | /* FIXME: Include the comments suggested by Paul. */ |
| 5795 | #ifndef __cplusplus |
| 5796 | /* Ultrix mips cc rejects this. */ |
| 5797 | typedef int charset[2]; |
| 5798 | const charset cs; |
| 5799 | /* SunOS 4.1.1 cc rejects this. */ |
| 5800 | char const *const *pcpcc; |
| 5801 | char **ppc; |
| 5802 | /* NEC SVR4.0.2 mips cc rejects this. */ |
| 5803 | struct point {int x, y;}; |
| 5804 | static struct point const zero = {0,0}; |
| 5805 | /* AIX XL C 1.02.0.0 rejects this. |
| 5806 | It does not let you subtract one const X* pointer from another in |
| 5807 | an arm of an if-expression whose if-part is not a constant |
| 5808 | expression */ |
| 5809 | const char *g = "string"; |
| 5810 | pcpcc = &g + (g ? g-g : 0); |
| 5811 | /* HPUX 7.0 cc rejects these. */ |
| 5812 | ++pcpcc; |
| 5813 | ppc = (char**) pcpcc; |
| 5814 | pcpcc = (char const *const *) ppc; |
| 5815 | { /* SCO 3.2v4 cc rejects this. */ |
| 5816 | char *t; |
| 5817 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 5818 | |
| 5819 | *t++ = 0; |
| 5820 | if (s) return 0; |
| 5821 | } |
| 5822 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 5823 | int x[] = {25, 17}; |
| 5824 | const int *foo = &x[0]; |
| 5825 | ++foo; |
| 5826 | } |
| 5827 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 5828 | typedef const int *iptr; |
| 5829 | iptr p = 0; |
| 5830 | ++p; |
| 5831 | } |
| 5832 | { /* AIX XL C 1.02.0.0 rejects this saying |
| 5833 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 5834 | struct s { int j; const int *ap[3]; }; |
| 5835 | struct s *b; b->j = 5; |
| 5836 | } |
| 5837 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 5838 | const int foo = 10; |
| 5839 | if (!foo) return 0; |
| 5840 | } |
| 5841 | return !cs[0] && !zero.x; |
| 5842 | #endif |
| 5843 | |
| 5844 | ; |
| 5845 | return 0; |
| 5846 | } |
| 5847 | _ACEOF |
| 5848 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 5849 | if { (ac_try="$ac_compile" |
| 5850 | case "(($ac_try" in |
| 5851 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5852 | *) ac_try_echo=$ac_try;; |
| 5853 | esac |
| 5854 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5855 | $as_echo "$ac_try_echo") >&5 |
| 5856 | (eval "$ac_compile") 2>conftest.er1 |
| 5857 | ac_status=$? |
| 5858 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5859 | rmscip-shell system . . rm. -f conftest.er1 |
| 5860 | catscip-shell system . . cat. conftest.err >&5 |
| 5861 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5862 | (exit $ac_status); } && { |
| 5863 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 5864 | testscip-shell system . . test. ! -s conftest.err |
| 5865 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 5866 | ac_cv_c_const=yes |
| 5867 | else |
| 5868 | $as_echo "$as_me: failed program was:" >&5 |
| 5869 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5870 | |
| 5871 | ac_cv_c_const=no |
| 5872 | fi |
| 5873 | |
| 5874 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5875 | fi |
| 5876 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 5877 | $as_echo "$ac_cv_c_const" >&6; } |
| 5878 | if testscip-shell system . . test. $ac_cv_c_const = no; then |
| 5879 | |
| 5880 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 5881 | #define const /**/ |
| 5882 | _ACEOF |
| 5883 | |
| 5884 | fi |
| 5885 | |
| 5886 | |
| 5887 | |
| 5888 | |
| 5889 | |
| 5890 | |
| 5891 | |
| 5892 | for ac_func in strchr memcpy snprintf atexit setenv |
| 5893 | do |
| 5894 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5895 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 5896 | $as_echo_n "checking for $ac_func... " >&6; } |
| 5897 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5898 | $as_echo_n "(cached) " >&6 |
| 5899 | else |
| 5900 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5901 | /* confdefs.h. */ |
| 5902 | _ACEOF |
| 5903 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 5904 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 5905 | /* end confdefs.h. */ |
| 5906 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 5907 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 5908 | #define $ac_func innocuous_$ac_func |
| 5909 | |
| 5910 | /* System header to define __stub macros and hopefully few prototypes, |
| 5911 | which can conflict with char $ac_func (); below. |
| 5912 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5913 | <limits.h> exists even on freestanding compilers. */ |
| 5914 | |
| 5915 | #ifdef __STDC__ |
| 5916 | # include <limits.h> |
| 5917 | #else |
| 5918 | # include <assert.h> |
| 5919 | #endif |
| 5920 | |
| 5921 | #undef $ac_func |
| 5922 | |
| 5923 | /* Override any GCC internal prototype to avoid an error. |
| 5924 | Use char because int might match the return type of a GCC |
| 5925 | builtin and then its argument prototype would still apply. */ |
| 5926 | #ifdef __cplusplus |
| 5927 | extern "C" |
| 5928 | #endif |
| 5929 | char $ac_func (); |
| 5930 | /* The GNU C library defines this for functions which it implements |
| 5931 | to always fail with ENOSYS. Some functions are actually named |
| 5932 | something starting with __ and the normal name is an alias. */ |
| 5933 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 5934 | choke me |
| 5935 | #endif |
| 5936 | |
| 5937 | int |
| 5938 | main () |
| 5939 | { |
| 5940 | return $ac_func (); |
| 5941 | ; |
| 5942 | return 0; |
| 5943 | } |
| 5944 | _ACEOF |
| 5945 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 5946 | if { (ac_try="$ac_link" |
| 5947 | case "(($ac_try" in |
| 5948 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5949 | *) ac_try_echo=$ac_try;; |
| 5950 | esac |
| 5951 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 5952 | $as_echo "$ac_try_echo") >&5 |
| 5953 | (eval "$ac_link") 2>conftest.er1 |
| 5954 | ac_status=$? |
| 5955 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 5956 | rmscip-shell system . . rm. -f conftest.er1 |
| 5957 | catscip-shell system . . cat. conftest.err >&5 |
| 5958 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5959 | (exit $ac_status); } && { |
| 5960 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 5961 | testscip-shell system . . test. ! -s conftest.err |
| 5962 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 5963 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 5964 | $as_test_x conftest$ac_exeext |
| 5965 | }; then |
| 5966 | eval "$as_ac_var=yes" |
| 5967 | else |
| 5968 | $as_echo "$as_me: failed program was:" >&5 |
| 5969 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5970 | |
| 5971 | eval "$as_ac_var=no" |
| 5972 | fi |
| 5973 | |
| 5974 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 5975 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 5976 | conftest$ac_exeext conftest.$ac_ext |
| 5977 | fi |
| 5978 | ac_res=`eval 'as_val=${'$as_ac_var'} |
| 5979 | $as_echo "$as_val"'` |
| 5980 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 5981 | $as_echo "$ac_res" >&6; } |
| 5982 | as_val=`eval 'as_val=${'$as_ac_var'} |
| 5983 | $as_echo "$as_val"'` |
| 5984 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 5985 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 5986 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5987 | _ACEOF |
| 5988 | |
| 5989 | fi |
| 5990 | done |
| 5991 | |
| 5992 | |
| 5993 | { $as_echo "$as_me:$LINENO: checking for connect" >&5 |
| 5994 | $as_echo_n "checking for connect... " >&6; } |
| 5995 | if testscip-shell system . . test. "${ac_cv_func_connect+set}" = set; then |
| 5996 | $as_echo_n "(cached) " >&6 |
| 5997 | else |
| 5998 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 5999 | /* confdefs.h. */ |
| 6000 | _ACEOF |
| 6001 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 6002 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 6003 | /* end confdefs.h. */ |
| 6004 | /* Define connect to an innocuous variant, in case <limits.h> declares connect. |
| 6005 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 6006 | #define connect innocuous_connect |
| 6007 | |
| 6008 | /* System header to define __stub macros and hopefully few prototypes, |
| 6009 | which can conflict with char connect (); below. |
| 6010 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 6011 | <limits.h> exists even on freestanding compilers. */ |
| 6012 | |
| 6013 | #ifdef __STDC__ |
| 6014 | # include <limits.h> |
| 6015 | #else |
| 6016 | # include <assert.h> |
| 6017 | #endif |
| 6018 | |
| 6019 | #undef connect |
| 6020 | |
| 6021 | /* Override any GCC internal prototype to avoid an error. |
| 6022 | Use char because int might match the return type of a GCC |
| 6023 | builtin and then its argument prototype would still apply. */ |
| 6024 | #ifdef __cplusplus |
| 6025 | extern "C" |
| 6026 | #endif |
| 6027 | char connect (); |
| 6028 | /* The GNU C library defines this for functions which it implements |
| 6029 | to always fail with ENOSYS. Some functions are actually named |
| 6030 | something starting with __ and the normal name is an alias. */ |
| 6031 | #if defined __stub_connect || defined __stub___connect |
| 6032 | choke me |
| 6033 | #endif |
| 6034 | |
| 6035 | int |
| 6036 | main () |
| 6037 | { |
| 6038 | return connect (); |
| 6039 | ; |
| 6040 | return 0; |
| 6041 | } |
| 6042 | _ACEOF |
| 6043 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 6044 | if { (ac_try="$ac_link" |
| 6045 | case "(($ac_try" in |
| 6046 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6047 | *) ac_try_echo=$ac_try;; |
| 6048 | esac |
| 6049 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6050 | $as_echo "$ac_try_echo") >&5 |
| 6051 | (eval "$ac_link") 2>conftest.er1 |
| 6052 | ac_status=$? |
| 6053 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 6054 | rmscip-shell system . . rm. -f conftest.er1 |
| 6055 | catscip-shell system . . cat. conftest.err >&5 |
| 6056 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6057 | (exit $ac_status); } && { |
| 6058 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 6059 | testscip-shell system . . test. ! -s conftest.err |
| 6060 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 6061 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 6062 | $as_test_x conftest$ac_exeext |
| 6063 | }; then |
| 6064 | ac_cv_func_connect=yes |
| 6065 | else |
| 6066 | $as_echo "$as_me: failed program was:" >&5 |
| 6067 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 6068 | |
| 6069 | ac_cv_func_connect=no |
| 6070 | fi |
| 6071 | |
| 6072 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 6073 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6074 | conftest$ac_exeext conftest.$ac_ext |
| 6075 | fi |
| 6076 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
| 6077 | $as_echo "$ac_cv_func_connect" >&6; } |
| 6078 | |
| 6079 | if testscip-shell system . . test. $ac_cv_func_connect = no; then |
| 6080 | { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
| 6081 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
| 6082 | if testscip-shell system . . test. "${ac_cv_lib_socket_connect+set}" = set; then |
| 6083 | $as_echo_n "(cached) " >&6 |
| 6084 | else |
| 6085 | ac_check_lib_save_LIBS=$LIBS |
| 6086 | LIBS="-lsocket $LIBS" |
| 6087 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 6088 | /* confdefs.h. */ |
| 6089 | _ACEOF |
| 6090 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 6091 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 6092 | /* end confdefs.h. */ |
| 6093 | |
| 6094 | /* Override any GCC internal prototype to avoid an error. |
| 6095 | Use char because int might match the return type of a GCC |
| 6096 | builtin and then its argument prototype would still apply. */ |
| 6097 | #ifdef __cplusplus |
| 6098 | extern "C" |
| 6099 | #endif |
| 6100 | char connect (); |
| 6101 | int |
| 6102 | main () |
| 6103 | { |
| 6104 | return connect (); |
| 6105 | ; |
| 6106 | return 0; |
| 6107 | } |
| 6108 | _ACEOF |
| 6109 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 6110 | if { (ac_try="$ac_link" |
| 6111 | case "(($ac_try" in |
| 6112 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6113 | *) ac_try_echo=$ac_try;; |
| 6114 | esac |
| 6115 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6116 | $as_echo "$ac_try_echo") >&5 |
| 6117 | (eval "$ac_link") 2>conftest.er1 |
| 6118 | ac_status=$? |
| 6119 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 6120 | rmscip-shell system . . rm. -f conftest.er1 |
| 6121 | catscip-shell system . . cat. conftest.err >&5 |
| 6122 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6123 | (exit $ac_status); } && { |
| 6124 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 6125 | testscip-shell system . . test. ! -s conftest.err |
| 6126 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 6127 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 6128 | $as_test_x conftest$ac_exeext |
| 6129 | }; then |
| 6130 | ac_cv_lib_socket_connect=yes |
| 6131 | else |
| 6132 | $as_echo "$as_me: failed program was:" >&5 |
| 6133 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 6134 | |
| 6135 | ac_cv_lib_socket_connect=no |
| 6136 | fi |
| 6137 | |
| 6138 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 6139 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6140 | conftest$ac_exeext conftest.$ac_ext |
| 6141 | LIBS=$ac_check_lib_save_LIBS |
| 6142 | fi |
| 6143 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
| 6144 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
| 6145 | if testscip-shell system . . test. "x$ac_cv_lib_socket_connect" = x""yes; then |
| 6146 | EXTRA_LIBS="$EXTRA_LIBS -lsocket" |
| 6147 | fi |
| 6148 | |
| 6149 | fi |
| 6150 | { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
| 6151 | $as_echo_n "checking for gethostbyname... " >&6; } |
| 6152 | if testscip-shell system . . test. "${ac_cv_func_gethostbyname+set}" = set; then |
| 6153 | $as_echo_n "(cached) " >&6 |
| 6154 | else |
| 6155 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 6156 | /* confdefs.h. */ |
| 6157 | _ACEOF |
| 6158 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 6159 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 6160 | /* end confdefs.h. */ |
| 6161 | /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
| 6162 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 6163 | #define gethostbyname innocuous_gethostbyname |
| 6164 | |
| 6165 | /* System header to define __stub macros and hopefully few prototypes, |
| 6166 | which can conflict with char gethostbyname (); below. |
| 6167 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 6168 | <limits.h> exists even on freestanding compilers. */ |
| 6169 | |
| 6170 | #ifdef __STDC__ |
| 6171 | # include <limits.h> |
| 6172 | #else |
| 6173 | # include <assert.h> |
| 6174 | #endif |
| 6175 | |
| 6176 | #undef gethostbyname |
| 6177 | |
| 6178 | /* Override any GCC internal prototype to avoid an error. |
| 6179 | Use char because int might match the return type of a GCC |
| 6180 | builtin and then its argument prototype would still apply. */ |
| 6181 | #ifdef __cplusplus |
| 6182 | extern "C" |
| 6183 | #endif |
| 6184 | char gethostbyname (); |
| 6185 | /* The GNU C library defines this for functions which it implements |
| 6186 | to always fail with ENOSYS. Some functions are actually named |
| 6187 | something starting with __ and the normal name is an alias. */ |
| 6188 | #if defined __stub_gethostbyname || defined __stub___gethostbyname |
| 6189 | choke me |
| 6190 | #endif |
| 6191 | |
| 6192 | int |
| 6193 | main () |
| 6194 | { |
| 6195 | return gethostbyname (); |
| 6196 | ; |
| 6197 | return 0; |
| 6198 | } |
| 6199 | _ACEOF |
| 6200 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 6201 | if { (ac_try="$ac_link" |
| 6202 | case "(($ac_try" in |
| 6203 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6204 | *) ac_try_echo=$ac_try;; |
| 6205 | esac |
| 6206 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6207 | $as_echo "$ac_try_echo") >&5 |
| 6208 | (eval "$ac_link") 2>conftest.er1 |
| 6209 | ac_status=$? |
| 6210 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 6211 | rmscip-shell system . . rm. -f conftest.er1 |
| 6212 | catscip-shell system . . cat. conftest.err >&5 |
| 6213 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6214 | (exit $ac_status); } && { |
| 6215 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 6216 | testscip-shell system . . test. ! -s conftest.err |
| 6217 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 6218 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 6219 | $as_test_x conftest$ac_exeext |
| 6220 | }; then |
| 6221 | ac_cv_func_gethostbyname=yes |
| 6222 | else |
| 6223 | $as_echo "$as_me: failed program was:" >&5 |
| 6224 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 6225 | |
| 6226 | ac_cv_func_gethostbyname=no |
| 6227 | fi |
| 6228 | |
| 6229 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 6230 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6231 | conftest$ac_exeext conftest.$ac_ext |
| 6232 | fi |
| 6233 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
| 6234 | $as_echo "$ac_cv_func_gethostbyname" >&6; } |
| 6235 | |
| 6236 | if testscip-shell system . . test. $ac_cv_func_gethostbyname = no; then |
| 6237 | { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
| 6238 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
| 6239 | if testscip-shell system . . test. "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
| 6240 | $as_echo_n "(cached) " >&6 |
| 6241 | else |
| 6242 | ac_check_lib_save_LIBS=$LIBS |
| 6243 | LIBS="-lnsl $LIBS" |
| 6244 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 6245 | /* confdefs.h. */ |
| 6246 | _ACEOF |
| 6247 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 6248 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 6249 | /* end confdefs.h. */ |
| 6250 | |
| 6251 | /* Override any GCC internal prototype to avoid an error. |
| 6252 | Use char because int might match the return type of a GCC |
| 6253 | builtin and then its argument prototype would still apply. */ |
| 6254 | #ifdef __cplusplus |
| 6255 | extern "C" |
| 6256 | #endif |
| 6257 | char gethostbyname (); |
| 6258 | int |
| 6259 | main () |
| 6260 | { |
| 6261 | return gethostbyname (); |
| 6262 | ; |
| 6263 | return 0; |
| 6264 | } |
| 6265 | _ACEOF |
| 6266 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 6267 | if { (ac_try="$ac_link" |
| 6268 | case "(($ac_try" in |
| 6269 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6270 | *) ac_try_echo=$ac_try;; |
| 6271 | esac |
| 6272 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6273 | $as_echo "$ac_try_echo") >&5 |
| 6274 | (eval "$ac_link") 2>conftest.er1 |
| 6275 | ac_status=$? |
| 6276 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 6277 | rmscip-shell system . . rm. -f conftest.er1 |
| 6278 | catscip-shell system . . cat. conftest.err >&5 |
| 6279 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6280 | (exit $ac_status); } && { |
| 6281 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 6282 | testscip-shell system . . test. ! -s conftest.err |
| 6283 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 6284 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 6285 | $as_test_x conftest$ac_exeext |
| 6286 | }; then |
| 6287 | ac_cv_lib_nsl_gethostbyname=yes |
| 6288 | else |
| 6289 | $as_echo "$as_me: failed program was:" >&5 |
| 6290 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 6291 | |
| 6292 | ac_cv_lib_nsl_gethostbyname=no |
| 6293 | fi |
| 6294 | |
| 6295 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 6296 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6297 | conftest$ac_exeext conftest.$ac_ext |
| 6298 | LIBS=$ac_check_lib_save_LIBS |
| 6299 | fi |
| 6300 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
| 6301 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
| 6302 | if testscip-shell system . . test. "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then |
| 6303 | EXTRA_LIBS="$EXTRA_LIBS -lnsl" |
| 6304 | fi |
| 6305 | |
| 6306 | fi |
| 6307 | # AC_CHECK_LIB(db, snprintf, EXTRA_LIBS="$EXTRA_LIBS -ldb") |
| 6308 | |
| 6309 | # |
| 6310 | # checks specific to this project |
| 6311 | # |
| 6312 | |
| 6313 | { $as_echo "$as_me:$LINENO: checking for threaded xpans" >&5 |
| 6314 | $as_echo_n "checking for threaded xpans... " >&6; } |
| 6315 | # Check whether --enable-threaded-xpans was given. |
| 6316 | if testscip-shell system . . test. "${enable_threaded_xpans+set}" = set; then |
| 6317 | enableval=$enable_threaded_xpans; fun_ok=$enableval |
| 6318 | else |
| 6319 | fun_ok=no |
| 6320 | fi |
| 6321 | |
| 6322 | if testscip-shell system . . test. "$fun_ok" = "yes"; then |
| 6323 | { $as_echo "$as_me:$LINENO: result: $fun_ok" >&5 |
| 6324 | $as_echo "$fun_ok" >&6; } |
| 6325 | { $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 |
| 6326 | $as_echo_n "checking for pthread_create in -lpthread... " >&6; } |
| 6327 | if testscip-shell system . . test. "${ac_cv_lib_pthread_pthread_create+set}" = set; then |
| 6328 | $as_echo_n "(cached) " >&6 |
| 6329 | else |
| 6330 | ac_check_lib_save_LIBS=$LIBS |
| 6331 | LIBS="-lpthread $LIBS" |
| 6332 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 6333 | /* confdefs.h. */ |
| 6334 | _ACEOF |
| 6335 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 6336 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 6337 | /* end confdefs.h. */ |
| 6338 | |
| 6339 | /* Override any GCC internal prototype to avoid an error. |
| 6340 | Use char because int might match the return type of a GCC |
| 6341 | builtin and then its argument prototype would still apply. */ |
| 6342 | #ifdef __cplusplus |
| 6343 | extern "C" |
| 6344 | #endif |
| 6345 | char pthread_create (); |
| 6346 | int |
| 6347 | main () |
| 6348 | { |
| 6349 | return pthread_create (); |
| 6350 | ; |
| 6351 | return 0; |
| 6352 | } |
| 6353 | _ACEOF |
| 6354 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 6355 | if { (ac_try="$ac_link" |
| 6356 | case "(($ac_try" in |
| 6357 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6358 | *) ac_try_echo=$ac_try;; |
| 6359 | esac |
| 6360 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6361 | $as_echo "$ac_try_echo") >&5 |
| 6362 | (eval "$ac_link") 2>conftest.er1 |
| 6363 | ac_status=$? |
| 6364 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 6365 | rmscip-shell system . . rm. -f conftest.er1 |
| 6366 | catscip-shell system . . cat. conftest.err >&5 |
| 6367 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6368 | (exit $ac_status); } && { |
| 6369 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 6370 | testscip-shell system . . test. ! -s conftest.err |
| 6371 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 6372 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 6373 | $as_test_x conftest$ac_exeext |
| 6374 | }; then |
| 6375 | ac_cv_lib_pthread_pthread_create=yes |
| 6376 | else |
| 6377 | $as_echo "$as_me: failed program was:" >&5 |
| 6378 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 6379 | |
| 6380 | ac_cv_lib_pthread_pthread_create=no |
| 6381 | fi |
| 6382 | |
| 6383 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 6384 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6385 | conftest$ac_exeext conftest.$ac_ext |
| 6386 | LIBS=$ac_check_lib_save_LIBS |
| 6387 | fi |
| 6388 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 |
| 6389 | $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } |
| 6390 | if testscip-shell system . . test. "x$ac_cv_lib_pthread_pthread_create" = x""yes; then |
| 6391 | have_pthread=yes |
| 6392 | fi |
| 6393 | |
| 6394 | if testscip-shell system . . test. x"${have_pthread}" = x"yes"; then |
| 6395 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 6396 | #define HAVE_LIBPTHREAD 1 |
| 6397 | _ACEOF |
| 6398 | |
| 6399 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 6400 | #define _REENTRANT 1 |
| 6401 | _ACEOF |
| 6402 | |
| 6403 | TLIB="-lpthread" |
| 6404 | else |
| 6405 | { { $as_echo "$as_me:$LINENO: error: no threads found ... can't use enable-threaded-xpans" >&5 |
| 6406 | $as_echo "$as_me: error: no threads found ... can't use enable-threaded-xpans" >&2;} |
| 6407 | { (exit 1); exit 1; }; } |
| 6408 | fi |
| 6409 | else |
| 6410 | { $as_echo "$as_me:$LINENO: result: $fun_ok" >&5 |
| 6411 | $as_echo "$fun_ok" >&6; } |
| 6412 | fi |
| 6413 | |
| 6414 | |
| 6415 | { $as_echo "$as_me:$LINENO: checking for shared library build" >&5 |
| 6416 | $as_echo_n "checking for shared library build... " >&6; } |
| 6417 | # Check whether --enable-shared was given. |
| 6418 | if testscip-shell system . . test. "${enable_shared+set}" = set; then |
| 6419 | enableval=$enable_shared; fun_ok=$enableval |
| 6420 | else |
| 6421 | fun_ok=no |
| 6422 | fi |
| 6423 | |
| 6424 | if testscip-shell system . . test. "$fun_ok" != "no"; then |
| 6425 | fpic="yes" |
| 6426 | DOSHARED=shlib |
| 6427 | |
| 6428 | if testscip-shell system . . test. "$fun_ok" = "link"; then |
| 6429 | LLIB="-L. -l$PACKAGE_NAME" |
| 6430 | else |
| 6431 | LLIB='$(LIB)' |
| 6432 | fi |
| 6433 | else |
| 6434 | DOSHARED="" |
| 6435 | LLIB='$(LIB)' |
| 6436 | fi |
| 6437 | |
| 6438 | { $as_echo "$as_me:$LINENO: result: $fun_ok" >&5 |
| 6439 | $as_echo "$fun_ok" >&6; } |
| 6440 | |
| 6441 | { $as_echo "$as_me:$LINENO: checking for request to use posix_spawn" >&5 |
| 6442 | $as_echo_n "checking for request to use posix_spawn... " >&6; } |
| 6443 | # Check whether --enable-posix_spawn was given. |
| 6444 | if testscip-shell system . . test. "${enable_posix_spawn+set}" = set; then |
| 6445 | enableval=$enable_posix_spawn; fun_ok=$enableval |
| 6446 | else |
| 6447 | fun_ok=no |
| 6448 | fi |
| 6449 | |
| 6450 | { $as_echo "$as_me:$LINENO: result: $fun_ok" >&5 |
| 6451 | $as_echo "$fun_ok" >&6; } |
| 6452 | if testscip-shell system . . test. "$fun_ok" = "yes"; then |
| 6453 | |
| 6454 | |
| 6455 | for ac_func in posix_spawn _NSGetEnviron |
| 6456 | do |
| 6457 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 6458 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 6459 | $as_echo_n "checking for $ac_func... " >&6; } |
| 6460 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6461 | $as_echo_n "(cached) " >&6 |
| 6462 | else |
| 6463 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 6464 | /* confdefs.h. */ |
| 6465 | _ACEOF |
| 6466 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 6467 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 6468 | /* end confdefs.h. */ |
| 6469 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 6470 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 6471 | #define $ac_func innocuous_$ac_func |
| 6472 | |
| 6473 | /* System header to define __stub macros and hopefully few prototypes, |
| 6474 | which can conflict with char $ac_func (); below. |
| 6475 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 6476 | <limits.h> exists even on freestanding compilers. */ |
| 6477 | |
| 6478 | #ifdef __STDC__ |
| 6479 | # include <limits.h> |
| 6480 | #else |
| 6481 | # include <assert.h> |
| 6482 | #endif |
| 6483 | |
| 6484 | #undef $ac_func |
| 6485 | |
| 6486 | /* Override any GCC internal prototype to avoid an error. |
| 6487 | Use char because int might match the return type of a GCC |
| 6488 | builtin and then its argument prototype would still apply. */ |
| 6489 | #ifdef __cplusplus |
| 6490 | extern "C" |
| 6491 | #endif |
| 6492 | char $ac_func (); |
| 6493 | /* The GNU C library defines this for functions which it implements |
| 6494 | to always fail with ENOSYS. Some functions are actually named |
| 6495 | something starting with __ and the normal name is an alias. */ |
| 6496 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 6497 | choke me |
| 6498 | #endif |
| 6499 | |
| 6500 | int |
| 6501 | main () |
| 6502 | { |
| 6503 | return $ac_func (); |
| 6504 | ; |
| 6505 | return 0; |
| 6506 | } |
| 6507 | _ACEOF |
| 6508 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 6509 | if { (ac_try="$ac_link" |
| 6510 | case "(($ac_try" in |
| 6511 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6512 | *) ac_try_echo=$ac_try;; |
| 6513 | esac |
| 6514 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6515 | $as_echo "$ac_try_echo") >&5 |
| 6516 | (eval "$ac_link") 2>conftest.er1 |
| 6517 | ac_status=$? |
| 6518 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 6519 | rmscip-shell system . . rm. -f conftest.er1 |
| 6520 | catscip-shell system . . cat. conftest.err >&5 |
| 6521 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6522 | (exit $ac_status); } && { |
| 6523 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 6524 | testscip-shell system . . test. ! -s conftest.err |
| 6525 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 6526 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 6527 | $as_test_x conftest$ac_exeext |
| 6528 | }; then |
| 6529 | eval "$as_ac_var=yes" |
| 6530 | else |
| 6531 | $as_echo "$as_me: failed program was:" >&5 |
| 6532 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 6533 | |
| 6534 | eval "$as_ac_var=no" |
| 6535 | fi |
| 6536 | |
| 6537 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 6538 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6539 | conftest$ac_exeext conftest.$ac_ext |
| 6540 | fi |
| 6541 | ac_res=`eval 'as_val=${'$as_ac_var'} |
| 6542 | $as_echo "$as_val"'` |
| 6543 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 6544 | $as_echo "$ac_res" >&6; } |
| 6545 | as_val=`eval 'as_val=${'$as_ac_var'} |
| 6546 | $as_echo "$as_val"'` |
| 6547 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 6548 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 6549 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 6550 | _ACEOF |
| 6551 | |
| 6552 | fi |
| 6553 | done |
| 6554 | |
| 6555 | |
| 6556 | for ac_header in crt_externs.h |
| 6557 | do |
| 6558 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6559 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6560 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6561 | $as_echo_n "checking for $ac_header... " >&6; } |
| 6562 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6563 | $as_echo_n "(cached) " >&6 |
| 6564 | fi |
| 6565 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 6566 | $as_echo "$as_val"'` |
| 6567 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 6568 | $as_echo "$ac_res" >&6; } |
| 6569 | else |
| 6570 | # Is the header compilable? |
| 6571 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 6572 | $as_echo_n "checking $ac_header usability... " >&6; } |
| 6573 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 6574 | /* confdefs.h. */ |
| 6575 | _ACEOF |
| 6576 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 6577 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 6578 | /* end confdefs.h. */ |
| 6579 | $ac_includes_default |
| 6580 | #include <$ac_header> |
| 6581 | _ACEOF |
| 6582 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 6583 | if { (ac_try="$ac_compile" |
| 6584 | case "(($ac_try" in |
| 6585 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6586 | *) ac_try_echo=$ac_try;; |
| 6587 | esac |
| 6588 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6589 | $as_echo "$ac_try_echo") >&5 |
| 6590 | (eval "$ac_compile") 2>conftest.er1 |
| 6591 | ac_status=$? |
| 6592 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 6593 | rmscip-shell system . . rm. -f conftest.er1 |
| 6594 | catscip-shell system . . cat. conftest.err >&5 |
| 6595 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6596 | (exit $ac_status); } && { |
| 6597 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 6598 | testscip-shell system . . test. ! -s conftest.err |
| 6599 | } && testscip-shell system . . test. -s conftest.$ac_objext; then |
| 6600 | ac_header_compiler=yes |
| 6601 | else |
| 6602 | $as_echo "$as_me: failed program was:" >&5 |
| 6603 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 6604 | |
| 6605 | ac_header_compiler=no |
| 6606 | fi |
| 6607 | |
| 6608 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6609 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6610 | $as_echo "$ac_header_compiler" >&6; } |
| 6611 | |
| 6612 | # Is the header present? |
| 6613 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6614 | $as_echo_n "checking $ac_header presence... " >&6; } |
| 6615 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 6616 | /* confdefs.h. */ |
| 6617 | _ACEOF |
| 6618 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 6619 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 6620 | /* end confdefs.h. */ |
| 6621 | #include <$ac_header> |
| 6622 | _ACEOF |
| 6623 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 6624 | case "(($ac_try" in |
| 6625 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6626 | *) ac_try_echo=$ac_try;; |
| 6627 | esac |
| 6628 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6629 | $as_echo "$ac_try_echo") >&5 |
| 6630 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 6631 | ac_status=$? |
| 6632 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 6633 | rmscip-shell system . . rm. -f conftest.er1 |
| 6634 | catscip-shell system . . cat. conftest.err >&5 |
| 6635 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6636 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 6637 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 6638 | testscip-shell system . . test. ! -s conftest.err |
| 6639 | }; then |
| 6640 | ac_header_preproc=yes |
| 6641 | else |
| 6642 | $as_echo "$as_me: failed program was:" >&5 |
| 6643 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 6644 | |
| 6645 | ac_header_preproc=no |
| 6646 | fi |
| 6647 | |
| 6648 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 6649 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6650 | $as_echo "$ac_header_preproc" >&6; } |
| 6651 | |
| 6652 | # So? What about this header? |
| 6653 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6654 | yes:no: ) |
| 6655 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6656 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6657 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6658 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6659 | ac_header_preproc=yes |
| 6660 | ;; |
| 6661 | no:yes:* ) |
| 6662 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6663 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6664 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6665 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6666 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6667 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6668 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6669 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6670 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6671 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6672 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6673 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6674 | ( catscip-shell system . . cat. <<\_ASBOX |
| 6675 | ## ------------------------------------ ## |
| 6676 | ## Report this to [email protected] ## |
| 6677 | ## ------------------------------------ ## |
| 6678 | _ASBOX |
| 6679 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 6680 | ;; |
| 6681 | esac |
| 6682 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6683 | $as_echo_n "checking for $ac_header... " >&6; } |
| 6684 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6685 | $as_echo_n "(cached) " >&6 |
| 6686 | else |
| 6687 | eval "$as_ac_Header=\$ac_header_preproc" |
| 6688 | fi |
| 6689 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 6690 | $as_echo "$as_val"'` |
| 6691 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 6692 | $as_echo "$ac_res" >&6; } |
| 6693 | |
| 6694 | fi |
| 6695 | as_val=`eval 'as_val=${'$as_ac_Header'} |
| 6696 | $as_echo "$as_val"'` |
| 6697 | if testscip-shell system . . test. "x$as_val" = x""yes; then |
| 6698 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 6699 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6700 | _ACEOF |
| 6701 | |
| 6702 | fi |
| 6703 | |
| 6704 | done |
| 6705 | |
| 6706 | fi |
| 6707 | |
| 6708 | { $as_echo "$as_me:$LINENO: checking for X" >&5 |
| 6709 | $as_echo_n "checking for X... " >&6; } |
| 6710 | |
| 6711 | |
| 6712 | # Check whether --with-x was given. |
| 6713 | if testscip-shell system . . test. "${with_x+set}" = set; then |
| 6714 | withval=$with_x; |
| 6715 | fi |
| 6716 | |
| 6717 | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
| 6718 | if testscip-shell system . . test. "x$with_x" = xno; then |
| 6719 | # The user explicitly disabled X. |
| 6720 | have_x=disabled |
| 6721 | else |
| 6722 | case $x_includes,$x_libraries in #( |
| 6723 | *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 |
| 6724 | $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} |
| 6725 | { (exit 1); exit 1; }; };; #( |
| 6726 | *,NONE | NONE,*) if testscip-shell system . . test. "${ac_cv_have_x+set}" = set; then |
| 6727 | $as_echo_n "(cached) " >&6 |
| 6728 | else |
| 6729 | # One or both of the vars are not set, and there is no cached value. |
| 6730 | ac_x_includes=no ac_x_libraries=no |
| 6731 | rmscip-shell system . . rm. -f -r conftest.dir |
| 6732 | if mkdirscip-shell system . . mkdir. conftest.dir; then |
| 6733 | cd conftest.dir |
| 6734 | catscip-shell system . . cat. >Imakefile <<'_ACEOF' |
| 6735 | incroot: |
| 6736 | @echo incroot='${INCROOT}' |
| 6737 | usrlibdir: |
| 6738 | @echo usrlibdir='${USRLIBDIR}' |
| 6739 | libdir: |
| 6740 | @echo libdir='${LIBDIR}' |
| 6741 | _ACEOF |
| 6742 | if (export CC; ${XMKMF-xmkmf}) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. -f Makefile; then |
| 6743 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 6744 | for ac_var in incroot usrlibdir libdir; do |
| 6745 | eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
| 6746 | done |
| 6747 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
| 6748 | for ac_extension in a so sl dylib la dll; do |
| 6749 | if testscip-shell system . . test. ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
| 6750 | testscip-shell system . . test. -f "$ac_im_libdir/libX11.$ac_extension"; then |
| 6751 | ac_im_usrlibdir=$ac_im_libdir; break |
| 6752 | fi |
| 6753 | done |
| 6754 | # Screen out bogus values from the imake configuration. They are |
| 6755 | # bogus both because they are the default anyway, and because |
| 6756 | # using them would break gcc on systems where it needs fixed includes. |
| 6757 | case $ac_im_incroot in |
| 6758 | /usr/include) ac_x_includes= ;; |
| 6759 | *) testscip-shell system . . test. -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
| 6760 | esac |
| 6761 | case $ac_im_usrlibdir in |
| 6762 | /usr/lib | /usr/lib64 | /lib | /lib64) ;; |
| 6763 | *) testscip-shell system . . test. -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
| 6764 | esac |
| 6765 | fi |
| 6766 | cd .. |
| 6767 | rmscip-shell system . . rm. -f -r conftest.dir |
| 6768 | fi |
| 6769 | |
| 6770 | # Standard set of common directories for X headers. |
| 6771 | # Check X11 before X11Rn because it is often a symlink to the current release. |
| 6772 | ac_x_header_dirs=' |
| 6773 | /usr/X11/include |
| 6774 | /usr/X11R6/include |
| 6775 | /usr/X11R5/include |
| 6776 | /usr/X11R4/include |
| 6777 | |
| 6778 | /usr/include/X11 |
| 6779 | /usr/include/X11R6 |
| 6780 | /usr/include/X11R5 |
| 6781 | /usr/include/X11R4 |
| 6782 | |
| 6783 | /usr/local/X11/include |
| 6784 | /usr/local/X11R6/include |
| 6785 | /usr/local/X11R5/include |
| 6786 | /usr/local/X11R4/include |
| 6787 | |
| 6788 | /usr/local/include/X11 |
| 6789 | /usr/local/include/X11R6 |
| 6790 | /usr/local/include/X11R5 |
| 6791 | /usr/local/include/X11R4 |
| 6792 | |
| 6793 | /usr/X386/include |
| 6794 | /usr/x386/include |
| 6795 | /usr/XFree86/include/X11 |
| 6796 | |
| 6797 | /usr/include |
| 6798 | /usr/local/include |
| 6799 | /usr/unsupported/include |
| 6800 | /usr/athena/include |
| 6801 | /usr/local/x11r5/include |
| 6802 | /usr/lpp/Xamples/include |
| 6803 | |
| 6804 | /usr/openwin/include |
| 6805 | /usr/openwin/share/include' |
| 6806 | |
| 6807 | if testscip-shell system . . test. "$ac_x_includes" = no; then |
| 6808 | # Guess where to find include files, by looking for Xlib.h. |
| 6809 | # First, try using that file with no special directory specified. |
| 6810 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 6811 | /* confdefs.h. */ |
| 6812 | _ACEOF |
| 6813 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 6814 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 6815 | /* end confdefs.h. */ |
| 6816 | #include <X11/Xlib.h> |
| 6817 | _ACEOF |
| 6818 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 6819 | case "(($ac_try" in |
| 6820 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6821 | *) ac_try_echo=$ac_try;; |
| 6822 | esac |
| 6823 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6824 | $as_echo "$ac_try_echo") >&5 |
| 6825 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 6826 | ac_status=$? |
| 6827 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 6828 | rmscip-shell system . . rm. -f conftest.er1 |
| 6829 | catscip-shell system . . cat. conftest.err >&5 |
| 6830 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6831 | (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`. && { |
| 6832 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 6833 | testscip-shell system . . test. ! -s conftest.err |
| 6834 | }; then |
| 6835 | # We can compile using X headers with no special include directory. |
| 6836 | ac_x_includes= |
| 6837 | else |
| 6838 | $as_echo "$as_me: failed program was:" >&5 |
| 6839 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 6840 | |
| 6841 | for ac_dir in $ac_x_header_dirs; do |
| 6842 | if testscip-shell system . . test. -r "$ac_dir/X11/Xlib.h"; then |
| 6843 | ac_x_includes=$ac_dir |
| 6844 | break |
| 6845 | fi |
| 6846 | done |
| 6847 | fi |
| 6848 | |
| 6849 | rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext |
| 6850 | fi # $ac_x_includes = no |
| 6851 | |
| 6852 | if testscip-shell system . . test. "$ac_x_libraries" = no; then |
| 6853 | # Check for the libraries. |
| 6854 | # See if we find them without any special options. |
| 6855 | # Don't add to $LIBS permanently. |
| 6856 | ac_save_LIBS=$LIBS |
| 6857 | LIBS="-lX11 $LIBS" |
| 6858 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 6859 | /* confdefs.h. */ |
| 6860 | _ACEOF |
| 6861 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 6862 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 6863 | /* end confdefs.h. */ |
| 6864 | #include <X11/Xlib.h> |
| 6865 | int |
| 6866 | main () |
| 6867 | { |
| 6868 | XrmInitialize () |
| 6869 | ; |
| 6870 | return 0; |
| 6871 | } |
| 6872 | _ACEOF |
| 6873 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 6874 | if { (ac_try="$ac_link" |
| 6875 | case "(($ac_try" in |
| 6876 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6877 | *) ac_try_echo=$ac_try;; |
| 6878 | esac |
| 6879 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6880 | $as_echo "$ac_try_echo") >&5 |
| 6881 | (eval "$ac_link") 2>conftest.er1 |
| 6882 | ac_status=$? |
| 6883 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 6884 | rmscip-shell system . . rm. -f conftest.er1 |
| 6885 | catscip-shell system . . cat. conftest.err >&5 |
| 6886 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6887 | (exit $ac_status); } && { |
| 6888 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 6889 | testscip-shell system . . test. ! -s conftest.err |
| 6890 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 6891 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 6892 | $as_test_x conftest$ac_exeext |
| 6893 | }; then |
| 6894 | LIBS=$ac_save_LIBS |
| 6895 | # We can link X programs with no special library path. |
| 6896 | ac_x_libraries= |
| 6897 | else |
| 6898 | $as_echo "$as_me: failed program was:" >&5 |
| 6899 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 6900 | |
| 6901 | LIBS=$ac_save_LIBS |
| 6902 | for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sedscip-shell system . . sed. s/include/lib/g` |
| 6903 | do |
| 6904 | # Don't even attempt the hair of trying to link an X program! |
| 6905 | for ac_extension in a so sl dylib la dll; do |
| 6906 | if testscip-shell system . . test. -r "$ac_dir/libX11.$ac_extension"; then |
| 6907 | ac_x_libraries=$ac_dir |
| 6908 | break 2 |
| 6909 | fi |
| 6910 | done |
| 6911 | done |
| 6912 | fi |
| 6913 | |
| 6914 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 6915 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6916 | conftest$ac_exeext conftest.$ac_ext |
| 6917 | fi # $ac_x_libraries = no |
| 6918 | |
| 6919 | case $ac_x_includes,$ac_x_libraries in #( |
| 6920 | no,* | *,no | *\'*) |
| 6921 | # Didn't find X, or a directory has "'" in its name. |
| 6922 | ac_cv_have_x="have_x=no";; #( |
| 6923 | *) |
| 6924 | # Record where we found X for the cache. |
| 6925 | ac_cv_have_x="have_x=yes\ |
| 6926 | ac_x_includes='$ac_x_includes'\ |
| 6927 | ac_x_libraries='$ac_x_libraries'" |
| 6928 | esac |
| 6929 | fi |
| 6930 | ;; #( |
| 6931 | *) have_x=yes;; |
| 6932 | esac |
| 6933 | eval "$ac_cv_have_x" |
| 6934 | fi # $with_x != no |
| 6935 | |
| 6936 | if testscip-shell system . . test. "$have_x" != yes; then |
| 6937 | { $as_echo "$as_me:$LINENO: result: $have_x" >&5 |
| 6938 | $as_echo "$have_x" >&6; } |
| 6939 | no_x=yes |
| 6940 | else |
| 6941 | # If each of the values was on the command line, it overrides each guess. |
| 6942 | testscip-shell system . . test. "x$x_includes" = xNONE && x_includes=$ac_x_includes |
| 6943 | testscip-shell system . . test. "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
| 6944 | # Update the cache value to reflect the command line values. |
| 6945 | ac_cv_have_x="have_x=yes\ |
| 6946 | ac_x_includes='$x_includes'\ |
| 6947 | ac_x_libraries='$x_libraries'" |
| 6948 | { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
| 6949 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
| 6950 | fi |
| 6951 | |
| 6952 | if testscip-shell system . . test. "$no_x" = yes; then |
| 6953 | # Not all programs may use this symbol, but it does not hurt to define it. |
| 6954 | |
| 6955 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 6956 | #define X_DISPLAY_MISSING 1 |
| 6957 | _ACEOF |
| 6958 | |
| 6959 | X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
| 6960 | else |
| 6961 | if testscip-shell system . . test. -n "$x_includes"; then |
| 6962 | X_CFLAGS="$X_CFLAGS -I$x_includes" |
| 6963 | fi |
| 6964 | |
| 6965 | # It would also be nice to do this for all -L options, not just this one. |
| 6966 | if testscip-shell system . . test. -n "$x_libraries"; then |
| 6967 | X_LIBS="$X_LIBS -L$x_libraries" |
| 6968 | # For Solaris; some versions of Sun CC require a space after -R and |
| 6969 | # others require no space. Words are not sufficient . . . . |
| 6970 | { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 |
| 6971 | $as_echo_n "checking whether -R must be followed by a space... " >&6; } |
| 6972 | ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" |
| 6973 | ac_xsave_c_werror_flag=$ac_c_werror_flag |
| 6974 | ac_c_werror_flag=yes |
| 6975 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 6976 | /* confdefs.h. */ |
| 6977 | _ACEOF |
| 6978 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 6979 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 6980 | /* end confdefs.h. */ |
| 6981 | |
| 6982 | int |
| 6983 | main () |
| 6984 | { |
| 6985 | |
| 6986 | ; |
| 6987 | return 0; |
| 6988 | } |
| 6989 | _ACEOF |
| 6990 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 6991 | if { (ac_try="$ac_link" |
| 6992 | case "(($ac_try" in |
| 6993 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6994 | *) ac_try_echo=$ac_try;; |
| 6995 | esac |
| 6996 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6997 | $as_echo "$ac_try_echo") >&5 |
| 6998 | (eval "$ac_link") 2>conftest.er1 |
| 6999 | ac_status=$? |
| 7000 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7001 | rmscip-shell system . . rm. -f conftest.er1 |
| 7002 | catscip-shell system . . cat. conftest.err >&5 |
| 7003 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7004 | (exit $ac_status); } && { |
| 7005 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7006 | testscip-shell system . . test. ! -s conftest.err |
| 7007 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7008 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7009 | $as_test_x conftest$ac_exeext |
| 7010 | }; then |
| 7011 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7012 | $as_echo "no" >&6; } |
| 7013 | X_LIBS="$X_LIBS -R$x_libraries" |
| 7014 | else |
| 7015 | $as_echo "$as_me: failed program was:" >&5 |
| 7016 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7017 | |
| 7018 | LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 7019 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7020 | /* confdefs.h. */ |
| 7021 | _ACEOF |
| 7022 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7023 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7024 | /* end confdefs.h. */ |
| 7025 | |
| 7026 | int |
| 7027 | main () |
| 7028 | { |
| 7029 | |
| 7030 | ; |
| 7031 | return 0; |
| 7032 | } |
| 7033 | _ACEOF |
| 7034 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7035 | if { (ac_try="$ac_link" |
| 7036 | case "(($ac_try" in |
| 7037 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7038 | *) ac_try_echo=$ac_try;; |
| 7039 | esac |
| 7040 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7041 | $as_echo "$ac_try_echo") >&5 |
| 7042 | (eval "$ac_link") 2>conftest.er1 |
| 7043 | ac_status=$? |
| 7044 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7045 | rmscip-shell system . . rm. -f conftest.er1 |
| 7046 | catscip-shell system . . cat. conftest.err >&5 |
| 7047 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7048 | (exit $ac_status); } && { |
| 7049 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7050 | testscip-shell system . . test. ! -s conftest.err |
| 7051 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7052 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7053 | $as_test_x conftest$ac_exeext |
| 7054 | }; then |
| 7055 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 7056 | $as_echo "yes" >&6; } |
| 7057 | X_LIBS="$X_LIBS -R $x_libraries" |
| 7058 | else |
| 7059 | $as_echo "$as_me: failed program was:" >&5 |
| 7060 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7061 | |
| 7062 | { $as_echo "$as_me:$LINENO: result: neither works" >&5 |
| 7063 | $as_echo "neither works" >&6; } |
| 7064 | fi |
| 7065 | |
| 7066 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7067 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7068 | conftest$ac_exeext conftest.$ac_ext |
| 7069 | fi |
| 7070 | |
| 7071 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7072 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7073 | conftest$ac_exeext conftest.$ac_ext |
| 7074 | ac_c_werror_flag=$ac_xsave_c_werror_flag |
| 7075 | LIBS=$ac_xsave_LIBS |
| 7076 | fi |
| 7077 | |
| 7078 | # Check for system-dependent libraries X programs must link with. |
| 7079 | # Do this before checking for the system-independent R6 libraries |
| 7080 | # (-lICE), since we may need -lsocket or whatever for X linking. |
| 7081 | |
| 7082 | if testscip-shell system . . test. "$ISC" = yes; then |
| 7083 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
| 7084 | else |
| 7085 | # Martyn Johnson says this is needed for Ultrix, if the X |
| 7086 | # libraries were built with DECnet support. And Karl Berry says |
| 7087 | # the Alpha needs dnet_stub (dnet does not exist). |
| 7088 | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
| 7089 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7090 | /* confdefs.h. */ |
| 7091 | _ACEOF |
| 7092 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7093 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7094 | /* end confdefs.h. */ |
| 7095 | |
| 7096 | /* Override any GCC internal prototype to avoid an error. |
| 7097 | Use char because int might match the return type of a GCC |
| 7098 | builtin and then its argument prototype would still apply. */ |
| 7099 | #ifdef __cplusplus |
| 7100 | extern "C" |
| 7101 | #endif |
| 7102 | char XOpenDisplay (); |
| 7103 | int |
| 7104 | main () |
| 7105 | { |
| 7106 | return XOpenDisplay (); |
| 7107 | ; |
| 7108 | return 0; |
| 7109 | } |
| 7110 | _ACEOF |
| 7111 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7112 | if { (ac_try="$ac_link" |
| 7113 | case "(($ac_try" in |
| 7114 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7115 | *) ac_try_echo=$ac_try;; |
| 7116 | esac |
| 7117 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7118 | $as_echo "$ac_try_echo") >&5 |
| 7119 | (eval "$ac_link") 2>conftest.er1 |
| 7120 | ac_status=$? |
| 7121 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7122 | rmscip-shell system . . rm. -f conftest.er1 |
| 7123 | catscip-shell system . . cat. conftest.err >&5 |
| 7124 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7125 | (exit $ac_status); } && { |
| 7126 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7127 | testscip-shell system . . test. ! -s conftest.err |
| 7128 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7129 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7130 | $as_test_x conftest$ac_exeext |
| 7131 | }; then |
| 7132 | : |
| 7133 | else |
| 7134 | $as_echo "$as_me: failed program was:" >&5 |
| 7135 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7136 | |
| 7137 | { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
| 7138 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
| 7139 | if testscip-shell system . . test. "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
| 7140 | $as_echo_n "(cached) " >&6 |
| 7141 | else |
| 7142 | ac_check_lib_save_LIBS=$LIBS |
| 7143 | LIBS="-ldnet $LIBS" |
| 7144 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7145 | /* confdefs.h. */ |
| 7146 | _ACEOF |
| 7147 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7148 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7149 | /* end confdefs.h. */ |
| 7150 | |
| 7151 | /* Override any GCC internal prototype to avoid an error. |
| 7152 | Use char because int might match the return type of a GCC |
| 7153 | builtin and then its argument prototype would still apply. */ |
| 7154 | #ifdef __cplusplus |
| 7155 | extern "C" |
| 7156 | #endif |
| 7157 | char dnet_ntoa (); |
| 7158 | int |
| 7159 | main () |
| 7160 | { |
| 7161 | return dnet_ntoa (); |
| 7162 | ; |
| 7163 | return 0; |
| 7164 | } |
| 7165 | _ACEOF |
| 7166 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7167 | if { (ac_try="$ac_link" |
| 7168 | case "(($ac_try" in |
| 7169 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7170 | *) ac_try_echo=$ac_try;; |
| 7171 | esac |
| 7172 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7173 | $as_echo "$ac_try_echo") >&5 |
| 7174 | (eval "$ac_link") 2>conftest.er1 |
| 7175 | ac_status=$? |
| 7176 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7177 | rmscip-shell system . . rm. -f conftest.er1 |
| 7178 | catscip-shell system . . cat. conftest.err >&5 |
| 7179 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7180 | (exit $ac_status); } && { |
| 7181 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7182 | testscip-shell system . . test. ! -s conftest.err |
| 7183 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7184 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7185 | $as_test_x conftest$ac_exeext |
| 7186 | }; then |
| 7187 | ac_cv_lib_dnet_dnet_ntoa=yes |
| 7188 | else |
| 7189 | $as_echo "$as_me: failed program was:" >&5 |
| 7190 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7191 | |
| 7192 | ac_cv_lib_dnet_dnet_ntoa=no |
| 7193 | fi |
| 7194 | |
| 7195 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7196 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7197 | conftest$ac_exeext conftest.$ac_ext |
| 7198 | LIBS=$ac_check_lib_save_LIBS |
| 7199 | fi |
| 7200 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
| 7201 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
| 7202 | if testscip-shell system . . test. "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then |
| 7203 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
| 7204 | fi |
| 7205 | |
| 7206 | if testscip-shell system . . test. $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 7207 | { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 7208 | $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
| 7209 | if testscip-shell system . . test. "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then |
| 7210 | $as_echo_n "(cached) " >&6 |
| 7211 | else |
| 7212 | ac_check_lib_save_LIBS=$LIBS |
| 7213 | LIBS="-ldnet_stub $LIBS" |
| 7214 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7215 | /* confdefs.h. */ |
| 7216 | _ACEOF |
| 7217 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7218 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7219 | /* end confdefs.h. */ |
| 7220 | |
| 7221 | /* Override any GCC internal prototype to avoid an error. |
| 7222 | Use char because int might match the return type of a GCC |
| 7223 | builtin and then its argument prototype would still apply. */ |
| 7224 | #ifdef __cplusplus |
| 7225 | extern "C" |
| 7226 | #endif |
| 7227 | char dnet_ntoa (); |
| 7228 | int |
| 7229 | main () |
| 7230 | { |
| 7231 | return dnet_ntoa (); |
| 7232 | ; |
| 7233 | return 0; |
| 7234 | } |
| 7235 | _ACEOF |
| 7236 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7237 | if { (ac_try="$ac_link" |
| 7238 | case "(($ac_try" in |
| 7239 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7240 | *) ac_try_echo=$ac_try;; |
| 7241 | esac |
| 7242 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7243 | $as_echo "$ac_try_echo") >&5 |
| 7244 | (eval "$ac_link") 2>conftest.er1 |
| 7245 | ac_status=$? |
| 7246 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7247 | rmscip-shell system . . rm. -f conftest.er1 |
| 7248 | catscip-shell system . . cat. conftest.err >&5 |
| 7249 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7250 | (exit $ac_status); } && { |
| 7251 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7252 | testscip-shell system . . test. ! -s conftest.err |
| 7253 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7254 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7255 | $as_test_x conftest$ac_exeext |
| 7256 | }; then |
| 7257 | ac_cv_lib_dnet_stub_dnet_ntoa=yes |
| 7258 | else |
| 7259 | $as_echo "$as_me: failed program was:" >&5 |
| 7260 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7261 | |
| 7262 | ac_cv_lib_dnet_stub_dnet_ntoa=no |
| 7263 | fi |
| 7264 | |
| 7265 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7266 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7267 | conftest$ac_exeext conftest.$ac_ext |
| 7268 | LIBS=$ac_check_lib_save_LIBS |
| 7269 | fi |
| 7270 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
| 7271 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
| 7272 | if testscip-shell system . . test. "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then |
| 7273 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
| 7274 | fi |
| 7275 | |
| 7276 | fi |
| 7277 | fi |
| 7278 | |
| 7279 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7280 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7281 | conftest$ac_exeext conftest.$ac_ext |
| 7282 | LIBS="$ac_xsave_LIBS" |
| 7283 | |
| 7284 | # [email protected] says -lnsl (and -lsocket) are needed for his 386/AT, |
| 7285 | # to get the SysV transport functions. |
| 7286 | # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 7287 | # needs -lnsl. |
| 7288 | # The nsl library prevents programs from opening the X display |
| 7289 | # on Irix 5.2, according to T.E. Dickey. |
| 7290 | # The functions gethostbyname, getservbyname, and inet_addr are |
| 7291 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
| 7292 | { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
| 7293 | $as_echo_n "checking for gethostbyname... " >&6; } |
| 7294 | if testscip-shell system . . test. "${ac_cv_func_gethostbyname+set}" = set; then |
| 7295 | $as_echo_n "(cached) " >&6 |
| 7296 | else |
| 7297 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7298 | /* confdefs.h. */ |
| 7299 | _ACEOF |
| 7300 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7301 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7302 | /* end confdefs.h. */ |
| 7303 | /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
| 7304 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 7305 | #define gethostbyname innocuous_gethostbyname |
| 7306 | |
| 7307 | /* System header to define __stub macros and hopefully few prototypes, |
| 7308 | which can conflict with char gethostbyname (); below. |
| 7309 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 7310 | <limits.h> exists even on freestanding compilers. */ |
| 7311 | |
| 7312 | #ifdef __STDC__ |
| 7313 | # include <limits.h> |
| 7314 | #else |
| 7315 | # include <assert.h> |
| 7316 | #endif |
| 7317 | |
| 7318 | #undef gethostbyname |
| 7319 | |
| 7320 | /* Override any GCC internal prototype to avoid an error. |
| 7321 | Use char because int might match the return type of a GCC |
| 7322 | builtin and then its argument prototype would still apply. */ |
| 7323 | #ifdef __cplusplus |
| 7324 | extern "C" |
| 7325 | #endif |
| 7326 | char gethostbyname (); |
| 7327 | /* The GNU C library defines this for functions which it implements |
| 7328 | to always fail with ENOSYS. Some functions are actually named |
| 7329 | something starting with __ and the normal name is an alias. */ |
| 7330 | #if defined __stub_gethostbyname || defined __stub___gethostbyname |
| 7331 | choke me |
| 7332 | #endif |
| 7333 | |
| 7334 | int |
| 7335 | main () |
| 7336 | { |
| 7337 | return gethostbyname (); |
| 7338 | ; |
| 7339 | return 0; |
| 7340 | } |
| 7341 | _ACEOF |
| 7342 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7343 | if { (ac_try="$ac_link" |
| 7344 | case "(($ac_try" in |
| 7345 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7346 | *) ac_try_echo=$ac_try;; |
| 7347 | esac |
| 7348 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7349 | $as_echo "$ac_try_echo") >&5 |
| 7350 | (eval "$ac_link") 2>conftest.er1 |
| 7351 | ac_status=$? |
| 7352 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7353 | rmscip-shell system . . rm. -f conftest.er1 |
| 7354 | catscip-shell system . . cat. conftest.err >&5 |
| 7355 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7356 | (exit $ac_status); } && { |
| 7357 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7358 | testscip-shell system . . test. ! -s conftest.err |
| 7359 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7360 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7361 | $as_test_x conftest$ac_exeext |
| 7362 | }; then |
| 7363 | ac_cv_func_gethostbyname=yes |
| 7364 | else |
| 7365 | $as_echo "$as_me: failed program was:" >&5 |
| 7366 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7367 | |
| 7368 | ac_cv_func_gethostbyname=no |
| 7369 | fi |
| 7370 | |
| 7371 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7372 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7373 | conftest$ac_exeext conftest.$ac_ext |
| 7374 | fi |
| 7375 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
| 7376 | $as_echo "$ac_cv_func_gethostbyname" >&6; } |
| 7377 | |
| 7378 | if testscip-shell system . . test. $ac_cv_func_gethostbyname = no; then |
| 7379 | { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
| 7380 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
| 7381 | if testscip-shell system . . test. "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
| 7382 | $as_echo_n "(cached) " >&6 |
| 7383 | else |
| 7384 | ac_check_lib_save_LIBS=$LIBS |
| 7385 | LIBS="-lnsl $LIBS" |
| 7386 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7387 | /* confdefs.h. */ |
| 7388 | _ACEOF |
| 7389 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7390 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7391 | /* end confdefs.h. */ |
| 7392 | |
| 7393 | /* Override any GCC internal prototype to avoid an error. |
| 7394 | Use char because int might match the return type of a GCC |
| 7395 | builtin and then its argument prototype would still apply. */ |
| 7396 | #ifdef __cplusplus |
| 7397 | extern "C" |
| 7398 | #endif |
| 7399 | char gethostbyname (); |
| 7400 | int |
| 7401 | main () |
| 7402 | { |
| 7403 | return gethostbyname (); |
| 7404 | ; |
| 7405 | return 0; |
| 7406 | } |
| 7407 | _ACEOF |
| 7408 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7409 | if { (ac_try="$ac_link" |
| 7410 | case "(($ac_try" in |
| 7411 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7412 | *) ac_try_echo=$ac_try;; |
| 7413 | esac |
| 7414 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7415 | $as_echo "$ac_try_echo") >&5 |
| 7416 | (eval "$ac_link") 2>conftest.er1 |
| 7417 | ac_status=$? |
| 7418 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7419 | rmscip-shell system . . rm. -f conftest.er1 |
| 7420 | catscip-shell system . . cat. conftest.err >&5 |
| 7421 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7422 | (exit $ac_status); } && { |
| 7423 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7424 | testscip-shell system . . test. ! -s conftest.err |
| 7425 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7426 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7427 | $as_test_x conftest$ac_exeext |
| 7428 | }; then |
| 7429 | ac_cv_lib_nsl_gethostbyname=yes |
| 7430 | else |
| 7431 | $as_echo "$as_me: failed program was:" >&5 |
| 7432 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7433 | |
| 7434 | ac_cv_lib_nsl_gethostbyname=no |
| 7435 | fi |
| 7436 | |
| 7437 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7438 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7439 | conftest$ac_exeext conftest.$ac_ext |
| 7440 | LIBS=$ac_check_lib_save_LIBS |
| 7441 | fi |
| 7442 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
| 7443 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
| 7444 | if testscip-shell system . . test. "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then |
| 7445 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
| 7446 | fi |
| 7447 | |
| 7448 | if testscip-shell system . . test. $ac_cv_lib_nsl_gethostbyname = no; then |
| 7449 | { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 |
| 7450 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
| 7451 | if testscip-shell system . . test. "${ac_cv_lib_bsd_gethostbyname+set}" = set; then |
| 7452 | $as_echo_n "(cached) " >&6 |
| 7453 | else |
| 7454 | ac_check_lib_save_LIBS=$LIBS |
| 7455 | LIBS="-lbsd $LIBS" |
| 7456 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7457 | /* confdefs.h. */ |
| 7458 | _ACEOF |
| 7459 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7460 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7461 | /* end confdefs.h. */ |
| 7462 | |
| 7463 | /* Override any GCC internal prototype to avoid an error. |
| 7464 | Use char because int might match the return type of a GCC |
| 7465 | builtin and then its argument prototype would still apply. */ |
| 7466 | #ifdef __cplusplus |
| 7467 | extern "C" |
| 7468 | #endif |
| 7469 | char gethostbyname (); |
| 7470 | int |
| 7471 | main () |
| 7472 | { |
| 7473 | return gethostbyname (); |
| 7474 | ; |
| 7475 | return 0; |
| 7476 | } |
| 7477 | _ACEOF |
| 7478 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7479 | if { (ac_try="$ac_link" |
| 7480 | case "(($ac_try" in |
| 7481 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7482 | *) ac_try_echo=$ac_try;; |
| 7483 | esac |
| 7484 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7485 | $as_echo "$ac_try_echo") >&5 |
| 7486 | (eval "$ac_link") 2>conftest.er1 |
| 7487 | ac_status=$? |
| 7488 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7489 | rmscip-shell system . . rm. -f conftest.er1 |
| 7490 | catscip-shell system . . cat. conftest.err >&5 |
| 7491 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7492 | (exit $ac_status); } && { |
| 7493 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7494 | testscip-shell system . . test. ! -s conftest.err |
| 7495 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7496 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7497 | $as_test_x conftest$ac_exeext |
| 7498 | }; then |
| 7499 | ac_cv_lib_bsd_gethostbyname=yes |
| 7500 | else |
| 7501 | $as_echo "$as_me: failed program was:" >&5 |
| 7502 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7503 | |
| 7504 | ac_cv_lib_bsd_gethostbyname=no |
| 7505 | fi |
| 7506 | |
| 7507 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7508 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7509 | conftest$ac_exeext conftest.$ac_ext |
| 7510 | LIBS=$ac_check_lib_save_LIBS |
| 7511 | fi |
| 7512 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
| 7513 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
| 7514 | if testscip-shell system . . test. "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then |
| 7515 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
| 7516 | fi |
| 7517 | |
| 7518 | fi |
| 7519 | fi |
| 7520 | |
| 7521 | # [email protected] says without -lsocket, |
| 7522 | # socket/setsockopt and other routines are undefined under SCO ODT |
| 7523 | # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
| 7524 | # on later versions), says Simon Leinen: it contains gethostby* |
| 7525 | # variants that don't use the name server (or something). -lsocket |
| 7526 | # must be given before -lnsl if both are needed. We assume that |
| 7527 | # if connect needs -lnsl, so does gethostbyname. |
| 7528 | { $as_echo "$as_me:$LINENO: checking for connect" >&5 |
| 7529 | $as_echo_n "checking for connect... " >&6; } |
| 7530 | if testscip-shell system . . test. "${ac_cv_func_connect+set}" = set; then |
| 7531 | $as_echo_n "(cached) " >&6 |
| 7532 | else |
| 7533 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7534 | /* confdefs.h. */ |
| 7535 | _ACEOF |
| 7536 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7537 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7538 | /* end confdefs.h. */ |
| 7539 | /* Define connect to an innocuous variant, in case <limits.h> declares connect. |
| 7540 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 7541 | #define connect innocuous_connect |
| 7542 | |
| 7543 | /* System header to define __stub macros and hopefully few prototypes, |
| 7544 | which can conflict with char connect (); below. |
| 7545 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 7546 | <limits.h> exists even on freestanding compilers. */ |
| 7547 | |
| 7548 | #ifdef __STDC__ |
| 7549 | # include <limits.h> |
| 7550 | #else |
| 7551 | # include <assert.h> |
| 7552 | #endif |
| 7553 | |
| 7554 | #undef connect |
| 7555 | |
| 7556 | /* Override any GCC internal prototype to avoid an error. |
| 7557 | Use char because int might match the return type of a GCC |
| 7558 | builtin and then its argument prototype would still apply. */ |
| 7559 | #ifdef __cplusplus |
| 7560 | extern "C" |
| 7561 | #endif |
| 7562 | char connect (); |
| 7563 | /* The GNU C library defines this for functions which it implements |
| 7564 | to always fail with ENOSYS. Some functions are actually named |
| 7565 | something starting with __ and the normal name is an alias. */ |
| 7566 | #if defined __stub_connect || defined __stub___connect |
| 7567 | choke me |
| 7568 | #endif |
| 7569 | |
| 7570 | int |
| 7571 | main () |
| 7572 | { |
| 7573 | return connect (); |
| 7574 | ; |
| 7575 | return 0; |
| 7576 | } |
| 7577 | _ACEOF |
| 7578 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7579 | if { (ac_try="$ac_link" |
| 7580 | case "(($ac_try" in |
| 7581 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7582 | *) ac_try_echo=$ac_try;; |
| 7583 | esac |
| 7584 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7585 | $as_echo "$ac_try_echo") >&5 |
| 7586 | (eval "$ac_link") 2>conftest.er1 |
| 7587 | ac_status=$? |
| 7588 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7589 | rmscip-shell system . . rm. -f conftest.er1 |
| 7590 | catscip-shell system . . cat. conftest.err >&5 |
| 7591 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7592 | (exit $ac_status); } && { |
| 7593 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7594 | testscip-shell system . . test. ! -s conftest.err |
| 7595 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7596 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7597 | $as_test_x conftest$ac_exeext |
| 7598 | }; then |
| 7599 | ac_cv_func_connect=yes |
| 7600 | else |
| 7601 | $as_echo "$as_me: failed program was:" >&5 |
| 7602 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7603 | |
| 7604 | ac_cv_func_connect=no |
| 7605 | fi |
| 7606 | |
| 7607 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7608 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7609 | conftest$ac_exeext conftest.$ac_ext |
| 7610 | fi |
| 7611 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
| 7612 | $as_echo "$ac_cv_func_connect" >&6; } |
| 7613 | |
| 7614 | if testscip-shell system . . test. $ac_cv_func_connect = no; then |
| 7615 | { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
| 7616 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
| 7617 | if testscip-shell system . . test. "${ac_cv_lib_socket_connect+set}" = set; then |
| 7618 | $as_echo_n "(cached) " >&6 |
| 7619 | else |
| 7620 | ac_check_lib_save_LIBS=$LIBS |
| 7621 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
| 7622 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7623 | /* confdefs.h. */ |
| 7624 | _ACEOF |
| 7625 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7626 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7627 | /* end confdefs.h. */ |
| 7628 | |
| 7629 | /* Override any GCC internal prototype to avoid an error. |
| 7630 | Use char because int might match the return type of a GCC |
| 7631 | builtin and then its argument prototype would still apply. */ |
| 7632 | #ifdef __cplusplus |
| 7633 | extern "C" |
| 7634 | #endif |
| 7635 | char connect (); |
| 7636 | int |
| 7637 | main () |
| 7638 | { |
| 7639 | return connect (); |
| 7640 | ; |
| 7641 | return 0; |
| 7642 | } |
| 7643 | _ACEOF |
| 7644 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7645 | if { (ac_try="$ac_link" |
| 7646 | case "(($ac_try" in |
| 7647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7648 | *) ac_try_echo=$ac_try;; |
| 7649 | esac |
| 7650 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7651 | $as_echo "$ac_try_echo") >&5 |
| 7652 | (eval "$ac_link") 2>conftest.er1 |
| 7653 | ac_status=$? |
| 7654 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7655 | rmscip-shell system . . rm. -f conftest.er1 |
| 7656 | catscip-shell system . . cat. conftest.err >&5 |
| 7657 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7658 | (exit $ac_status); } && { |
| 7659 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7660 | testscip-shell system . . test. ! -s conftest.err |
| 7661 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7662 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7663 | $as_test_x conftest$ac_exeext |
| 7664 | }; then |
| 7665 | ac_cv_lib_socket_connect=yes |
| 7666 | else |
| 7667 | $as_echo "$as_me: failed program was:" >&5 |
| 7668 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7669 | |
| 7670 | ac_cv_lib_socket_connect=no |
| 7671 | fi |
| 7672 | |
| 7673 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7674 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7675 | conftest$ac_exeext conftest.$ac_ext |
| 7676 | LIBS=$ac_check_lib_save_LIBS |
| 7677 | fi |
| 7678 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
| 7679 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
| 7680 | if testscip-shell system . . test. "x$ac_cv_lib_socket_connect" = x""yes; then |
| 7681 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
| 7682 | fi |
| 7683 | |
| 7684 | fi |
| 7685 | |
| 7686 | # Guillermo Gomez says -lposix is necessary on A/UX. |
| 7687 | { $as_echo "$as_me:$LINENO: checking for remove" >&5 |
| 7688 | $as_echo_n "checking for remove... " >&6; } |
| 7689 | if testscip-shell system . . test. "${ac_cv_func_remove+set}" = set; then |
| 7690 | $as_echo_n "(cached) " >&6 |
| 7691 | else |
| 7692 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7693 | /* confdefs.h. */ |
| 7694 | _ACEOF |
| 7695 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7696 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7697 | /* end confdefs.h. */ |
| 7698 | /* Define remove to an innocuous variant, in case <limits.h> declares remove. |
| 7699 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 7700 | #define remove innocuous_remove |
| 7701 | |
| 7702 | /* System header to define __stub macros and hopefully few prototypes, |
| 7703 | which can conflict with char remove (); below. |
| 7704 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 7705 | <limits.h> exists even on freestanding compilers. */ |
| 7706 | |
| 7707 | #ifdef __STDC__ |
| 7708 | # include <limits.h> |
| 7709 | #else |
| 7710 | # include <assert.h> |
| 7711 | #endif |
| 7712 | |
| 7713 | #undef remove |
| 7714 | |
| 7715 | /* Override any GCC internal prototype to avoid an error. |
| 7716 | Use char because int might match the return type of a GCC |
| 7717 | builtin and then its argument prototype would still apply. */ |
| 7718 | #ifdef __cplusplus |
| 7719 | extern "C" |
| 7720 | #endif |
| 7721 | char remove (); |
| 7722 | /* The GNU C library defines this for functions which it implements |
| 7723 | to always fail with ENOSYS. Some functions are actually named |
| 7724 | something starting with __ and the normal name is an alias. */ |
| 7725 | #if defined __stub_remove || defined __stub___remove |
| 7726 | choke me |
| 7727 | #endif |
| 7728 | |
| 7729 | int |
| 7730 | main () |
| 7731 | { |
| 7732 | return remove (); |
| 7733 | ; |
| 7734 | return 0; |
| 7735 | } |
| 7736 | _ACEOF |
| 7737 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7738 | if { (ac_try="$ac_link" |
| 7739 | case "(($ac_try" in |
| 7740 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7741 | *) ac_try_echo=$ac_try;; |
| 7742 | esac |
| 7743 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7744 | $as_echo "$ac_try_echo") >&5 |
| 7745 | (eval "$ac_link") 2>conftest.er1 |
| 7746 | ac_status=$? |
| 7747 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7748 | rmscip-shell system . . rm. -f conftest.er1 |
| 7749 | catscip-shell system . . cat. conftest.err >&5 |
| 7750 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7751 | (exit $ac_status); } && { |
| 7752 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7753 | testscip-shell system . . test. ! -s conftest.err |
| 7754 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7755 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7756 | $as_test_x conftest$ac_exeext |
| 7757 | }; then |
| 7758 | ac_cv_func_remove=yes |
| 7759 | else |
| 7760 | $as_echo "$as_me: failed program was:" >&5 |
| 7761 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7762 | |
| 7763 | ac_cv_func_remove=no |
| 7764 | fi |
| 7765 | |
| 7766 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7767 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7768 | conftest$ac_exeext conftest.$ac_ext |
| 7769 | fi |
| 7770 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 |
| 7771 | $as_echo "$ac_cv_func_remove" >&6; } |
| 7772 | |
| 7773 | if testscip-shell system . . test. $ac_cv_func_remove = no; then |
| 7774 | { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5 |
| 7775 | $as_echo_n "checking for remove in -lposix... " >&6; } |
| 7776 | if testscip-shell system . . test. "${ac_cv_lib_posix_remove+set}" = set; then |
| 7777 | $as_echo_n "(cached) " >&6 |
| 7778 | else |
| 7779 | ac_check_lib_save_LIBS=$LIBS |
| 7780 | LIBS="-lposix $LIBS" |
| 7781 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7782 | /* confdefs.h. */ |
| 7783 | _ACEOF |
| 7784 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7785 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7786 | /* end confdefs.h. */ |
| 7787 | |
| 7788 | /* Override any GCC internal prototype to avoid an error. |
| 7789 | Use char because int might match the return type of a GCC |
| 7790 | builtin and then its argument prototype would still apply. */ |
| 7791 | #ifdef __cplusplus |
| 7792 | extern "C" |
| 7793 | #endif |
| 7794 | char remove (); |
| 7795 | int |
| 7796 | main () |
| 7797 | { |
| 7798 | return remove (); |
| 7799 | ; |
| 7800 | return 0; |
| 7801 | } |
| 7802 | _ACEOF |
| 7803 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7804 | if { (ac_try="$ac_link" |
| 7805 | case "(($ac_try" in |
| 7806 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7807 | *) ac_try_echo=$ac_try;; |
| 7808 | esac |
| 7809 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7810 | $as_echo "$ac_try_echo") >&5 |
| 7811 | (eval "$ac_link") 2>conftest.er1 |
| 7812 | ac_status=$? |
| 7813 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7814 | rmscip-shell system . . rm. -f conftest.er1 |
| 7815 | catscip-shell system . . cat. conftest.err >&5 |
| 7816 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7817 | (exit $ac_status); } && { |
| 7818 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7819 | testscip-shell system . . test. ! -s conftest.err |
| 7820 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7821 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7822 | $as_test_x conftest$ac_exeext |
| 7823 | }; then |
| 7824 | ac_cv_lib_posix_remove=yes |
| 7825 | else |
| 7826 | $as_echo "$as_me: failed program was:" >&5 |
| 7827 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7828 | |
| 7829 | ac_cv_lib_posix_remove=no |
| 7830 | fi |
| 7831 | |
| 7832 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7833 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7834 | conftest$ac_exeext conftest.$ac_ext |
| 7835 | LIBS=$ac_check_lib_save_LIBS |
| 7836 | fi |
| 7837 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 |
| 7838 | $as_echo "$ac_cv_lib_posix_remove" >&6; } |
| 7839 | if testscip-shell system . . test. "x$ac_cv_lib_posix_remove" = x""yes; then |
| 7840 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
| 7841 | fi |
| 7842 | |
| 7843 | fi |
| 7844 | |
| 7845 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 7846 | { $as_echo "$as_me:$LINENO: checking for shmat" >&5 |
| 7847 | $as_echo_n "checking for shmat... " >&6; } |
| 7848 | if testscip-shell system . . test. "${ac_cv_func_shmat+set}" = set; then |
| 7849 | $as_echo_n "(cached) " >&6 |
| 7850 | else |
| 7851 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7852 | /* confdefs.h. */ |
| 7853 | _ACEOF |
| 7854 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7855 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7856 | /* end confdefs.h. */ |
| 7857 | /* Define shmat to an innocuous variant, in case <limits.h> declares shmat. |
| 7858 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 7859 | #define shmat innocuous_shmat |
| 7860 | |
| 7861 | /* System header to define __stub macros and hopefully few prototypes, |
| 7862 | which can conflict with char shmat (); below. |
| 7863 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 7864 | <limits.h> exists even on freestanding compilers. */ |
| 7865 | |
| 7866 | #ifdef __STDC__ |
| 7867 | # include <limits.h> |
| 7868 | #else |
| 7869 | # include <assert.h> |
| 7870 | #endif |
| 7871 | |
| 7872 | #undef shmat |
| 7873 | |
| 7874 | /* Override any GCC internal prototype to avoid an error. |
| 7875 | Use char because int might match the return type of a GCC |
| 7876 | builtin and then its argument prototype would still apply. */ |
| 7877 | #ifdef __cplusplus |
| 7878 | extern "C" |
| 7879 | #endif |
| 7880 | char shmat (); |
| 7881 | /* The GNU C library defines this for functions which it implements |
| 7882 | to always fail with ENOSYS. Some functions are actually named |
| 7883 | something starting with __ and the normal name is an alias. */ |
| 7884 | #if defined __stub_shmat || defined __stub___shmat |
| 7885 | choke me |
| 7886 | #endif |
| 7887 | |
| 7888 | int |
| 7889 | main () |
| 7890 | { |
| 7891 | return shmat (); |
| 7892 | ; |
| 7893 | return 0; |
| 7894 | } |
| 7895 | _ACEOF |
| 7896 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7897 | if { (ac_try="$ac_link" |
| 7898 | case "(($ac_try" in |
| 7899 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7900 | *) ac_try_echo=$ac_try;; |
| 7901 | esac |
| 7902 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7903 | $as_echo "$ac_try_echo") >&5 |
| 7904 | (eval "$ac_link") 2>conftest.er1 |
| 7905 | ac_status=$? |
| 7906 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7907 | rmscip-shell system . . rm. -f conftest.er1 |
| 7908 | catscip-shell system . . cat. conftest.err >&5 |
| 7909 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7910 | (exit $ac_status); } && { |
| 7911 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7912 | testscip-shell system . . test. ! -s conftest.err |
| 7913 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7914 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7915 | $as_test_x conftest$ac_exeext |
| 7916 | }; then |
| 7917 | ac_cv_func_shmat=yes |
| 7918 | else |
| 7919 | $as_echo "$as_me: failed program was:" >&5 |
| 7920 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7921 | |
| 7922 | ac_cv_func_shmat=no |
| 7923 | fi |
| 7924 | |
| 7925 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7926 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7927 | conftest$ac_exeext conftest.$ac_ext |
| 7928 | fi |
| 7929 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 |
| 7930 | $as_echo "$ac_cv_func_shmat" >&6; } |
| 7931 | |
| 7932 | if testscip-shell system . . test. $ac_cv_func_shmat = no; then |
| 7933 | { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 |
| 7934 | $as_echo_n "checking for shmat in -lipc... " >&6; } |
| 7935 | if testscip-shell system . . test. "${ac_cv_lib_ipc_shmat+set}" = set; then |
| 7936 | $as_echo_n "(cached) " >&6 |
| 7937 | else |
| 7938 | ac_check_lib_save_LIBS=$LIBS |
| 7939 | LIBS="-lipc $LIBS" |
| 7940 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 7941 | /* confdefs.h. */ |
| 7942 | _ACEOF |
| 7943 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 7944 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 7945 | /* end confdefs.h. */ |
| 7946 | |
| 7947 | /* Override any GCC internal prototype to avoid an error. |
| 7948 | Use char because int might match the return type of a GCC |
| 7949 | builtin and then its argument prototype would still apply. */ |
| 7950 | #ifdef __cplusplus |
| 7951 | extern "C" |
| 7952 | #endif |
| 7953 | char shmat (); |
| 7954 | int |
| 7955 | main () |
| 7956 | { |
| 7957 | return shmat (); |
| 7958 | ; |
| 7959 | return 0; |
| 7960 | } |
| 7961 | _ACEOF |
| 7962 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 7963 | if { (ac_try="$ac_link" |
| 7964 | case "(($ac_try" in |
| 7965 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7966 | *) ac_try_echo=$ac_try;; |
| 7967 | esac |
| 7968 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7969 | $as_echo "$ac_try_echo") >&5 |
| 7970 | (eval "$ac_link") 2>conftest.er1 |
| 7971 | ac_status=$? |
| 7972 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 7973 | rmscip-shell system . . rm. -f conftest.er1 |
| 7974 | catscip-shell system . . cat. conftest.err >&5 |
| 7975 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7976 | (exit $ac_status); } && { |
| 7977 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 7978 | testscip-shell system . . test. ! -s conftest.err |
| 7979 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 7980 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 7981 | $as_test_x conftest$ac_exeext |
| 7982 | }; then |
| 7983 | ac_cv_lib_ipc_shmat=yes |
| 7984 | else |
| 7985 | $as_echo "$as_me: failed program was:" >&5 |
| 7986 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 7987 | |
| 7988 | ac_cv_lib_ipc_shmat=no |
| 7989 | fi |
| 7990 | |
| 7991 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 7992 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7993 | conftest$ac_exeext conftest.$ac_ext |
| 7994 | LIBS=$ac_check_lib_save_LIBS |
| 7995 | fi |
| 7996 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 |
| 7997 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
| 7998 | if testscip-shell system . . test. "x$ac_cv_lib_ipc_shmat" = x""yes; then |
| 7999 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
| 8000 | fi |
| 8001 | |
| 8002 | fi |
| 8003 | fi |
| 8004 | |
| 8005 | # Check for libraries that X11R6 Xt/Xaw programs need. |
| 8006 | ac_save_LDFLAGS=$LDFLAGS |
| 8007 | testscip-shell system . . test. -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
| 8008 | # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to |
| 8009 | # check for ICE first), but we must link in the order -lSM -lICE or |
| 8010 | # we get undefined symbols. So assume we have SM if we have ICE. |
| 8011 | # These have to be linked with before -lX11, unlike the other |
| 8012 | # libraries we check for below, so use a different variable. |
| 8013 | # John Interrante, Karl Berry |
| 8014 | { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 |
| 8015 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
| 8016 | if testscip-shell system . . test. "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then |
| 8017 | $as_echo_n "(cached) " >&6 |
| 8018 | else |
| 8019 | ac_check_lib_save_LIBS=$LIBS |
| 8020 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
| 8021 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 8022 | /* confdefs.h. */ |
| 8023 | _ACEOF |
| 8024 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 8025 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 8026 | /* end confdefs.h. */ |
| 8027 | |
| 8028 | /* Override any GCC internal prototype to avoid an error. |
| 8029 | Use char because int might match the return type of a GCC |
| 8030 | builtin and then its argument prototype would still apply. */ |
| 8031 | #ifdef __cplusplus |
| 8032 | extern "C" |
| 8033 | #endif |
| 8034 | char IceConnectionNumber (); |
| 8035 | int |
| 8036 | main () |
| 8037 | { |
| 8038 | return IceConnectionNumber (); |
| 8039 | ; |
| 8040 | return 0; |
| 8041 | } |
| 8042 | _ACEOF |
| 8043 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 8044 | if { (ac_try="$ac_link" |
| 8045 | case "(($ac_try" in |
| 8046 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8047 | *) ac_try_echo=$ac_try;; |
| 8048 | esac |
| 8049 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 8050 | $as_echo "$ac_try_echo") >&5 |
| 8051 | (eval "$ac_link") 2>conftest.er1 |
| 8052 | ac_status=$? |
| 8053 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 8054 | rmscip-shell system . . rm. -f conftest.er1 |
| 8055 | catscip-shell system . . cat. conftest.err >&5 |
| 8056 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8057 | (exit $ac_status); } && { |
| 8058 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 8059 | testscip-shell system . . test. ! -s conftest.err |
| 8060 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 8061 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 8062 | $as_test_x conftest$ac_exeext |
| 8063 | }; then |
| 8064 | ac_cv_lib_ICE_IceConnectionNumber=yes |
| 8065 | else |
| 8066 | $as_echo "$as_me: failed program was:" >&5 |
| 8067 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 8068 | |
| 8069 | ac_cv_lib_ICE_IceConnectionNumber=no |
| 8070 | fi |
| 8071 | |
| 8072 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 8073 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 8074 | conftest$ac_exeext conftest.$ac_ext |
| 8075 | LIBS=$ac_check_lib_save_LIBS |
| 8076 | fi |
| 8077 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
| 8078 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
| 8079 | if testscip-shell system . . test. "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then |
| 8080 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
| 8081 | fi |
| 8082 | |
| 8083 | LDFLAGS=$ac_save_LDFLAGS |
| 8084 | |
| 8085 | fi |
| 8086 | |
| 8087 | if testscip-shell system . . test. x"${have_x}" = "xyes"; then |
| 8088 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 8089 | #define HAVE_XT 1 |
| 8090 | _ACEOF |
| 8091 | |
| 8092 | fi |
| 8093 | |
| 8094 | |
| 8095 | # |
| 8096 | # Ok, lets find the tcl configuration |
| 8097 | # First, look for one uninstalled. |
| 8098 | # the alternative search directory is invoked by --with-tcl |
| 8099 | # |
| 8100 | |
| 8101 | if testscip-shell system . . test. x"${no_tcl}" = x ; then |
| 8102 | # we reset no_tcl in case something fails here |
| 8103 | no_tcl=true |
| 8104 | |
| 8105 | # Check whether --with-tcl was given. |
| 8106 | if testscip-shell system . . test. "${with_tcl+set}" = set; then |
| 8107 | withval=$with_tcl; with_tclconfig=${withval} |
| 8108 | fi |
| 8109 | |
| 8110 | { $as_echo "$as_me:$LINENO: checking for Tcl configuration" >&5 |
| 8111 | $as_echo_n "checking for Tcl configuration... " >&6; } |
| 8112 | if testscip-shell system . . test. x"${withval}" != xno ; then |
| 8113 | if testscip-shell system . . test. "${ac_cv_c_tclconfig+set}" = set; then |
| 8114 | $as_echo_n "(cached) " >&6 |
| 8115 | else |
| 8116 | |
| 8117 | |
| 8118 | # First check to see if --with-tcl was specified. |
| 8119 | if testscip-shell system . . test. x"${with_tclconfig}" != x ; then |
| 8120 | if testscip-shell system . . test. -f "${with_tclconfig}/tclConfig.sh" ; then |
| 8121 | ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwdscip-shell system . . pwd.)` |
| 8122 | else |
| 8123 | { $as_echo "$as_me:$LINENO: result: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5 |
| 8124 | $as_echo "${with_tclconfig} directory doesn't contain tclConfig.sh" >&6; } |
| 8125 | fi |
| 8126 | fi |
| 8127 | |
| 8128 | # then check for a private Tcl installation |
| 8129 | if testscip-shell system . . test. x"${ac_cv_c_tclconfig}" = x ; then |
| 8130 | for i in \ |
| 8131 | .scip-shell system . . ls../tcl \ |
| 8132 | `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \ |
| 8133 | .scip-shell system . . ls../../tcl \ |
| 8134 | `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \ |
| 8135 | .scip-shell system . . ls../../../tcl \ |
| 8136 | `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do |
| 8137 | if testscip-shell system . . test. -f "$i/unix/tclConfig.sh" ; then |
| 8138 | ac_cv_c_tclconfig=`(cd $i/unix; pwdscip-shell system . . pwd.)` |
| 8139 | break |
| 8140 | fi |
| 8141 | done |
| 8142 | fi |
| 8143 | |
| 8144 | # check in a few common install locations |
| 8145 | if testscip-shell system . . test. x"${ac_cv_c_tclconfig}" = x ; then |
| 8146 | foscip-shell system . . ls.r i in `scip-shell filesystem . . `/usr/local/lib`.lsscip-shell system . . ls. -d ${scip-shell filesystem . . `/usr/local/lib`.libdir} 2>scip-shell filesystem . . `/dev/null`./devscip-shell filesystem . . `/dev/null`./nullscip-shell filesystem . . `/dev/null`.` \ |
| 8147 | `scip-shell system . . ls.ls -d /usr/local/libscip-shell filesystem . . `/usr/contrib/lib`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.` \ |
| 8148 | `scip-shell system . . ls.ls -d /usr/cscip-shell filesystem . . `/usr/lib`.ontrib/lib 2scip-shell filesystem . . `/dev/null`.>/dev/null` \ |
| 8149 | `ls -d /usr/lib 2>/dev/null` \ |
| 8150 | ; do |
| 8151 | if testscip-shell system . . test. -f "$i/tclConfig.sh" ; then |
| 8152 | ac_cv_c_tclconfig=`(cd $i; pwdscip-shell system . . pwd.)` |
| 8153 | break |
| 8154 | fi |
| 8155 | done |
| 8156 | fi |
| 8157 | |
| 8158 | # check in a few other private locations |
| 8159 | if testscip-shell system . . test. x"${ac_cv_c_tclconfig}" = x ; then |
| 8160 | for i in \ |
| 8161 | $scip-shell system . . ls.{srcdir}/../tcl \ |
| 8162 | `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do |
| 8163 | if testscip-shell system . . test. -f "$i/unix/tclConfig.sh" ; then |
| 8164 | ac_cv_c_tclconfig=`(cd $i/unix; pwdscip-shell system . . pwd.)` |
| 8165 | break |
| 8166 | fi |
| 8167 | done |
| 8168 | fi |
| 8169 | |
| 8170 | fi |
| 8171 | |
| 8172 | else |
| 8173 | { $as_echo "$as_me:$LINENO: result: skipping Tcl configuration" >&5 |
| 8174 | $as_echo "skipping Tcl configuration" >&6; } |
| 8175 | ac_cv_c_tclconfig="none" |
| 8176 | fi |
| 8177 | |
| 8178 | if testscip-shell system . . test. x"${ac_cv_c_tclconfig}" = x ; then |
| 8179 | TCL_BIN_DIR="# no Tcl configs found" |
| 8180 | { $as_echo "$as_me:$LINENO: result: can't find Tcl configuration definitions" >&5 |
| 8181 | $as_echo "can't find Tcl configuration definitions" >&6; } |
| 8182 | # no Tcl is OK egm 03/25/03 |
| 8183 | # AC_MSG_WARN(Can't find Tcl configuration definitions) |
| 8184 | # exit 0 |
| 8185 | elif testscip-shell system . . test. x"${ac_cv_c_tclconfig}" = xnone ; then |
| 8186 | TCL_BIN_DIR="" |
| 8187 | else |
| 8188 | no_tcl= |
| 8189 | TCL_BIN_DIR=${ac_cv_c_tclconfig} |
| 8190 | { $as_echo "$as_me:$LINENO: result: found $TCL_BIN_DIR/tclConfig.sh" >&5 |
| 8191 | $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; } |
| 8192 | fi |
| 8193 | fi |
| 8194 | |
| 8195 | if testscip-shell system . . test. x"${no_tcl}" = x ; then |
| 8196 | |
| 8197 | { $as_echo "$as_me:$LINENO: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5 |
| 8198 | $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; } |
| 8199 | |
| 8200 | if testscip-shell system . . test. -f "$TCL_BIN_DIR/tclConfig.sh" ; then |
| 8201 | { $as_echo "$as_me:$LINENO: result: loading" >&5 |
| 8202 | $as_echo "loading" >&6; } |
| 8203 | . $TCL_BIN_DIR/tclConfig.sh |
| 8204 | else |
| 8205 | { $as_echo "$as_me:$LINENO: result: file not found" >&5 |
| 8206 | $as_echo "file not found" >&6; } |
| 8207 | fi |
| 8208 | |
| 8209 | # |
| 8210 | # If the TCL_BIN_DIR is the build directory (not the install directory), |
| 8211 | # then set the common variable name to the value of the build variables. |
| 8212 | # For example, the variable TCL_LIB_SPEC will be set to the value |
| 8213 | # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC |
| 8214 | # instead of TCL_BUILD_LIB_SPEC since it will work with both an |
| 8215 | # installed and uninstalled version of Tcl. |
| 8216 | # |
| 8217 | |
| 8218 | if testscip-shell system . . test. -f $TCL_BIN_DIR/Makefile ; then |
| 8219 | TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC} |
| 8220 | TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC} |
| 8221 | TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH} |
| 8222 | fi |
| 8223 | |
| 8224 | # |
| 8225 | # eval is required to do the TCL_DBGX substitution |
| 8226 | # |
| 8227 | |
| 8228 | eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\"" |
| 8229 | eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\"" |
| 8230 | eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\"" |
| 8231 | |
| 8232 | eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\"" |
| 8233 | eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\"" |
| 8234 | eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\"" |
| 8235 | |
| 8236 | |
| 8237 | |
| 8238 | |
| 8239 | |
| 8240 | |
| 8241 | |
| 8242 | |
| 8243 | |
| 8244 | |
| 8245 | |
| 8246 | |
| 8247 | |
| 8248 | if testscip-shell system . . test. -r $TCL_PREFIX/include/tcl.h; then |
| 8249 | TCL_CFLAGS="$TCL_INCLUDE_SPEC" |
| 8250 | if testscip-shell system . . test. x"$DOSHARED" != x -a x"$TCL_SUPPORTS_STUBS" = x1; then |
| 8251 | TCL_LIBS="$TCL_STUB_LIB_SPEC" |
| 8252 | TCL_CFLAGS="$TCL_CFLAGS -DUSE_TCL_STUBS=1" |
| 8253 | { $as_echo "$as_me:$LINENO: result: Tcl support will utilize stubs library: $TCL_LIBS" >&5 |
| 8254 | $as_echo "Tcl support will utilize stubs library: $TCL_LIBS" >&6; } |
| 8255 | else |
| 8256 | TCL_LIBS="$TCL_LIB_SPEC" |
| 8257 | { $as_echo "$as_me:$LINENO: result: Tcl support will utilize library: $TCL_LIBS" >&5 |
| 8258 | $as_echo "Tcl support will utilize library: $TCL_LIBS" >&6; } |
| 8259 | fi |
| 8260 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 8261 | #define HAVE_TCL 1 |
| 8262 | _ACEOF |
| 8263 | |
| 8264 | else |
| 8265 | if testscip-shell system . . test. x"${with_tclconfig}" != x ; then |
| 8266 | TCL_CFLAGS="$TCL_INCLUDE_SPEC" |
| 8267 | TCL_LIBS="$TCL_LIB_SPEC" |
| 8268 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 8269 | #define HAVE_TCL 1 |
| 8270 | _ACEOF |
| 8271 | |
| 8272 | { $as_echo "$as_me:$LINENO: result: warning: tcl.h not found with --with-tcl ... tcl build might fail" >&5 |
| 8273 | $as_echo "warning: tcl.h not found with --with-tcl ... tcl build might fail" >&6; } |
| 8274 | else |
| 8275 | { $as_echo "$as_me:$LINENO: result: $TCL_PREFIX/include/tcl.h not found ... use --with-tcl to build tcl explicitly" >&5 |
| 8276 | $as_echo "$TCL_PREFIX/include/tcl.h not found ... use --with-tcl to build tcl explicitly" >&6; } |
| 8277 | fi |
| 8278 | fi |
| 8279 | fi |
| 8280 | |
| 8281 | |
| 8282 | |
| 8283 | { $as_echo "$as_me:$LINENO: checking for incorporation of thread support" >&5 |
| 8284 | $as_echo_n "checking for incorporation of thread support... " >&6; } |
| 8285 | |
| 8286 | # Check whether --with-threads was given. |
| 8287 | if testscip-shell system . . test. "${with_threads+set}" = set; then |
| 8288 | withval=$with_threads; thr=1 |
| 8289 | else |
| 8290 | thr=0 |
| 8291 | fi |
| 8292 | |
| 8293 | if testscip-shell system . . test. x"$thr" = x1 ; then |
| 8294 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8295 | $as_echo "yes" >&6; } |
| 8296 | CFLAGS="$CFLAGS -D_REENTRANT" |
| 8297 | else |
| 8298 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8299 | $as_echo "no" >&6; } |
| 8300 | fi |
| 8301 | |
| 8302 | { $as_echo "$as_me:$LINENO: checking for gtk" >&5 |
| 8303 | $as_echo_n "checking for gtk... " >&6; } |
| 8304 | |
| 8305 | # Check whether --with-gtk was given. |
| 8306 | if testscip-shell system . . test. "${with_gtk+set}" = set; then |
| 8307 | withval=$with_gtk; havelib=1 |
| 8308 | else |
| 8309 | havelib=0 |
| 8310 | fi |
| 8311 | |
| 8312 | if testscip-shell system . . test. x"$havelib" = x1 ; then |
| 8313 | { $as_echo "$as_me:$LINENO: result: yes ($withval)" >&5 |
| 8314 | $as_echo "yes ($withval)" >&6; } |
| 8315 | GTK_CFLAGS="`pkg-config gtk+-2.0 --cflags` -DHAVE_GTK=1" |
| 8316 | GTK_LIBS="`pkg-config gtk+-2.0 --libs`" |
| 8317 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 8318 | #define HAVE_GTK 1 |
| 8319 | _ACEOF |
| 8320 | |
| 8321 | else |
| 8322 | GTK_CFLAGS="" |
| 8323 | GTK_LIBS="" |
| 8324 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8325 | $as_echo "no" >&6; } |
| 8326 | fi |
| 8327 | |
| 8328 | |
| 8329 | |
| 8330 | # restore LDFLAGS |
| 8331 | LDFLAGS="$LDFLAGS $XLDFLAGS" |
| 8332 | |
| 8333 | { $as_echo "$as_me:$LINENO: checking $host_os configuration" >&5 |
| 8334 | $as_echo_n "checking $host_os configuration... " >&6; } |
| 8335 | case $host_os in |
| 8336 | *cygwin*|*Cygwin* ) |
| 8337 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 8338 | #define HAVE_CYGWIN 1 |
| 8339 | _ACEOF |
| 8340 | |
| 8341 | { $as_echo "$as_me:$LINENO: result: flagging Cygwin" >&5 |
| 8342 | $as_echo "flagging Cygwin" >&6; } |
| 8343 | ;; |
| 8344 | *mingw32*|*Mingw32*) |
| 8345 | CFLAGS="$CFLAGS -mconsole" |
| 8346 | EXTRA_LIBS="$EXTRA_LIBS -lwsock32" |
| 8347 | catscip-shell system . . cat. >>confdefs.h <<\_ACEOF |
| 8348 | #define HAVE_MINGW32 1 |
| 8349 | _ACEOF |
| 8350 | |
| 8351 | { $as_echo "$as_me:$LINENO: result: flagging MinGW" >&5 |
| 8352 | $as_echo "flagging MinGW" >&6; } |
| 8353 | ;; |
| 8354 | *darwin*|*Darwin*) |
| 8355 | LDFLAGS="$LDFLAGS $CFLAGS" |
| 8356 | G=`$CC -v 2>&1 | grepscip-shell system . . grep. version | awkscip-shell system . . awk. '{print $3}' | awkscip-shell system . . awk. -F. '{print $1$2}'` |
| 8357 | if testscip-shell system . . test. x"$G" != x -a "$G" -lt 42; then |
| 8358 | CFLAGS="$CFLAGS -no-cpp-precomp" |
| 8359 | fi |
| 8360 | if testscip-shell system . . test. x"$TCL_PREFIX" = x"/usr/local"; then |
| 8361 | TCL_CFLAGS="" |
| 8362 | { $as_echo "$as_me:$LINENO: result: removing -I/usr/local/include" >&5 |
| 8363 | $as_echo "removing -I/usr/local/include" >&6; } |
| 8364 | fi |
| 8365 | ;; |
| 8366 | *osf*|*Osf*) |
| 8367 | { $as_echo "$as_me:$LINENO: checking for snprintf in -ldb" >&5 |
| 8368 | $as_echo_n "checking for snprintf in -ldb... " >&6; } |
| 8369 | if testscip-shell system . . test. "${ac_cv_lib_db_snprintf+set}" = set; then |
| 8370 | $as_echo_n "(cached) " >&6 |
| 8371 | else |
| 8372 | ac_check_lib_save_LIBS=$LIBS |
| 8373 | LIBS="-ldb $LIBS" |
| 8374 | catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF |
| 8375 | /* confdefs.h. */ |
| 8376 | _ACEOF |
| 8377 | catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext |
| 8378 | catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF |
| 8379 | /* end confdefs.h. */ |
| 8380 | |
| 8381 | /* Override any GCC internal prototype to avoid an error. |
| 8382 | Use char because int might match the return type of a GCC |
| 8383 | builtin and then its argument prototype would still apply. */ |
| 8384 | #ifdef __cplusplus |
| 8385 | extern "C" |
| 8386 | #endif |
| 8387 | char snprintf (); |
| 8388 | int |
| 8389 | main () |
| 8390 | { |
| 8391 | return snprintf (); |
| 8392 | ; |
| 8393 | return 0; |
| 8394 | } |
| 8395 | _ACEOF |
| 8396 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 8397 | if { (ac_try="$ac_link" |
| 8398 | case "(($ac_try" in |
| 8399 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8400 | *) ac_try_echo=$ac_try;; |
| 8401 | esac |
| 8402 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 8403 | $as_echo "$ac_try_echo") >&5 |
| 8404 | (eval "$ac_link") 2>conftest.er1 |
| 8405 | ac_status=$? |
| 8406 | grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err |
| 8407 | rmscip-shell system . . rm. -f conftest.er1 |
| 8408 | catscip-shell system . . cat. conftest.err >&5 |
| 8409 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8410 | (exit $ac_status); } && { |
| 8411 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 8412 | testscip-shell system . . test. ! -s conftest.err |
| 8413 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 8414 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 8415 | $as_test_x conftest$ac_exeext |
| 8416 | }; then |
| 8417 | ac_cv_lib_db_snprintf=yes |
| 8418 | else |
| 8419 | $as_echo "$as_me: failed program was:" >&5 |
| 8420 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 8421 | |
| 8422 | ac_cv_lib_db_snprintf=no |
| 8423 | fi |
| 8424 | |
| 8425 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 8426 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 8427 | conftest$ac_exeext conftest.$ac_ext |
| 8428 | LIBS=$ac_check_lib_save_LIBS |
| 8429 | fi |
| 8430 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_db_snprintf" >&5 |
| 8431 | $as_echo "$ac_cv_lib_db_snprintf" >&6; } |
| 8432 | if testscip-shell system . . test. "x$ac_cv_lib_db_snprintf" = x""yes; then |
| 8433 | EXTRA_LIBS="$EXTRA_LIBS -ldb" |
| 8434 | fi |
| 8435 | |
| 8436 | ;; |
| 8437 | * ) |
| 8438 | if testscip-shell system . . test. x"$fpic" = x"yes" ; then |
| 8439 | if testscip-shell system . . test. "$CC" = "gcc" -o `$CC -v 2>&1 | grepscip-shell system . . grep. -c gcc` != "0" ; then |
| 8440 | CFLAGS="$CFLAGS -fPIC" |
| 8441 | { $as_echo "$as_me:$LINENO: result: adding -fPIC to gcc" >&5 |
| 8442 | $as_echo "adding -fPIC to gcc" >&6; } |
| 8443 | else |
| 8444 | { $as_echo "$as_me:$LINENO: result: none" >&5 |
| 8445 | $as_echo "none" >&6; } |
| 8446 | fi |
| 8447 | else |
| 8448 | { $as_echo "$as_me:$LINENO: result: none" >&5 |
| 8449 | $as_echo "none" >&6; } |
| 8450 | fi |
| 8451 | ;; |
| 8452 | esac |
| 8453 | |
| 8454 | |
| 8455 | |
| 8456 | ac_config_files="$ac_config_files Makefile" |
| 8457 | |
| 8458 | |
| 8459 | catscip-shell system . . cat. >confcache <<\_ACEOF |
| 8460 | # This file is a shell script that caches the results of configure |
| 8461 | # tests run on this system so they can be shared between configure |
| 8462 | # scripts and configure runs, see configure's option --config-cache. |
| 8463 | # It is not useful on other systems. If it contains results you don't |
| 8464 | # want to keep, you may remove or edit it. |
| 8465 | # |
| 8466 | # config.status only pays attention to the cache file if you give it |
| 8467 | # the --recheck option to rerun configure. |
| 8468 | # |
| 8469 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 8470 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 8471 | # following values. |
| 8472 | |
| 8473 | _ACEOF |
| 8474 | |
| 8475 | # The following way of writing the cache mishandles newlines in values, |
| 8476 | # but we know of no workaround that is simple, portable, and efficient. |
| 8477 | # So, we kill variables containing newlines. |
| 8478 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| 8479 | # and sets the high bit in the cache file unless we assign to the vars. |
| 8480 | ( |
| 8481 | for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 8482 | eval ac_val=\$$ac_var |
| 8483 | case $ac_val in #( |
| 8484 | *${as_nl}*) |
| 8485 | case $ac_var in #( |
| 8486 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
| 8487 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 8488 | esac |
| 8489 | case $ac_var in #( |
| 8490 | _ | IFS | as_nl) ;; #( |
| 8491 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 8492 | *) $as_unset $ac_var ;; |
| 8493 | esac ;; |
| 8494 | esac |
| 8495 | done |
| 8496 | |
| 8497 | (set) 2>&1 | |
| 8498 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 8499 | *${as_nl}ac_space=\ *) |
| 8500 | # `set' does not quote correctly, so add quotes (double-quote |
| 8501 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
| 8502 | sedscip-shell system . . sed. -n \ |
| 8503 | "s/'/'\\\\''/g; |
| 8504 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 8505 | ;; #( |
| 8506 | *) |
| 8507 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 8508 | sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 8509 | ;; |
| 8510 | esac | |
| 8511 | sortscip-shell system . . sort. |
| 8512 | ) | |
| 8513 | sedscip-shell system . . sed. ' |
| 8514 | /^ac_cv_env_/b end |
| 8515 | t clear |
| 8516 | :clear |
| 8517 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 8518 | t end |
| 8519 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 8520 | :end' >>confcache |
| 8521 | if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else |
| 8522 | if testscip-shell system . . test. -w "$cache_file"; then |
| 8523 | testscip-shell system . . test. "x$cache_file" != "x/dev/null" && |
| 8524 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
| 8525 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
| 8526 | catscip-shell system . . cat. confcache >$cache_file |
| 8527 | else |
| 8528 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| 8529 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 8530 | fi |
| 8531 | fi |
| 8532 | rmscip-shell system . . rm. -f confcache |
| 8533 | |
| 8534 | testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 8535 | # Let make expand exec_prefix. |
| 8536 | testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 8537 | |
| 8538 | DEFS=-DHAVE_CONFIG_H |
| 8539 | |
| 8540 | ac_libobjs= |
| 8541 | ac_ltlibobjs= |
| 8542 | for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue |
| 8543 | # 1. Remove the extension, and $U if already installed. |
| 8544 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 8545 | ac_i=`$as_echo "$ac_i" | sedscip-shell system . . sed. "$ac_script"` |
| 8546 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 8547 | # will be set to the directory where LIBOBJS objects are built. |
| 8548 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 8549 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
| 8550 | done |
| 8551 | LIBOBJS=$ac_libobjs |
| 8552 | |
| 8553 | LTLIBOBJS=$ac_ltlibobjs |
| 8554 | |
| 8555 | |
| 8556 | |
| 8557 | : ${CONFIG_STATUS=./config.status} |
| 8558 | ac_write_fail=0 |
| 8559 | ac_clean_files_save=$ac_clean_files |
| 8560 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 8561 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
| 8562 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 8563 | catscip-shell system . . cat. >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 8564 | #! $SHELL |
| 8565 | # Generated by $as_me. |
| 8566 | # Run this file to recreate the current configuration. |
| 8567 | # Compiler output produced by configure, useful for debugging |
| 8568 | # configure, is in config.log if it exists. |
| 8569 | |
| 8570 | debug=false |
| 8571 | ac_cs_recheck=false |
| 8572 | ac_cs_silent=false |
| 8573 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 8574 | _ACEOF |
| 8575 | |
| 8576 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 8577 | ## --------------------- ## |
| 8578 | ## M4sh Initialization. ## |
| 8579 | ## --------------------- ## |
| 8580 | |
| 8581 | # Be more Bourne compatible |
| 8582 | DUALCASE=1; export DUALCASE # for MKS sh |
| 8583 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 8584 | emulate sh |
| 8585 | NULLCMD=: |
| 8586 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 8587 | # is contrary to our usage. Disable this feature. |
| 8588 | alias -g '${1+"$@"}'='"$@"' |
| 8589 | setopt NO_GLOB_SUBST |
| 8590 | else |
| 8591 | case `(set -o) 2>/dev/null` in |
| 8592 | *posix*) set -o posix ;; |
| 8593 | esac |
| 8594 | |
| 8595 | fi |
| 8596 | |
| 8597 | |
| 8598 | |
| 8599 | |
| 8600 | # PATH needs CR |
| 8601 | # Avoid depending upon Character Ranges. |
| 8602 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 8603 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 8604 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 8605 | as_cr_digits='0123456789' |
| 8606 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 8607 | |
| 8608 | as_nl=' |
| 8609 | ' |
| 8610 | export as_nl |
| 8611 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 8612 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 8613 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 8614 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 8615 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 8616 | as_echo='printf %s\n' |
| 8617 | as_echo_n='printf %s' |
| 8618 | else |
| 8619 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| 8620 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 8621 | as_echo_n='/usr/ucb/echo -n' |
| 8622 | else |
| 8623 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 8624 | as_echo_n_body='eval |
| 8625 | arg=$1; |
| 8626 | case $arg in |
| 8627 | *"$as_nl"*) |
| 8628 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 8629 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 8630 | esac; |
| 8631 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 8632 | ' |
| 8633 | export as_echo_n_body |
| 8634 | as_echo_n='sh -c $as_echo_n_body as_echo' |
| 8635 | fi |
| 8636 | export as_echo_body |
| 8637 | as_echo='sh -c $as_echo_body as_echo' |
| 8638 | fi |
| 8639 | |
| 8640 | # The user is always right. |
| 8641 | if test "${PATH_SEPARATOR+set}" != set; then |
| 8642 | PATH_SEPARATOR=: |
| 8643 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 8644 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 8645 | PATH_SEPARATOR=';' |
| 8646 | } |
| 8647 | fi |
| 8648 | |
| 8649 | # Support unset when possible. |
| 8650 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 8651 | as_unset=unset |
| 8652 | else |
| 8653 | as_unset=false |
| 8654 | fi |
| 8655 | |
| 8656 | |
| 8657 | # IFS |
| 8658 | # We need space, tab and new line, in precisely that order. Quoting is |
| 8659 | # there to prevent editors from complaining about space-tab. |
| 8660 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 8661 | # splitting by setting IFS to empty value.) |
| 8662 | IFS=" "" $as_nl" |
| 8663 | |
| 8664 | # Find who we are. Look in the path if we contain no directory separator. |
| 8665 | case $0 in |
| 8666 | *[\\/]* ) as_myself=$0 ;; |
| 8667 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8668 | for as_dir in $PATH |
| 8669 | do |
| 8670 | IFS=$as_save_IFS |
| 8671 | test -z "$as_dir" && as_dir=. |
| 8672 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 8673 | done |
| 8674 | IFS=$as_save_IFS |
| 8675 | |
| 8676 | ;; |
| 8677 | esac |
| 8678 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 8679 | # in which case we are not to be found in the path. |
| 8680 | if test "x$as_myself" = x; then |
| 8681 | as_myself=$0 |
| 8682 | fi |
| 8683 | if test ! -f "$as_myself"; then |
| 8684 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 8685 | { (exit 1); exit 1; } |
| 8686 | fi |
| 8687 | |
| 8688 | # Work around bugs in pre-3.0 UWIN ksh. |
| 8689 | for as_var in ENV MAIL MAILPATH |
| 8690 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 8691 | done |
| 8692 | PS1='$ ' |
| 8693 | PS2='> ' |
| 8694 | PS4='+ ' |
| 8695 | |
| 8696 | # NLS nuisances. |
| 8697 | LC_ALL=C |
| 8698 | export LC_ALL |
| 8699 | LANGUAGE=C |
| 8700 | export LANGUAGE |
| 8701 | |
| 8702 | # Required to use basename. |
| 8703 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 8704 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 8705 | as_expr=expr |
| 8706 | else |
| 8707 | as_expr=false |
| 8708 | fi |
| 8709 | |
| 8710 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 8711 | as_basename=basename |
| 8712 | else |
| 8713 | as_basename=false |
| 8714 | fi |
| 8715 | |
| 8716 | |
| 8717 | # Name of the executable. |
| 8718 | as_me=`$as_basename -- "$0" || |
| 8719 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 8720 | X"$0" : 'X\(//\)$' \| \ |
| 8721 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 8722 | $as_echo X/"$0" | |
| 8723 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 8724 | s//\1/ |
| 8725 | q |
| 8726 | } |
| 8727 | /^X\/\(\/\/\)$/{ |
| 8728 | s//\1/ |
| 8729 | q |
| 8730 | } |
| 8731 | /^X\/\(\/\).*/{ |
| 8732 | s//\1/ |
| 8733 | q |
| 8734 | } |
| 8735 | s/.*/./; q'` |
| 8736 | |
| 8737 | # CDPATH. |
| 8738 | $as_unset CDPATH |
| 8739 | |
| 8740 | |
| 8741 | |
| 8742 | as_lineno_1=$LINENO |
| 8743 | as_lineno_2=$LINENO |
| 8744 | test "x$as_lineno_1" != "x$as_lineno_2" && |
| 8745 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 8746 | |
| 8747 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 8748 | # uniformly replaced by the line number. The first 'sed' inserts a |
| 8749 | # line-number line after each line using $LINENO; the second 'sed' |
| 8750 | # does the real work. The second script uses 'N' to pair each |
| 8751 | # line-number line with the line containing $LINENO, and appends |
| 8752 | # trailing '-' during substitution so that $LINENO is not a special |
| 8753 | # case at line end. |
| 8754 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 8755 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
| 8756 | # E. McMahon (1931-1989) for sed's syntax. :-) |
| 8757 | sed -n ' |
| 8758 | p |
| 8759 | /[$]LINENO/= |
| 8760 | ' <$as_myself | |
| 8761 | sed ' |
| 8762 | s/[$]LINENO.*/&-/ |
| 8763 | t lineno |
| 8764 | b |
| 8765 | :lineno |
| 8766 | N |
| 8767 | :loop |
| 8768 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 8769 | t loop |
| 8770 | s/-\n.*// |
| 8771 | ' >$as_me.lineno && |
| 8772 | chmod +x "$as_me.lineno" || |
| 8773 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 8774 | { (exit 1); exit 1; }; } |
| 8775 | |
| 8776 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 8777 | # (the dirname of $[0] is not the place where we might find the |
| 8778 | # original and so on. Autoconf is especially sensitive to this). |
| 8779 | . "./$as_me.lineno" |
| 8780 | # Exit status is that of the last command. |
| 8781 | exit |
| 8782 | } |
| 8783 | |
| 8784 | |
| 8785 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 8786 | as_dirname=dirname |
| 8787 | else |
| 8788 | as_dirname=false |
| 8789 | fi |
| 8790 | |
| 8791 | ECHO_C= ECHO_N= ECHO_T= |
| 8792 | case `echo -n x` in |
| 8793 | -n*) |
| 8794 | case `echo 'x\c'` in |
| 8795 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 8796 | *) ECHO_C='\c';; |
| 8797 | esac;; |
| 8798 | *) |
| 8799 | ECHO_N='-n';; |
| 8800 | esac |
| 8801 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 8802 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 8803 | as_expr=expr |
| 8804 | else |
| 8805 | as_expr=false |
| 8806 | fi |
| 8807 | |
| 8808 | rm -f conf$$ conf$$.exe conf$$.file |
| 8809 | if test -d conf$$.dir; then |
| 8810 | rm -f conf$$.dir/conf$$.file |
| 8811 | else |
| 8812 | rm -f conf$$.dir |
| 8813 | mkdir conf$$.dir 2>/dev/null |
| 8814 | fi |
| 8815 | if (echo >conf$$.file) 2>/dev/null; then |
| 8816 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 8817 | as_ln_s='ln -s' |
| 8818 | # ... but there are two gotchas: |
| 8819 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 8820 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 8821 | # In both cases, we have to default to `cp -p'. |
| 8822 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 8823 | as_ln_s='cp -p' |
| 8824 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 8825 | as_ln_s=ln |
| 8826 | else |
| 8827 | as_ln_s='cp -p' |
| 8828 | fi |
| 8829 | else |
| 8830 | as_ln_s='cp -p' |
| 8831 | fi |
| 8832 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 8833 | rmdir conf$$.dir 2>/dev/null |
| 8834 | |
| 8835 | if mkdir -p . 2>/dev/null; then |
| 8836 | as_mkdir_p=: |
| 8837 | else |
| 8838 | test -d ./-p && rmdir ./-p |
| 8839 | as_mkdir_p=false |
| 8840 | fi |
| 8841 | |
| 8842 | if test -x / >/dev/null 2>&1; then |
| 8843 | as_test_x='test -x' |
| 8844 | else |
| 8845 | if ls -dL / >/dev/null 2>&1; then |
| 8846 | as_ls_L_option=L |
| 8847 | else |
| 8848 | as_ls_L_option= |
| 8849 | fi |
| 8850 | as_test_x=' |
| 8851 | eval sh -c '\'' |
| 8852 | if test -d "$1"; then |
| 8853 | test -d "$1/."; |
| 8854 | else |
| 8855 | case $1 in |
| 8856 | -*)set "./$1";; |
| 8857 | esac; |
| 8858 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 8859 | ???[sx]*):;;*)false;;esac;fi |
| 8860 | '\'' sh |
| 8861 | ' |
| 8862 | fi |
| 8863 | as_executable_p=$as_test_x |
| 8864 | |
| 8865 | # Sed expression to map a string onto a valid CPP name. |
| 8866 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 8867 | |
| 8868 | # Sed expression to map a string onto a valid variable name. |
| 8869 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 8870 | |
| 8871 | |
| 8872 | exec 6>&1 |
| 8873 | |
| 8874 | # Save the log message, to keep $[0] and so on meaningful, and to |
| 8875 | # report actual input values of CONFIG_FILES etc. instead of their |
| 8876 | # values after options handling. |
| 8877 | ac_log=" |
| 8878 | This file was extended by xpa $as_me 2.1.15, which was |
| 8879 | generated by GNU Autoconf 2.63. Invocation command line was |
| 8880 | |
| 8881 | CONFIG_FILES = $CONFIG_FILES |
| 8882 | CONFIG_HEADERS = $CONFIG_HEADERS |
| 8883 | CONFIG_LINKS = $CONFIG_LINKS |
| 8884 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 8885 | $ $0 $@ |
| 8886 | |
| 8887 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 8888 | " |
| 8889 | |
| 8890 | _ACEOF |
| 8891 | |
| 8892 | case $ac_config_files in *" |
| 8893 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 8894 | esac |
| 8895 | |
| 8896 | case $ac_config_headers in *" |
| 8897 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
| 8898 | esac |
| 8899 | |
| 8900 | |
| 8901 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 8902 | # Files that config.status was made for. |
| 8903 | config_files="$ac_config_files" |
| 8904 | config_headers="$ac_config_headers" |
| 8905 | |
| 8906 | _ACEOF |
| 8907 | |
| 8908 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 8909 | ac_cs_usage="\ |
| 8910 | \`$as_me' instantiates files from templates according to the |
| 8911 | current configuration. |
| 8912 | |
| 8913 | Usage: $0 [OPTION]... [FILE]... |
| 8914 | |
| 8915 | -h, --help print this help, then exit |
| 8916 | -V, --version print version number and configuration settings, then exit |
| 8917 | -q, --quiet, --silent |
| 8918 | do not print progress messages |
| 8919 | -d, --debug don't remove temporary files |
| 8920 | --recheck update $as_me by reconfiguring in the same conditions |
| 8921 | --file=FILE[:TEMPLATE] |
| 8922 | instantiate the configuration file FILE |
| 8923 | --header=FILE[:TEMPLATE] |
| 8924 | instantiate the configuration header FILE |
| 8925 | |
| 8926 | Configuration files: |
| 8927 | $config_files |
| 8928 | |
| 8929 | Configuration headers: |
| 8930 | $config_headers |
| 8931 | |
| 8932 | Report bugs to <[email protected]>." |
| 8933 | |
| 8934 | _ACEOF |
| 8935 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 8936 | ac_cs_version="\\ |
| 8937 | xpa config.status 2.1.15 |
| 8938 | configured by $0, generated by GNU Autoconf 2.63, |
| 8939 | with options \\"`$as_echo "$ac_configure_args" | sed 'scip-shell system . . sed.s/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 8940 | |
| 8941 | Copyright (C) 2008 Free Software Foundation, Inc. |
| 8942 | This config.status script is free software; the Free Software Foundation |
| 8943 | gives unlimited permission to copy, distribute and modify it." |
| 8944 | |
| 8945 | ac_pwd='$ac_pwd' |
| 8946 | srcdir='$srcdir' |
| 8947 | test -n "\$AWK" || AWK=awk |
| 8948 | _ACEOF |
| 8949 | |
| 8950 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 8951 | # The default lists apply if the user does not specify any file. |
| 8952 | ac_need_defaults=: |
| 8953 | while test $# != 0 |
| 8954 | do |
| 8955 | case $1 in |
| 8956 | --*=*) |
| 8957 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 8958 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 8959 | ac_shift=: |
| 8960 | ;; |
| 8961 | *) |
| 8962 | ac_option=$1 |
| 8963 | ac_optarg=$2 |
| 8964 | ac_shift=shift |
| 8965 | ;; |
| 8966 | esac |
| 8967 | |
| 8968 | case $ac_option in |
| 8969 | # Handling of the options. |
| 8970 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 8971 | ac_cs_recheck=: ;; |
| 8972 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 8973 | $as_echo "$ac_cs_version"; exit ;; |
| 8974 | --debug | --debu | --deb | --de | --d | -d ) |
| 8975 | debug=: ;; |
| 8976 | --file | --fil | --fi | --f ) |
| 8977 | $ac_shift |
| 8978 | case $ac_optarg in |
| 8979 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 8980 | esac |
| 8981 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
| 8982 | ac_need_defaults=false;; |
| 8983 | --header | --heade | --head | --hea ) |
| 8984 | $ac_shift |
| 8985 | case $ac_optarg in |
| 8986 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 8987 | esac |
| 8988 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
| 8989 | ac_need_defaults=false;; |
| 8990 | --he | --h) |
| 8991 | # Conflict between --help and --header |
| 8992 | { $as_echo "$as_me: error: ambiguous option: $1 |
| 8993 | Try \`$0 --help' for more information." >&2 |
| 8994 | { (exit 1); exit 1; }; };; |
| 8995 | --help | --hel | -h ) |
| 8996 | $as_echo "$ac_cs_usage"; exit ;; |
| 8997 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 8998 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 8999 | ac_cs_silent=: ;; |
| 9000 | |
| 9001 | # This is an error. |
| 9002 | -*) { $as_echo "$as_me: error: unrecognized option: $1 |
| 9003 | Try \`$0 --help' for more information." >&2 |
| 9004 | { (exit 1); exit 1; }; } ;; |
| 9005 | |
| 9006 | *) ac_config_targets="$ac_config_targets $1" |
| 9007 | ac_need_defaults=false ;; |
| 9008 | |
| 9009 | esac |
| 9010 | shift |
| 9011 | done |
| 9012 | |
| 9013 | ac_configure_extra_args= |
| 9014 | |
| 9015 | if $ac_cs_silent; then |
| 9016 | exec 6>/dev/null |
| 9017 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 9018 | fi |
| 9019 | |
| 9020 | _ACEOF |
| 9021 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 9022 | if \$ac_cs_recheck; then |
| 9023 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 9024 | shift |
| 9025 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 9026 | CONFIG_SHELL='$SHELL' |
| 9027 | export CONFIG_SHELL |
| 9028 | exec "\$@" |
| 9029 | fi |
| 9030 | |
| 9031 | _ACEOF |
| 9032 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 9033 | exec 5>>config.log |
| 9034 | { |
| 9035 | echo |
| 9036 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 9037 | ## Running $as_me. ## |
| 9038 | _ASBOX |
| 9039 | $as_echo "$ac_log" |
| 9040 | } >&5 |
| 9041 | |
| 9042 | _ACEOF |
| 9043 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 9044 | _ACEOF |
| 9045 | |
| 9046 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 9047 | |
| 9048 | # Handling of arguments. |
| 9049 | for ac_config_target in $ac_config_targets |
| 9050 | do |
| 9051 | case $ac_config_target in |
| 9052 | "conf.h") CONFIG_HEADERS="$CONFIG_HEADERS conf.h" ;; |
| 9053 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 9054 | |
| 9055 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 9056 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| 9057 | { (exit 1); exit 1; }; };; |
| 9058 | esac |
| 9059 | done |
| 9060 | |
| 9061 | |
| 9062 | # If the user did not use the arguments to specify the items to instantiate, |
| 9063 | # then the envvar interface is used. Set only those that are not. |
| 9064 | # We use the long form for the default assignment because of an extremely |
| 9065 | # bizarre bug on SunOS 4.1.3. |
| 9066 | if $ac_need_defaults; then |
| 9067 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 9068 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
| 9069 | fi |
| 9070 | |
| 9071 | # Have a temporary directory for convenience. Make it in the build tree |
| 9072 | # simply because there is no reason against having it here, and in addition, |
| 9073 | # creating and moving files from /tmp can sometimes cause problems. |
| 9074 | # Hook for its removal unless debugging. |
| 9075 | # Note that there is a small window in which the directory will not be cleaned: |
| 9076 | # after its creation but before its name has been assigned to `$tmp'. |
| 9077 | $debug || |
| 9078 | { |
| 9079 | tmp= |
| 9080 | trap 'exit_status=$? |
| 9081 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 9082 | ' 0 |
| 9083 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 9084 | } |
| 9085 | # Create a (secure) tmp directory for tmp files. |
| 9086 | |
| 9087 | { |
| 9088 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 9089 | test -n "$tmp" && test -d "$tmp" |
| 9090 | } || |
| 9091 | { |
| 9092 | tmp=./conf$$-$RANDOM |
| 9093 | (umask 077 && mkdir "$tmp") |
| 9094 | } || |
| 9095 | { |
| 9096 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 |
| 9097 | { (exit 1); exit 1; } |
| 9098 | } |
| 9099 | |
| 9100 | # Set up the scripts for CONFIG_FILES section. |
| 9101 | # No need to generate them if there are no CONFIG_FILES. |
| 9102 | # This happens for instance with `./config.status config.h'. |
| 9103 | if test -n "$CONFIG_FILES"; then |
| 9104 | |
| 9105 | |
| 9106 | ac_cr=' ' |
| 9107 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 9108 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 9109 | ac_cs_awk_cr='\\r' |
| 9110 | else |
| 9111 | ac_cs_awk_cr=$ac_cr |
| 9112 | fi |
| 9113 | |
| 9114 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
| 9115 | _ACEOF |
| 9116 | |
| 9117 | |
| 9118 | { |
| 9119 | echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" && |
| 9120 | echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' && |
| 9121 | echoscip-shell system . . echo. "_ACEOF" |
| 9122 | } >conf$$subs.sh || |
| 9123 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 9124 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 9125 | { (exit 1); exit 1; }; } |
| 9126 | ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '$'` |
| 9127 | ac_delim='%!_!# ' |
| 9128 | for ac_last_try in false false false false false :; do |
| 9129 | . ./conf$$subs.sh || |
| 9130 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 9131 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 9132 | { (exit 1); exit 1; }; } |
| 9133 | |
| 9134 | ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X` |
| 9135 | if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then |
| 9136 | break |
| 9137 | elif $ac_last_try; then |
| 9138 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 9139 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 9140 | { (exit 1); exit 1; }; } |
| 9141 | else |
| 9142 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 9143 | fi |
| 9144 | done |
| 9145 | rmscip-shell system . . rm. -f conf$$subs.sh |
| 9146 | |
| 9147 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 9148 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
| 9149 | _ACEOF |
| 9150 | sedscip-shell system . . sed. -n ' |
| 9151 | h |
| 9152 | s/^/S["/; s/!.*/"]=/ |
| 9153 | p |
| 9154 | g |
| 9155 | s/^[^!]*!// |
| 9156 | :repl |
| 9157 | t repl |
| 9158 | s/'"$ac_delim"'$// |
| 9159 | t delim |
| 9160 | :nl |
| 9161 | h |
| 9162 | s/\(.\{148\}\).*/\1/ |
| 9163 | t more1 |
| 9164 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 9165 | p |
| 9166 | n |
| 9167 | b repl |
| 9168 | :more1 |
| 9169 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 9170 | p |
| 9171 | g |
| 9172 | s/.\{148\}// |
| 9173 | t nl |
| 9174 | :delim |
| 9175 | h |
| 9176 | s/\(.\{148\}\).*/\1/ |
| 9177 | t more2 |
| 9178 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 9179 | p |
| 9180 | b |
| 9181 | :more2 |
| 9182 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 9183 | p |
| 9184 | g |
| 9185 | s/.\{148\}// |
| 9186 | t delim |
| 9187 | ' <conf$$subs.awk | sedscip-shell system . . sed. ' |
| 9188 | /^[^""]/{ |
| 9189 | N |
| 9190 | s/\n// |
| 9191 | } |
| 9192 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
| 9193 | rmscip-shell system . . rm. -f conf$$subs.awk |
| 9194 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 9195 | _ACAWK |
| 9196 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
| 9197 | for (key in S) S_is_set[key] = 1 |
| 9198 | FS = "" |
| 9199 | |
| 9200 | } |
| 9201 | { |
| 9202 | line = $ 0 |
| 9203 | nfields = split(line, field, "@") |
| 9204 | substed = 0 |
| 9205 | len = length(field[1]) |
| 9206 | for (i = 2; i < nfields; i++) { |
| 9207 | key = field[i] |
| 9208 | keylen = length(key) |
| 9209 | if (S_is_set[key]) { |
| 9210 | value = S[key] |
| 9211 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 9212 | len += length(value) + length(field[++i]) |
| 9213 | substed = 1 |
| 9214 | } else |
| 9215 | len += 1 + keylen |
| 9216 | } |
| 9217 | |
| 9218 | print line |
| 9219 | } |
| 9220 | |
| 9221 | _ACAWK |
| 9222 | _ACEOF |
| 9223 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 9224 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 9225 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 9226 | else |
| 9227 | cat |
| 9228 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 9229 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
| 9230 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} |
| 9231 | { (exit 1); exit 1; }; } |
| 9232 | _ACEOF |
| 9233 | |
| 9234 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 9235 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 9236 | # trailing colons and then remove the whole line if VPATH becomes empty |
| 9237 | # (actually we leave an empty line to preserve line numbers). |
| 9238 | if testscip-shell system . . test. "x$srcdir" = x.; then |
| 9239 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 9240 | s/:*\$(srcdir):*/:/ |
| 9241 | s/:*\${srcdir}:*/:/ |
| 9242 | s/:*@srcdir@:*/:/ |
| 9243 | s/^\([^=]*=[ ]*\):*/\1/ |
| 9244 | s/:*$// |
| 9245 | s/^[^=]*=[ ]*$// |
| 9246 | }' |
| 9247 | fi |
| 9248 | |
| 9249 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 9250 | fi # test -n "$CONFIG_FILES" |
| 9251 | |
| 9252 | # Set up the scripts for CONFIG_HEADERS section. |
| 9253 | # No need to generate them if there are no CONFIG_HEADERS. |
| 9254 | # This happens for instance with `./config.status Makefile'. |
| 9255 | if test -n "$CONFIG_HEADERS"; then |
| 9256 | cat >"$tmp/defines.awk" <<\_ACAWK || |
| 9257 | BEGIN { |
| 9258 | _ACEOF |
| 9259 | |
| 9260 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
| 9261 | # here-document in config.status, that substitutes the proper values into |
| 9262 | # config.h.in to produce config.h. |
| 9263 | |
| 9264 | # Create a delimiter string that does not exist in confdefs.h, to ease |
| 9265 | # handling of long lines. |
| 9266 | ac_delim='%!_!# ' |
| 9267 | for ac_last_try in false false :; do |
| 9268 | ac_t=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h` |
| 9269 | if testscip-shell system . . test. -z "$ac_t"; then |
| 9270 | break |
| 9271 | elif $ac_last_try; then |
| 9272 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
| 9273 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
| 9274 | { (exit 1); exit 1; }; } |
| 9275 | else |
| 9276 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 9277 | fi |
| 9278 | done |
| 9279 | |
| 9280 | # For the awk script, D is an array of macro values keyed by name, |
| 9281 | # likewise P contains macro parameters if any. Preserve backslash |
| 9282 | # newline sequences. |
| 9283 | |
| 9284 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 9285 | sedscip-shell system . . sed. -n ' |
| 9286 | s/.\{148\}/&'"$ac_delim"'/g |
| 9287 | t rset |
| 9288 | :rset |
| 9289 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
| 9290 | t def |
| 9291 | d |
| 9292 | :def |
| 9293 | s/\\$// |
| 9294 | t bsnl |
| 9295 | s/["\\]/\\&/g |
| 9296 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 9297 | D["\1"]=" \3"/p |
| 9298 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
| 9299 | d |
| 9300 | :bsnl |
| 9301 | s/["\\]/\\&/g |
| 9302 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 9303 | D["\1"]=" \3\\\\\\n"\\/p |
| 9304 | t cont |
| 9305 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
| 9306 | t cont |
| 9307 | d |
| 9308 | :cont |
| 9309 | n |
| 9310 | s/.\{148\}/&'"$ac_delim"'/g |
| 9311 | t clear |
| 9312 | :clear |
| 9313 | s/\\$// |
| 9314 | t bsnlc |
| 9315 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
| 9316 | d |
| 9317 | :bsnlc |
| 9318 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
| 9319 | b cont |
| 9320 | ' <confdefs.h | sedscip-shell system . . sed. ' |
| 9321 | s/'"$ac_delim"'/"\\\ |
| 9322 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
| 9323 | |
| 9324 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 9325 | for (key in D) D_is_set[key] = 1 |
| 9326 | FS = "" |
| 9327 | } |
| 9328 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
| 9329 | line = \$ 0 |
| 9330 | split(line, arg, " ") |
| 9331 | if (arg[1] == "#") { |
| 9332 | defundef = arg[2] |
| 9333 | mac1 = arg[3] |
| 9334 | } else { |
| 9335 | defundef = substr(arg[1], 2) |
| 9336 | mac1 = arg[2] |
| 9337 | } |
| 9338 | split(mac1, mac2, "(") #) |
| 9339 | macro = mac2[1] |
| 9340 | prefix = substr(line, 1, index(line, defundef) - 1) |
| 9341 | if (D_is_set[macro]) { |
| 9342 | # Preserve the white space surrounding the "#". |
| 9343 | print prefix "define", macro P[macro] D[macro] |
| 9344 | next |
| 9345 | } else { |
| 9346 | # Replace #undef with comments. This is necessary, for example, |
| 9347 | # in the case of _POSIX_SOURCE, which is predefined and required |
| 9348 | # on some systems where configure will not decide to define it. |
| 9349 | if (defundef == "undef") { |
| 9350 | print "/*", prefix defundef, macro, "*/" |
| 9351 | next |
| 9352 | } |
| 9353 | } |
| 9354 | } |
| 9355 | { print } |
| 9356 | _ACAWK |
| 9357 | _ACEOF |
| 9358 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 9359 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
| 9360 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
| 9361 | { (exit 1); exit 1; }; } |
| 9362 | fi # test -n "$CONFIG_HEADERS" |
| 9363 | |
| 9364 | |
| 9365 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
| 9366 | shift |
| 9367 | for ac_tag |
| 9368 | do |
| 9369 | case $ac_tag in |
| 9370 | :[FHLC]) ac_mode=$ac_tag; continue;; |
| 9371 | esac |
| 9372 | case $ac_mode$ac_tag in |
| 9373 | :[FHL]*:*);; |
| 9374 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
| 9375 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
| 9376 | { (exit 1); exit 1; }; };; |
| 9377 | :[FH]-) ac_tag=-:-;; |
| 9378 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 9379 | esac |
| 9380 | ac_save_IFS=$IFS |
| 9381 | IFS=: |
| 9382 | set x $ac_tag |
| 9383 | IFS=$ac_save_IFS |
| 9384 | shift |
| 9385 | ac_file=$1 |
| 9386 | shift |
| 9387 | |
| 9388 | case $ac_mode in |
| 9389 | :L) ac_source=$1;; |
| 9390 | :[FH]) |
| 9391 | ac_file_inputs= |
| 9392 | for ac_f |
| 9393 | do |
| 9394 | case $ac_f in |
| 9395 | -) ac_f="$tmp/stdin";; |
| 9396 | *) # Look for the file first in the build tree, then in the source tree |
| 9397 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
| 9398 | # because $ac_f cannot contain `:'. |
| 9399 | test -f "$ac_f" || |
| 9400 | case $ac_f in |
| 9401 | [\\/$]*) false;; |
| 9402 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 9403 | esac || |
| 9404 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
| 9405 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
| 9406 | { (exit 1); exit 1; }; };; |
| 9407 | esac |
| 9408 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 9409 | ac_file_inputs="$ac_file_inputs '$ac_f'" |
| 9410 | done |
| 9411 | |
| 9412 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 9413 | # use $as_me), people would be surprised to read: |
| 9414 | # /* config.h. Generated by config.status. */ |
| 9415 | configure_input='Generated from '` |
| 9416 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 9417 | `' by configure.' |
| 9418 | if test x"$ac_file" != x-; then |
| 9419 | configure_input="$ac_file. $configure_input" |
| 9420 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 9421 | $as_echo "$as_me: creating $ac_file" >&6;} |
| 9422 | fi |
| 9423 | # Neutralize special characters interpreted by sed in replacement strings. |
| 9424 | case $configure_input in #( |
| 9425 | *\&* | *\|* | *\\* ) |
| 9426 | ac_sed_conf_input=`$as_echo "$configure_input" | |
| 9427 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 9428 | *) ac_sed_conf_input=$configure_input;; |
| 9429 | esac |
| 9430 | |
| 9431 | case $ac_tag in |
| 9432 | *:-:* | *:-) cat >"$tmp/stdin" \ |
| 9433 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 9434 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 9435 | { (exit 1); exit 1; }; } ;; |
| 9436 | esac |
| 9437 | ;; |
| 9438 | esac |
| 9439 | |
| 9440 | ac_dir=`$as_dirname -- "$ac_file" || |
| 9441 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 9442 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 9443 | X"$ac_file" : 'X\(//\)$' \| \ |
| 9444 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 9445 | $as_echo X"$ac_file" | |
| 9446 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 9447 | s//\1/ |
| 9448 | q |
| 9449 | } |
| 9450 | /^X\(\/\/\)[^/].*/{ |
| 9451 | s//\1/ |
| 9452 | q |
| 9453 | } |
| 9454 | /^X\(\/\/\)$/{ |
| 9455 | s//\1/ |
| 9456 | q |
| 9457 | } |
| 9458 | /^X\(\/\).*/{ |
| 9459 | s//\1/ |
| 9460 | q |
| 9461 | } |
| 9462 | s/.*/./; q'` |
| 9463 | { as_dir="$ac_dir" |
| 9464 | case $as_dir in #( |
| 9465 | -*) as_dir=./$as_dir;; |
| 9466 | esac |
| 9467 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
| 9468 | as_dirs= |
| 9469 | while :; do |
| 9470 | case $as_dir in #( |
| 9471 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 9472 | *) as_qdir=$as_dir;; |
| 9473 | esac |
| 9474 | as_dirs="'$as_qdir' $as_dirs" |
| 9475 | as_dir=`$as_dirname -- "$as_dir" || |
| 9476 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 9477 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 9478 | X"$as_dir" : 'X\(//\)$' \| \ |
| 9479 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 9480 | $as_echo X"$as_dir" | |
| 9481 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 9482 | s//\1/ |
| 9483 | q |
| 9484 | } |
| 9485 | /^X\(\/\/\)[^/].*/{ |
| 9486 | s//\1/ |
| 9487 | q |
| 9488 | } |
| 9489 | /^X\(\/\/\)$/{ |
| 9490 | s//\1/ |
| 9491 | q |
| 9492 | } |
| 9493 | /^X\(\/\).*/{ |
| 9494 | s//\1/ |
| 9495 | q |
| 9496 | } |
| 9497 | s/.*/./; q'` |
| 9498 | test -d "$as_dir" && break |
| 9499 | done |
| 9500 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 9501 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
| 9502 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 9503 | { (exit 1); exit 1; }; }; } |
| 9504 | ac_builddir=. |
| 9505 | |
| 9506 | case "$ac_dir" in |
| 9507 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 9508 | *) |
| 9509 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 9510 | # A ".." for each directory in $ac_dir_suffix. |
| 9511 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 9512 | case $ac_top_builddir_sub in |
| 9513 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 9514 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 9515 | esac ;; |
| 9516 | esac |
| 9517 | ac_abs_top_builddir=$ac_pwd |
| 9518 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 9519 | # for backward compatibility: |
| 9520 | ac_top_builddir=$ac_top_build_prefix |
| 9521 | |
| 9522 | case $srcdir in |
| 9523 | .) # We are building in place. |
| 9524 | ac_srcdir=. |
| 9525 | ac_top_srcdir=$ac_top_builddir_sub |
| 9526 | ac_abs_top_srcdir=$ac_pwd ;; |
| 9527 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 9528 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 9529 | ac_top_srcdir=$srcdir |
| 9530 | ac_abs_top_srcdir=$srcdir ;; |
| 9531 | *) # Relative name. |
| 9532 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 9533 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 9534 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 9535 | esac |
| 9536 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 9537 | |
| 9538 | |
| 9539 | case $ac_mode in |
| 9540 | :F) |
| 9541 | # |
| 9542 | # CONFIG_FILE |
| 9543 | # |
| 9544 | |
| 9545 | _ACEOF |
| 9546 | |
| 9547 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 9548 | # If the template does not know about datarootdir, expand it. |
| 9549 | # FIXME: This hack should be removed a few years after 2.60. |
| 9550 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 9551 | |
| 9552 | ac_sed_dataroot=' |
| 9553 | /datarootdir/ { |
| 9554 | p |
| 9555 | q |
| 9556 | } |
| 9557 | /@datadir@/p |
| 9558 | /@docdir@/p |
| 9559 | /@infodir@/p |
| 9560 | /@localedir@/p |
| 9561 | /@mandir@/p |
| 9562 | ' |
| 9563 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 9564 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 9565 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 9566 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 9567 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 9568 | _ACEOF |
| 9569 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 9570 | ac_datarootdir_hack=' |
| 9571 | s&@datadir@&$datadir&g |
| 9572 | s&@docdir@&$docdir&g |
| 9573 | s&@infodir@&$infodir&g |
| 9574 | s&@localedir@&$localedir&g |
| 9575 | s&@mandir@&$mandir&g |
| 9576 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 9577 | esac |
| 9578 | _ACEOF |
| 9579 | |
| 9580 | # Neutralize VPATH when `$srcdir' = `.'. |
| 9581 | # Shell code in configure.ac might set extrasub. |
| 9582 | # FIXME: do we really want to maintain this feature? |
| 9583 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 9584 | ac_sed_extra="$ac_vpsub |
| 9585 | $extrasub |
| 9586 | _ACEOF |
| 9587 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 9588 | :t |
| 9589 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 9590 | s|@configure_input@|$ac_sed_conf_input|;t t |
| 9591 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 9592 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 9593 | s&@srcdir@&$ac_srcdir&;t t |
| 9594 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 9595 | s&@top_srcdir@&$ac_top_srcdir&;t t |
| 9596 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 9597 | s&@builddir@&$ac_builddir&;t t |
| 9598 | s&@abs_builddir@&$ac_abs_builddir&;t t |
| 9599 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 9600 | $ac_datarootdir_hack |
| 9601 | " |
| 9602 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 9603 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 9604 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 9605 | { (exit 1); exit 1; }; } |
| 9606 | |
| 9607 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 9608 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 9609 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 9610 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 9611 | which seems to be undefined. Please make sure it is defined." >&5 |
| 9612 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 9613 | which seems to be undefined. Please make sure it is defined." >&2;} |
| 9614 | |
| 9615 | rm -f "$tmp/stdin" |
| 9616 | case $ac_file in |
| 9617 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
| 9618 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 9619 | esac \ |
| 9620 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 9621 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 9622 | { (exit 1); exit 1; }; } |
| 9623 | ;; |
| 9624 | :H) |
| 9625 | # |
| 9626 | # CONFIG_HEADER |
| 9627 | # |
| 9628 | if test x"$ac_file" != x-; then |
| 9629 | { |
| 9630 | $as_echo "/* $configure_input */" \ |
| 9631 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 9632 | } >"$tmp/config.h" \ |
| 9633 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 9634 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 9635 | { (exit 1); exit 1; }; } |
| 9636 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 9637 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| 9638 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 9639 | else |
| 9640 | rm -f "$ac_file" |
| 9641 | mv "$tmp/config.h" "$ac_file" \ |
| 9642 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 9643 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 9644 | { (exit 1); exit 1; }; } |
| 9645 | fi |
| 9646 | else |
| 9647 | $as_echo "/* $configure_input */" \ |
| 9648 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 9649 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
| 9650 | $as_echo "$as_me: error: could not create -" >&2;} |
| 9651 | { (exit 1); exit 1; }; } |
| 9652 | fi |
| 9653 | ;; |
| 9654 | |
| 9655 | |
| 9656 | esac |
| 9657 | |
| 9658 | done # for ac_tag |
| 9659 | |
| 9660 | |
| 9661 | { (exit 0); exit 0; } |
| 9662 | _ACEOF |
| 9663 | chmodscip-shell system . . chmod. +x $CONFIG_STATUS |
| 9664 | ac_clean_files=$ac_clean_files_save |
| 9665 | |
| 9666 | testscip-shell system . . test. $ac_write_fail = 0 || |
| 9667 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
| 9668 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
| 9669 | { (exit 1); exit 1; }; } |
| 9670 | |
| 9671 | |
| 9672 | # configure is writing to config.log, and then calls config.status. |
| 9673 | # config.status does its own redirection, appending to config.log. |
| 9674 | # Unfortunately, on DOS this fails, as config.log is still kept open |
| 9675 | # by configure, so config.status won't be able to write to it; its |
| 9676 | # output is simply discarded. So we exec the FD to /dev/null, |
| 9677 | # effectively closing config.log, so it can be properly (re)opened and |
| 9678 | # appended to by config.status. When coming back to configure, we |
| 9679 | # need to make the FD available again. |
| 9680 | if testscip-shell system . . test. "$no_create" != yes; then |
| 9681 | ac_cs_success=: |
| 9682 | ac_config_status_args= |
| 9683 | testscip-shell system . . test. "$silent" = yes && |
| 9684 | ac_config_status_args="$ac_config_status_args --quiet" |
| 9685 | exec 5>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 9686 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 9687 | exec 5>>config.log |
| 9688 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 9689 | # would make configure fail if this is the last instruction. |
| 9690 | $ac_cs_success || { (exit 1); exit 1; } |
| 9691 | fi |
| 9692 | if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then |
| 9693 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 9694 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 9695 | fi |
| 9696 |