1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.59. 4# 5# Copyright (C) 2003 Free Software Foundation, Inc. 6# This configure script is free software; the Free Software Foundation 7# gives unlimited permission to copy, distribute and modify it. 8## --------------------- ## 9## M4sh Initialization. ## 10## --------------------- ## 11 12# Be Bourne compatible 13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21fi 22DUALCASE=1; export DUALCASE # for MKS sh 23 24# Support unset when possible. 25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27else 28 as_unset=false 29fi 30 31 32# Work around bugs in pre-3.0 UWIN ksh. 33$as_unset ENV MAIL MAILPATH 34PS1='$ ' 35PS2='> ' 36PS4='+ ' 37 38# NLS nuisances. 39for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49done 50 51# Required to use basename. 52if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54else 55 as_expr=false 56fi 57 58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60else 61 as_basename=false 62fi 63 64 65# Name of the executable. 66as_me=`$as_basename "$0" || 67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78# PATH needs CR, and LINENO needs CR and PATH. 79# Avoid depending upon Character Ranges. 80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83as_cr_digits='0123456789' 84as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86# The user is always right. 87if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110for as_dir in $PATH 111do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152done 153;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184} 185 186 187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192esac 193 194if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196else 197 as_expr=false 198fi 199 200rm -f conf$$ conf$$.exe conf$$.file 201echo >conf$$.file 202if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213else 214 as_ln_s='cp -p' 215fi 216rm -f conf$$ conf$$.exe conf$$.file 217 218if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223fi 224 225as_executable_p="test -f" 226 227# Sed expression to map a string onto a valid CPP name. 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230# Sed expression to map a string onto a valid variable name. 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234# IFS 235# We need space, tab and new line, in precisely that order. 236as_nl=' 237' 238IFS=" $as_nl" 239 240# CDPATH. 241$as_unset CDPATH 242 243 244# Name of the host. 245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246# so uname gets run too. 247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249exec 6>&1 250 251# 252# Initializations. 253# 254ac_default_prefix=/usr/local 255ac_config_libobj_dir=. 256cross_compiling=no 257subdirs= 258MFLAGS= 259MAKEFLAGS= 260SHELL=${CONFIG_SHELL-/bin/sh} 261 262# Maximum number of lines to put in a shell here document. 263# This variable seems obsolete. It should probably be removed, and 264# only ac_max_sed_lines should be used. 265: ${ac_max_here_lines=38} 266 267# Identity of this package. 268PACKAGE_NAME= 269PACKAGE_TARNAME= 270PACKAGE_VERSION= 271PACKAGE_STRING= 272PACKAGE_BUGREPORT= 273 274ac_unique_file="src/concentration.c" 275# Factoring default headers for most tests. 276ac_includes_default="\ 277#include <stdio.h> 278#if HAVE_SYS_TYPES_H 279# include <sys/types.h> 280#endif 281#if HAVE_SYS_STAT_H 282# include <sys/stat.h> 283#endif 284#if STDC_HEADERS 285# include <stdlib.h> 286# include <stddef.h> 287#else 288# if HAVE_STDLIB_H 289# include <stdlib.h> 290# endif 291#endif 292#if HAVE_STRING_H 293# if !STDC_HEADERS && HAVE_MEMORY_H 294# include <memory.h> 295# endif 296# include <string.h> 297#endif 298#if HAVE_STRINGS_H 299# include <strings.h> 300#endif 301#if HAVE_INTTYPES_H 302# include <inttypes.h> 303#else 304# if HAVE_STDINT_H 305# include <stdint.h> 306# endif 307#endif 308#if HAVE_UNISTD_H 309# include <unistd.h> 310#endif" 311 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS SDL_CONFIG SDL_CFLAGS SDL_LIBS LTLIBOBJS' 313ac_subst_files='' 314 315# Initialize some variables set by options. 316ac_init_help= 317ac_init_version=false 318# The variables have the same names as the options, with 319# dashes changed to underlines. 320cache_file=/dev/null 321exec_prefix=NONE 322no_create= 323no_recursion= 324prefix=NONE 325program_prefix=NONE 326program_suffix=NONE 327program_transform_name=s,x,x, 328silent= 329site= 330srcdir= 331verbose= 332x_includes=NONE 333x_libraries=NONE 334 335# Installation directory options. 336# These are left unexpanded so users can "make install exec_prefix=/foo" 337# and all the variables that are supposed to be based on exec_prefix 338# by default will actually change. 339# Use braces instead of parens because sh, perl, etc. also accept them. 340bindir='${exec_prefix}/bin' 341sbindir='${exec_prefix}/sbin' 342libexecdir='${exec_prefix}/libexec' 343datadir='${prefix}/share' 344sysconfdir='${prefix}/etc' 345sharedstatedir='${prefix}/com' 346localstatedir='${prefix}/var' 347libdir='${exec_prefix}/lib' 348includedir='${prefix}/include' 349oldincludedir='/usr/include' 350infodir='${prefix}/info' 351mandir='${prefix}/man' 352 353ac_prev= 354for ac_option 355do 356 # If the previous option needs an argument, assign it. 357 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option" 359 ac_prev= 360 continue 361 fi 362 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 364 365 # Accept the important Cygnus configure options, so we can diagnose typos. 366 367 case $ac_option in 368 369 -bindir | --bindir | --bindi | --bind | --bin | --bi) 370 ac_prev=bindir ;; 371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 372 bindir=$ac_optarg ;; 373 374 -build | --build | --buil | --bui | --bu) 375 ac_prev=build_alias ;; 376 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 377 build_alias=$ac_optarg ;; 378 379 -cache-file | --cache-file | --cache-fil | --cache-fi \ 380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 381 ac_prev=cache_file ;; 382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 384 cache_file=$ac_optarg ;; 385 386 --config-cache | -C) 387 cache_file=config.cache ;; 388 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 390 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 393 datadir=$ac_optarg ;; 394 395 -disable-* | --disable-*) 396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 # Reject names that are not valid shell variable names. 398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 403 404 -enable-* | --enable-*) 405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 # Reject names that are not valid shell variable names. 407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) ac_optarg=yes ;; 414 esac 415 eval "enable_$ac_feature='$ac_optarg'" ;; 416 417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 419 | --exec | --exe | --ex) 420 ac_prev=exec_prefix ;; 421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 423 | --exec=* | --exe=* | --ex=*) 424 exec_prefix=$ac_optarg ;; 425 426 -gas | --gas | --ga | --g) 427 # Obsolete; use --with-gas. 428 with_gas=yes ;; 429 430 -help | --help | --hel | --he | -h) 431 ac_init_help=long ;; 432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 433 ac_init_help=recursive ;; 434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 435 ac_init_help=short ;; 436 437 -host | --host | --hos | --ho) 438 ac_prev=host_alias ;; 439 -host=* | --host=* | --hos=* | --ho=*) 440 host_alias=$ac_optarg ;; 441 442 -includedir | --includedir | --includedi | --included | --include \ 443 | --includ | --inclu | --incl | --inc) 444 ac_prev=includedir ;; 445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 446 | --includ=* | --inclu=* | --incl=* | --inc=*) 447 includedir=$ac_optarg ;; 448 449 -infodir | --infodir | --infodi | --infod | --info | --inf) 450 ac_prev=infodir ;; 451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 452 infodir=$ac_optarg ;; 453 454 -libdir | --libdir | --libdi | --libd) 455 ac_prev=libdir ;; 456 -libdir=* | --libdir=* | --libdi=* | --libd=*) 457 libdir=$ac_optarg ;; 458 459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 460 | --libexe | --libex | --libe) 461 ac_prev=libexecdir ;; 462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 463 | --libexe=* | --libex=* | --libe=*) 464 libexecdir=$ac_optarg ;; 465 466 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 469 ac_prev=localstatedir ;; 470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 473 localstatedir=$ac_optarg ;; 474 475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 476 ac_prev=mandir ;; 477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 478 mandir=$ac_optarg ;; 479 480 -nfp | --nfp | --nf) 481 # Obsolete; use --without-fp. 482 with_fp=no ;; 483 484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 485 | --no-cr | --no-c | -n) 486 no_create=yes ;; 487 488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 490 no_recursion=yes ;; 491 492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 494 | --oldin | --oldi | --old | --ol | --o) 495 ac_prev=oldincludedir ;; 496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 499 oldincludedir=$ac_optarg ;; 500 501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 502 ac_prev=prefix ;; 503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 504 prefix=$ac_optarg ;; 505 506 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 507 | --program-pre | --program-pr | --program-p) 508 ac_prev=program_prefix ;; 509 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 511 program_prefix=$ac_optarg ;; 512 513 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 514 | --program-suf | --program-su | --program-s) 515 ac_prev=program_suffix ;; 516 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 518 program_suffix=$ac_optarg ;; 519 520 -program-transform-name | --program-transform-name \ 521 | --program-transform-nam | --program-transform-na \ 522 | --program-transform-n | --program-transform- \ 523 | --program-transform | --program-transfor \ 524 | --program-transfo | --program-transf \ 525 | --program-trans | --program-tran \ 526 | --progr-tra | --program-tr | --program-t) 527 ac_prev=program_transform_name ;; 528 -program-transform-name=* | --program-transform-name=* \ 529 | --program-transform-nam=* | --program-transform-na=* \ 530 | --program-transform-n=* | --program-transform-=* \ 531 | --program-transform=* | --program-transfor=* \ 532 | --program-transfo=* | --program-transf=* \ 533 | --program-trans=* | --program-tran=* \ 534 | --progr-tra=* | --program-tr=* | --program-t=*) 535 program_transform_name=$ac_optarg ;; 536 537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 | -silent | --silent | --silen | --sile | --sil) 539 silent=yes ;; 540 541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 542 ac_prev=sbindir ;; 543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 544 | --sbi=* | --sb=*) 545 sbindir=$ac_optarg ;; 546 547 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 549 | --sharedst | --shareds | --shared | --share | --shar \ 550 | --sha | --sh) 551 ac_prev=sharedstatedir ;; 552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 555 | --sha=* | --sh=*) 556 sharedstatedir=$ac_optarg ;; 557 558 -site | --site | --sit) 559 ac_prev=site ;; 560 -site=* | --site=* | --sit=*) 561 site=$ac_optarg ;; 562 563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 564 ac_prev=srcdir ;; 565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 566 srcdir=$ac_optarg ;; 567 568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 569 | --syscon | --sysco | --sysc | --sys | --sy) 570 ac_prev=sysconfdir ;; 571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 573 sysconfdir=$ac_optarg ;; 574 575 -target | --target | --targe | --targ | --tar | --ta | --t) 576 ac_prev=target_alias ;; 577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 578 target_alias=$ac_optarg ;; 579 580 -v | -verbose | --verbose | --verbos | --verbo | --verb) 581 verbose=yes ;; 582 583 -version | --version | --versio | --versi | --vers | -V) 584 ac_init_version=: ;; 585 586 -with-* | --with-*) 587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 # Reject names that are not valid shell variable names. 589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 590 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 { (exit 1); exit 1; }; } 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) ac_optarg=yes ;; 596 esac 597 eval "with_$ac_package='$ac_optarg'" ;; 598 599 -without-* | --without-*) 600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 # Reject names that are not valid shell variable names. 602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 603 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; 607 608 --x) 609 # Obsolete; use --with-x. 610 with_x=yes ;; 611 612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 613 | --x-incl | --x-inc | --x-in | --x-i) 614 ac_prev=x_includes ;; 615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 617 x_includes=$ac_optarg ;; 618 619 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 621 ac_prev=x_libraries ;; 622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 624 x_libraries=$ac_optarg ;; 625 626 -*) { echo "$as_me: error: unrecognized option: $ac_option 627Try \`$0 --help' for more information." >&2 628 { (exit 1); exit 1; }; } 629 ;; 630 631 *=*) 632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 633 # Reject names that are not valid shell variable names. 634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 639 export $ac_envvar ;; 640 641 *) 642 # FIXME: should be removed in autoconf 3.0. 643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 647 ;; 648 649 esac 650done 651 652if test -n "$ac_prev"; then 653 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 654 { echo "$as_me: error: missing argument to $ac_option" >&2 655 { (exit 1); exit 1; }; } 656fi 657 658# Be sure to have absolute paths. 659for ac_var in exec_prefix prefix 660do 661 eval ac_val=$`echo $ac_var` 662 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };; 666 esac 667done 668 669# Be sure to have absolute paths. 670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 672do 673 eval ac_val=$`echo $ac_var` 674 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 678 esac 679done 680 681# There might be people who depend on the old broken behavior: `$host' 682# used to hold the argument of --host etc. 683# FIXME: To remove some day. 684build=$build_alias 685host=$host_alias 686target=$target_alias 687 688# FIXME: To remove some day. 689if test "x$host_alias" != x; then 690 if test "x$build_alias" = x; then 691 cross_compiling=maybe 692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 693 If a cross compiler is detected then cross compile mode will be used." >&2 694 elif test "x$build_alias" != "x$host_alias"; then 695 cross_compiling=yes 696 fi 697fi 698 699ac_tool_prefix= 700test -n "$host_alias" && ac_tool_prefix=$host_alias- 701 702test "$silent" = yes && exec 6>/dev/null 703 704 705# Find the source files, if location was not specified. 706if test -z "$srcdir"; then 707 ac_srcdir_defaulted=yes 708 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 715echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 721 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then 723 srcdir=.. 724 fi 725else 726 ac_srcdir_defaulted=no 727fi 728if test ! -r $srcdir/$ac_unique_file; then 729 if test "$ac_srcdir_defaulted" = yes; then 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 731 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 734 { (exit 1); exit 1; }; } 735 fi 736fi 737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741ac_env_build_alias_set=${build_alias+set} 742ac_env_build_alias_value=$build_alias 743ac_cv_env_build_alias_set=${build_alias+set} 744ac_cv_env_build_alias_value=$build_alias 745ac_env_host_alias_set=${host_alias+set} 746ac_env_host_alias_value=$host_alias 747ac_cv_env_host_alias_set=${host_alias+set} 748ac_cv_env_host_alias_value=$host_alias 749ac_env_target_alias_set=${target_alias+set} 750ac_env_target_alias_value=$target_alias 751ac_cv_env_target_alias_set=${target_alias+set} 752ac_cv_env_target_alias_value=$target_alias 753ac_env_CC_set=${CC+set} 754ac_env_CC_value=$CC 755ac_cv_env_CC_set=${CC+set} 756ac_cv_env_CC_value=$CC 757ac_env_CFLAGS_set=${CFLAGS+set} 758ac_env_CFLAGS_value=$CFLAGS 759ac_cv_env_CFLAGS_set=${CFLAGS+set} 760ac_cv_env_CFLAGS_value=$CFLAGS 761ac_env_LDFLAGS_set=${LDFLAGS+set} 762ac_env_LDFLAGS_value=$LDFLAGS 763ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764ac_cv_env_LDFLAGS_value=$LDFLAGS 765ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766ac_env_CPPFLAGS_value=$CPPFLAGS 767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769ac_env_CPP_set=${CPP+set} 770ac_env_CPP_value=$CPP 771ac_cv_env_CPP_set=${CPP+set} 772ac_cv_env_CPP_value=$CPP 773 774# 775# Report the --help message. 776# 777if test "$ac_init_help" = "long"; then 778 # Omit some internal or obsolete options to make the list less imposing. 779 # This message is too long to be a string in the A/UX 3.1 sh. 780 cat <<_ACEOF 781\`configure' configures this package to adapt to many kinds of systems. 782 783Usage: $0 [OPTION]... [VAR=VALUE]... 784 785To assign environment variables (e.g., CC, CFLAGS...), specify them as 786VAR=VALUE. See below for descriptions of some of the useful variables. 787 788Defaults for the options are specified in brackets. 789 790Configuration: 791 -h, --help display this help and exit 792 --help=short display options specific to this package 793 --help=recursive display the short help of all the included packages 794 -V, --version display version information and exit 795 -q, --quiet, --silent do not print \`checking...' messages 796 --cache-file=FILE cache test results in FILE [disabled] 797 -C, --config-cache alias for \`--cache-file=config.cache' 798 -n, --no-create do not create output files 799 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 800 801_ACEOF 802 803 cat <<_ACEOF 804Installation directories: 805 --prefix=PREFIX install architecture-independent files in PREFIX 806 [$ac_default_prefix] 807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 808 [PREFIX] 809 810By default, \`make install' will install all the files in 811\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 812an installation prefix other than \`$ac_default_prefix' using \`--prefix', 813for instance \`--prefix=\$HOME'. 814 815For better control, use the options below. 816 817Fine tuning of the installation directories: 818 --bindir=DIR user executables [EPREFIX/bin] 819 --sbindir=DIR system admin executables [EPREFIX/sbin] 820 --libexecdir=DIR program executables [EPREFIX/libexec] 821 --datadir=DIR read-only architecture-independent data [PREFIX/share] 822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 824 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 825 --libdir=DIR object code libraries [EPREFIX/lib] 826 --includedir=DIR C header files [PREFIX/include] 827 --oldincludedir=DIR C header files for non-gcc [/usr/include] 828 --infodir=DIR info documentation [PREFIX/info] 829 --mandir=DIR man documentation [PREFIX/man] 830_ACEOF 831 832 cat <<\_ACEOF 833 834Program names: 835 --program-prefix=PREFIX prepend PREFIX to installed program names 836 --program-suffix=SUFFIX append SUFFIX to installed program names 837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 838 839System types: 840 --build=BUILD configure for building on BUILD [guessed] 841 --host=HOST cross-compile to build programs to run on HOST [BUILD] 842 --target=TARGET configure for building compilers for TARGET [HOST] 843_ACEOF 844fi 845 846if test -n "$ac_init_help"; then 847 848 cat <<\_ACEOF 849 850Optional Features: 851 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 852 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 853 --disable-dependency-tracking speeds up one-time build 854 --enable-dependency-tracking do not reject slow dependency extractors 855 --disable-sdltest Do not try to compile and run a test SDL program 856 857Optional Packages: 858 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 859 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 860 --with-sdl-prefix=PFX Prefix where SDL is installed (optional) 861 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional) 862 863Some influential environment variables: 864 CC C compiler command 865 CFLAGS C compiler flags 866 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 867 nonstandard directory <lib dir> 868 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 869 headers in a nonstandard directory <include dir> 870 CPP C preprocessor 871 872Use these variables to override the choices made by `configure' or to help 873it to find libraries and programs with nonstandard names/locations. 874 875_ACEOF 876fi 877 878if test "$ac_init_help" = "recursive"; then 879 # If there are subdirs, report their specific --help. 880 ac_popdir=`pwd` 881 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 882 test -d $ac_dir || continue 883 ac_builddir=. 884 885if test "$ac_dir" != .; then 886 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 887 # A "../" for each directory in $ac_dir_suffix. 888 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 889else 890 ac_dir_suffix= ac_top_builddir= 891fi 892 893case $srcdir in 894 .) # No --srcdir option. We are building in place. 895 ac_srcdir=. 896 if test -z "$ac_top_builddir"; then 897 ac_top_srcdir=. 898 else 899 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 900 fi ;; 901 [\\/]* | ?:[\\/]* ) # Absolute path. 902 ac_srcdir=$srcdir$ac_dir_suffix; 903 ac_top_srcdir=$srcdir ;; 904 *) # Relative path. 905 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 906 ac_top_srcdir=$ac_top_builddir$srcdir ;; 907esac 908 909# Do not use `cd foo && pwd` to compute absolute paths, because 910# the directories may not exist. 911case `pwd` in 912.) ac_abs_builddir="$ac_dir";; 913*) 914 case "$ac_dir" in 915 .) ac_abs_builddir=`pwd`;; 916 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 917 *) ac_abs_builddir=`pwd`/"$ac_dir";; 918 esac;; 919esac 920case $ac_abs_builddir in 921.) ac_abs_top_builddir=${ac_top_builddir}.;; 922*) 923 case ${ac_top_builddir}. in 924 .) ac_abs_top_builddir=$ac_abs_builddir;; 925 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 926 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 927 esac;; 928esac 929case $ac_abs_builddir in 930.) ac_abs_srcdir=$ac_srcdir;; 931*) 932 case $ac_srcdir in 933 .) ac_abs_srcdir=$ac_abs_builddir;; 934 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 935 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 936 esac;; 937esac 938case $ac_abs_builddir in 939.) ac_abs_top_srcdir=$ac_top_srcdir;; 940*) 941 case $ac_top_srcdir in 942 .) ac_abs_top_srcdir=$ac_abs_builddir;; 943 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 944 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 945 esac;; 946esac 947 948 cd $ac_dir 949 # Check for guested configure; otherwise get Cygnus style configure. 950 if test -f $ac_srcdir/configure.gnu; then 951 echo 952 $SHELL $ac_srcdir/configure.gnu --help=recursive 953 elif test -f $ac_srcdir/configure; then 954 echo 955 $SHELL $ac_srcdir/configure --help=recursive 956 elif test -f $ac_srcdir/configure.ac || 957 test -f $ac_srcdir/configure.in; then 958 echo 959 $ac_configure --help 960 else 961 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 962 fi 963 cd $ac_popdir 964 done 965fi 966 967test -n "$ac_init_help" && exit 0 968if $ac_init_version; then 969 cat <<\_ACEOF 970 971Copyright (C) 2003 Free Software Foundation, Inc. 972This configure script is free software; the Free Software Foundation 973gives unlimited permission to copy, distribute and modify it. 974_ACEOF 975 exit 0 976fi 977exec 5>config.log 978cat >&5 <<_ACEOF 979This file contains any messages produced by compilers while 980running configure, to aid debugging if configure makes a mistake. 981 982It was created by $as_me, which was 983generated by GNU Autoconf 2.59. Invocation command line was 984 985 $ $0 $@ 986 987_ACEOF 988{ 989cat <<_ASUNAME 990## --------- ## 991## Platform. ## 992## --------- ## 993 994hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 995uname -m = `(uname -m) 2>/dev/null || echo unknown` 996uname -r = `(uname -r) 2>/dev/null || echo unknown` 997uname -s = `(uname -s) 2>/dev/null || echo unknown` 998uname -v = `(uname -v) 2>/dev/null || echo unknown` 999 1000/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1001/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1002 1003/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1004/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1005/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1006hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1007/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1008/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1009/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1010 1011_ASUNAME 1012 1013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1014for as_dir in $PATH 1015do 1016 IFS=$as_save_IFS 1017 test -z "$as_dir" && as_dir=. 1018 echo "PATH: $as_dir" 1019done 1020 1021} >&5 1022 1023cat >&5 <<_ACEOF 1024 1025 1026## ----------- ## 1027## Core tests. ## 1028## ----------- ## 1029 1030_ACEOF 1031 1032 1033# Keep a trace of the command line. 1034# Strip out --no-create and --no-recursion so they do not pile up. 1035# Strip out --silent because we don't want to record it for future runs. 1036# Also quote any args containing shell meta-characters. 1037# Make two passes to allow for proper duplicate-argument suppression. 1038ac_configure_args= 1039ac_configure_args0= 1040ac_configure_args1= 1041ac_sep= 1042ac_must_keep_next=false 1043for ac_pass in 1 2 1044do 1045 for ac_arg 1046 do 1047 case $ac_arg in 1048 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1050 | -silent | --silent | --silen | --sile | --sil) 1051 continue ;; 1052 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1053 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1054 esac 1055 case $ac_pass in 1056 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1057 2) 1058 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1059 if test $ac_must_keep_next = true; then 1060 ac_must_keep_next=false # Got value, back to normal. 1061 else 1062 case $ac_arg in 1063 *=* | --config-cache | -C | -disable-* | --disable-* \ 1064 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1065 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1066 | -with-* | --with-* | -without-* | --without-* | --x) 1067 case "$ac_configure_args0 " in 1068 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1069 esac 1070 ;; 1071 -* ) ac_must_keep_next=true ;; 1072 esac 1073 fi 1074 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1075 # Get rid of the leading space. 1076 ac_sep=" " 1077 ;; 1078 esac 1079 done 1080done 1081$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1082$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1083 1084# When interrupted or exit'd, cleanup temporary files, and complete 1085# config.log. We remove comments because anyway the quotes in there 1086# would cause problems or look ugly. 1087# WARNING: Be sure not to use single quotes in there, as some shells, 1088# such as our DU 5.0 friend, will then `close' the trap. 1089trap 'exit_status=$? 1090 # Save into config.log some information that might help in debugging. 1091 { 1092 echo 1093 1094 cat <<\_ASBOX 1095## ---------------- ## 1096## Cache variables. ## 1097## ---------------- ## 1098_ASBOX 1099 echo 1100 # The following way of writing the cache mishandles newlines in values, 1101{ 1102 (set) 2>&1 | 1103 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1104 *ac_space=\ *) 1105 sed -n \ 1106 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1108 ;; 1109 *) 1110 sed -n \ 1111 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1112 ;; 1113 esac; 1114} 1115 echo 1116 1117 cat <<\_ASBOX 1118## ----------------- ## 1119## Output variables. ## 1120## ----------------- ## 1121_ASBOX 1122 echo 1123 for ac_var in $ac_subst_vars 1124 do 1125 eval ac_val=$`echo $ac_var` 1126 echo "$ac_var='"'"'$ac_val'"'"'" 1127 done | sort 1128 echo 1129 1130 if test -n "$ac_subst_files"; then 1131 cat <<\_ASBOX 1132## ------------- ## 1133## Output files. ## 1134## ------------- ## 1135_ASBOX 1136 echo 1137 for ac_var in $ac_subst_files 1138 do 1139 eval ac_val=$`echo $ac_var` 1140 echo "$ac_var='"'"'$ac_val'"'"'" 1141 done | sort 1142 echo 1143 fi 1144 1145 if test -s confdefs.h; then 1146 cat <<\_ASBOX 1147## ----------- ## 1148## confdefs.h. ## 1149## ----------- ## 1150_ASBOX 1151 echo 1152 sed "/^$/d" confdefs.h | sort 1153 echo 1154 fi 1155 test "$ac_signal" != 0 && 1156 echo "$as_me: caught signal $ac_signal" 1157 echo "$as_me: exit $exit_status" 1158 } >&5 1159 rm -f core *.core && 1160 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1161 exit $exit_status 1162 ' 0 1163for ac_signal in 1 2 13 15; do 1164 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1165done 1166ac_signal=0 1167 1168# confdefs.h avoids OS command line length limits that DEFS can exceed. 1169rm -rf conftest* confdefs.h 1170# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1171echo >confdefs.h 1172 1173# Predefined preprocessor variables. 1174 1175cat >>confdefs.h <<_ACEOF 1176#define PACKAGE_NAME "$PACKAGE_NAME" 1177_ACEOF 1178 1179 1180cat >>confdefs.h <<_ACEOF 1181#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1182_ACEOF 1183 1184 1185cat >>confdefs.h <<_ACEOF 1186#define PACKAGE_VERSION "$PACKAGE_VERSION" 1187_ACEOF 1188 1189 1190cat >>confdefs.h <<_ACEOF 1191#define PACKAGE_STRING "$PACKAGE_STRING" 1192_ACEOF 1193 1194 1195cat >>confdefs.h <<_ACEOF 1196#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1197_ACEOF 1198 1199 1200# Let the site file select an alternate cache file if it wants to. 1201# Prefer explicitly selected file to automatically selected ones. 1202if test -z "$CONFIG_SITE"; then 1203 if test "x$prefix" != xNONE; then 1204 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1205 else 1206 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1207 fi 1208fi 1209for ac_site_file in $CONFIG_SITE; do 1210 if test -r "$ac_site_file"; then 1211 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1212echo "$as_me: loading site script $ac_site_file" >&6;} 1213 sed 's/^/| /' "$ac_site_file" >&5 1214 . "$ac_site_file" 1215 fi 1216done 1217 1218if test -r "$cache_file"; then 1219 # Some versions of bash will fail to source /dev/null (special 1220 # files actually), so we avoid doing that. 1221 if test -f "$cache_file"; then 1222 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1223echo "$as_me: loading cache $cache_file" >&6;} 1224 case $cache_file in 1225 [\\/]* | ?:[\\/]* ) . $cache_file;; 1226 *) . ./$cache_file;; 1227 esac 1228 fi 1229else 1230 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1231echo "$as_me: creating cache $cache_file" >&6;} 1232 >$cache_file 1233fi 1234 1235# Check that the precious variables saved in the cache have kept the same 1236# value. 1237ac_cache_corrupted=false 1238for ac_var in `(set) 2>&1 | 1239 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1240 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1241 eval ac_new_set=\$ac_env_${ac_var}_set 1242 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1243 eval ac_new_val="\$ac_env_${ac_var}_value" 1244 case $ac_old_set,$ac_new_set in 1245 set,) 1246 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1247echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1248 ac_cache_corrupted=: ;; 1249 ,set) 1250 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1251echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1252 ac_cache_corrupted=: ;; 1253 ,);; 1254 *) 1255 if test "x$ac_old_val" != "x$ac_new_val"; then 1256 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1257echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1258 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1259echo "$as_me: former value: $ac_old_val" >&2;} 1260 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1261echo "$as_me: current value: $ac_new_val" >&2;} 1262 ac_cache_corrupted=: 1263 fi;; 1264 esac 1265 # Pass precious variables to config.status. 1266 if test "$ac_new_set" = set; then 1267 case $ac_new_val in 1268 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1269 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1270 *) ac_arg=$ac_var=$ac_new_val ;; 1271 esac 1272 case " $ac_configure_args " in 1273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1274 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1275 esac 1276 fi 1277done 1278if $ac_cache_corrupted; then 1279 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1280echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1281 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1282echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1283 { (exit 1); exit 1; }; } 1284fi 1285 1286ac_ext=c 1287ac_cpp='$CPP $CPPFLAGS' 1288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1290ac_compiler_gnu=$ac_cv_c_compiler_gnu 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310ac_aux_dir= 1311for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1312 if test -f $ac_dir/install-sh; then 1313 ac_aux_dir=$ac_dir 1314 ac_install_sh="$ac_aux_dir/install-sh -c" 1315 break 1316 elif test -f $ac_dir/install.sh; then 1317 ac_aux_dir=$ac_dir 1318 ac_install_sh="$ac_aux_dir/install.sh -c" 1319 break 1320 elif test -f $ac_dir/shtool; then 1321 ac_aux_dir=$ac_dir 1322 ac_install_sh="$ac_aux_dir/shtool install -c" 1323 break 1324 fi 1325done 1326if test -z "$ac_aux_dir"; then 1327 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1328echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1329 { (exit 1); exit 1; }; } 1330fi 1331ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1332ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1333ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1334 1335# Make sure we can run config.sub. 1336$ac_config_sub sun4 >/dev/null 2>&1 || 1337 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1338echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1339 { (exit 1); exit 1; }; } 1340 1341echo "$as_me:$LINENO: checking build system type" >&5 1342echo $ECHO_N "checking build system type... $ECHO_C" >&6 1343if test "${ac_cv_build+set}" = set; then 1344 echo $ECHO_N "(cached) $ECHO_C" >&6 1345else 1346 ac_cv_build_alias=$build_alias 1347test -z "$ac_cv_build_alias" && 1348 ac_cv_build_alias=`$ac_config_guess` 1349test -z "$ac_cv_build_alias" && 1350 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1351echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1352 { (exit 1); exit 1; }; } 1353ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1354 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1355echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1356 { (exit 1); exit 1; }; } 1357 1358fi 1359echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1360echo "${ECHO_T}$ac_cv_build" >&6 1361build=$ac_cv_build 1362build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1363build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1364build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1365 1366 1367echo "$as_me:$LINENO: checking host system type" >&5 1368echo $ECHO_N "checking host system type... $ECHO_C" >&6 1369if test "${ac_cv_host+set}" = set; then 1370 echo $ECHO_N "(cached) $ECHO_C" >&6 1371else 1372 ac_cv_host_alias=$host_alias 1373test -z "$ac_cv_host_alias" && 1374 ac_cv_host_alias=$ac_cv_build_alias 1375ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1376 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1377echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1378 { (exit 1); exit 1; }; } 1379 1380fi 1381echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1382echo "${ECHO_T}$ac_cv_host" >&6 1383host=$ac_cv_host 1384host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1385host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1386host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1387 1388 1389echo "$as_me:$LINENO: checking target system type" >&5 1390echo $ECHO_N "checking target system type... $ECHO_C" >&6 1391if test "${ac_cv_target+set}" = set; then 1392 echo $ECHO_N "(cached) $ECHO_C" >&6 1393else 1394 ac_cv_target_alias=$target_alias 1395test "x$ac_cv_target_alias" = "x" && 1396 ac_cv_target_alias=$ac_cv_host_alias 1397ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1398 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1399echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1400 { (exit 1); exit 1; }; } 1401 1402fi 1403echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1404echo "${ECHO_T}$ac_cv_target" >&6 1405target=$ac_cv_target 1406target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1407target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1408target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1409 1410 1411# The aliases save the names the user supplied, while $host etc. 1412# will get canonicalized. 1413test -n "$target_alias" && 1414 test "$program_prefix$program_suffix$program_transform_name" = \ 1415 NONENONEs,x,x, && 1416 program_prefix=${target_alias}- 1417am__api_version="1.9" 1418# Find a good install program. We prefer a C program (faster), 1419# so one script is as good as another. But avoid the broken or 1420# incompatible versions: 1421# SysV /etc/install, /usr/sbin/install 1422# SunOS /usr/etc/install 1423# IRIX /sbin/install 1424# AIX /bin/install 1425# AmigaOS /C/install, which installs bootblocks on floppy discs 1426# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1427# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1428# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1429# OS/2's system install, which has a completely different semantic 1430# ./install, which can be erroneously created by make from ./install.sh. 1431echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1432echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1433if test -z "$INSTALL"; then 1434if test "${ac_cv_path_install+set}" = set; then 1435 echo $ECHO_N "(cached) $ECHO_C" >&6 1436else 1437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1438for as_dir in $PATH 1439do 1440 IFS=$as_save_IFS 1441 test -z "$as_dir" && as_dir=. 1442 # Account for people who put trailing slashes in PATH elements. 1443case $as_dir/ in 1444 ./ | .// | /cC/* | \ 1445 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1446 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1447 /usr/ucb/* ) ;; 1448 *) 1449 # OSF1 and SCO ODT 3.0 have their own names for install. 1450 # Don't use installbsd from OSF since it installs stuff as root 1451 # by default. 1452 for ac_prog in ginstall scoinst install; do 1453 for ac_exec_ext in '' $ac_executable_extensions; do 1454 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1455 if test $ac_prog = install && 1456 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1457 # AIX install. It has an incompatible calling convention. 1458 : 1459 elif test $ac_prog = install && 1460 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1461 # program-specific install script used by HP pwplus--don't use. 1462 : 1463 else 1464 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1465 break 3 1466 fi 1467 fi 1468 done 1469 done 1470 ;; 1471esac 1472done 1473 1474 1475fi 1476 if test "${ac_cv_path_install+set}" = set; then 1477 INSTALL=$ac_cv_path_install 1478 else 1479 # As a last resort, use the slow shell script. We don't cache a 1480 # path for INSTALL within a source directory, because that will 1481 # break other packages using the cache if that directory is 1482 # removed, or if the path is relative. 1483 INSTALL=$ac_install_sh 1484 fi 1485fi 1486echo "$as_me:$LINENO: result: $INSTALL" >&5 1487echo "${ECHO_T}$INSTALL" >&6 1488 1489# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1490# It thinks the first close brace ends the variable substitution. 1491test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1492 1493test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1494 1495test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1496 1497echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1498echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1499# Just in case 1500sleep 1 1501echo timestamp > conftest.file 1502# Do `set' in a subshell so we don't clobber the current shell's 1503# arguments. Must try -L first in case configure is actually a 1504# symlink; some systems play weird games with the mod time of symlinks 1505# (eg FreeBSD returns the mod time of the symlink's containing 1506# directory). 1507if ( 1508 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1509 if test "$*" = "X"; then 1510 # -L didn't work. 1511 set X `ls -t $srcdir/configure conftest.file` 1512 fi 1513 rm -f conftest.file 1514 if test "$*" != "X $srcdir/configure conftest.file" \ 1515 && test "$*" != "X conftest.file $srcdir/configure"; then 1516 1517 # If neither matched, then we have a broken ls. This can happen 1518 # if, for instance, CONFIG_SHELL is bash and it inherits a 1519 # broken ls alias from the environment. This has actually 1520 # happened. Such a system could not be considered "sane". 1521 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1522alias in your environment" >&5 1523echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1524alias in your environment" >&2;} 1525 { (exit 1); exit 1; }; } 1526 fi 1527 1528 test "$2" = conftest.file 1529 ) 1530then 1531 # Ok. 1532 : 1533else 1534 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1535Check your system clock" >&5 1536echo "$as_me: error: newly created file is older than distributed files! 1537Check your system clock" >&2;} 1538 { (exit 1); exit 1; }; } 1539fi 1540echo "$as_me:$LINENO: result: yes" >&5 1541echo "${ECHO_T}yes" >&6 1542test "$program_prefix" != NONE && 1543 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1544# Use a double $ so make ignores it. 1545test "$program_suffix" != NONE && 1546 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1547# Double any \ or $. echo might interpret backslashes. 1548# By default was `s,x,x', remove it if useless. 1549cat <<\_ACEOF >conftest.sed 1550s/[\\$]/&&/g;s/;s,x,x,$// 1551_ACEOF 1552program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1553rm conftest.sed 1554 1555# expand $ac_aux_dir to an absolute path 1556am_aux_dir=`cd $ac_aux_dir && pwd` 1557 1558test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1559# Use eval to expand $SHELL 1560if eval "$MISSING --run true"; then 1561 am_missing_run="$MISSING --run " 1562else 1563 am_missing_run= 1564 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1565echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1566fi 1567 1568if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1569 # We used to keeping the `.' as first argument, in order to 1570 # allow $(mkdir_p) to be used without argument. As in 1571 # $(mkdir_p) $(somedir) 1572 # where $(somedir) is conditionally defined. However this is wrong 1573 # for two reasons: 1574 # 1. if the package is installed by a user who cannot write `.' 1575 # make install will fail, 1576 # 2. the above comment should most certainly read 1577 # $(mkdir_p) $(DESTDIR)$(somedir) 1578 # so it does not work when $(somedir) is undefined and 1579 # $(DESTDIR) is not. 1580 # To support the latter case, we have to write 1581 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1582 # so the `.' trick is pointless. 1583 mkdir_p='mkdir -p --' 1584else 1585 # On NextStep and OpenStep, the `mkdir' command does not 1586 # recognize any option. It will interpret all options as 1587 # directories to create, and then abort because `.' already 1588 # exists. 1589 for d in ./-p ./--version; 1590 do 1591 test -d $d && rmdir $d 1592 done 1593 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1594 if test -f "$ac_aux_dir/mkinstalldirs"; then 1595 mkdir_p='$(mkinstalldirs)' 1596 else 1597 mkdir_p='$(install_sh) -d' 1598 fi 1599fi 1600 1601for ac_prog in gawk mawk nawk awk 1602do 1603 # Extract the first word of "$ac_prog", so it can be a program name with args. 1604set dummy $ac_prog; ac_word=$2 1605echo "$as_me:$LINENO: checking for $ac_word" >&5 1606echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1607if test "${ac_cv_prog_AWK+set}" = set; then 1608 echo $ECHO_N "(cached) $ECHO_C" >&6 1609else 1610 if test -n "$AWK"; then 1611 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1612else 1613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1614for as_dir in $PATH 1615do 1616 IFS=$as_save_IFS 1617 test -z "$as_dir" && as_dir=. 1618 for ac_exec_ext in '' $ac_executable_extensions; do 1619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1620 ac_cv_prog_AWK="$ac_prog" 1621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1622 break 2 1623 fi 1624done 1625done 1626 1627fi 1628fi 1629AWK=$ac_cv_prog_AWK 1630if test -n "$AWK"; then 1631 echo "$as_me:$LINENO: result: $AWK" >&5 1632echo "${ECHO_T}$AWK" >&6 1633else 1634 echo "$as_me:$LINENO: result: no" >&5 1635echo "${ECHO_T}no" >&6 1636fi 1637 1638 test -n "$AWK" && break 1639done 1640 1641echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1642echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1643set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1644if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1645 echo $ECHO_N "(cached) $ECHO_C" >&6 1646else 1647 cat >conftest.make <<\_ACEOF 1648all: 1649 @echo 'ac_maketemp="$(MAKE)"' 1650_ACEOF 1651# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1652eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1653if test -n "$ac_maketemp"; then 1654 eval ac_cv_prog_make_${ac_make}_set=yes 1655else 1656 eval ac_cv_prog_make_${ac_make}_set=no 1657fi 1658rm -f conftest.make 1659fi 1660if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1661 echo "$as_me:$LINENO: result: yes" >&5 1662echo "${ECHO_T}yes" >&6 1663 SET_MAKE= 1664else 1665 echo "$as_me:$LINENO: result: no" >&5 1666echo "${ECHO_T}no" >&6 1667 SET_MAKE="MAKE=${MAKE-make}" 1668fi 1669 1670rm -rf .tst 2>/dev/null 1671mkdir .tst 2>/dev/null 1672if test -d .tst; then 1673 am__leading_dot=. 1674else 1675 am__leading_dot=_ 1676fi 1677rmdir .tst 2>/dev/null 1678 1679# test to see if srcdir already configured 1680if test "`cd $srcdir && pwd`" != "`pwd`" && 1681 test -f $srcdir/config.status; then 1682 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1683echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1684 { (exit 1); exit 1; }; } 1685fi 1686 1687# test whether we have cygpath 1688if test -z "$CYGPATH_W"; then 1689 if (cygpath --version) >/dev/null 2>/dev/null; then 1690 CYGPATH_W='cygpath -w' 1691 else 1692 CYGPATH_W=echo 1693 fi 1694fi 1695 1696 1697# Define the identity of the package. 1698 PACKAGE=concentration 1699 VERSION=1.2 1700 1701 1702cat >>confdefs.h <<_ACEOF 1703#define PACKAGE "$PACKAGE" 1704_ACEOF 1705 1706 1707cat >>confdefs.h <<_ACEOF 1708#define VERSION "$VERSION" 1709_ACEOF 1710 1711# Some tools Automake needs. 1712 1713ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1714 1715 1716AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1717 1718 1719AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1720 1721 1722AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1723 1724 1725MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1726 1727install_sh=${install_sh-"$am_aux_dir/install-sh"} 1728 1729# Installed binaries are usually stripped using `strip' when the user 1730# run `make install-strip'. However `strip' might not be the right 1731# tool to use in cross-compilation environments, therefore Automake 1732# will honor the `STRIP' environment variable to overrule this program. 1733if test "$cross_compiling" != no; then 1734 if test -n "$ac_tool_prefix"; then 1735 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1736set dummy ${ac_tool_prefix}strip; ac_word=$2 1737echo "$as_me:$LINENO: checking for $ac_word" >&5 1738echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1739if test "${ac_cv_prog_STRIP+set}" = set; then 1740 echo $ECHO_N "(cached) $ECHO_C" >&6 1741else 1742 if test -n "$STRIP"; then 1743 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1744else 1745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1746for as_dir in $PATH 1747do 1748 IFS=$as_save_IFS 1749 test -z "$as_dir" && as_dir=. 1750 for ac_exec_ext in '' $ac_executable_extensions; do 1751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1752 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1754 break 2 1755 fi 1756done 1757done 1758 1759fi 1760fi 1761STRIP=$ac_cv_prog_STRIP 1762if test -n "$STRIP"; then 1763 echo "$as_me:$LINENO: result: $STRIP" >&5 1764echo "${ECHO_T}$STRIP" >&6 1765else 1766 echo "$as_me:$LINENO: result: no" >&5 1767echo "${ECHO_T}no" >&6 1768fi 1769 1770fi 1771if test -z "$ac_cv_prog_STRIP"; then 1772 ac_ct_STRIP=$STRIP 1773 # Extract the first word of "strip", so it can be a program name with args. 1774set dummy strip; ac_word=$2 1775echo "$as_me:$LINENO: checking for $ac_word" >&5 1776echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1777if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1778 echo $ECHO_N "(cached) $ECHO_C" >&6 1779else 1780 if test -n "$ac_ct_STRIP"; then 1781 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1782else 1783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1784for as_dir in $PATH 1785do 1786 IFS=$as_save_IFS 1787 test -z "$as_dir" && as_dir=. 1788 for ac_exec_ext in '' $ac_executable_extensions; do 1789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1790 ac_cv_prog_ac_ct_STRIP="strip" 1791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1792 break 2 1793 fi 1794done 1795done 1796 1797 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1798fi 1799fi 1800ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1801if test -n "$ac_ct_STRIP"; then 1802 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1803echo "${ECHO_T}$ac_ct_STRIP" >&6 1804else 1805 echo "$as_me:$LINENO: result: no" >&5 1806echo "${ECHO_T}no" >&6 1807fi 1808 1809 STRIP=$ac_ct_STRIP 1810else 1811 STRIP="$ac_cv_prog_STRIP" 1812fi 1813 1814fi 1815INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1816 1817# We need awk for the "check" target. The system "awk" is bad on 1818# some platforms. 1819# Always define AMTAR for backward compatibility. 1820 1821AMTAR=${AMTAR-"${am_missing_run}tar"} 1822 1823am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 1824 1825 1826 1827 1828 1829 1830ac_ext=c 1831ac_cpp='$CPP $CPPFLAGS' 1832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1834ac_compiler_gnu=$ac_cv_c_compiler_gnu 1835if test -n "$ac_tool_prefix"; then 1836 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1837set dummy ${ac_tool_prefix}gcc; ac_word=$2 1838echo "$as_me:$LINENO: checking for $ac_word" >&5 1839echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1840if test "${ac_cv_prog_CC+set}" = set; then 1841 echo $ECHO_N "(cached) $ECHO_C" >&6 1842else 1843 if test -n "$CC"; then 1844 ac_cv_prog_CC="$CC" # Let the user override the test. 1845else 1846as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1847for as_dir in $PATH 1848do 1849 IFS=$as_save_IFS 1850 test -z "$as_dir" && as_dir=. 1851 for ac_exec_ext in '' $ac_executable_extensions; do 1852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1853 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1855 break 2 1856 fi 1857done 1858done 1859 1860fi 1861fi 1862CC=$ac_cv_prog_CC 1863if test -n "$CC"; then 1864 echo "$as_me:$LINENO: result: $CC" >&5 1865echo "${ECHO_T}$CC" >&6 1866else 1867 echo "$as_me:$LINENO: result: no" >&5 1868echo "${ECHO_T}no" >&6 1869fi 1870 1871fi 1872if test -z "$ac_cv_prog_CC"; then 1873 ac_ct_CC=$CC 1874 # Extract the first word of "gcc", so it can be a program name with args. 1875set dummy gcc; ac_word=$2 1876echo "$as_me:$LINENO: checking for $ac_word" >&5 1877echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1878if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1879 echo $ECHO_N "(cached) $ECHO_C" >&6 1880else 1881 if test -n "$ac_ct_CC"; then 1882 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1883else 1884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1885for as_dir in $PATH 1886do 1887 IFS=$as_save_IFS 1888 test -z "$as_dir" && as_dir=. 1889 for ac_exec_ext in '' $ac_executable_extensions; do 1890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1891 ac_cv_prog_ac_ct_CC="gcc" 1892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1893 break 2 1894 fi 1895done 1896done 1897 1898fi 1899fi 1900ac_ct_CC=$ac_cv_prog_ac_ct_CC 1901if test -n "$ac_ct_CC"; then 1902 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1903echo "${ECHO_T}$ac_ct_CC" >&6 1904else 1905 echo "$as_me:$LINENO: result: no" >&5 1906echo "${ECHO_T}no" >&6 1907fi 1908 1909 CC=$ac_ct_CC 1910else 1911 CC="$ac_cv_prog_CC" 1912fi 1913 1914if test -z "$CC"; then 1915 if test -n "$ac_tool_prefix"; then 1916 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1917set dummy ${ac_tool_prefix}cc; ac_word=$2 1918echo "$as_me:$LINENO: checking for $ac_word" >&5 1919echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1920if test "${ac_cv_prog_CC+set}" = set; then 1921 echo $ECHO_N "(cached) $ECHO_C" >&6 1922else 1923 if test -n "$CC"; then 1924 ac_cv_prog_CC="$CC" # Let the user override the test. 1925else 1926as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1927for as_dir in $PATH 1928do 1929 IFS=$as_save_IFS 1930 test -z "$as_dir" && as_dir=. 1931 for ac_exec_ext in '' $ac_executable_extensions; do 1932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1933 ac_cv_prog_CC="${ac_tool_prefix}cc" 1934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1935 break 2 1936 fi 1937done 1938done 1939 1940fi 1941fi 1942CC=$ac_cv_prog_CC 1943if test -n "$CC"; then 1944 echo "$as_me:$LINENO: result: $CC" >&5 1945echo "${ECHO_T}$CC" >&6 1946else 1947 echo "$as_me:$LINENO: result: no" >&5 1948echo "${ECHO_T}no" >&6 1949fi 1950 1951fi 1952if test -z "$ac_cv_prog_CC"; then 1953 ac_ct_CC=$CC 1954 # Extract the first word of "cc", so it can be a program name with args. 1955set dummy cc; ac_word=$2 1956echo "$as_me:$LINENO: checking for $ac_word" >&5 1957echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1958if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1959 echo $ECHO_N "(cached) $ECHO_C" >&6 1960else 1961 if test -n "$ac_ct_CC"; then 1962 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1963else 1964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1965for as_dir in $PATH 1966do 1967 IFS=$as_save_IFS 1968 test -z "$as_dir" && as_dir=. 1969 for ac_exec_ext in '' $ac_executable_extensions; do 1970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1971 ac_cv_prog_ac_ct_CC="cc" 1972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1973 break 2 1974 fi 1975done 1976done 1977 1978fi 1979fi 1980ac_ct_CC=$ac_cv_prog_ac_ct_CC 1981if test -n "$ac_ct_CC"; then 1982 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1983echo "${ECHO_T}$ac_ct_CC" >&6 1984else 1985 echo "$as_me:$LINENO: result: no" >&5 1986echo "${ECHO_T}no" >&6 1987fi 1988 1989 CC=$ac_ct_CC 1990else 1991 CC="$ac_cv_prog_CC" 1992fi 1993 1994fi 1995if test -z "$CC"; then 1996 # Extract the first word of "cc", so it can be a program name with args. 1997set dummy cc; ac_word=$2 1998echo "$as_me:$LINENO: checking for $ac_word" >&5 1999echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2000if test "${ac_cv_prog_CC+set}" = set; then 2001 echo $ECHO_N "(cached) $ECHO_C" >&6 2002else 2003 if test -n "$CC"; then 2004 ac_cv_prog_CC="$CC" # Let the user override the test. 2005else 2006 ac_prog_rejected=no 2007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2008for as_dir in $PATH 2009do 2010 IFS=$as_save_IFS 2011 test -z "$as_dir" && as_dir=. 2012 for ac_exec_ext in '' $ac_executable_extensions; do 2013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2014 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2015 ac_prog_rejected=yes 2016 continue 2017 fi 2018 ac_cv_prog_CC="cc" 2019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2020 break 2 2021 fi 2022done 2023done 2024 2025if test $ac_prog_rejected = yes; then 2026 # We found a bogon in the path, so make sure we never use it. 2027 set dummy $ac_cv_prog_CC 2028 shift 2029 if test $# != 0; then 2030 # We chose a different compiler from the bogus one. 2031 # However, it has the same basename, so the bogon will be chosen 2032 # first if we set CC to just the basename; use the full file name. 2033 shift 2034 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2035 fi 2036fi 2037fi 2038fi 2039CC=$ac_cv_prog_CC 2040if test -n "$CC"; then 2041 echo "$as_me:$LINENO: result: $CC" >&5 2042echo "${ECHO_T}$CC" >&6 2043else 2044 echo "$as_me:$LINENO: result: no" >&5 2045echo "${ECHO_T}no" >&6 2046fi 2047 2048fi 2049if test -z "$CC"; then 2050 if test -n "$ac_tool_prefix"; then 2051 for ac_prog in cl 2052 do 2053 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2054set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2055echo "$as_me:$LINENO: checking for $ac_word" >&5 2056echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2057if test "${ac_cv_prog_CC+set}" = set; then 2058 echo $ECHO_N "(cached) $ECHO_C" >&6 2059else 2060 if test -n "$CC"; then 2061 ac_cv_prog_CC="$CC" # Let the user override the test. 2062else 2063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2064for as_dir in $PATH 2065do 2066 IFS=$as_save_IFS 2067 test -z "$as_dir" && as_dir=. 2068 for ac_exec_ext in '' $ac_executable_extensions; do 2069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2070 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2072 break 2 2073 fi 2074done 2075done 2076 2077fi 2078fi 2079CC=$ac_cv_prog_CC 2080if test -n "$CC"; then 2081 echo "$as_me:$LINENO: result: $CC" >&5 2082echo "${ECHO_T}$CC" >&6 2083else 2084 echo "$as_me:$LINENO: result: no" >&5 2085echo "${ECHO_T}no" >&6 2086fi 2087 2088 test -n "$CC" && break 2089 done 2090fi 2091if test -z "$CC"; then 2092 ac_ct_CC=$CC 2093 for ac_prog in cl 2094do 2095 # Extract the first word of "$ac_prog", so it can be a program name with args. 2096set dummy $ac_prog; ac_word=$2 2097echo "$as_me:$LINENO: checking for $ac_word" >&5 2098echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2099if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2100 echo $ECHO_N "(cached) $ECHO_C" >&6 2101else 2102 if test -n "$ac_ct_CC"; then 2103 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2104else 2105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2106for as_dir in $PATH 2107do 2108 IFS=$as_save_IFS 2109 test -z "$as_dir" && as_dir=. 2110 for ac_exec_ext in '' $ac_executable_extensions; do 2111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2112 ac_cv_prog_ac_ct_CC="$ac_prog" 2113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2114 break 2 2115 fi 2116done 2117done 2118 2119fi 2120fi 2121ac_ct_CC=$ac_cv_prog_ac_ct_CC 2122if test -n "$ac_ct_CC"; then 2123 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2124echo "${ECHO_T}$ac_ct_CC" >&6 2125else 2126 echo "$as_me:$LINENO: result: no" >&5 2127echo "${ECHO_T}no" >&6 2128fi 2129 2130 test -n "$ac_ct_CC" && break 2131done 2132 2133 CC=$ac_ct_CC 2134fi 2135 2136fi 2137 2138 2139test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2140See \`config.log' for more details." >&5 2141echo "$as_me: error: no acceptable C compiler found in \$PATH 2142See \`config.log' for more details." >&2;} 2143 { (exit 1); exit 1; }; } 2144 2145# Provide some information about the compiler. 2146echo "$as_me:$LINENO:" \ 2147 "checking for C compiler version" >&5 2148ac_compiler=`set X $ac_compile; echo $2` 2149{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2150 (eval $ac_compiler --version </dev/null >&5) 2>&5 2151 ac_status=$? 2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2153 (exit $ac_status); } 2154{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2155 (eval $ac_compiler -v </dev/null >&5) 2>&5 2156 ac_status=$? 2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2158 (exit $ac_status); } 2159{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2160 (eval $ac_compiler -V </dev/null >&5) 2>&5 2161 ac_status=$? 2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2163 (exit $ac_status); } 2164 2165cat >conftest.$ac_ext <<_ACEOF 2166/* confdefs.h. */ 2167_ACEOF 2168cat confdefs.h >>conftest.$ac_ext 2169cat >>conftest.$ac_ext <<_ACEOF 2170/* end confdefs.h. */ 2171 2172int 2173main () 2174{ 2175 2176 ; 2177 return 0; 2178} 2179_ACEOF 2180ac_clean_files_save=$ac_clean_files 2181ac_clean_files="$ac_clean_files a.out a.exe b.out" 2182# Try to create an executable without -o first, disregard a.out. 2183# It will help us diagnose broken compilers, and finding out an intuition 2184# of exeext. 2185echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2186echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2187ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2188if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2189 (eval $ac_link_default) 2>&5 2190 ac_status=$? 2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2192 (exit $ac_status); }; then 2193 # Find the output, starting from the most likely. This scheme is 2194# not robust to junk in `.', hence go to wildcards (a.*) only as a last 2195# resort. 2196 2197# Be careful to initialize this variable, since it used to be cached. 2198# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2199ac_cv_exeext= 2200# b.out is created by i960 compilers. 2201for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2202do 2203 test -f "$ac_file" || continue 2204 case $ac_file in 2205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2206 ;; 2207 conftest.$ac_ext ) 2208 # This is the source file. 2209 ;; 2210 [ab].out ) 2211 # We found the default executable, but exeext='' is most 2212 # certainly right. 2213 break;; 2214 *.* ) 2215 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2216 # FIXME: I believe we export ac_cv_exeext for Libtool, 2217 # but it would be cool to find out if it's true. Does anybody 2218 # maintain Libtool? --akim. 2219 export ac_cv_exeext 2220 break;; 2221 * ) 2222 break;; 2223 esac 2224done 2225else 2226 echo "$as_me: failed program was:" >&5 2227sed 's/^/| /' conftest.$ac_ext >&5 2228 2229{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2230See \`config.log' for more details." >&5 2231echo "$as_me: error: C compiler cannot create executables 2232See \`config.log' for more details." >&2;} 2233 { (exit 77); exit 77; }; } 2234fi 2235 2236ac_exeext=$ac_cv_exeext 2237echo "$as_me:$LINENO: result: $ac_file" >&5 2238echo "${ECHO_T}$ac_file" >&6 2239 2240# Check the compiler produces executables we can run. If not, either 2241# the compiler is broken, or we cross compile. 2242echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2243echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2244# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2245# If not cross compiling, check that we can run a simple program. 2246if test "$cross_compiling" != yes; then 2247 if { ac_try='./$ac_file' 2248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2249 (eval $ac_try) 2>&5 2250 ac_status=$? 2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2252 (exit $ac_status); }; }; then 2253 cross_compiling=no 2254 else 2255 if test "$cross_compiling" = maybe; then 2256 cross_compiling=yes 2257 else 2258 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2259If you meant to cross compile, use \`--host'. 2260See \`config.log' for more details." >&5 2261echo "$as_me: error: cannot run C compiled programs. 2262If you meant to cross compile, use \`--host'. 2263See \`config.log' for more details." >&2;} 2264 { (exit 1); exit 1; }; } 2265 fi 2266 fi 2267fi 2268echo "$as_me:$LINENO: result: yes" >&5 2269echo "${ECHO_T}yes" >&6 2270 2271rm -f a.out a.exe conftest$ac_cv_exeext b.out 2272ac_clean_files=$ac_clean_files_save 2273# Check the compiler produces executables we can run. If not, either 2274# the compiler is broken, or we cross compile. 2275echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2276echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2277echo "$as_me:$LINENO: result: $cross_compiling" >&5 2278echo "${ECHO_T}$cross_compiling" >&6 2279 2280echo "$as_me:$LINENO: checking for suffix of executables" >&5 2281echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2282if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2283 (eval $ac_link) 2>&5 2284 ac_status=$? 2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2286 (exit $ac_status); }; then 2287 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2288# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2289# work properly (i.e., refer to `conftest.exe'), while it won't with 2290# `rm'. 2291for ac_file in conftest.exe conftest conftest.*; do 2292 test -f "$ac_file" || continue 2293 case $ac_file in 2294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2295 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2296 export ac_cv_exeext 2297 break;; 2298 * ) break;; 2299 esac 2300done 2301else 2302 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2303See \`config.log' for more details." >&5 2304echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2305See \`config.log' for more details." >&2;} 2306 { (exit 1); exit 1; }; } 2307fi 2308 2309rm -f conftest$ac_cv_exeext 2310echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2311echo "${ECHO_T}$ac_cv_exeext" >&6 2312 2313rm -f conftest.$ac_ext 2314EXEEXT=$ac_cv_exeext 2315ac_exeext=$EXEEXT 2316echo "$as_me:$LINENO: checking for suffix of object files" >&5 2317echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2318if test "${ac_cv_objext+set}" = set; then 2319 echo $ECHO_N "(cached) $ECHO_C" >&6 2320else 2321 cat >conftest.$ac_ext <<_ACEOF 2322/* confdefs.h. */ 2323_ACEOF 2324cat confdefs.h >>conftest.$ac_ext 2325cat >>conftest.$ac_ext <<_ACEOF 2326/* end confdefs.h. */ 2327 2328int 2329main () 2330{ 2331 2332 ; 2333 return 0; 2334} 2335_ACEOF 2336rm -f conftest.o conftest.obj 2337if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2338 (eval $ac_compile) 2>&5 2339 ac_status=$? 2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2341 (exit $ac_status); }; then 2342 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2343 case $ac_file in 2344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2345 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2346 break;; 2347 esac 2348done 2349else 2350 echo "$as_me: failed program was:" >&5 2351sed 's/^/| /' conftest.$ac_ext >&5 2352 2353{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2354See \`config.log' for more details." >&5 2355echo "$as_me: error: cannot compute suffix of object files: cannot compile 2356See \`config.log' for more details." >&2;} 2357 { (exit 1); exit 1; }; } 2358fi 2359 2360rm -f conftest.$ac_cv_objext conftest.$ac_ext 2361fi 2362echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2363echo "${ECHO_T}$ac_cv_objext" >&6 2364OBJEXT=$ac_cv_objext 2365ac_objext=$OBJEXT 2366echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2367echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2368if test "${ac_cv_c_compiler_gnu+set}" = set; then 2369 echo $ECHO_N "(cached) $ECHO_C" >&6 2370else 2371 cat >conftest.$ac_ext <<_ACEOF 2372/* confdefs.h. */ 2373_ACEOF 2374cat confdefs.h >>conftest.$ac_ext 2375cat >>conftest.$ac_ext <<_ACEOF 2376/* end confdefs.h. */ 2377 2378int 2379main () 2380{ 2381#ifndef __GNUC__ 2382 choke me 2383#endif 2384 2385 ; 2386 return 0; 2387} 2388_ACEOF 2389rm -f conftest.$ac_objext 2390if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2391 (eval $ac_compile) 2>conftest.er1 2392 ac_status=$? 2393 grep -v '^ *+' conftest.er1 >conftest.err 2394 rm -f conftest.er1 2395 cat conftest.err >&5 2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2397 (exit $ac_status); } && 2398 { ac_try='test -z "$ac_c_werror_flag" 2399 || test ! -s conftest.err' 2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2401 (eval $ac_try) 2>&5 2402 ac_status=$? 2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2404 (exit $ac_status); }; } && 2405 { ac_try='test -s conftest.$ac_objext' 2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2407 (eval $ac_try) 2>&5 2408 ac_status=$? 2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2410 (exit $ac_status); }; }; then 2411 ac_compiler_gnu=yes 2412else 2413 echo "$as_me: failed program was:" >&5 2414sed 's/^/| /' conftest.$ac_ext >&5 2415 2416ac_compiler_gnu=no 2417fi 2418rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2419ac_cv_c_compiler_gnu=$ac_compiler_gnu 2420 2421fi 2422echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2423echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2424GCC=`test $ac_compiler_gnu = yes && echo yes` 2425ac_test_CFLAGS=${CFLAGS+set} 2426ac_save_CFLAGS=$CFLAGS 2427CFLAGS="-g" 2428echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2429echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2430if test "${ac_cv_prog_cc_g+set}" = set; then 2431 echo $ECHO_N "(cached) $ECHO_C" >&6 2432else 2433 cat >conftest.$ac_ext <<_ACEOF 2434/* confdefs.h. */ 2435_ACEOF 2436cat confdefs.h >>conftest.$ac_ext 2437cat >>conftest.$ac_ext <<_ACEOF 2438/* end confdefs.h. */ 2439 2440int 2441main () 2442{ 2443 2444 ; 2445 return 0; 2446} 2447_ACEOF 2448rm -f conftest.$ac_objext 2449if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2450 (eval $ac_compile) 2>conftest.er1 2451 ac_status=$? 2452 grep -v '^ *+' conftest.er1 >conftest.err 2453 rm -f conftest.er1 2454 cat conftest.err >&5 2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2456 (exit $ac_status); } && 2457 { ac_try='test -z "$ac_c_werror_flag" 2458 || test ! -s conftest.err' 2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2460 (eval $ac_try) 2>&5 2461 ac_status=$? 2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2463 (exit $ac_status); }; } && 2464 { ac_try='test -s conftest.$ac_objext' 2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2466 (eval $ac_try) 2>&5 2467 ac_status=$? 2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2469 (exit $ac_status); }; }; then 2470 ac_cv_prog_cc_g=yes 2471else 2472 echo "$as_me: failed program was:" >&5 2473sed 's/^/| /' conftest.$ac_ext >&5 2474 2475ac_cv_prog_cc_g=no 2476fi 2477rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2478fi 2479echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2480echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2481if test "$ac_test_CFLAGS" = set; then 2482 CFLAGS=$ac_save_CFLAGS 2483elif test $ac_cv_prog_cc_g = yes; then 2484 if test "$GCC" = yes; then 2485 CFLAGS="-g -O2" 2486 else 2487 CFLAGS="-g" 2488 fi 2489else 2490 if test "$GCC" = yes; then 2491 CFLAGS="-O2" 2492 else 2493 CFLAGS= 2494 fi 2495fi 2496echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2497echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2498if test "${ac_cv_prog_cc_stdc+set}" = set; then 2499 echo $ECHO_N "(cached) $ECHO_C" >&6 2500else 2501 ac_cv_prog_cc_stdc=no 2502ac_save_CC=$CC 2503cat >conftest.$ac_ext <<_ACEOF 2504/* confdefs.h. */ 2505_ACEOF 2506cat confdefs.h >>conftest.$ac_ext 2507cat >>conftest.$ac_ext <<_ACEOF 2508/* end confdefs.h. */ 2509#include <stdarg.h> 2510#include <stdio.h> 2511#include <sys/types.h> 2512#include <sys/stat.h> 2513/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2514struct buf { int x; }; 2515FILE * (*rcsopen) (struct buf *, struct stat *, int); 2516static char *e (p, i) 2517 char **p; 2518 int i; 2519{ 2520 return p[i]; 2521} 2522static char *f (char * (*g) (char **, int), char **p, ...) 2523{ 2524 char *s; 2525 va_list v; 2526 va_start (v,p); 2527 s = g (p, va_arg (v,int)); 2528 va_end (v); 2529 return s; 2530} 2531 2532/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2533 function prototypes and stuff, but not '\xHH' hex character constants. 2534 These don't provoke an error unfortunately, instead are silently treated 2535 as 'x'. The following induces an error, until -std1 is added to get 2536 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2537 array size at least. It's necessary to write '\x00'==0 to get something 2538 that's true only with -std1. */ 2539int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2540 2541int test (int i, double x); 2542struct s1 {int (*f) (int a);}; 2543struct s2 {int (*f) (double a);}; 2544int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2545int argc; 2546char **argv; 2547int 2548main () 2549{ 2550return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2551 ; 2552 return 0; 2553} 2554_ACEOF 2555# Don't try gcc -ansi; that turns off useful extensions and 2556# breaks some systems' header files. 2557# AIX -qlanglvl=ansi 2558# Ultrix and OSF/1 -std1 2559# HP-UX 10.20 and later -Ae 2560# HP-UX older versions -Aa -D_HPUX_SOURCE 2561# SVR4 -Xc -D__EXTENSIONS__ 2562for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2563do 2564 CC="$ac_save_CC $ac_arg" 2565 rm -f conftest.$ac_objext 2566if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2567 (eval $ac_compile) 2>conftest.er1 2568 ac_status=$? 2569 grep -v '^ *+' conftest.er1 >conftest.err 2570 rm -f conftest.er1 2571 cat conftest.err >&5 2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2573 (exit $ac_status); } && 2574 { ac_try='test -z "$ac_c_werror_flag" 2575 || test ! -s conftest.err' 2576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2577 (eval $ac_try) 2>&5 2578 ac_status=$? 2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2580 (exit $ac_status); }; } && 2581 { ac_try='test -s conftest.$ac_objext' 2582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2583 (eval $ac_try) 2>&5 2584 ac_status=$? 2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2586 (exit $ac_status); }; }; then 2587 ac_cv_prog_cc_stdc=$ac_arg 2588break 2589else 2590 echo "$as_me: failed program was:" >&5 2591sed 's/^/| /' conftest.$ac_ext >&5 2592 2593fi 2594rm -f conftest.err conftest.$ac_objext 2595done 2596rm -f conftest.$ac_ext conftest.$ac_objext 2597CC=$ac_save_CC 2598 2599fi 2600 2601case "x$ac_cv_prog_cc_stdc" in 2602 x|xno) 2603 echo "$as_me:$LINENO: result: none needed" >&5 2604echo "${ECHO_T}none needed" >&6 ;; 2605 *) 2606 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2607echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2608 CC="$CC $ac_cv_prog_cc_stdc" ;; 2609esac 2610 2611# Some people use a C++ compiler to compile C. Since we use `exit', 2612# in C++ we need to declare it. In case someone uses the same compiler 2613# for both compiling C and C++ we need to have the C++ compiler decide 2614# the declaration of exit, since it's the most demanding environment. 2615cat >conftest.$ac_ext <<_ACEOF 2616#ifndef __cplusplus 2617 choke me 2618#endif 2619_ACEOF 2620rm -f conftest.$ac_objext 2621if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2622 (eval $ac_compile) 2>conftest.er1 2623 ac_status=$? 2624 grep -v '^ *+' conftest.er1 >conftest.err 2625 rm -f conftest.er1 2626 cat conftest.err >&5 2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2628 (exit $ac_status); } && 2629 { ac_try='test -z "$ac_c_werror_flag" 2630 || test ! -s conftest.err' 2631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2632 (eval $ac_try) 2>&5 2633 ac_status=$? 2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2635 (exit $ac_status); }; } && 2636 { ac_try='test -s conftest.$ac_objext' 2637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2638 (eval $ac_try) 2>&5 2639 ac_status=$? 2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2641 (exit $ac_status); }; }; then 2642 for ac_declaration in \ 2643 '' \ 2644 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2645 'extern "C" void std::exit (int); using std::exit;' \ 2646 'extern "C" void exit (int) throw ();' \ 2647 'extern "C" void exit (int);' \ 2648 'void exit (int);' 2649do 2650 cat >conftest.$ac_ext <<_ACEOF 2651/* confdefs.h. */ 2652_ACEOF 2653cat confdefs.h >>conftest.$ac_ext 2654cat >>conftest.$ac_ext <<_ACEOF 2655/* end confdefs.h. */ 2656$ac_declaration 2657#include <stdlib.h> 2658int 2659main () 2660{ 2661exit (42); 2662 ; 2663 return 0; 2664} 2665_ACEOF 2666rm -f conftest.$ac_objext 2667if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2668 (eval $ac_compile) 2>conftest.er1 2669 ac_status=$? 2670 grep -v '^ *+' conftest.er1 >conftest.err 2671 rm -f conftest.er1 2672 cat conftest.err >&5 2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2674 (exit $ac_status); } && 2675 { ac_try='test -z "$ac_c_werror_flag" 2676 || test ! -s conftest.err' 2677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2678 (eval $ac_try) 2>&5 2679 ac_status=$? 2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2681 (exit $ac_status); }; } && 2682 { ac_try='test -s conftest.$ac_objext' 2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2684 (eval $ac_try) 2>&5 2685 ac_status=$? 2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2687 (exit $ac_status); }; }; then 2688 : 2689else 2690 echo "$as_me: failed program was:" >&5 2691sed 's/^/| /' conftest.$ac_ext >&5 2692 2693continue 2694fi 2695rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2696 cat >conftest.$ac_ext <<_ACEOF 2697/* confdefs.h. */ 2698_ACEOF 2699cat confdefs.h >>conftest.$ac_ext 2700cat >>conftest.$ac_ext <<_ACEOF 2701/* end confdefs.h. */ 2702$ac_declaration 2703int 2704main () 2705{ 2706exit (42); 2707 ; 2708 return 0; 2709} 2710_ACEOF 2711rm -f conftest.$ac_objext 2712if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2713 (eval $ac_compile) 2>conftest.er1 2714 ac_status=$? 2715 grep -v '^ *+' conftest.er1 >conftest.err 2716 rm -f conftest.er1 2717 cat conftest.err >&5 2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2719 (exit $ac_status); } && 2720 { ac_try='test -z "$ac_c_werror_flag" 2721 || test ! -s conftest.err' 2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2723 (eval $ac_try) 2>&5 2724 ac_status=$? 2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2726 (exit $ac_status); }; } && 2727 { ac_try='test -s conftest.$ac_objext' 2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2729 (eval $ac_try) 2>&5 2730 ac_status=$? 2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2732 (exit $ac_status); }; }; then 2733 break 2734else 2735 echo "$as_me: failed program was:" >&5 2736sed 's/^/| /' conftest.$ac_ext >&5 2737 2738fi 2739rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2740done 2741rm -f conftest* 2742if test -n "$ac_declaration"; then 2743 echo '#ifdef __cplusplus' >>confdefs.h 2744 echo $ac_declaration >>confdefs.h 2745 echo '#endif' >>confdefs.h 2746fi 2747 2748else 2749 echo "$as_me: failed program was:" >&5 2750sed 's/^/| /' conftest.$ac_ext >&5 2751 2752fi 2753rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2754ac_ext=c 2755ac_cpp='$CPP $CPPFLAGS' 2756ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2757ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2758ac_compiler_gnu=$ac_cv_c_compiler_gnu 2759DEPDIR="${am__leading_dot}deps" 2760 2761 ac_config_commands="$ac_config_commands depfiles" 2762 2763 2764am_make=${MAKE-make} 2765cat > confinc << 'END' 2766am__doit: 2767 @echo done 2768.PHONY: am__doit 2769END 2770# If we don't find an include directive, just comment out the code. 2771echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2772echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2773am__include="#" 2774am__quote= 2775_am_result=none 2776# First try GNU make style include. 2777echo "include confinc" > confmf 2778# We grep out `Entering directory' and `Leaving directory' 2779# messages which can occur if `w' ends up in MAKEFLAGS. 2780# In particular we don't look at `^make:' because GNU make might 2781# be invoked under some other name (usually "gmake"), in which 2782# case it prints its new name instead of `make'. 2783if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2784 am__include=include 2785 am__quote= 2786 _am_result=GNU 2787fi 2788# Now try BSD make style include. 2789if test "$am__include" = "#"; then 2790 echo '.include "confinc"' > confmf 2791 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2792 am__include=.include 2793 am__quote="\"" 2794 _am_result=BSD 2795 fi 2796fi 2797 2798 2799echo "$as_me:$LINENO: result: $_am_result" >&5 2800echo "${ECHO_T}$_am_result" >&6 2801rm -f confinc confmf 2802 2803# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2804if test "${enable_dependency_tracking+set}" = set; then 2805 enableval="$enable_dependency_tracking" 2806 2807fi; 2808if test "x$enable_dependency_tracking" != xno; then 2809 am_depcomp="$ac_aux_dir/depcomp" 2810 AMDEPBACKSLASH='\' 2811fi 2812 2813 2814if test "x$enable_dependency_tracking" != xno; then 2815 AMDEP_TRUE= 2816 AMDEP_FALSE='#' 2817else 2818 AMDEP_TRUE='#' 2819 AMDEP_FALSE= 2820fi 2821 2822 2823 2824 2825depcc="$CC" am_compiler_list= 2826 2827echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2828echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2829if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2830 echo $ECHO_N "(cached) $ECHO_C" >&6 2831else 2832 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2833 # We make a subdir and do the tests there. Otherwise we can end up 2834 # making bogus files that we don't know about and never remove. For 2835 # instance it was reported that on HP-UX the gcc test will end up 2836 # making a dummy file named `D' -- because `-MD' means `put the output 2837 # in D'. 2838 mkdir conftest.dir 2839 # Copy depcomp to subdir because otherwise we won't find it if we're 2840 # using a relative directory. 2841 cp "$am_depcomp" conftest.dir 2842 cd conftest.dir 2843 # We will build objects and dependencies in a subdirectory because 2844 # it helps to detect inapplicable dependency modes. For instance 2845 # both Tru64's cc and ICC support -MD to output dependencies as a 2846 # side effect of compilation, but ICC will put the dependencies in 2847 # the current directory while Tru64 will put them in the object 2848 # directory. 2849 mkdir sub 2850 2851 am_cv_CC_dependencies_compiler_type=none 2852 if test "$am_compiler_list" = ""; then 2853 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2854 fi 2855 for depmode in $am_compiler_list; do 2856 # Setup a source with many dependencies, because some compilers 2857 # like to wrap large dependency lists on column 80 (with \), and 2858 # we should not choose a depcomp mode which is confused by this. 2859 # 2860 # We need to recreate these files for each test, as the compiler may 2861 # overwrite some of them when testing with obscure command lines. 2862 # This happens at least with the AIX C compiler. 2863 : > sub/conftest.c 2864 for i in 1 2 3 4 5 6; do 2865 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2866 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2867 # Solaris 8's {/usr,}/bin/sh. 2868 touch sub/conftst$i.h 2869 done 2870 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2871 2872 case $depmode in 2873 nosideeffect) 2874 # after this tag, mechanisms are not by side-effect, so they'll 2875 # only be used when explicitly requested 2876 if test "x$enable_dependency_tracking" = xyes; then 2877 continue 2878 else 2879 break 2880 fi 2881 ;; 2882 none) break ;; 2883 esac 2884 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2885 # mode. It turns out that the SunPro C++ compiler does not properly 2886 # handle `-M -o', and we need to detect this. 2887 if depmode=$depmode \ 2888 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 2889 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2890 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2891 >/dev/null 2>conftest.err && 2892 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2893 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2894 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2895 # icc doesn't choke on unknown options, it will just issue warnings 2896 # or remarks (even with -Werror). So we grep stderr for any message 2897 # that says an option was ignored or not supported. 2898 # When given -MP, icc 7.0 and 7.1 complain thusly: 2899 # icc: Command line warning: ignoring option '-M'; no argument required 2900 # The diagnosis changed in icc 8.0: 2901 # icc: Command line remark: option '-MP' not supported 2902 if (grep 'ignoring option' conftest.err || 2903 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2904 am_cv_CC_dependencies_compiler_type=$depmode 2905 break 2906 fi 2907 fi 2908 done 2909 2910 cd .. 2911 rm -rf conftest.dir 2912else 2913 am_cv_CC_dependencies_compiler_type=none 2914fi 2915 2916fi 2917echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2918echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2919CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2920 2921 2922 2923if 2924 test "x$enable_dependency_tracking" != xno \ 2925 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 2926 am__fastdepCC_TRUE= 2927 am__fastdepCC_FALSE='#' 2928else 2929 am__fastdepCC_TRUE='#' 2930 am__fastdepCC_FALSE= 2931fi 2932 2933 2934 2935 2936for ac_func in atexit 2937do 2938as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 2939echo "$as_me:$LINENO: checking for $ac_func" >&5 2940echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 2941if eval "test \"\${$as_ac_var+set}\" = set"; then 2942 echo $ECHO_N "(cached) $ECHO_C" >&6 2943else 2944 cat >conftest.$ac_ext <<_ACEOF 2945/* confdefs.h. */ 2946_ACEOF 2947cat confdefs.h >>conftest.$ac_ext 2948cat >>conftest.$ac_ext <<_ACEOF 2949/* end confdefs.h. */ 2950/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 2951 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2952#define $ac_func innocuous_$ac_func 2953 2954/* System header to define __stub macros and hopefully few prototypes, 2955 which can conflict with char $ac_func (); below. 2956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2957 <limits.h> exists even on freestanding compilers. */ 2958 2959#ifdef __STDC__ 2960# include <limits.h> 2961#else 2962# include <assert.h> 2963#endif 2964 2965#undef $ac_func 2966 2967/* Override any gcc2 internal prototype to avoid an error. */ 2968#ifdef __cplusplus 2969extern "C" 2970{ 2971#endif 2972/* We use char because int might match the return type of a gcc2 2973 builtin and then its argument prototype would still apply. */ 2974char $ac_func (); 2975/* The GNU C library defines this for functions which it implements 2976 to always fail with ENOSYS. Some functions are actually named 2977 something starting with __ and the normal name is an alias. */ 2978#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2979choke me 2980#else 2981char (*f) () = $ac_func; 2982#endif 2983#ifdef __cplusplus 2984} 2985#endif 2986 2987int 2988main () 2989{ 2990return f != $ac_func; 2991 ; 2992 return 0; 2993} 2994_ACEOF 2995rm -f conftest.$ac_objext conftest$ac_exeext 2996if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2997 (eval $ac_link) 2>conftest.er1 2998 ac_status=$? 2999 grep -v '^ *+' conftest.er1 >conftest.err 3000 rm -f conftest.er1 3001 cat conftest.err >&5 3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3003 (exit $ac_status); } && 3004 { ac_try='test -z "$ac_c_werror_flag" 3005 || test ! -s conftest.err' 3006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3007 (eval $ac_try) 2>&5 3008 ac_status=$? 3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3010 (exit $ac_status); }; } && 3011 { ac_try='test -s conftest$ac_exeext' 3012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3013 (eval $ac_try) 2>&5 3014 ac_status=$? 3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3016 (exit $ac_status); }; }; then 3017 eval "$as_ac_var=yes" 3018else 3019 echo "$as_me: failed program was:" >&5 3020sed 's/^/| /' conftest.$ac_ext >&5 3021 3022eval "$as_ac_var=no" 3023fi 3024rm -f conftest.err conftest.$ac_objext \ 3025 conftest$ac_exeext conftest.$ac_ext 3026fi 3027echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3028echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3029if test `eval echo '${'$as_ac_var'}'` = yes; then 3030 cat >>confdefs.h <<_ACEOF 3031#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 3032_ACEOF 3033 3034fi 3035done 3036 3037echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 3038echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 3039if test "${ac_cv_c_const+set}" = set; then 3040 echo $ECHO_N "(cached) $ECHO_C" >&6 3041else 3042 cat >conftest.$ac_ext <<_ACEOF 3043/* confdefs.h. */ 3044_ACEOF 3045cat confdefs.h >>conftest.$ac_ext 3046cat >>conftest.$ac_ext <<_ACEOF 3047/* end confdefs.h. */ 3048 3049int 3050main () 3051{ 3052/* FIXME: Include the comments suggested by Paul. */ 3053#ifndef __cplusplus 3054 /* Ultrix mips cc rejects this. */ 3055 typedef int charset[2]; 3056 const charset x; 3057 /* SunOS 4.1.1 cc rejects this. */ 3058 char const *const *ccp; 3059 char **p; 3060 /* NEC SVR4.0.2 mips cc rejects this. */ 3061 struct point {int x, y;}; 3062 static struct point const zero = {0,0}; 3063 /* AIX XL C 1.02.0.0 rejects this. 3064 It does not let you subtract one const X* pointer from another in 3065 an arm of an if-expression whose if-part is not a constant 3066 expression */ 3067 const char *g = "string"; 3068 ccp = &g + (g ? g-g : 0); 3069 /* HPUX 7.0 cc rejects these. */ 3070 ++ccp; 3071 p = (char**) ccp; 3072 ccp = (char const *const *) p; 3073 { /* SCO 3.2v4 cc rejects this. */ 3074 char *t; 3075 char const *s = 0 ? (char *) 0 : (char const *) 0; 3076 3077 *t++ = 0; 3078 } 3079 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 3080 int x[] = {25, 17}; 3081 const int *foo = &x[0]; 3082 ++foo; 3083 } 3084 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 3085 typedef const int *iptr; 3086 iptr p = 0; 3087 ++p; 3088 } 3089 { /* AIX XL C 1.02.0.0 rejects this saying 3090 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 3091 struct s { int j; const int *ap[3]; }; 3092 struct s *b; b->j = 5; 3093 } 3094 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 3095 const int foo = 10; 3096 } 3097#endif 3098 3099 ; 3100 return 0; 3101} 3102_ACEOF 3103rm -f conftest.$ac_objext 3104if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3105 (eval $ac_compile) 2>conftest.er1 3106 ac_status=$? 3107 grep -v '^ *+' conftest.er1 >conftest.err 3108 rm -f conftest.er1 3109 cat conftest.err >&5 3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3111 (exit $ac_status); } && 3112 { ac_try='test -z "$ac_c_werror_flag" 3113 || test ! -s conftest.err' 3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3115 (eval $ac_try) 2>&5 3116 ac_status=$? 3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3118 (exit $ac_status); }; } && 3119 { ac_try='test -s conftest.$ac_objext' 3120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3121 (eval $ac_try) 2>&5 3122 ac_status=$? 3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3124 (exit $ac_status); }; }; then 3125 ac_cv_c_const=yes 3126else 3127 echo "$as_me: failed program was:" >&5 3128sed 's/^/| /' conftest.$ac_ext >&5 3129 3130ac_cv_c_const=no 3131fi 3132rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3133fi 3134echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 3135echo "${ECHO_T}$ac_cv_c_const" >&6 3136if test $ac_cv_c_const = no; then 3137 3138cat >>confdefs.h <<\_ACEOF 3139#define const 3140_ACEOF 3141 3142fi 3143 3144ac_ext=c 3145ac_cpp='$CPP $CPPFLAGS' 3146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3148ac_compiler_gnu=$ac_cv_c_compiler_gnu 3149echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3150echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3151# On Suns, sometimes $CPP names a directory. 3152if test -n "$CPP" && test -d "$CPP"; then 3153 CPP= 3154fi 3155if test -z "$CPP"; then 3156 if test "${ac_cv_prog_CPP+set}" = set; then 3157 echo $ECHO_N "(cached) $ECHO_C" >&6 3158else 3159 # Double quotes because CPP needs to be expanded 3160 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3161 do 3162 ac_preproc_ok=false 3163for ac_c_preproc_warn_flag in '' yes 3164do 3165 # Use a header file that comes with gcc, so configuring glibc 3166 # with a fresh cross-compiler works. 3167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3168 # <limits.h> exists even on freestanding compilers. 3169 # On the NeXT, cc -E runs the code through the compiler's parser, 3170 # not just through cpp. "Syntax error" is here to catch this case. 3171 cat >conftest.$ac_ext <<_ACEOF 3172/* confdefs.h. */ 3173_ACEOF 3174cat confdefs.h >>conftest.$ac_ext 3175cat >>conftest.$ac_ext <<_ACEOF 3176/* end confdefs.h. */ 3177#ifdef __STDC__ 3178# include <limits.h> 3179#else 3180# include <assert.h> 3181#endif 3182 Syntax error 3183_ACEOF 3184if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3186 ac_status=$? 3187 grep -v '^ *+' conftest.er1 >conftest.err 3188 rm -f conftest.er1 3189 cat conftest.err >&5 3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3191 (exit $ac_status); } >/dev/null; then 3192 if test -s conftest.err; then 3193 ac_cpp_err=$ac_c_preproc_warn_flag 3194 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3195 else 3196 ac_cpp_err= 3197 fi 3198else 3199 ac_cpp_err=yes 3200fi 3201if test -z "$ac_cpp_err"; then 3202 : 3203else 3204 echo "$as_me: failed program was:" >&5 3205sed 's/^/| /' conftest.$ac_ext >&5 3206 3207 # Broken: fails on valid input. 3208continue 3209fi 3210rm -f conftest.err conftest.$ac_ext 3211 3212 # OK, works on sane cases. Now check whether non-existent headers 3213 # can be detected and how. 3214 cat >conftest.$ac_ext <<_ACEOF 3215/* confdefs.h. */ 3216_ACEOF 3217cat confdefs.h >>conftest.$ac_ext 3218cat >>conftest.$ac_ext <<_ACEOF 3219/* end confdefs.h. */ 3220#include <ac_nonexistent.h> 3221_ACEOF 3222if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3223 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3224 ac_status=$? 3225 grep -v '^ *+' conftest.er1 >conftest.err 3226 rm -f conftest.er1 3227 cat conftest.err >&5 3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3229 (exit $ac_status); } >/dev/null; then 3230 if test -s conftest.err; then 3231 ac_cpp_err=$ac_c_preproc_warn_flag 3232 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3233 else 3234 ac_cpp_err= 3235 fi 3236else 3237 ac_cpp_err=yes 3238fi 3239if test -z "$ac_cpp_err"; then 3240 # Broken: success on invalid input. 3241continue 3242else 3243 echo "$as_me: failed program was:" >&5 3244sed 's/^/| /' conftest.$ac_ext >&5 3245 3246 # Passes both tests. 3247ac_preproc_ok=: 3248break 3249fi 3250rm -f conftest.err conftest.$ac_ext 3251 3252done 3253# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3254rm -f conftest.err conftest.$ac_ext 3255if $ac_preproc_ok; then 3256 break 3257fi 3258 3259 done 3260 ac_cv_prog_CPP=$CPP 3261 3262fi 3263 CPP=$ac_cv_prog_CPP 3264else 3265 ac_cv_prog_CPP=$CPP 3266fi 3267echo "$as_me:$LINENO: result: $CPP" >&5 3268echo "${ECHO_T}$CPP" >&6 3269ac_preproc_ok=false 3270for ac_c_preproc_warn_flag in '' yes 3271do 3272 # Use a header file that comes with gcc, so configuring glibc 3273 # with a fresh cross-compiler works. 3274 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3275 # <limits.h> exists even on freestanding compilers. 3276 # On the NeXT, cc -E runs the code through the compiler's parser, 3277 # not just through cpp. "Syntax error" is here to catch this case. 3278 cat >conftest.$ac_ext <<_ACEOF 3279/* confdefs.h. */ 3280_ACEOF 3281cat confdefs.h >>conftest.$ac_ext 3282cat >>conftest.$ac_ext <<_ACEOF 3283/* end confdefs.h. */ 3284#ifdef __STDC__ 3285# include <limits.h> 3286#else 3287# include <assert.h> 3288#endif 3289 Syntax error 3290_ACEOF 3291if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3293 ac_status=$? 3294 grep -v '^ *+' conftest.er1 >conftest.err 3295 rm -f conftest.er1 3296 cat conftest.err >&5 3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3298 (exit $ac_status); } >/dev/null; then 3299 if test -s conftest.err; then 3300 ac_cpp_err=$ac_c_preproc_warn_flag 3301 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3302 else 3303 ac_cpp_err= 3304 fi 3305else 3306 ac_cpp_err=yes 3307fi 3308if test -z "$ac_cpp_err"; then 3309 : 3310else 3311 echo "$as_me: failed program was:" >&5 3312sed 's/^/| /' conftest.$ac_ext >&5 3313 3314 # Broken: fails on valid input. 3315continue 3316fi 3317rm -f conftest.err conftest.$ac_ext 3318 3319 # OK, works on sane cases. Now check whether non-existent headers 3320 # can be detected and how. 3321 cat >conftest.$ac_ext <<_ACEOF 3322/* confdefs.h. */ 3323_ACEOF 3324cat confdefs.h >>conftest.$ac_ext 3325cat >>conftest.$ac_ext <<_ACEOF 3326/* end confdefs.h. */ 3327#include <ac_nonexistent.h> 3328_ACEOF 3329if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3331 ac_status=$? 3332 grep -v '^ *+' conftest.er1 >conftest.err 3333 rm -f conftest.er1 3334 cat conftest.err >&5 3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3336 (exit $ac_status); } >/dev/null; then 3337 if test -s conftest.err; then 3338 ac_cpp_err=$ac_c_preproc_warn_flag 3339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3340 else 3341 ac_cpp_err= 3342 fi 3343else 3344 ac_cpp_err=yes 3345fi 3346if test -z "$ac_cpp_err"; then 3347 # Broken: success on invalid input. 3348continue 3349else 3350 echo "$as_me: failed program was:" >&5 3351sed 's/^/| /' conftest.$ac_ext >&5 3352 3353 # Passes both tests. 3354ac_preproc_ok=: 3355break 3356fi 3357rm -f conftest.err conftest.$ac_ext 3358 3359done 3360# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3361rm -f conftest.err conftest.$ac_ext 3362if $ac_preproc_ok; then 3363 : 3364else 3365 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3366See \`config.log' for more details." >&5 3367echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3368See \`config.log' for more details." >&2;} 3369 { (exit 1); exit 1; }; } 3370fi 3371 3372ac_ext=c 3373ac_cpp='$CPP $CPPFLAGS' 3374ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3375ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3376ac_compiler_gnu=$ac_cv_c_compiler_gnu 3377 3378 3379echo "$as_me:$LINENO: checking for egrep" >&5 3380echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3381if test "${ac_cv_prog_egrep+set}" = set; then 3382 echo $ECHO_N "(cached) $ECHO_C" >&6 3383else 3384 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3385 then ac_cv_prog_egrep='grep -E' 3386 else ac_cv_prog_egrep='egrep' 3387 fi 3388fi 3389echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3390echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3391 EGREP=$ac_cv_prog_egrep 3392 3393 3394echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3395echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3396if test "${ac_cv_header_stdc+set}" = set; then 3397 echo $ECHO_N "(cached) $ECHO_C" >&6 3398else 3399 cat >conftest.$ac_ext <<_ACEOF 3400/* confdefs.h. */ 3401_ACEOF 3402cat confdefs.h >>conftest.$ac_ext 3403cat >>conftest.$ac_ext <<_ACEOF 3404/* end confdefs.h. */ 3405#include <stdlib.h> 3406#include <stdarg.h> 3407#include <string.h> 3408#include <float.h> 3409 3410int 3411main () 3412{ 3413 3414 ; 3415 return 0; 3416} 3417_ACEOF 3418rm -f conftest.$ac_objext 3419if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3420 (eval $ac_compile) 2>conftest.er1 3421 ac_status=$? 3422 grep -v '^ *+' conftest.er1 >conftest.err 3423 rm -f conftest.er1 3424 cat conftest.err >&5 3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3426 (exit $ac_status); } && 3427 { ac_try='test -z "$ac_c_werror_flag" 3428 || test ! -s conftest.err' 3429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3430 (eval $ac_try) 2>&5 3431 ac_status=$? 3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3433 (exit $ac_status); }; } && 3434 { ac_try='test -s conftest.$ac_objext' 3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3436 (eval $ac_try) 2>&5 3437 ac_status=$? 3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3439 (exit $ac_status); }; }; then 3440 ac_cv_header_stdc=yes 3441else 3442 echo "$as_me: failed program was:" >&5 3443sed 's/^/| /' conftest.$ac_ext >&5 3444 3445ac_cv_header_stdc=no 3446fi 3447rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3448 3449if test $ac_cv_header_stdc = yes; then 3450 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3451 cat >conftest.$ac_ext <<_ACEOF 3452/* confdefs.h. */ 3453_ACEOF 3454cat confdefs.h >>conftest.$ac_ext 3455cat >>conftest.$ac_ext <<_ACEOF 3456/* end confdefs.h. */ 3457#include <string.h> 3458 3459_ACEOF 3460if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3461 $EGREP "memchr" >/dev/null 2>&1; then 3462 : 3463else 3464 ac_cv_header_stdc=no 3465fi 3466rm -f conftest* 3467 3468fi 3469 3470if test $ac_cv_header_stdc = yes; then 3471 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3472 cat >conftest.$ac_ext <<_ACEOF 3473/* confdefs.h. */ 3474_ACEOF 3475cat confdefs.h >>conftest.$ac_ext 3476cat >>conftest.$ac_ext <<_ACEOF 3477/* end confdefs.h. */ 3478#include <stdlib.h> 3479 3480_ACEOF 3481if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3482 $EGREP "free" >/dev/null 2>&1; then 3483 : 3484else 3485 ac_cv_header_stdc=no 3486fi 3487rm -f conftest* 3488 3489fi 3490 3491if test $ac_cv_header_stdc = yes; then 3492 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3493 if test "$cross_compiling" = yes; then 3494 : 3495else 3496 cat >conftest.$ac_ext <<_ACEOF 3497/* confdefs.h. */ 3498_ACEOF 3499cat confdefs.h >>conftest.$ac_ext 3500cat >>conftest.$ac_ext <<_ACEOF 3501/* end confdefs.h. */ 3502#include <ctype.h> 3503#if ((' ' & 0x0FF) == 0x020) 3504# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3505# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3506#else 3507# define ISLOWER(c) \ 3508 (('a' <= (c) && (c) <= 'i') \ 3509 || ('j' <= (c) && (c) <= 'r') \ 3510 || ('s' <= (c) && (c) <= 'z')) 3511# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3512#endif 3513 3514#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3515int 3516main () 3517{ 3518 int i; 3519 for (i = 0; i < 256; i++) 3520 if (XOR (islower (i), ISLOWER (i)) 3521 || toupper (i) != TOUPPER (i)) 3522 exit(2); 3523 exit (0); 3524} 3525_ACEOF 3526rm -f conftest$ac_exeext 3527if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3528 (eval $ac_link) 2>&5 3529 ac_status=$? 3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3533 (eval $ac_try) 2>&5 3534 ac_status=$? 3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3536 (exit $ac_status); }; }; then 3537 : 3538else 3539 echo "$as_me: program exited with status $ac_status" >&5 3540echo "$as_me: failed program was:" >&5 3541sed 's/^/| /' conftest.$ac_ext >&5 3542 3543( exit $ac_status ) 3544ac_cv_header_stdc=no 3545fi 3546rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3547fi 3548fi 3549fi 3550echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3551echo "${ECHO_T}$ac_cv_header_stdc" >&6 3552if test $ac_cv_header_stdc = yes; then 3553 3554cat >>confdefs.h <<\_ACEOF 3555#define STDC_HEADERS 1 3556_ACEOF 3557 3558fi 3559 3560# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3571 inttypes.h stdint.h unistd.h 3572do 3573as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3574echo "$as_me:$LINENO: checking for $ac_header" >&5 3575echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3576if eval "test \"\${$as_ac_Header+set}\" = set"; then 3577 echo $ECHO_N "(cached) $ECHO_C" >&6 3578else 3579 cat >conftest.$ac_ext <<_ACEOF 3580/* confdefs.h. */ 3581_ACEOF 3582cat confdefs.h >>conftest.$ac_ext 3583cat >>conftest.$ac_ext <<_ACEOF 3584/* end confdefs.h. */ 3585$ac_includes_default 3586 3587#include <$ac_header> 3588_ACEOF 3589rm -f conftest.$ac_objext 3590if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3591 (eval $ac_compile) 2>conftest.er1 3592 ac_status=$? 3593 grep -v '^ *+' conftest.er1 >conftest.err 3594 rm -f conftest.er1 3595 cat conftest.err >&5 3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3597 (exit $ac_status); } && 3598 { ac_try='test -z "$ac_c_werror_flag" 3599 || test ! -s conftest.err' 3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3601 (eval $ac_try) 2>&5 3602 ac_status=$? 3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3604 (exit $ac_status); }; } && 3605 { ac_try='test -s conftest.$ac_objext' 3606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3607 (eval $ac_try) 2>&5 3608 ac_status=$? 3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3610 (exit $ac_status); }; }; then 3611 eval "$as_ac_Header=yes" 3612else 3613 echo "$as_me: failed program was:" >&5 3614sed 's/^/| /' conftest.$ac_ext >&5 3615 3616eval "$as_ac_Header=no" 3617fi 3618rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3619fi 3620echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3621echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3622if test `eval echo '${'$as_ac_Header'}'` = yes; then 3623 cat >>confdefs.h <<_ACEOF 3624#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3625_ACEOF 3626 3627fi 3628 3629done 3630 3631 3632 3633for ac_header in stdlib.h 3634do 3635as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3636if eval "test \"\${$as_ac_Header+set}\" = set"; then 3637 echo "$as_me:$LINENO: checking for $ac_header" >&5 3638echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3639if eval "test \"\${$as_ac_Header+set}\" = set"; then 3640 echo $ECHO_N "(cached) $ECHO_C" >&6 3641fi 3642echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3643echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3644else 3645 # Is the header compilable? 3646echo "$as_me:$LINENO: checking $ac_header usability" >&5 3647echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3648cat >conftest.$ac_ext <<_ACEOF 3649/* confdefs.h. */ 3650_ACEOF 3651cat confdefs.h >>conftest.$ac_ext 3652cat >>conftest.$ac_ext <<_ACEOF 3653/* end confdefs.h. */ 3654$ac_includes_default 3655#include <$ac_header> 3656_ACEOF 3657rm -f conftest.$ac_objext 3658if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3659 (eval $ac_compile) 2>conftest.er1 3660 ac_status=$? 3661 grep -v '^ *+' conftest.er1 >conftest.err 3662 rm -f conftest.er1 3663 cat conftest.err >&5 3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3665 (exit $ac_status); } && 3666 { ac_try='test -z "$ac_c_werror_flag" 3667 || test ! -s conftest.err' 3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3669 (eval $ac_try) 2>&5 3670 ac_status=$? 3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3672 (exit $ac_status); }; } && 3673 { ac_try='test -s conftest.$ac_objext' 3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3675 (eval $ac_try) 2>&5 3676 ac_status=$? 3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3678 (exit $ac_status); }; }; then 3679 ac_header_compiler=yes 3680else 3681 echo "$as_me: failed program was:" >&5 3682sed 's/^/| /' conftest.$ac_ext >&5 3683 3684ac_header_compiler=no 3685fi 3686rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3687echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3688echo "${ECHO_T}$ac_header_compiler" >&6 3689 3690# Is the header present? 3691echo "$as_me:$LINENO: checking $ac_header presence" >&5 3692echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3693cat >conftest.$ac_ext <<_ACEOF 3694/* confdefs.h. */ 3695_ACEOF 3696cat confdefs.h >>conftest.$ac_ext 3697cat >>conftest.$ac_ext <<_ACEOF 3698/* end confdefs.h. */ 3699#include <$ac_header> 3700_ACEOF 3701if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3703 ac_status=$? 3704 grep -v '^ *+' conftest.er1 >conftest.err 3705 rm -f conftest.er1 3706 cat conftest.err >&5 3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3708 (exit $ac_status); } >/dev/null; then 3709 if test -s conftest.err; then 3710 ac_cpp_err=$ac_c_preproc_warn_flag 3711 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3712 else 3713 ac_cpp_err= 3714 fi 3715else 3716 ac_cpp_err=yes 3717fi 3718if test -z "$ac_cpp_err"; then 3719 ac_header_preproc=yes 3720else 3721 echo "$as_me: failed program was:" >&5 3722sed 's/^/| /' conftest.$ac_ext >&5 3723 3724 ac_header_preproc=no 3725fi 3726rm -f conftest.err conftest.$ac_ext 3727echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3728echo "${ECHO_T}$ac_header_preproc" >&6 3729 3730# So? What about this header? 3731case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3732 yes:no: ) 3733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3734echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3736echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3737 ac_header_preproc=yes 3738 ;; 3739 no:yes:* ) 3740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3741echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3743echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3745echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3747echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3749echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3751echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3752 ( 3753 cat <<\_ASBOX 3754## ------------------------------------------ ## 3755## Report this to the AC_PACKAGE_NAME lists. ## 3756## ------------------------------------------ ## 3757_ASBOX 3758 ) | 3759 sed "s/^/$as_me: WARNING: /" >&2 3760 ;; 3761esac 3762echo "$as_me:$LINENO: checking for $ac_header" >&5 3763echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3764if eval "test \"\${$as_ac_Header+set}\" = set"; then 3765 echo $ECHO_N "(cached) $ECHO_C" >&6 3766else 3767 eval "$as_ac_Header=\$ac_header_preproc" 3768fi 3769echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3770echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3771 3772fi 3773if test `eval echo '${'$as_ac_Header'}'` = yes; then 3774 cat >>confdefs.h <<_ACEOF 3775#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3776_ACEOF 3777 3778fi 3779 3780done 3781 3782echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 3783echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 3784if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then 3785 echo $ECHO_N "(cached) $ECHO_C" >&6 3786else 3787 if test "$cross_compiling" = yes; then 3788 ac_cv_func_malloc_0_nonnull=no 3789else 3790 cat >conftest.$ac_ext <<_ACEOF 3791/* confdefs.h. */ 3792_ACEOF 3793cat confdefs.h >>conftest.$ac_ext 3794cat >>conftest.$ac_ext <<_ACEOF 3795/* end confdefs.h. */ 3796#if STDC_HEADERS || HAVE_STDLIB_H 3797# include <stdlib.h> 3798#else 3799char *malloc (); 3800#endif 3801 3802int 3803main () 3804{ 3805exit (malloc (0) ? 0 : 1); 3806 ; 3807 return 0; 3808} 3809_ACEOF 3810rm -f conftest$ac_exeext 3811if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3812 (eval $ac_link) 2>&5 3813 ac_status=$? 3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3817 (eval $ac_try) 2>&5 3818 ac_status=$? 3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3820 (exit $ac_status); }; }; then 3821 ac_cv_func_malloc_0_nonnull=yes 3822else 3823 echo "$as_me: program exited with status $ac_status" >&5 3824echo "$as_me: failed program was:" >&5 3825sed 's/^/| /' conftest.$ac_ext >&5 3826 3827( exit $ac_status ) 3828ac_cv_func_malloc_0_nonnull=no 3829fi 3830rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3831fi 3832fi 3833echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 3834echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 3835if test $ac_cv_func_malloc_0_nonnull = yes; then 3836 3837cat >>confdefs.h <<\_ACEOF 3838#define HAVE_MALLOC 1 3839_ACEOF 3840 3841else 3842 cat >>confdefs.h <<\_ACEOF 3843#define HAVE_MALLOC 0 3844_ACEOF 3845 3846 case $LIBOBJS in 3847 "malloc.$ac_objext" | \ 3848 *" malloc.$ac_objext" | \ 3849 "malloc.$ac_objext "* | \ 3850 *" malloc.$ac_objext "* ) ;; 3851 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; 3852esac 3853 3854 3855cat >>confdefs.h <<\_ACEOF 3856#define malloc rpl_malloc 3857_ACEOF 3858 3859fi 3860 3861 3862 3863 3864SDL_VERSION=1.2.4 3865 3866# Check whether --with-sdl-prefix or --without-sdl-prefix was given. 3867if test "${with_sdl_prefix+set}" = set; then 3868 withval="$with_sdl_prefix" 3869 sdl_prefix="$withval" 3870else 3871 sdl_prefix="" 3872fi; 3873 3874# Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given. 3875if test "${with_sdl_exec_prefix+set}" = set; then 3876 withval="$with_sdl_exec_prefix" 3877 sdl_exec_prefix="$withval" 3878else 3879 sdl_exec_prefix="" 3880fi; 3881# Check whether --enable-sdltest or --disable-sdltest was given. 3882if test "${enable_sdltest+set}" = set; then 3883 enableval="$enable_sdltest" 3884 3885else 3886 enable_sdltest=yes 3887fi; 3888 3889 if test x$sdl_exec_prefix != x ; then 3890 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix" 3891 if test x${SDL_CONFIG+set} != xset ; then 3892 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config 3893 fi 3894 fi 3895 if test x$sdl_prefix != x ; then 3896 sdl_args="$sdl_args --prefix=$sdl_prefix" 3897 if test x${SDL_CONFIG+set} != xset ; then 3898 SDL_CONFIG=$sdl_prefix/bin/sdl-config 3899 fi 3900 fi 3901 3902 3903 PATH="$prefix/bin:$prefix/usr/bin:$PATH" 3904 # Extract the first word of "sdl-config", so it can be a program name with args. 3905set dummy sdl-config; ac_word=$2 3906echo "$as_me:$LINENO: checking for $ac_word" >&5 3907echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3908if test "${ac_cv_path_SDL_CONFIG+set}" = set; then 3909 echo $ECHO_N "(cached) $ECHO_C" >&6 3910else 3911 case $SDL_CONFIG in 3912 [\\/]* | ?:[\\/]*) 3913 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. 3914 ;; 3915 *) 3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3917for as_dir in $PATH 3918do 3919 IFS=$as_save_IFS 3920 test -z "$as_dir" && as_dir=. 3921 for ac_exec_ext in '' $ac_executable_extensions; do 3922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3923 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3925 break 2 3926 fi 3927done 3928done 3929 3930 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no" 3931 ;; 3932esac 3933fi 3934SDL_CONFIG=$ac_cv_path_SDL_CONFIG 3935 3936if test -n "$SDL_CONFIG"; then 3937 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5 3938echo "${ECHO_T}$SDL_CONFIG" >&6 3939else 3940 echo "$as_me:$LINENO: result: no" >&5 3941echo "${ECHO_T}no" >&6 3942fi 3943 3944 min_sdl_version=$SDL_VERSION 3945 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5 3946echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6 3947 no_sdl="" 3948 if test "$SDL_CONFIG" = "no" ; then 3949 no_sdl=yes 3950 else 3951 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` 3952 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` 3953 3954 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ 3955 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 3956 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \ 3957 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 3958 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \ 3959 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 3960 if test "x$enable_sdltest" = "xyes" ; then 3961 ac_save_CFLAGS="$CFLAGS" 3962 ac_save_LIBS="$LIBS" 3963 CFLAGS="$CFLAGS $SDL_CFLAGS" 3964 LIBS="$LIBS $SDL_LIBS" 3965 rm -f conf.sdltest 3966 if test "$cross_compiling" = yes; then 3967 echo $ac_n "cross compiling; assumed OK... $ac_c" 3968else 3969 cat >conftest.$ac_ext <<_ACEOF 3970/* confdefs.h. */ 3971_ACEOF 3972cat confdefs.h >>conftest.$ac_ext 3973cat >>conftest.$ac_ext <<_ACEOF 3974/* end confdefs.h. */ 3975 3976#include <stdio.h> 3977#include <stdlib.h> 3978#include <string.h> 3979#include "SDL.h" 3980 3981char* 3982my_strdup (char *str) 3983{ 3984 char *new_str; 3985 3986 if (str) 3987 { 3988 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 3989 strcpy (new_str, str); 3990 } 3991 else 3992 new_str = NULL; 3993 3994 return new_str; 3995} 3996 3997int main (int argc, char *argv[]) 3998{ 3999 int major, minor, micro; 4000 char *tmp_version; 4001 4002 /* This hangs on some systems (?) 4003 system ("touch conf.sdltest"); 4004 */ 4005 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } 4006 4007 /* HP/UX 9 (%@#!) writes to sscanf strings */ 4008 tmp_version = my_strdup("$min_sdl_version"); 4009 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 4010 printf("%s, bad version string\n", "$min_sdl_version"); 4011 exit(1); 4012 } 4013 4014 if (($sdl_major_version > major) || 4015 (($sdl_major_version == major) && ($sdl_minor_version > minor)) || 4016 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) 4017 { 4018 return 0; 4019 } 4020 else 4021 { 4022 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); 4023 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); 4024 printf("*** best to upgrade to the required version.\n"); 4025 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); 4026 printf("*** to point to the correct copy of sdl-config, and remove the file\n"); 4027 printf("*** config.cache before re-running configure\n"); 4028 return 1; 4029 } 4030} 4031 4032 4033_ACEOF 4034rm -f conftest$ac_exeext 4035if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4036 (eval $ac_link) 2>&5 4037 ac_status=$? 4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4041 (eval $ac_try) 2>&5 4042 ac_status=$? 4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4044 (exit $ac_status); }; }; then 4045 : 4046else 4047 echo "$as_me: program exited with status $ac_status" >&5 4048echo "$as_me: failed program was:" >&5 4049sed 's/^/| /' conftest.$ac_ext >&5 4050 4051( exit $ac_status ) 4052no_sdl=yes 4053fi 4054rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4055fi 4056 CFLAGS="$ac_save_CFLAGS" 4057 LIBS="$ac_save_LIBS" 4058 fi 4059 fi 4060 if test "x$no_sdl" = x ; then 4061 echo "$as_me:$LINENO: result: yes" >&5 4062echo "${ECHO_T}yes" >&6 4063 : 4064 else 4065 echo "$as_me:$LINENO: result: no" >&5 4066echo "${ECHO_T}no" >&6 4067 if test "$SDL_CONFIG" = "no" ; then 4068 echo "*** The sdl-config script installed by SDL could not be found" 4069 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" 4070 echo "*** your path, or set the SDL_CONFIG environment variable to the" 4071 echo "*** full path to sdl-config." 4072 else 4073 if test -f conf.sdltest ; then 4074 : 4075 else 4076 echo "*** Could not run SDL test program, checking why..." 4077 CFLAGS="$CFLAGS $SDL_CFLAGS" 4078 LIBS="$LIBS $SDL_LIBS" 4079 cat >conftest.$ac_ext <<_ACEOF 4080/* confdefs.h. */ 4081_ACEOF 4082cat confdefs.h >>conftest.$ac_ext 4083cat >>conftest.$ac_ext <<_ACEOF 4084/* end confdefs.h. */ 4085 4086#include <stdio.h> 4087#include "SDL.h" 4088 4089int main(int argc, char *argv[]) 4090{ return 0; } 4091#undef main 4092#define main K_and_R_C_main 4093 4094int 4095main () 4096{ 4097 return 0; 4098 ; 4099 return 0; 4100} 4101_ACEOF 4102rm -f conftest.$ac_objext conftest$ac_exeext 4103if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4104 (eval $ac_link) 2>conftest.er1 4105 ac_status=$? 4106 grep -v '^ *+' conftest.er1 >conftest.err 4107 rm -f conftest.er1 4108 cat conftest.err >&5 4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4110 (exit $ac_status); } && 4111 { ac_try='test -z "$ac_c_werror_flag" 4112 || test ! -s conftest.err' 4113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4114 (eval $ac_try) 2>&5 4115 ac_status=$? 4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4117 (exit $ac_status); }; } && 4118 { ac_try='test -s conftest$ac_exeext' 4119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4120 (eval $ac_try) 2>&5 4121 ac_status=$? 4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4123 (exit $ac_status); }; }; then 4124 echo "*** The test program compiled, but did not run. This usually means" 4125 echo "*** that the run-time linker is not finding SDL or finding the wrong" 4126 echo "*** version of SDL. If it is not finding SDL, you'll need to set your" 4127 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 4128 echo "*** to the installed location Also, make sure you have run ldconfig if that" 4129 echo "*** is required on your system" 4130 echo "***" 4131 echo "*** If you have an old version installed, it is best to remove it, although" 4132 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 4133else 4134 echo "$as_me: failed program was:" >&5 4135sed 's/^/| /' conftest.$ac_ext >&5 4136 4137 echo "*** The test program failed to compile or link. See the file config.log for the" 4138 echo "*** exact error that occured. This usually means SDL was incorrectly installed" 4139 echo "*** or that you have moved SDL since it was installed. In the latter case, you" 4140 echo "*** may want to edit the sdl-config script: $SDL_CONFIG" 4141fi 4142rm -f conftest.err conftest.$ac_objext \ 4143 conftest$ac_exeext conftest.$ac_ext 4144 CFLAGS="$ac_save_CFLAGS" 4145 LIBS="$ac_save_LIBS" 4146 fi 4147 fi 4148 SDL_CFLAGS="" 4149 SDL_LIBS="" 4150 { { echo "$as_me:$LINENO: error: *** SDL >= $SDL_VERSION not found!" >&5 4151echo "$as_me: error: *** SDL >= $SDL_VERSION not found!" >&2;} 4152 { (exit 1); exit 1; }; } 4153 fi 4154 4155 4156 rm -f conf.sdltest 4157 4158 4159 4160echo "$as_me:$LINENO: checking for Mix_OpenAudio in -lSDL_mixer" >&5 4161echo $ECHO_N "checking for Mix_OpenAudio in -lSDL_mixer... $ECHO_C" >&6 4162if test "${ac_cv_lib_SDL_mixer_Mix_OpenAudio+set}" = set; then 4163 echo $ECHO_N "(cached) $ECHO_C" >&6 4164else 4165 ac_check_lib_save_LIBS=$LIBS 4166LIBS="-lSDL_mixer $LIBS" 4167cat >conftest.$ac_ext <<_ACEOF 4168/* confdefs.h. */ 4169_ACEOF 4170cat confdefs.h >>conftest.$ac_ext 4171cat >>conftest.$ac_ext <<_ACEOF 4172/* end confdefs.h. */ 4173 4174/* Override any gcc2 internal prototype to avoid an error. */ 4175#ifdef __cplusplus 4176extern "C" 4177#endif 4178/* We use char because int might match the return type of a gcc2 4179 builtin and then its argument prototype would still apply. */ 4180char Mix_OpenAudio (); 4181int 4182main () 4183{ 4184Mix_OpenAudio (); 4185 ; 4186 return 0; 4187} 4188_ACEOF 4189rm -f conftest.$ac_objext conftest$ac_exeext 4190if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4191 (eval $ac_link) 2>conftest.er1 4192 ac_status=$? 4193 grep -v '^ *+' conftest.er1 >conftest.err 4194 rm -f conftest.er1 4195 cat conftest.err >&5 4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4197 (exit $ac_status); } && 4198 { ac_try='test -z "$ac_c_werror_flag" 4199 || test ! -s conftest.err' 4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4201 (eval $ac_try) 2>&5 4202 ac_status=$? 4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4204 (exit $ac_status); }; } && 4205 { ac_try='test -s conftest$ac_exeext' 4206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4207 (eval $ac_try) 2>&5 4208 ac_status=$? 4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4210 (exit $ac_status); }; }; then 4211 ac_cv_lib_SDL_mixer_Mix_OpenAudio=yes 4212else 4213 echo "$as_me: failed program was:" >&5 4214sed 's/^/| /' conftest.$ac_ext >&5 4215 4216ac_cv_lib_SDL_mixer_Mix_OpenAudio=no 4217fi 4218rm -f conftest.err conftest.$ac_objext \ 4219 conftest$ac_exeext conftest.$ac_ext 4220LIBS=$ac_check_lib_save_LIBS 4221fi 4222echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&5 4223echo "${ECHO_T}$ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&6 4224if test $ac_cv_lib_SDL_mixer_Mix_OpenAudio = yes; then 4225 if test "${ac_cv_header_SDL_SDL_mixer_h+set}" = set; then 4226 echo "$as_me:$LINENO: checking for SDL/SDL_mixer.h" >&5 4227echo $ECHO_N "checking for SDL/SDL_mixer.h... $ECHO_C" >&6 4228if test "${ac_cv_header_SDL_SDL_mixer_h+set}" = set; then 4229 echo $ECHO_N "(cached) $ECHO_C" >&6 4230fi 4231echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_mixer_h" >&5 4232echo "${ECHO_T}$ac_cv_header_SDL_SDL_mixer_h" >&6 4233else 4234 # Is the header compilable? 4235echo "$as_me:$LINENO: checking SDL/SDL_mixer.h usability" >&5 4236echo $ECHO_N "checking SDL/SDL_mixer.h usability... $ECHO_C" >&6 4237cat >conftest.$ac_ext <<_ACEOF 4238/* confdefs.h. */ 4239_ACEOF 4240cat confdefs.h >>conftest.$ac_ext 4241cat >>conftest.$ac_ext <<_ACEOF 4242/* end confdefs.h. */ 4243$ac_includes_default 4244#include <SDL/SDL_mixer.h> 4245_ACEOF 4246rm -f conftest.$ac_objext 4247if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4248 (eval $ac_compile) 2>conftest.er1 4249 ac_status=$? 4250 grep -v '^ *+' conftest.er1 >conftest.err 4251 rm -f conftest.er1 4252 cat conftest.err >&5 4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4254 (exit $ac_status); } && 4255 { ac_try='test -z "$ac_c_werror_flag" 4256 || test ! -s conftest.err' 4257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4258 (eval $ac_try) 2>&5 4259 ac_status=$? 4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4261 (exit $ac_status); }; } && 4262 { ac_try='test -s conftest.$ac_objext' 4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4264 (eval $ac_try) 2>&5 4265 ac_status=$? 4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4267 (exit $ac_status); }; }; then 4268 ac_header_compiler=yes 4269else 4270 echo "$as_me: failed program was:" >&5 4271sed 's/^/| /' conftest.$ac_ext >&5 4272 4273ac_header_compiler=no 4274fi 4275rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4276echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4277echo "${ECHO_T}$ac_header_compiler" >&6 4278 4279# Is the header present? 4280echo "$as_me:$LINENO: checking SDL/SDL_mixer.h presence" >&5 4281echo $ECHO_N "checking SDL/SDL_mixer.h presence... $ECHO_C" >&6 4282cat >conftest.$ac_ext <<_ACEOF 4283/* confdefs.h. */ 4284_ACEOF 4285cat confdefs.h >>conftest.$ac_ext 4286cat >>conftest.$ac_ext <<_ACEOF 4287/* end confdefs.h. */ 4288#include <SDL/SDL_mixer.h> 4289_ACEOF 4290if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4292 ac_status=$? 4293 grep -v '^ *+' conftest.er1 >conftest.err 4294 rm -f conftest.er1 4295 cat conftest.err >&5 4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4297 (exit $ac_status); } >/dev/null; then 4298 if test -s conftest.err; then 4299 ac_cpp_err=$ac_c_preproc_warn_flag 4300 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4301 else 4302 ac_cpp_err= 4303 fi 4304else 4305 ac_cpp_err=yes 4306fi 4307if test -z "$ac_cpp_err"; then 4308 ac_header_preproc=yes 4309else 4310 echo "$as_me: failed program was:" >&5 4311sed 's/^/| /' conftest.$ac_ext >&5 4312 4313 ac_header_preproc=no 4314fi 4315rm -f conftest.err conftest.$ac_ext 4316echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4317echo "${ECHO_T}$ac_header_preproc" >&6 4318 4319# So? What about this header? 4320case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4321 yes:no: ) 4322 { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: accepted by the compiler, rejected by the preprocessor!" >&5 4323echo "$as_me: WARNING: SDL/SDL_mixer.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4324 { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: proceeding with the compiler's result" >&5 4325echo "$as_me: WARNING: SDL/SDL_mixer.h: proceeding with the compiler's result" >&2;} 4326 ac_header_preproc=yes 4327 ;; 4328 no:yes:* ) 4329 { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: present but cannot be compiled" >&5 4330echo "$as_me: WARNING: SDL/SDL_mixer.h: present but cannot be compiled" >&2;} 4331 { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: check for missing prerequisite headers?" >&5 4332echo "$as_me: WARNING: SDL/SDL_mixer.h: check for missing prerequisite headers?" >&2;} 4333 { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: see the Autoconf documentation" >&5 4334echo "$as_me: WARNING: SDL/SDL_mixer.h: see the Autoconf documentation" >&2;} 4335 { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: section \"Present But Cannot Be Compiled\"" >&5 4336echo "$as_me: WARNING: SDL/SDL_mixer.h: section \"Present But Cannot Be Compiled\"" >&2;} 4337 { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: proceeding with the preprocessor's result" >&5 4338echo "$as_me: WARNING: SDL/SDL_mixer.h: proceeding with the preprocessor's result" >&2;} 4339 { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: in the future, the compiler will take precedence" >&5 4340echo "$as_me: WARNING: SDL/SDL_mixer.h: in the future, the compiler will take precedence" >&2;} 4341 ( 4342 cat <<\_ASBOX 4343## ------------------------------------------ ## 4344## Report this to the AC_PACKAGE_NAME lists. ## 4345## ------------------------------------------ ## 4346_ASBOX 4347 ) | 4348 sed "s/^/$as_me: WARNING: /" >&2 4349 ;; 4350esac 4351echo "$as_me:$LINENO: checking for SDL/SDL_mixer.h" >&5 4352echo $ECHO_N "checking for SDL/SDL_mixer.h... $ECHO_C" >&6 4353if test "${ac_cv_header_SDL_SDL_mixer_h+set}" = set; then 4354 echo $ECHO_N "(cached) $ECHO_C" >&6 4355else 4356 ac_cv_header_SDL_SDL_mixer_h=$ac_header_preproc 4357fi 4358echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_mixer_h" >&5 4359echo "${ECHO_T}$ac_cv_header_SDL_SDL_mixer_h" >&6 4360 4361fi 4362if test $ac_cv_header_SDL_SDL_mixer_h = yes; then 4363 : 4364else 4365 { { echo "$as_me:$LINENO: error: *** Cannot find the SDL/SDL_mixer.h header 4366 goto http://www.libsdl.org to download or 4367 check you with your distibution. 4368 " >&5 4369echo "$as_me: error: *** Cannot find the SDL/SDL_mixer.h header 4370 goto http://www.libsdl.org to download or 4371 check you with your distibution. 4372 " >&2;} 4373 { (exit 1); exit 1; }; }; exit 4374fi 4375 4376 4377else 4378 { { echo "$as_me:$LINENO: error: *** Cannot find the SDL_mixer library 4379 goto http://www.libsdl.org to download or 4380 check you with your distibution. 4381 " >&5 4382echo "$as_me: error: *** Cannot find the SDL_mixer library 4383 goto http://www.libsdl.org to download or 4384 check you with your distibution. 4385 " >&2;} 4386 { (exit 1); exit 1; }; }; exit 4387fi 4388 4389 4390echo "$as_me:$LINENO: checking for TTF_Quit in -lSDL_ttf" >&5 4391echo $ECHO_N "checking for TTF_Quit in -lSDL_ttf... $ECHO_C" >&6 4392if test "${ac_cv_lib_SDL_ttf_TTF_Quit+set}" = set; then 4393 echo $ECHO_N "(cached) $ECHO_C" >&6 4394else 4395 ac_check_lib_save_LIBS=$LIBS 4396LIBS="-lSDL_ttf $LIBS" 4397cat >conftest.$ac_ext <<_ACEOF 4398/* confdefs.h. */ 4399_ACEOF 4400cat confdefs.h >>conftest.$ac_ext 4401cat >>conftest.$ac_ext <<_ACEOF 4402/* end confdefs.h. */ 4403 4404/* Override any gcc2 internal prototype to avoid an error. */ 4405#ifdef __cplusplus 4406extern "C" 4407#endif 4408/* We use char because int might match the return type of a gcc2 4409 builtin and then its argument prototype would still apply. */ 4410char TTF_Quit (); 4411int 4412main () 4413{ 4414TTF_Quit (); 4415 ; 4416 return 0; 4417} 4418_ACEOF 4419rm -f conftest.$ac_objext conftest$ac_exeext 4420if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4421 (eval $ac_link) 2>conftest.er1 4422 ac_status=$? 4423 grep -v '^ *+' conftest.er1 >conftest.err 4424 rm -f conftest.er1 4425 cat conftest.err >&5 4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4427 (exit $ac_status); } && 4428 { ac_try='test -z "$ac_c_werror_flag" 4429 || test ! -s conftest.err' 4430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4431 (eval $ac_try) 2>&5 4432 ac_status=$? 4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4434 (exit $ac_status); }; } && 4435 { ac_try='test -s conftest$ac_exeext' 4436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4437 (eval $ac_try) 2>&5 4438 ac_status=$? 4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4440 (exit $ac_status); }; }; then 4441 ac_cv_lib_SDL_ttf_TTF_Quit=yes 4442else 4443 echo "$as_me: failed program was:" >&5 4444sed 's/^/| /' conftest.$ac_ext >&5 4445 4446ac_cv_lib_SDL_ttf_TTF_Quit=no 4447fi 4448rm -f conftest.err conftest.$ac_objext \ 4449 conftest$ac_exeext conftest.$ac_ext 4450LIBS=$ac_check_lib_save_LIBS 4451fi 4452echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_ttf_TTF_Quit" >&5 4453echo "${ECHO_T}$ac_cv_lib_SDL_ttf_TTF_Quit" >&6 4454if test $ac_cv_lib_SDL_ttf_TTF_Quit = yes; then 4455 if test "${ac_cv_header_SDL_SDL_ttf_h+set}" = set; then 4456 echo "$as_me:$LINENO: checking for SDL/SDL_ttf.h" >&5 4457echo $ECHO_N "checking for SDL/SDL_ttf.h... $ECHO_C" >&6 4458if test "${ac_cv_header_SDL_SDL_ttf_h+set}" = set; then 4459 echo $ECHO_N "(cached) $ECHO_C" >&6 4460fi 4461echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_ttf_h" >&5 4462echo "${ECHO_T}$ac_cv_header_SDL_SDL_ttf_h" >&6 4463else 4464 # Is the header compilable? 4465echo "$as_me:$LINENO: checking SDL/SDL_ttf.h usability" >&5 4466echo $ECHO_N "checking SDL/SDL_ttf.h usability... $ECHO_C" >&6 4467cat >conftest.$ac_ext <<_ACEOF 4468/* confdefs.h. */ 4469_ACEOF 4470cat confdefs.h >>conftest.$ac_ext 4471cat >>conftest.$ac_ext <<_ACEOF 4472/* end confdefs.h. */ 4473$ac_includes_default 4474#include <SDL/SDL_ttf.h> 4475_ACEOF 4476rm -f conftest.$ac_objext 4477if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4478 (eval $ac_compile) 2>conftest.er1 4479 ac_status=$? 4480 grep -v '^ *+' conftest.er1 >conftest.err 4481 rm -f conftest.er1 4482 cat conftest.err >&5 4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4484 (exit $ac_status); } && 4485 { ac_try='test -z "$ac_c_werror_flag" 4486 || test ! -s conftest.err' 4487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4488 (eval $ac_try) 2>&5 4489 ac_status=$? 4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4491 (exit $ac_status); }; } && 4492 { ac_try='test -s conftest.$ac_objext' 4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4494 (eval $ac_try) 2>&5 4495 ac_status=$? 4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4497 (exit $ac_status); }; }; then 4498 ac_header_compiler=yes 4499else 4500 echo "$as_me: failed program was:" >&5 4501sed 's/^/| /' conftest.$ac_ext >&5 4502 4503ac_header_compiler=no 4504fi 4505rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4506echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4507echo "${ECHO_T}$ac_header_compiler" >&6 4508 4509# Is the header present? 4510echo "$as_me:$LINENO: checking SDL/SDL_ttf.h presence" >&5 4511echo $ECHO_N "checking SDL/SDL_ttf.h presence... $ECHO_C" >&6 4512cat >conftest.$ac_ext <<_ACEOF 4513/* confdefs.h. */ 4514_ACEOF 4515cat confdefs.h >>conftest.$ac_ext 4516cat >>conftest.$ac_ext <<_ACEOF 4517/* end confdefs.h. */ 4518#include <SDL/SDL_ttf.h> 4519_ACEOF 4520if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4522 ac_status=$? 4523 grep -v '^ *+' conftest.er1 >conftest.err 4524 rm -f conftest.er1 4525 cat conftest.err >&5 4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4527 (exit $ac_status); } >/dev/null; then 4528 if test -s conftest.err; then 4529 ac_cpp_err=$ac_c_preproc_warn_flag 4530 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4531 else 4532 ac_cpp_err= 4533 fi 4534else 4535 ac_cpp_err=yes 4536fi 4537if test -z "$ac_cpp_err"; then 4538 ac_header_preproc=yes 4539else 4540 echo "$as_me: failed program was:" >&5 4541sed 's/^/| /' conftest.$ac_ext >&5 4542 4543 ac_header_preproc=no 4544fi 4545rm -f conftest.err conftest.$ac_ext 4546echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4547echo "${ECHO_T}$ac_header_preproc" >&6 4548 4549# So? What about this header? 4550case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4551 yes:no: ) 4552 { echo "$as_me:$LINENO: WARNING: SDL/SDL_ttf.h: accepted by the compiler, rejected by the preprocessor!" >&5 4553echo "$as_me: WARNING: SDL/SDL_ttf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4554 { echo "$as_me:$LINENO: WARNING: SDL/SDL_ttf.h: proceeding with the compiler's result" >&5 4555echo "$as_me: WARNING: SDL/SDL_ttf.h: proceeding with the compiler's result" >&2;} 4556 ac_header_preproc=yes 4557 ;; 4558 no:yes:* ) 4559 { echo "$as_me:$LINENO: WARNING: SDL/SDL_ttf.h: present but cannot be compiled" >&5 4560echo "$as_me: WARNING: SDL/SDL_ttf.h: present but cannot be compiled" >&2;} 4561 { echo "$as_me:$LINENO: WARNING: SDL/SDL_ttf.h: check for missing prerequisite headers?" >&5 4562echo "$as_me: WARNING: SDL/SDL_ttf.h: check for missing prerequisite headers?" >&2;} 4563 { echo "$as_me:$LINENO: WARNING: SDL/SDL_ttf.h: see the Autoconf documentation" >&5 4564echo "$as_me: WARNING: SDL/SDL_ttf.h: see the Autoconf documentation" >&2;} 4565 { echo "$as_me:$LINENO: WARNING: SDL/SDL_ttf.h: section \"Present But Cannot Be Compiled\"" >&5 4566echo "$as_me: WARNING: SDL/SDL_ttf.h: section \"Present But Cannot Be Compiled\"" >&2;} 4567 { echo "$as_me:$LINENO: WARNING: SDL/SDL_ttf.h: proceeding with the preprocessor's result" >&5 4568echo "$as_me: WARNING: SDL/SDL_ttf.h: proceeding with the preprocessor's result" >&2;} 4569 { echo "$as_me:$LINENO: WARNING: SDL/SDL_ttf.h: in the future, the compiler will take precedence" >&5 4570echo "$as_me: WARNING: SDL/SDL_ttf.h: in the future, the compiler will take precedence" >&2;} 4571 ( 4572 cat <<\_ASBOX 4573## ------------------------------------------ ## 4574## Report this to the AC_PACKAGE_NAME lists. ## 4575## ------------------------------------------ ## 4576_ASBOX 4577 ) | 4578 sed "s/^/$as_me: WARNING: /" >&2 4579 ;; 4580esac 4581echo "$as_me:$LINENO: checking for SDL/SDL_ttf.h" >&5 4582echo $ECHO_N "checking for SDL/SDL_ttf.h... $ECHO_C" >&6 4583if test "${ac_cv_header_SDL_SDL_ttf_h+set}" = set; then 4584 echo $ECHO_N "(cached) $ECHO_C" >&6 4585else 4586 ac_cv_header_SDL_SDL_ttf_h=$ac_header_preproc 4587fi 4588echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_ttf_h" >&5 4589echo "${ECHO_T}$ac_cv_header_SDL_SDL_ttf_h" >&6 4590 4591fi 4592if test $ac_cv_header_SDL_SDL_ttf_h = yes; then 4593 : 4594else 4595 { { echo "$as_me:$LINENO: error: *** Cannot find the SDL/SDL_ttf.h header 4596 goto http://www.libsdl.org to download or 4597 check you with your distibution. 4598 " >&5 4599echo "$as_me: error: *** Cannot find the SDL/SDL_ttf.h header 4600 goto http://www.libsdl.org to download or 4601 check you with your distibution. 4602 " >&2;} 4603 { (exit 1); exit 1; }; }; exit 4604fi 4605 4606 4607else 4608 { { echo "$as_me:$LINENO: error: *** Cannot find the SDL_ttf library 4609 goto http://www.libsdl.org to download or 4610 check you with your distibution. 4611 " >&5 4612echo "$as_me: error: *** Cannot find the SDL_ttf library 4613 goto http://www.libsdl.org to download or 4614 check you with your distibution. 4615 " >&2;} 4616 { (exit 1); exit 1; }; }; exit 4617fi 4618 4619 4620echo "$as_me:$LINENO: checking for IMG_Load in -lSDL_image" >&5 4621echo $ECHO_N "checking for IMG_Load in -lSDL_image... $ECHO_C" >&6 4622if test "${ac_cv_lib_SDL_image_IMG_Load+set}" = set; then 4623 echo $ECHO_N "(cached) $ECHO_C" >&6 4624else 4625 ac_check_lib_save_LIBS=$LIBS 4626LIBS="-lSDL_image $LIBS" 4627cat >conftest.$ac_ext <<_ACEOF 4628/* confdefs.h. */ 4629_ACEOF 4630cat confdefs.h >>conftest.$ac_ext 4631cat >>conftest.$ac_ext <<_ACEOF 4632/* end confdefs.h. */ 4633 4634/* Override any gcc2 internal prototype to avoid an error. */ 4635#ifdef __cplusplus 4636extern "C" 4637#endif 4638/* We use char because int might match the return type of a gcc2 4639 builtin and then its argument prototype would still apply. */ 4640char IMG_Load (); 4641int 4642main () 4643{ 4644IMG_Load (); 4645 ; 4646 return 0; 4647} 4648_ACEOF 4649rm -f conftest.$ac_objext conftest$ac_exeext 4650if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4651 (eval $ac_link) 2>conftest.er1 4652 ac_status=$? 4653 grep -v '^ *+' conftest.er1 >conftest.err 4654 rm -f conftest.er1 4655 cat conftest.err >&5 4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4657 (exit $ac_status); } && 4658 { ac_try='test -z "$ac_c_werror_flag" 4659 || test ! -s conftest.err' 4660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4661 (eval $ac_try) 2>&5 4662 ac_status=$? 4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4664 (exit $ac_status); }; } && 4665 { ac_try='test -s conftest$ac_exeext' 4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4667 (eval $ac_try) 2>&5 4668 ac_status=$? 4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4670 (exit $ac_status); }; }; then 4671 ac_cv_lib_SDL_image_IMG_Load=yes 4672else 4673 echo "$as_me: failed program was:" >&5 4674sed 's/^/| /' conftest.$ac_ext >&5 4675 4676ac_cv_lib_SDL_image_IMG_Load=no 4677fi 4678rm -f conftest.err conftest.$ac_objext \ 4679 conftest$ac_exeext conftest.$ac_ext 4680LIBS=$ac_check_lib_save_LIBS 4681fi 4682echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_IMG_Load" >&5 4683echo "${ECHO_T}$ac_cv_lib_SDL_image_IMG_Load" >&6 4684if test $ac_cv_lib_SDL_image_IMG_Load = yes; then 4685 if test "${ac_cv_header_SDL_SDL_image_h+set}" = set; then 4686 echo "$as_me:$LINENO: checking for SDL/SDL_image.h" >&5 4687echo $ECHO_N "checking for SDL/SDL_image.h... $ECHO_C" >&6 4688if test "${ac_cv_header_SDL_SDL_image_h+set}" = set; then 4689 echo $ECHO_N "(cached) $ECHO_C" >&6 4690fi 4691echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_image_h" >&5 4692echo "${ECHO_T}$ac_cv_header_SDL_SDL_image_h" >&6 4693else 4694 # Is the header compilable? 4695echo "$as_me:$LINENO: checking SDL/SDL_image.h usability" >&5 4696echo $ECHO_N "checking SDL/SDL_image.h usability... $ECHO_C" >&6 4697cat >conftest.$ac_ext <<_ACEOF 4698/* confdefs.h. */ 4699_ACEOF 4700cat confdefs.h >>conftest.$ac_ext 4701cat >>conftest.$ac_ext <<_ACEOF 4702/* end confdefs.h. */ 4703$ac_includes_default 4704#include <SDL/SDL_image.h> 4705_ACEOF 4706rm -f conftest.$ac_objext 4707if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4708 (eval $ac_compile) 2>conftest.er1 4709 ac_status=$? 4710 grep -v '^ *+' conftest.er1 >conftest.err 4711 rm -f conftest.er1 4712 cat conftest.err >&5 4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4714 (exit $ac_status); } && 4715 { ac_try='test -z "$ac_c_werror_flag" 4716 || test ! -s conftest.err' 4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4718 (eval $ac_try) 2>&5 4719 ac_status=$? 4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4721 (exit $ac_status); }; } && 4722 { ac_try='test -s conftest.$ac_objext' 4723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4724 (eval $ac_try) 2>&5 4725 ac_status=$? 4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4727 (exit $ac_status); }; }; then 4728 ac_header_compiler=yes 4729else 4730 echo "$as_me: failed program was:" >&5 4731sed 's/^/| /' conftest.$ac_ext >&5 4732 4733ac_header_compiler=no 4734fi 4735rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4736echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4737echo "${ECHO_T}$ac_header_compiler" >&6 4738 4739# Is the header present? 4740echo "$as_me:$LINENO: checking SDL/SDL_image.h presence" >&5 4741echo $ECHO_N "checking SDL/SDL_image.h presence... $ECHO_C" >&6 4742cat >conftest.$ac_ext <<_ACEOF 4743/* confdefs.h. */ 4744_ACEOF 4745cat confdefs.h >>conftest.$ac_ext 4746cat >>conftest.$ac_ext <<_ACEOF 4747/* end confdefs.h. */ 4748#include <SDL/SDL_image.h> 4749_ACEOF 4750if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4752 ac_status=$? 4753 grep -v '^ *+' conftest.er1 >conftest.err 4754 rm -f conftest.er1 4755 cat conftest.err >&5 4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4757 (exit $ac_status); } >/dev/null; then 4758 if test -s conftest.err; then 4759 ac_cpp_err=$ac_c_preproc_warn_flag 4760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4761 else 4762 ac_cpp_err= 4763 fi 4764else 4765 ac_cpp_err=yes 4766fi 4767if test -z "$ac_cpp_err"; then 4768 ac_header_preproc=yes 4769else 4770 echo "$as_me: failed program was:" >&5 4771sed 's/^/| /' conftest.$ac_ext >&5 4772 4773 ac_header_preproc=no 4774fi 4775rm -f conftest.err conftest.$ac_ext 4776echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4777echo "${ECHO_T}$ac_header_preproc" >&6 4778 4779# So? What about this header? 4780case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4781 yes:no: ) 4782 { echo "$as_me:$LINENO: WARNING: SDL/SDL_image.h: accepted by the compiler, rejected by the preprocessor!" >&5 4783echo "$as_me: WARNING: SDL/SDL_image.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4784 { echo "$as_me:$LINENO: WARNING: SDL/SDL_image.h: proceeding with the compiler's result" >&5 4785echo "$as_me: WARNING: SDL/SDL_image.h: proceeding with the compiler's result" >&2;} 4786 ac_header_preproc=yes 4787 ;; 4788 no:yes:* ) 4789 { echo "$as_me:$LINENO: WARNING: SDL/SDL_image.h: present but cannot be compiled" >&5 4790echo "$as_me: WARNING: SDL/SDL_image.h: present but cannot be compiled" >&2;} 4791 { echo "$as_me:$LINENO: WARNING: SDL/SDL_image.h: check for missing prerequisite headers?" >&5 4792echo "$as_me: WARNING: SDL/SDL_image.h: check for missing prerequisite headers?" >&2;} 4793 { echo "$as_me:$LINENO: WARNING: SDL/SDL_image.h: see the Autoconf documentation" >&5 4794echo "$as_me: WARNING: SDL/SDL_image.h: see the Autoconf documentation" >&2;} 4795 { echo "$as_me:$LINENO: WARNING: SDL/SDL_image.h: section \"Present But Cannot Be Compiled\"" >&5 4796echo "$as_me: WARNING: SDL/SDL_image.h: section \"Present But Cannot Be Compiled\"" >&2;} 4797 { echo "$as_me:$LINENO: WARNING: SDL/SDL_image.h: proceeding with the preprocessor's result" >&5 4798echo "$as_me: WARNING: SDL/SDL_image.h: proceeding with the preprocessor's result" >&2;} 4799 { echo "$as_me:$LINENO: WARNING: SDL/SDL_image.h: in the future, the compiler will take precedence" >&5 4800echo "$as_me: WARNING: SDL/SDL_image.h: in the future, the compiler will take precedence" >&2;} 4801 ( 4802 cat <<\_ASBOX 4803## ------------------------------------------ ## 4804## Report this to the AC_PACKAGE_NAME lists. ## 4805## ------------------------------------------ ## 4806_ASBOX 4807 ) | 4808 sed "s/^/$as_me: WARNING: /" >&2 4809 ;; 4810esac 4811echo "$as_me:$LINENO: checking for SDL/SDL_image.h" >&5 4812echo $ECHO_N "checking for SDL/SDL_image.h... $ECHO_C" >&6 4813if test "${ac_cv_header_SDL_SDL_image_h+set}" = set; then 4814 echo $ECHO_N "(cached) $ECHO_C" >&6 4815else 4816 ac_cv_header_SDL_SDL_image_h=$ac_header_preproc 4817fi 4818echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_image_h" >&5 4819echo "${ECHO_T}$ac_cv_header_SDL_SDL_image_h" >&6 4820 4821fi 4822if test $ac_cv_header_SDL_SDL_image_h = yes; then 4823 : 4824else 4825 { { echo "$as_me:$LINENO: error: *** Cannot find the SDL/SDL_image.h header 4826 goto http://www.libsdl.org to download or 4827 check you with your distibution. 4828 4829 " >&5 4830echo "$as_me: error: *** Cannot find the SDL/SDL_image.h header 4831 goto http://www.libsdl.org to download or 4832 check you with your distibution. 4833 4834 " >&2;} 4835 { (exit 1); exit 1; }; }; exit 4836fi 4837 4838 4839else 4840 { { echo "$as_me:$LINENO: error: *** Cannot find the SDL_image library 4841 goto http://www.libsdl.org to download or 4842 check you with your distibution. 4843 " >&5 4844echo "$as_me: error: *** Cannot find the SDL_image library 4845 goto http://www.libsdl.org to download or 4846 check you with your distibution. 4847 " >&2;} 4848 { (exit 1); exit 1; }; }; exit 4849fi 4850 4851 4852CFLAGS="$CFLAGS $SDL_CFLAGS -std=gnu99 -W -pedantic -Dsg_data_path=\\\"$datadir/$PACKAGE/\\\"" 4853LIBS="$LIBS $SDL_LIBS -lSDL_mixer -lSDL_image -lSDL_ttf" 4854 4855 ac_config_files="$ac_config_files Makefile pics/Makefile pics/set1/Makefile pics/set2/Makefile pics/set3/Makefile sounds/Makefile src/Makefile fonts/Makefile" 4856cat >confcache <<\_ACEOF 4857# This file is a shell script that caches the results of configure 4858# tests run on this system so they can be shared between configure 4859# scripts and configure runs, see configure's option --config-cache. 4860# It is not useful on other systems. If it contains results you don't 4861# want to keep, you may remove or edit it. 4862# 4863# config.status only pays attention to the cache file if you give it 4864# the --recheck option to rerun configure. 4865# 4866# `ac_cv_env_foo' variables (set or unset) will be overridden when 4867# loading this file, other *unset* `ac_cv_foo' will be assigned the 4868# following values. 4869 4870_ACEOF 4871 4872# The following way of writing the cache mishandles newlines in values, 4873# but we know of no workaround that is simple, portable, and efficient. 4874# So, don't put newlines in cache variables' values. 4875# Ultrix sh set writes to stderr and can't be redirected directly, 4876# and sets the high bit in the cache file unless we assign to the vars. 4877{ 4878 (set) 2>&1 | 4879 case `(ac_space=' '; set | grep ac_space) 2>&1` in 4880 *ac_space=\ *) 4881 # `set' does not quote correctly, so add quotes (double-quote 4882 # substitution turns \\\\ into \\, and sed turns \\ into \). 4883 sed -n \ 4884 "s/'/'\\\\''/g; 4885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4886 ;; 4887 *) 4888 # `set' quotes correctly as required by POSIX, so do not add quotes. 4889 sed -n \ 4890 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 4891 ;; 4892 esac; 4893} | 4894 sed ' 4895 t clear 4896 : clear 4897 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4898 t end 4899 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4900 : end' >>confcache 4901if diff $cache_file confcache >/dev/null 2>&1; then :; else 4902 if test -w $cache_file; then 4903 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 4904 cat confcache >$cache_file 4905 else 4906 echo "not updating unwritable cache $cache_file" 4907 fi 4908fi 4909rm -f confcache 4910 4911test "x$prefix" = xNONE && prefix=$ac_default_prefix 4912# Let make expand exec_prefix. 4913test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4914 4915# VPATH may cause trouble with some makes, so we remove $(srcdir), 4916# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4917# trailing colons and then remove the whole line if VPATH becomes empty 4918# (actually we leave an empty line to preserve line numbers). 4919if test "x$srcdir" = x.; then 4920 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4921s/:*\$(srcdir):*/:/; 4922s/:*\${srcdir}:*/:/; 4923s/:*@srcdir@:*/:/; 4924s/^\([^=]*=[ ]*\):*/\1/; 4925s/:*$//; 4926s/^[^=]*=[ ]*$//; 4927}' 4928fi 4929 4930# Transform confdefs.h into DEFS. 4931# Protect against shell expansion while executing Makefile rules. 4932# Protect against Makefile macro expansion. 4933# 4934# If the first sed substitution is executed (which looks for macros that 4935# take arguments), then we branch to the quote section. Otherwise, 4936# look for a macro that doesn't take arguments. 4937cat >confdef2opt.sed <<\_ACEOF 4938t clear 4939: clear 4940s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 4941t quote 4942s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 4943t quote 4944d 4945: quote 4946s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 4947s,\[,\\&,g 4948s,\],\\&,g 4949s,\$,$$,g 4950p 4951_ACEOF 4952# We use echo to avoid assuming a particular line-breaking character. 4953# The extra dot is to prevent the shell from consuming trailing 4954# line-breaks from the sub-command output. A line-break within 4955# single-quotes doesn't work because, if this script is created in a 4956# platform that uses two characters for line-breaks (e.g., DOS), tr 4957# would break. 4958ac_LF_and_DOT=`echo; echo .` 4959DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 4960rm -f confdef2opt.sed 4961 4962 4963ac_libobjs= 4964ac_ltlibobjs= 4965for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4966 # 1. Remove the extension, and $U if already installed. 4967 ac_i=`echo "$ac_i" | 4968 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 4969 # 2. Add them. 4970 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 4971 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 4972done 4973LIBOBJS=$ac_libobjs 4974 4975LTLIBOBJS=$ac_ltlibobjs 4976 4977 4978if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4979 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 4980Usually this means the macro was only invoked conditionally." >&5 4981echo "$as_me: error: conditional \"AMDEP\" was never defined. 4982Usually this means the macro was only invoked conditionally." >&2;} 4983 { (exit 1); exit 1; }; } 4984fi 4985if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4986 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 4987Usually this means the macro was only invoked conditionally." >&5 4988echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 4989Usually this means the macro was only invoked conditionally." >&2;} 4990 { (exit 1); exit 1; }; } 4991fi 4992 4993: ${CONFIG_STATUS=./config.status} 4994ac_clean_files_save=$ac_clean_files 4995ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4996{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4997echo "$as_me: creating $CONFIG_STATUS" >&6;} 4998cat >$CONFIG_STATUS <<_ACEOF 4999#! $SHELL 5000# Generated by $as_me. 5001# Run this file to recreate the current configuration. 5002# Compiler output produced by configure, useful for debugging 5003# configure, is in config.log if it exists. 5004 5005debug=false 5006ac_cs_recheck=false 5007ac_cs_silent=false 5008SHELL=\${CONFIG_SHELL-$SHELL} 5009_ACEOF 5010 5011cat >>$CONFIG_STATUS <<\_ACEOF 5012## --------------------- ## 5013## M4sh Initialization. ## 5014## --------------------- ## 5015 5016# Be Bourne compatible 5017if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5018 emulate sh 5019 NULLCMD=: 5020 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5021 # is contrary to our usage. Disable this feature. 5022 alias -g '${1+"$@"}'='"$@"' 5023elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5024 set -o posix 5025fi 5026DUALCASE=1; export DUALCASE # for MKS sh 5027 5028# Support unset when possible. 5029if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5030 as_unset=unset 5031else 5032 as_unset=false 5033fi 5034 5035 5036# Work around bugs in pre-3.0 UWIN ksh. 5037$as_unset ENV MAIL MAILPATH 5038PS1='$ ' 5039PS2='> ' 5040PS4='+ ' 5041 5042# NLS nuisances. 5043for as_var in \ 5044 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5045 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5046 LC_TELEPHONE LC_TIME 5047do 5048 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5049 eval $as_var=C; export $as_var 5050 else 5051 $as_unset $as_var 5052 fi 5053done 5054 5055# Required to use basename. 5056if expr a : '\(a\)' >/dev/null 2>&1; then 5057 as_expr=expr 5058else 5059 as_expr=false 5060fi 5061 5062if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 5063 as_basename=basename 5064else 5065 as_basename=false 5066fi 5067 5068 5069# Name of the executable. 5070as_me=`$as_basename "$0" || 5071$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5072 X"$0" : 'X\(//\)$' \| \ 5073 X"$0" : 'X\(/\)$' \| \ 5074 . : '\(.\)' 2>/dev/null || 5075echo X/"$0" | 5076 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 5077 /^X\/\(\/\/\)$/{ s//\1/; q; } 5078 /^X\/\(\/\).*/{ s//\1/; q; } 5079 s/.*/./; q'` 5080 5081 5082# PATH needs CR, and LINENO needs CR and PATH. 5083# Avoid depending upon Character Ranges. 5084as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5085as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5086as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5087as_cr_digits='0123456789' 5088as_cr_alnum=$as_cr_Letters$as_cr_digits 5089 5090# The user is always right. 5091if test "${PATH_SEPARATOR+set}" != set; then 5092 echo "#! /bin/sh" >conf$$.sh 5093 echo "exit 0" >>conf$$.sh 5094 chmod +x conf$$.sh 5095 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5096 PATH_SEPARATOR=';' 5097 else 5098 PATH_SEPARATOR=: 5099 fi 5100 rm -f conf$$.sh 5101fi 5102 5103 5104 as_lineno_1=$LINENO 5105 as_lineno_2=$LINENO 5106 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5107 test "x$as_lineno_1" != "x$as_lineno_2" && 5108 test "x$as_lineno_3" = "x$as_lineno_2" || { 5109 # Find who we are. Look in the path if we contain no path at all 5110 # relative or not. 5111 case $0 in 5112 *[\\/]* ) as_myself=$0 ;; 5113 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5114for as_dir in $PATH 5115do 5116 IFS=$as_save_IFS 5117 test -z "$as_dir" && as_dir=. 5118 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5119done 5120 5121 ;; 5122 esac 5123 # We did not find ourselves, most probably we were run as `sh COMMAND' 5124 # in which case we are not to be found in the path. 5125 if test "x$as_myself" = x; then 5126 as_myself=$0 5127 fi 5128 if test ! -f "$as_myself"; then 5129 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 5130echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 5131 { (exit 1); exit 1; }; } 5132 fi 5133 case $CONFIG_SHELL in 5134 '') 5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5136for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 5137do 5138 IFS=$as_save_IFS 5139 test -z "$as_dir" && as_dir=. 5140 for as_base in sh bash ksh sh5; do 5141 case $as_dir in 5142 /*) 5143 if ("$as_dir/$as_base" -c ' 5144 as_lineno_1=$LINENO 5145 as_lineno_2=$LINENO 5146 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5147 test "x$as_lineno_1" != "x$as_lineno_2" && 5148 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 5149 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 5150 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 5151 CONFIG_SHELL=$as_dir/$as_base 5152 export CONFIG_SHELL 5153 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 5154 fi;; 5155 esac 5156 done 5157done 5158;; 5159 esac 5160 5161 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5162 # uniformly replaced by the line number. The first 'sed' inserts a 5163 # line-number line before each line; the second 'sed' does the real 5164 # work. The second script uses 'N' to pair each line-number line 5165 # with the numbered line, and appends trailing '-' during 5166 # substitution so that $LINENO is not a special case at line end. 5167 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5168 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 5169 sed '=' <$as_myself | 5170 sed ' 5171 N 5172 s,$,-, 5173 : loop 5174 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 5175 t loop 5176 s,-$,, 5177 s,^['$as_cr_digits']*\n,, 5178 ' >$as_me.lineno && 5179 chmod +x $as_me.lineno || 5180 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 5181echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 5182 { (exit 1); exit 1; }; } 5183 5184 # Don't try to exec as it changes $[0], causing all sort of problems 5185 # (the dirname of $[0] is not the place where we might find the 5186 # original and so on. Autoconf is especially sensible to this). 5187 . ./$as_me.lineno 5188 # Exit status is that of the last command. 5189 exit 5190} 5191 5192 5193case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 5194 *c*,-n*) ECHO_N= ECHO_C=' 5195' ECHO_T=' ' ;; 5196 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 5197 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 5198esac 5199 5200if expr a : '\(a\)' >/dev/null 2>&1; then 5201 as_expr=expr 5202else 5203 as_expr=false 5204fi 5205 5206rm -f conf$$ conf$$.exe conf$$.file 5207echo >conf$$.file 5208if ln -s conf$$.file conf$$ 2>/dev/null; then 5209 # We could just check for DJGPP; but this test a) works b) is more generic 5210 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 5211 if test -f conf$$.exe; then 5212 # Don't use ln at all; we don't have any links 5213 as_ln_s='cp -p' 5214 else 5215 as_ln_s='ln -s' 5216 fi 5217elif ln conf$$.file conf$$ 2>/dev/null; then 5218 as_ln_s=ln 5219else 5220 as_ln_s='cp -p' 5221fi 5222rm -f conf$$ conf$$.exe conf$$.file 5223 5224if mkdir -p . 2>/dev/null; then 5225 as_mkdir_p=: 5226else 5227 test -d ./-p && rmdir ./-p 5228 as_mkdir_p=false 5229fi 5230 5231as_executable_p="test -f" 5232 5233# Sed expression to map a string onto a valid CPP name. 5234as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5235 5236# Sed expression to map a string onto a valid variable name. 5237as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5238 5239 5240# IFS 5241# We need space, tab and new line, in precisely that order. 5242as_nl=' 5243' 5244IFS=" $as_nl" 5245 5246# CDPATH. 5247$as_unset CDPATH 5248 5249exec 6>&1 5250 5251# Open the log real soon, to keep \$[0] and so on meaningful, and to 5252# report actual input values of CONFIG_FILES etc. instead of their 5253# values after options handling. Logging --version etc. is OK. 5254exec 5>>config.log 5255{ 5256 echo 5257 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5258## Running $as_me. ## 5259_ASBOX 5260} >&5 5261cat >&5 <<_CSEOF 5262 5263This file was extended by $as_me, which was 5264generated by GNU Autoconf 2.59. Invocation command line was 5265 5266 CONFIG_FILES = $CONFIG_FILES 5267 CONFIG_HEADERS = $CONFIG_HEADERS 5268 CONFIG_LINKS = $CONFIG_LINKS 5269 CONFIG_COMMANDS = $CONFIG_COMMANDS 5270 $ $0 $@ 5271 5272_CSEOF 5273echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 5274echo >&5 5275_ACEOF 5276 5277# Files that config.status was made for. 5278if test -n "$ac_config_files"; then 5279 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 5280fi 5281 5282if test -n "$ac_config_headers"; then 5283 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 5284fi 5285 5286if test -n "$ac_config_links"; then 5287 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 5288fi 5289 5290if test -n "$ac_config_commands"; then 5291 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 5292fi 5293 5294cat >>$CONFIG_STATUS <<\_ACEOF 5295 5296ac_cs_usage="\ 5297\`$as_me' instantiates files from templates according to the 5298current configuration. 5299 5300Usage: $0 [OPTIONS] [FILE]... 5301 5302 -h, --help print this help, then exit 5303 -V, --version print version number, then exit 5304 -q, --quiet do not print progress messages 5305 -d, --debug don't remove temporary files 5306 --recheck update $as_me by reconfiguring in the same conditions 5307 --file=FILE[:TEMPLATE] 5308 instantiate the configuration file FILE 5309 5310Configuration files: 5311$config_files 5312 5313Configuration commands: 5314$config_commands 5315 5316Report bugs to <bug-autoconf@gnu.org>." 5317_ACEOF 5318 5319cat >>$CONFIG_STATUS <<_ACEOF 5320ac_cs_version="\\ 5321config.status 5322configured by $0, generated by GNU Autoconf 2.59, 5323 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 5324 5325Copyright (C) 2003 Free Software Foundation, Inc. 5326This config.status script is free software; the Free Software Foundation 5327gives unlimited permission to copy, distribute and modify it." 5328srcdir=$srcdir 5329INSTALL="$INSTALL" 5330_ACEOF 5331 5332cat >>$CONFIG_STATUS <<\_ACEOF 5333# If no file are specified by the user, then we need to provide default 5334# value. By we need to know if files were specified by the user. 5335ac_need_defaults=: 5336while test $# != 0 5337do 5338 case $1 in 5339 --*=*) 5340 ac_option=`expr "x$1" : 'x\([^=]*\)='` 5341 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 5342 ac_shift=: 5343 ;; 5344 -*) 5345 ac_option=$1 5346 ac_optarg=$2 5347 ac_shift=shift 5348 ;; 5349 *) # This is not an option, so the user has probably given explicit 5350 # arguments. 5351 ac_option=$1 5352 ac_need_defaults=false;; 5353 esac 5354 5355 case $ac_option in 5356 # Handling of the options. 5357_ACEOF 5358cat >>$CONFIG_STATUS <<\_ACEOF 5359 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5360 ac_cs_recheck=: ;; 5361 --version | --vers* | -V ) 5362 echo "$ac_cs_version"; exit 0 ;; 5363 --he | --h) 5364 # Conflict between --help and --header 5365 { { echo "$as_me:$LINENO: error: ambiguous option: $1 5366Try \`$0 --help' for more information." >&5 5367echo "$as_me: error: ambiguous option: $1 5368Try \`$0 --help' for more information." >&2;} 5369 { (exit 1); exit 1; }; };; 5370 --help | --hel | -h ) 5371 echo "$ac_cs_usage"; exit 0 ;; 5372 --debug | --d* | -d ) 5373 debug=: ;; 5374 --file | --fil | --fi | --f ) 5375 $ac_shift 5376 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 5377 ac_need_defaults=false;; 5378 --header | --heade | --head | --hea ) 5379 $ac_shift 5380 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 5381 ac_need_defaults=false;; 5382 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5383 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5384 ac_cs_silent=: ;; 5385 5386 # This is an error. 5387 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 5388Try \`$0 --help' for more information." >&5 5389echo "$as_me: error: unrecognized option: $1 5390Try \`$0 --help' for more information." >&2;} 5391 { (exit 1); exit 1; }; } ;; 5392 5393 *) ac_config_targets="$ac_config_targets $1" ;; 5394 5395 esac 5396 shift 5397done 5398 5399ac_configure_extra_args= 5400 5401if $ac_cs_silent; then 5402 exec 6>/dev/null 5403 ac_configure_extra_args="$ac_configure_extra_args --silent" 5404fi 5405 5406_ACEOF 5407cat >>$CONFIG_STATUS <<_ACEOF 5408if \$ac_cs_recheck; then 5409 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 5410 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5411fi 5412 5413_ACEOF 5414 5415cat >>$CONFIG_STATUS <<_ACEOF 5416# 5417# INIT-COMMANDS section. 5418# 5419 5420AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5421 5422_ACEOF 5423 5424 5425 5426cat >>$CONFIG_STATUS <<\_ACEOF 5427for ac_config_target in $ac_config_targets 5428do 5429 case "$ac_config_target" in 5430 # Handling of arguments. 5431 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5432 "pics/Makefile" ) CONFIG_FILES="$CONFIG_FILES pics/Makefile" ;; 5433 "pics/set1/Makefile" ) CONFIG_FILES="$CONFIG_FILES pics/set1/Makefile" ;; 5434 "pics/set2/Makefile" ) CONFIG_FILES="$CONFIG_FILES pics/set2/Makefile" ;; 5435 "pics/set3/Makefile" ) CONFIG_FILES="$CONFIG_FILES pics/set3/Makefile" ;; 5436 "sounds/Makefile" ) CONFIG_FILES="$CONFIG_FILES sounds/Makefile" ;; 5437 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 5438 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;; 5439 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5440 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5441echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5442 { (exit 1); exit 1; }; };; 5443 esac 5444done 5445 5446# If the user did not use the arguments to specify the items to instantiate, 5447# then the envvar interface is used. Set only those that are not. 5448# We use the long form for the default assignment because of an extremely 5449# bizarre bug on SunOS 4.1.3. 5450if $ac_need_defaults; then 5451 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5452 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5453fi 5454 5455# Have a temporary directory for convenience. Make it in the build tree 5456# simply because there is no reason to put it here, and in addition, 5457# creating and moving files from /tmp can sometimes cause problems. 5458# Create a temporary directory, and hook for its removal unless debugging. 5459$debug || 5460{ 5461 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 5462 trap '{ (exit 1); exit 1; }' 1 2 13 15 5463} 5464 5465# Create a (secure) tmp directory for tmp files. 5466 5467{ 5468 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 5469 test -n "$tmp" && test -d "$tmp" 5470} || 5471{ 5472 tmp=./confstat$$-$RANDOM 5473 (umask 077 && mkdir $tmp) 5474} || 5475{ 5476 echo "$me: cannot create a temporary directory in ." >&2 5477 { (exit 1); exit 1; } 5478} 5479 5480_ACEOF 5481 5482cat >>$CONFIG_STATUS <<_ACEOF 5483 5484# 5485# CONFIG_FILES section. 5486# 5487 5488# No need to generate the scripts if there are no CONFIG_FILES. 5489# This happens for instance when ./config.status config.h 5490if test -n "\$CONFIG_FILES"; then 5491 # Protect against being on the right side of a sed subst in config.status. 5492 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 5493 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 5494s,@SHELL@,$SHELL,;t t 5495s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 5496s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 5497s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 5498s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 5499s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 5500s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 5501s,@exec_prefix@,$exec_prefix,;t t 5502s,@prefix@,$prefix,;t t 5503s,@program_transform_name@,$program_transform_name,;t t 5504s,@bindir@,$bindir,;t t 5505s,@sbindir@,$sbindir,;t t 5506s,@libexecdir@,$libexecdir,;t t 5507s,@datadir@,$datadir,;t t 5508s,@sysconfdir@,$sysconfdir,;t t 5509s,@sharedstatedir@,$sharedstatedir,;t t 5510s,@localstatedir@,$localstatedir,;t t 5511s,@libdir@,$libdir,;t t 5512s,@includedir@,$includedir,;t t 5513s,@oldincludedir@,$oldincludedir,;t t 5514s,@infodir@,$infodir,;t t 5515s,@mandir@,$mandir,;t t 5516s,@build_alias@,$build_alias,;t t 5517s,@host_alias@,$host_alias,;t t 5518s,@target_alias@,$target_alias,;t t 5519s,@DEFS@,$DEFS,;t t 5520s,@ECHO_C@,$ECHO_C,;t t 5521s,@ECHO_N@,$ECHO_N,;t t 5522s,@ECHO_T@,$ECHO_T,;t t 5523s,@LIBS@,$LIBS,;t t 5524s,@build@,$build,;t t 5525s,@build_cpu@,$build_cpu,;t t 5526s,@build_vendor@,$build_vendor,;t t 5527s,@build_os@,$build_os,;t t 5528s,@host@,$host,;t t 5529s,@host_cpu@,$host_cpu,;t t 5530s,@host_vendor@,$host_vendor,;t t 5531s,@host_os@,$host_os,;t t 5532s,@target@,$target,;t t 5533s,@target_cpu@,$target_cpu,;t t 5534s,@target_vendor@,$target_vendor,;t t 5535s,@target_os@,$target_os,;t t 5536s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 5537s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 5538s,@INSTALL_DATA@,$INSTALL_DATA,;t t 5539s,@CYGPATH_W@,$CYGPATH_W,;t t 5540s,@PACKAGE@,$PACKAGE,;t t 5541s,@VERSION@,$VERSION,;t t 5542s,@ACLOCAL@,$ACLOCAL,;t t 5543s,@AUTOCONF@,$AUTOCONF,;t t 5544s,@AUTOMAKE@,$AUTOMAKE,;t t 5545s,@AUTOHEADER@,$AUTOHEADER,;t t 5546s,@MAKEINFO@,$MAKEINFO,;t t 5547s,@install_sh@,$install_sh,;t t 5548s,@STRIP@,$STRIP,;t t 5549s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 5550s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 5551s,@mkdir_p@,$mkdir_p,;t t 5552s,@AWK@,$AWK,;t t 5553s,@SET_MAKE@,$SET_MAKE,;t t 5554s,@am__leading_dot@,$am__leading_dot,;t t 5555s,@AMTAR@,$AMTAR,;t t 5556s,@am__tar@,$am__tar,;t t 5557s,@am__untar@,$am__untar,;t t 5558s,@CC@,$CC,;t t 5559s,@CFLAGS@,$CFLAGS,;t t 5560s,@LDFLAGS@,$LDFLAGS,;t t 5561s,@CPPFLAGS@,$CPPFLAGS,;t t 5562s,@ac_ct_CC@,$ac_ct_CC,;t t 5563s,@EXEEXT@,$EXEEXT,;t t 5564s,@OBJEXT@,$OBJEXT,;t t 5565s,@DEPDIR@,$DEPDIR,;t t 5566s,@am__include@,$am__include,;t t 5567s,@am__quote@,$am__quote,;t t 5568s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 5569s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 5570s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 5571s,@CCDEPMODE@,$CCDEPMODE,;t t 5572s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 5573s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 5574s,@CPP@,$CPP,;t t 5575s,@EGREP@,$EGREP,;t t 5576s,@LIBOBJS@,$LIBOBJS,;t t 5577s,@SDL_CONFIG@,$SDL_CONFIG,;t t 5578s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t 5579s,@SDL_LIBS@,$SDL_LIBS,;t t 5580s,@LTLIBOBJS@,$LTLIBOBJS,;t t 5581CEOF 5582 5583_ACEOF 5584 5585 cat >>$CONFIG_STATUS <<\_ACEOF 5586 # Split the substitutions into bite-sized pieces for seds with 5587 # small command number limits, like on Digital OSF/1 and HP-UX. 5588 ac_max_sed_lines=48 5589 ac_sed_frag=1 # Number of current file. 5590 ac_beg=1 # First line for current file. 5591 ac_end=$ac_max_sed_lines # Line after last line for current file. 5592 ac_more_lines=: 5593 ac_sed_cmds= 5594 while $ac_more_lines; do 5595 if test $ac_beg -gt 1; then 5596 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5597 else 5598 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5599 fi 5600 if test ! -s $tmp/subs.frag; then 5601 ac_more_lines=false 5602 else 5603 # The purpose of the label and of the branching condition is to 5604 # speed up the sed processing (if there are no `@' at all, there 5605 # is no need to browse any of the substitutions). 5606 # These are the two extra sed commands mentioned above. 5607 (echo ':t 5608 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 5609 if test -z "$ac_sed_cmds"; then 5610 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 5611 else 5612 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 5613 fi 5614 ac_sed_frag=`expr $ac_sed_frag + 1` 5615 ac_beg=$ac_end 5616 ac_end=`expr $ac_end + $ac_max_sed_lines` 5617 fi 5618 done 5619 if test -z "$ac_sed_cmds"; then 5620 ac_sed_cmds=cat 5621 fi 5622fi # test -n "$CONFIG_FILES" 5623 5624_ACEOF 5625cat >>$CONFIG_STATUS <<\_ACEOF 5626for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 5627 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5628 case $ac_file in 5629 - | *:- | *:-:* ) # input from stdin 5630 cat >$tmp/stdin 5631 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5632 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5633 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5634 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5635 * ) ac_file_in=$ac_file.in ;; 5636 esac 5637 5638 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 5639 ac_dir=`(dirname "$ac_file") 2>/dev/null || 5640$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5641 X"$ac_file" : 'X\(//\)[^/]' \| \ 5642 X"$ac_file" : 'X\(//\)$' \| \ 5643 X"$ac_file" : 'X\(/\)' \| \ 5644 . : '\(.\)' 2>/dev/null || 5645echo X"$ac_file" | 5646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5647 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5648 /^X\(\/\/\)$/{ s//\1/; q; } 5649 /^X\(\/\).*/{ s//\1/; q; } 5650 s/.*/./; q'` 5651 { if $as_mkdir_p; then 5652 mkdir -p "$ac_dir" 5653 else 5654 as_dir="$ac_dir" 5655 as_dirs= 5656 while test ! -d "$as_dir"; do 5657 as_dirs="$as_dir $as_dirs" 5658 as_dir=`(dirname "$as_dir") 2>/dev/null || 5659$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5660 X"$as_dir" : 'X\(//\)[^/]' \| \ 5661 X"$as_dir" : 'X\(//\)$' \| \ 5662 X"$as_dir" : 'X\(/\)' \| \ 5663 . : '\(.\)' 2>/dev/null || 5664echo X"$as_dir" | 5665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5666 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5667 /^X\(\/\/\)$/{ s//\1/; q; } 5668 /^X\(\/\).*/{ s//\1/; q; } 5669 s/.*/./; q'` 5670 done 5671 test ! -n "$as_dirs" || mkdir $as_dirs 5672 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 5673echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 5674 { (exit 1); exit 1; }; }; } 5675 5676 ac_builddir=. 5677 5678if test "$ac_dir" != .; then 5679 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5680 # A "../" for each directory in $ac_dir_suffix. 5681 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 5682else 5683 ac_dir_suffix= ac_top_builddir= 5684fi 5685 5686case $srcdir in 5687 .) # No --srcdir option. We are building in place. 5688 ac_srcdir=. 5689 if test -z "$ac_top_builddir"; then 5690 ac_top_srcdir=. 5691 else 5692 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 5693 fi ;; 5694 [\\/]* | ?:[\\/]* ) # Absolute path. 5695 ac_srcdir=$srcdir$ac_dir_suffix; 5696 ac_top_srcdir=$srcdir ;; 5697 *) # Relative path. 5698 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 5699 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5700esac 5701 5702# Do not use `cd foo && pwd` to compute absolute paths, because 5703# the directories may not exist. 5704case `pwd` in 5705.) ac_abs_builddir="$ac_dir";; 5706*) 5707 case "$ac_dir" in 5708 .) ac_abs_builddir=`pwd`;; 5709 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 5710 *) ac_abs_builddir=`pwd`/"$ac_dir";; 5711 esac;; 5712esac 5713case $ac_abs_builddir in 5714.) ac_abs_top_builddir=${ac_top_builddir}.;; 5715*) 5716 case ${ac_top_builddir}. in 5717 .) ac_abs_top_builddir=$ac_abs_builddir;; 5718 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 5719 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 5720 esac;; 5721esac 5722case $ac_abs_builddir in 5723.) ac_abs_srcdir=$ac_srcdir;; 5724*) 5725 case $ac_srcdir in 5726 .) ac_abs_srcdir=$ac_abs_builddir;; 5727 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 5728 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 5729 esac;; 5730esac 5731case $ac_abs_builddir in 5732.) ac_abs_top_srcdir=$ac_top_srcdir;; 5733*) 5734 case $ac_top_srcdir in 5735 .) ac_abs_top_srcdir=$ac_abs_builddir;; 5736 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 5737 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 5738 esac;; 5739esac 5740 5741 5742 case $INSTALL in 5743 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5744 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 5745 esac 5746 5747 if test x"$ac_file" != x-; then 5748 { echo "$as_me:$LINENO: creating $ac_file" >&5 5749echo "$as_me: creating $ac_file" >&6;} 5750 rm -f "$ac_file" 5751 fi 5752 # Let's still pretend it is `configure' which instantiates (i.e., don't 5753 # use $as_me), people would be surprised to read: 5754 # /* config.h. Generated by config.status. */ 5755 if test x"$ac_file" = x-; then 5756 configure_input= 5757 else 5758 configure_input="$ac_file. " 5759 fi 5760 configure_input=$configure_input"Generated from `echo $ac_file_in | 5761 sed 's,.*/,,'` by configure." 5762 5763 # First look for the input files in the build tree, otherwise in the 5764 # src tree. 5765 ac_file_inputs=`IFS=: 5766 for f in $ac_file_in; do 5767 case $f in 5768 -) echo $tmp/stdin ;; 5769 [\\/$]*) 5770 # Absolute (can't be DOS-style, as IFS=:) 5771 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5772echo "$as_me: error: cannot find input file: $f" >&2;} 5773 { (exit 1); exit 1; }; } 5774 echo "$f";; 5775 *) # Relative 5776 if test -f "$f"; then 5777 # Build tree 5778 echo "$f" 5779 elif test -f "$srcdir/$f"; then 5780 # Source tree 5781 echo "$srcdir/$f" 5782 else 5783 # /dev/null tree 5784 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5785echo "$as_me: error: cannot find input file: $f" >&2;} 5786 { (exit 1); exit 1; }; } 5787 fi;; 5788 esac 5789 done` || { (exit 1); exit 1; } 5790_ACEOF 5791cat >>$CONFIG_STATUS <<_ACEOF 5792 sed "$ac_vpsub 5793$extrasub 5794_ACEOF 5795cat >>$CONFIG_STATUS <<\_ACEOF 5796:t 5797/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5798s,@configure_input@,$configure_input,;t t 5799s,@srcdir@,$ac_srcdir,;t t 5800s,@abs_srcdir@,$ac_abs_srcdir,;t t 5801s,@top_srcdir@,$ac_top_srcdir,;t t 5802s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 5803s,@builddir@,$ac_builddir,;t t 5804s,@abs_builddir@,$ac_abs_builddir,;t t 5805s,@top_builddir@,$ac_top_builddir,;t t 5806s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 5807s,@INSTALL@,$ac_INSTALL,;t t 5808" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 5809 rm -f $tmp/stdin 5810 if test x"$ac_file" != x-; then 5811 mv $tmp/out $ac_file 5812 else 5813 cat $tmp/out 5814 rm -f $tmp/out 5815 fi 5816 5817done 5818_ACEOF 5819cat >>$CONFIG_STATUS <<\_ACEOF 5820 5821# 5822# CONFIG_COMMANDS section. 5823# 5824for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 5825 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 5826 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 5827 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 5828$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5829 X"$ac_dest" : 'X\(//\)[^/]' \| \ 5830 X"$ac_dest" : 'X\(//\)$' \| \ 5831 X"$ac_dest" : 'X\(/\)' \| \ 5832 . : '\(.\)' 2>/dev/null || 5833echo X"$ac_dest" | 5834 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5835 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5836 /^X\(\/\/\)$/{ s//\1/; q; } 5837 /^X\(\/\).*/{ s//\1/; q; } 5838 s/.*/./; q'` 5839 { if $as_mkdir_p; then 5840 mkdir -p "$ac_dir" 5841 else 5842 as_dir="$ac_dir" 5843 as_dirs= 5844 while test ! -d "$as_dir"; do 5845 as_dirs="$as_dir $as_dirs" 5846 as_dir=`(dirname "$as_dir") 2>/dev/null || 5847$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5848 X"$as_dir" : 'X\(//\)[^/]' \| \ 5849 X"$as_dir" : 'X\(//\)$' \| \ 5850 X"$as_dir" : 'X\(/\)' \| \ 5851 . : '\(.\)' 2>/dev/null || 5852echo X"$as_dir" | 5853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5854 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5855 /^X\(\/\/\)$/{ s//\1/; q; } 5856 /^X\(\/\).*/{ s//\1/; q; } 5857 s/.*/./; q'` 5858 done 5859 test ! -n "$as_dirs" || mkdir $as_dirs 5860 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 5861echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 5862 { (exit 1); exit 1; }; }; } 5863 5864 ac_builddir=. 5865 5866if test "$ac_dir" != .; then 5867 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5868 # A "../" for each directory in $ac_dir_suffix. 5869 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 5870else 5871 ac_dir_suffix= ac_top_builddir= 5872fi 5873 5874case $srcdir in 5875 .) # No --srcdir option. We are building in place. 5876 ac_srcdir=. 5877 if test -z "$ac_top_builddir"; then 5878 ac_top_srcdir=. 5879 else 5880 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 5881 fi ;; 5882 [\\/]* | ?:[\\/]* ) # Absolute path. 5883 ac_srcdir=$srcdir$ac_dir_suffix; 5884 ac_top_srcdir=$srcdir ;; 5885 *) # Relative path. 5886 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 5887 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5888esac 5889 5890# Do not use `cd foo && pwd` to compute absolute paths, because 5891# the directories may not exist. 5892case `pwd` in 5893.) ac_abs_builddir="$ac_dir";; 5894*) 5895 case "$ac_dir" in 5896 .) ac_abs_builddir=`pwd`;; 5897 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 5898 *) ac_abs_builddir=`pwd`/"$ac_dir";; 5899 esac;; 5900esac 5901case $ac_abs_builddir in 5902.) ac_abs_top_builddir=${ac_top_builddir}.;; 5903*) 5904 case ${ac_top_builddir}. in 5905 .) ac_abs_top_builddir=$ac_abs_builddir;; 5906 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 5907 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 5908 esac;; 5909esac 5910case $ac_abs_builddir in 5911.) ac_abs_srcdir=$ac_srcdir;; 5912*) 5913 case $ac_srcdir in 5914 .) ac_abs_srcdir=$ac_abs_builddir;; 5915 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 5916 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 5917 esac;; 5918esac 5919case $ac_abs_builddir in 5920.) ac_abs_top_srcdir=$ac_top_srcdir;; 5921*) 5922 case $ac_top_srcdir in 5923 .) ac_abs_top_srcdir=$ac_abs_builddir;; 5924 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 5925 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 5926 esac;; 5927esac 5928 5929 5930 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 5931echo "$as_me: executing $ac_dest commands" >&6;} 5932 case $ac_dest in 5933 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 5934 # Strip MF so we end up with the name of the file. 5935 mf=`echo "$mf" | sed -e 's/:.*$//'` 5936 # Check whether this is an Automake generated Makefile or not. 5937 # We used to match only the files named `Makefile.in', but 5938 # some people rename them; so instead we look at the file content. 5939 # Grep'ing the first line is not enough: some people post-process 5940 # each Makefile.in and add a new line on top of each file to say so. 5941 # So let's grep whole file. 5942 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 5943 dirpart=`(dirname "$mf") 2>/dev/null || 5944$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5945 X"$mf" : 'X\(//\)[^/]' \| \ 5946 X"$mf" : 'X\(//\)$' \| \ 5947 X"$mf" : 'X\(/\)' \| \ 5948 . : '\(.\)' 2>/dev/null || 5949echo X"$mf" | 5950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5951 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5952 /^X\(\/\/\)$/{ s//\1/; q; } 5953 /^X\(\/\).*/{ s//\1/; q; } 5954 s/.*/./; q'` 5955 else 5956 continue 5957 fi 5958 # Extract the definition of DEPDIR, am__include, and am__quote 5959 # from the Makefile without running `make'. 5960 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 5961 test -z "$DEPDIR" && continue 5962 am__include=`sed -n 's/^am__include = //p' < "$mf"` 5963 test -z "am__include" && continue 5964 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 5965 # When using ansi2knr, U may be empty or an underscore; expand it 5966 U=`sed -n 's/^U = //p' < "$mf"` 5967 # Find all dependency output files, they are included files with 5968 # $(DEPDIR) in their names. We invoke sed twice because it is the 5969 # simplest approach to changing $(DEPDIR) to its actual value in the 5970 # expansion. 5971 for file in `sed -n " 5972 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 5973 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 5974 # Make sure the directory exists. 5975 test -f "$dirpart/$file" && continue 5976 fdir=`(dirname "$file") 2>/dev/null || 5977$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5978 X"$file" : 'X\(//\)[^/]' \| \ 5979 X"$file" : 'X\(//\)$' \| \ 5980 X"$file" : 'X\(/\)' \| \ 5981 . : '\(.\)' 2>/dev/null || 5982echo X"$file" | 5983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5984 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5985 /^X\(\/\/\)$/{ s//\1/; q; } 5986 /^X\(\/\).*/{ s//\1/; q; } 5987 s/.*/./; q'` 5988 { if $as_mkdir_p; then 5989 mkdir -p $dirpart/$fdir 5990 else 5991 as_dir=$dirpart/$fdir 5992 as_dirs= 5993 while test ! -d "$as_dir"; do 5994 as_dirs="$as_dir $as_dirs" 5995 as_dir=`(dirname "$as_dir") 2>/dev/null || 5996$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5997 X"$as_dir" : 'X\(//\)[^/]' \| \ 5998 X"$as_dir" : 'X\(//\)$' \| \ 5999 X"$as_dir" : 'X\(/\)' \| \ 6000 . : '\(.\)' 2>/dev/null || 6001echo X"$as_dir" | 6002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6003 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6004 /^X\(\/\/\)$/{ s//\1/; q; } 6005 /^X\(\/\).*/{ s//\1/; q; } 6006 s/.*/./; q'` 6007 done 6008 test ! -n "$as_dirs" || mkdir $as_dirs 6009 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 6010echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 6011 { (exit 1); exit 1; }; }; } 6012 6013 # echo "creating $dirpart/$file" 6014 echo '# dummy' > "$dirpart/$file" 6015 done 6016done 6017 ;; 6018 esac 6019done 6020_ACEOF 6021 6022cat >>$CONFIG_STATUS <<\_ACEOF 6023 6024{ (exit 0); exit 0; } 6025_ACEOF 6026chmod +x $CONFIG_STATUS 6027ac_clean_files=$ac_clean_files_save 6028 6029 6030# configure is writing to config.log, and then calls config.status. 6031# config.status does its own redirection, appending to config.log. 6032# Unfortunately, on DOS this fails, as config.log is still kept open 6033# by configure, so config.status won't be able to write to it; its 6034# output is simply discarded. So we exec the FD to /dev/null, 6035# effectively closing config.log, so it can be properly (re)opened and 6036# appended to by config.status. When coming back to configure, we 6037# need to make the FD available again. 6038if test "$no_create" != yes; then 6039 ac_cs_success=: 6040 ac_config_status_args= 6041 test "$silent" = yes && 6042 ac_config_status_args="$ac_config_status_args --quiet" 6043 exec 5>/dev/null 6044 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6045 exec 5>>config.log 6046 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6047 # would make configure fail if this is the last instruction. 6048 $ac_cs_success || { (exit 1); exit 1; } 6049fi 6050 6051