1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.53 for heroes-data 1.5. 4# 5# Report bugs to <heroes-bugs@lists.sourceforge.net>. 6# 7# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 8# Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11# 12# Copyright 2000, 2001, 2002 Alexandre Duret-Lutz 13 14if expr a : '\(a\)' >/dev/null 2>&1; then 15 as_expr=expr 16else 17 as_expr=false 18fi 19 20 21## --------------------- ## 22## M4sh Initialization. ## 23## --------------------- ## 24 25# Be Bourne compatible 26if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 27 emulate sh 28 NULLCMD=: 29elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 30 set -o posix 31fi 32 33# NLS nuisances. 34# Support unset when possible. 35if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 36 as_unset=unset 37else 38 as_unset=false 39fi 40 41(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 42 { $as_unset LANG || test "${LANG+set}" != set; } || 43 { LANG=C; export LANG; } 44(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 45 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 46 { LC_ALL=C; export LC_ALL; } 47(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 48 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 49 { LC_TIME=C; export LC_TIME; } 50(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 51 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 52 { LC_CTYPE=C; export LC_CTYPE; } 53(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 54 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 55 { LANGUAGE=C; export LANGUAGE; } 56(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 57 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 58 { LC_COLLATE=C; export LC_COLLATE; } 59(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 60 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 61 { LC_NUMERIC=C; export LC_NUMERIC; } 62(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 63 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 64 { LC_MESSAGES=C; export LC_MESSAGES; } 65 66 67# Name of the executable. 68as_me=`(basename "$0") 2>/dev/null || 69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 70 X"$0" : 'X\(//\)$' \| \ 71 X"$0" : 'X\(/\)$' \| \ 72 . : '\(.\)' 2>/dev/null || 73echo X/"$0" | 74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 75 /^X\/\(\/\/\)$/{ s//\1/; q; } 76 /^X\/\(\/\).*/{ s//\1/; q; } 77 s/.*/./; q'` 78 79# PATH needs CR, and LINENO needs CR and PATH. 80# Avoid depending upon Character Ranges. 81as_cr_letters='abcdefghijklmnopqrstuvwxyz' 82as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 83as_cr_Letters=$as_cr_letters$as_cr_LETTERS 84as_cr_digits='0123456789' 85as_cr_alnum=$as_cr_Letters$as_cr_digits 86 87# The user is always right. 88if test "${PATH_SEPARATOR+set}" != set; then 89 echo "#! /bin/sh" >conftest.sh 90 echo "exit 0" >>conftest.sh 91 chmod +x conftest.sh 92 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 93 PATH_SEPARATOR=';' 94 else 95 PATH_SEPARATOR=: 96 fi 97 rm -f conftest.sh 98fi 99 100 101 as_lineno_1=$LINENO 102 as_lineno_2=$LINENO 103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 104 test "x$as_lineno_1" != "x$as_lineno_2" && 105 test "x$as_lineno_3" = "x$as_lineno_2" || { 106 # Find who we are. Look in the path if we contain no path at all 107 # relative or not. 108 case $0 in 109 *[\\/]* ) as_myself=$0 ;; 110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 111for as_dir in $PATH 112do 113 IFS=$as_save_IFS 114 test -z "$as_dir" && as_dir=. 115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 116done 117 118 ;; 119 esac 120 # We did not find ourselves, most probably we were run as `sh COMMAND' 121 # in which case we are not to be found in the path. 122 if test "x$as_myself" = x; then 123 as_myself=$0 124 fi 125 if test ! -f "$as_myself"; then 126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 127 { (exit 1); exit 1; }; } 128 fi 129 case $CONFIG_SHELL in 130 '') 131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 132for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 133do 134 IFS=$as_save_IFS 135 test -z "$as_dir" && as_dir=. 136 for as_base in sh bash ksh sh5; do 137 case $as_dir in 138 /*) 139 if ("$as_dir/$as_base" -c ' 140 as_lineno_1=$LINENO 141 as_lineno_2=$LINENO 142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 143 test "x$as_lineno_1" != "x$as_lineno_2" && 144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 145 CONFIG_SHELL=$as_dir/$as_base 146 export CONFIG_SHELL 147 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 148 fi;; 149 esac 150 done 151done 152;; 153 esac 154 155 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 156 # uniformly replaced by the line number. The first 'sed' inserts a 157 # line-number line before each line; the second 'sed' does the real 158 # work. The second script uses 'N' to pair each line-number line 159 # with the numbered line, and appends trailing '-' during 160 # substitution so that $LINENO is not a special case at line end. 161 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 162 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 163 sed '=' <$as_myself | 164 sed ' 165 N 166 s,$,-, 167 : loop 168 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 169 t loop 170 s,-$,, 171 s,^['$as_cr_digits']*\n,, 172 ' >$as_me.lineno && 173 chmod +x $as_me.lineno || 174 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 175 { (exit 1); exit 1; }; } 176 177 # Don't try to exec as it changes $[0], causing all sort of problems 178 # (the dirname of $[0] is not the place where we might find the 179 # original and so on. Autoconf is especially sensible to this). 180 . ./$as_me.lineno 181 # Exit status is that of the last command. 182 exit 183} 184 185 186case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 187 *c*,-n*) ECHO_N= ECHO_C=' 188' ECHO_T=' ' ;; 189 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 190 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 191esac 192 193if expr a : '\(a\)' >/dev/null 2>&1; then 194 as_expr=expr 195else 196 as_expr=false 197fi 198 199rm -f conf$$ conf$$.exe conf$$.file 200echo >conf$$.file 201if ln -s conf$$.file conf$$ 2>/dev/null; then 202 # We could just check for DJGPP; but this test a) works b) is more generic 203 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 204 if test -f conf$$.exe; then 205 # Don't use ln at all; we don't have any links 206 as_ln_s='cp -p' 207 else 208 as_ln_s='ln -s' 209 fi 210elif ln conf$$.file conf$$ 2>/dev/null; then 211 as_ln_s=ln 212else 213 as_ln_s='cp -p' 214fi 215rm -f conf$$ conf$$.exe conf$$.file 216 217as_executable_p="test -f" 218 219# Sed expression to map a string onto a valid CPP name. 220as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 221 222# Sed expression to map a string onto a valid variable name. 223as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 224 225 226# IFS 227# We need space, tab and new line, in precisely that order. 228as_nl=' 229' 230IFS=" $as_nl" 231 232# CDPATH. 233$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 234 235 236# Name of the host. 237# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 238# so uname gets run too. 239ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 240 241exec 6>&1 242 243# 244# Initializations. 245# 246ac_default_prefix=/usr/local 247cross_compiling=no 248subdirs= 249MFLAGS= 250MAKEFLAGS= 251SHELL=${CONFIG_SHELL-/bin/sh} 252 253# Maximum number of lines to put in a shell here document. 254# This variable seems obsolete. It should probably be removed, and 255# only ac_max_sed_lines should be used. 256: ${ac_max_here_lines=38} 257 258# Identity of this package. 259PACKAGE_NAME='heroes-data' 260PACKAGE_TARNAME='heroes-data' 261PACKAGE_VERSION='1.5' 262PACKAGE_STRING='heroes-data 1.5' 263PACKAGE_BUGREPORT='heroes-bugs@lists.sourceforge.net' 264 265ac_unique_file="pics/heroes.pcx" 266 267# Initialize some variables set by options. 268ac_init_help= 269ac_init_version=false 270# The variables have the same names as the options, with 271# dashes changed to underlines. 272cache_file=/dev/null 273exec_prefix=NONE 274no_create= 275no_recursion= 276prefix=NONE 277program_prefix=NONE 278program_suffix=NONE 279program_transform_name=s,x,x, 280silent= 281site= 282srcdir= 283verbose= 284x_includes=NONE 285x_libraries=NONE 286 287# Installation directory options. 288# These are left unexpanded so users can "make install exec_prefix=/foo" 289# and all the variables that are supposed to be based on exec_prefix 290# by default will actually change. 291# Use braces instead of parens because sh, perl, etc. also accept them. 292bindir='${exec_prefix}/bin' 293sbindir='${exec_prefix}/sbin' 294libexecdir='${exec_prefix}/libexec' 295datadir='${prefix}/share' 296sysconfdir='${prefix}/etc' 297sharedstatedir='${prefix}/com' 298localstatedir='${prefix}/var' 299libdir='${exec_prefix}/lib' 300includedir='${prefix}/include' 301oldincludedir='/usr/include' 302infodir='${prefix}/info' 303mandir='${prefix}/man' 304 305ac_prev= 306for ac_option 307do 308 # If the previous option needs an argument, assign it. 309 if test -n "$ac_prev"; then 310 eval "$ac_prev=\$ac_option" 311 ac_prev= 312 continue 313 fi 314 315 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 316 317 # Accept the important Cygnus configure options, so we can diagnose typos. 318 319 case $ac_option in 320 321 -bindir | --bindir | --bindi | --bind | --bin | --bi) 322 ac_prev=bindir ;; 323 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 324 bindir=$ac_optarg ;; 325 326 -build | --build | --buil | --bui | --bu) 327 ac_prev=build_alias ;; 328 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 329 build_alias=$ac_optarg ;; 330 331 -cache-file | --cache-file | --cache-fil | --cache-fi \ 332 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 333 ac_prev=cache_file ;; 334 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 335 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 336 cache_file=$ac_optarg ;; 337 338 --config-cache | -C) 339 cache_file=config.cache ;; 340 341 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 342 ac_prev=datadir ;; 343 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 344 | --da=*) 345 datadir=$ac_optarg ;; 346 347 -disable-* | --disable-*) 348 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 349 # Reject names that are not valid shell variable names. 350 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 351 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 352 { (exit 1); exit 1; }; } 353 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 354 eval "enable_$ac_feature=no" ;; 355 356 -enable-* | --enable-*) 357 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 358 # Reject names that are not valid shell variable names. 359 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 360 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 361 { (exit 1); exit 1; }; } 362 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 363 case $ac_option in 364 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 365 *) ac_optarg=yes ;; 366 esac 367 eval "enable_$ac_feature='$ac_optarg'" ;; 368 369 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 370 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 371 | --exec | --exe | --ex) 372 ac_prev=exec_prefix ;; 373 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 374 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 375 | --exec=* | --exe=* | --ex=*) 376 exec_prefix=$ac_optarg ;; 377 378 -gas | --gas | --ga | --g) 379 # Obsolete; use --with-gas. 380 with_gas=yes ;; 381 382 -help | --help | --hel | --he | -h) 383 ac_init_help=long ;; 384 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 385 ac_init_help=recursive ;; 386 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 387 ac_init_help=short ;; 388 389 -host | --host | --hos | --ho) 390 ac_prev=host_alias ;; 391 -host=* | --host=* | --hos=* | --ho=*) 392 host_alias=$ac_optarg ;; 393 394 -includedir | --includedir | --includedi | --included | --include \ 395 | --includ | --inclu | --incl | --inc) 396 ac_prev=includedir ;; 397 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 398 | --includ=* | --inclu=* | --incl=* | --inc=*) 399 includedir=$ac_optarg ;; 400 401 -infodir | --infodir | --infodi | --infod | --info | --inf) 402 ac_prev=infodir ;; 403 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 404 infodir=$ac_optarg ;; 405 406 -libdir | --libdir | --libdi | --libd) 407 ac_prev=libdir ;; 408 -libdir=* | --libdir=* | --libdi=* | --libd=*) 409 libdir=$ac_optarg ;; 410 411 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 412 | --libexe | --libex | --libe) 413 ac_prev=libexecdir ;; 414 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 415 | --libexe=* | --libex=* | --libe=*) 416 libexecdir=$ac_optarg ;; 417 418 -localstatedir | --localstatedir | --localstatedi | --localstated \ 419 | --localstate | --localstat | --localsta | --localst \ 420 | --locals | --local | --loca | --loc | --lo) 421 ac_prev=localstatedir ;; 422 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 423 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 424 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 425 localstatedir=$ac_optarg ;; 426 427 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 428 ac_prev=mandir ;; 429 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 430 mandir=$ac_optarg ;; 431 432 -nfp | --nfp | --nf) 433 # Obsolete; use --without-fp. 434 with_fp=no ;; 435 436 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 437 | --no-cr | --no-c | -n) 438 no_create=yes ;; 439 440 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 441 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 442 no_recursion=yes ;; 443 444 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 445 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 446 | --oldin | --oldi | --old | --ol | --o) 447 ac_prev=oldincludedir ;; 448 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 449 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 450 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 451 oldincludedir=$ac_optarg ;; 452 453 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 454 ac_prev=prefix ;; 455 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 456 prefix=$ac_optarg ;; 457 458 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 459 | --program-pre | --program-pr | --program-p) 460 ac_prev=program_prefix ;; 461 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 462 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 463 program_prefix=$ac_optarg ;; 464 465 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 466 | --program-suf | --program-su | --program-s) 467 ac_prev=program_suffix ;; 468 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 469 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 470 program_suffix=$ac_optarg ;; 471 472 -program-transform-name | --program-transform-name \ 473 | --program-transform-nam | --program-transform-na \ 474 | --program-transform-n | --program-transform- \ 475 | --program-transform | --program-transfor \ 476 | --program-transfo | --program-transf \ 477 | --program-trans | --program-tran \ 478 | --progr-tra | --program-tr | --program-t) 479 ac_prev=program_transform_name ;; 480 -program-transform-name=* | --program-transform-name=* \ 481 | --program-transform-nam=* | --program-transform-na=* \ 482 | --program-transform-n=* | --program-transform-=* \ 483 | --program-transform=* | --program-transfor=* \ 484 | --program-transfo=* | --program-transf=* \ 485 | --program-trans=* | --program-tran=* \ 486 | --progr-tra=* | --program-tr=* | --program-t=*) 487 program_transform_name=$ac_optarg ;; 488 489 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 490 | -silent | --silent | --silen | --sile | --sil) 491 silent=yes ;; 492 493 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 494 ac_prev=sbindir ;; 495 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 496 | --sbi=* | --sb=*) 497 sbindir=$ac_optarg ;; 498 499 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 500 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 501 | --sharedst | --shareds | --shared | --share | --shar \ 502 | --sha | --sh) 503 ac_prev=sharedstatedir ;; 504 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 505 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 506 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 507 | --sha=* | --sh=*) 508 sharedstatedir=$ac_optarg ;; 509 510 -site | --site | --sit) 511 ac_prev=site ;; 512 -site=* | --site=* | --sit=*) 513 site=$ac_optarg ;; 514 515 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 516 ac_prev=srcdir ;; 517 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 518 srcdir=$ac_optarg ;; 519 520 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 521 | --syscon | --sysco | --sysc | --sys | --sy) 522 ac_prev=sysconfdir ;; 523 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 524 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 525 sysconfdir=$ac_optarg ;; 526 527 -target | --target | --targe | --targ | --tar | --ta | --t) 528 ac_prev=target_alias ;; 529 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 530 target_alias=$ac_optarg ;; 531 532 -v | -verbose | --verbose | --verbos | --verbo | --verb) 533 verbose=yes ;; 534 535 -version | --version | --versio | --versi | --vers | -V) 536 ac_init_version=: ;; 537 538 -with-* | --with-*) 539 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 540 # Reject names that are not valid shell variable names. 541 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 542 { echo "$as_me: error: invalid package name: $ac_package" >&2 543 { (exit 1); exit 1; }; } 544 ac_package=`echo $ac_package| sed 's/-/_/g'` 545 case $ac_option in 546 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 547 *) ac_optarg=yes ;; 548 esac 549 eval "with_$ac_package='$ac_optarg'" ;; 550 551 -without-* | --without-*) 552 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 553 # Reject names that are not valid shell variable names. 554 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 555 { echo "$as_me: error: invalid package name: $ac_package" >&2 556 { (exit 1); exit 1; }; } 557 ac_package=`echo $ac_package | sed 's/-/_/g'` 558 eval "with_$ac_package=no" ;; 559 560 --x) 561 # Obsolete; use --with-x. 562 with_x=yes ;; 563 564 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 565 | --x-incl | --x-inc | --x-in | --x-i) 566 ac_prev=x_includes ;; 567 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 568 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 569 x_includes=$ac_optarg ;; 570 571 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 572 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 573 ac_prev=x_libraries ;; 574 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 575 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 576 x_libraries=$ac_optarg ;; 577 578 -*) { echo "$as_me: error: unrecognized option: $ac_option 579Try \`$0 --help' for more information." >&2 580 { (exit 1); exit 1; }; } 581 ;; 582 583 *=*) 584 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 585 # Reject names that are not valid shell variable names. 586 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 587 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 588 { (exit 1); exit 1; }; } 589 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 590 eval "$ac_envvar='$ac_optarg'" 591 export $ac_envvar ;; 592 593 *) 594 # FIXME: should be removed in autoconf 3.0. 595 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 596 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 597 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 598 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 599 ;; 600 601 esac 602done 603 604if test -n "$ac_prev"; then 605 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 606 { echo "$as_me: error: missing argument to $ac_option" >&2 607 { (exit 1); exit 1; }; } 608fi 609 610# Be sure to have absolute paths. 611for ac_var in exec_prefix prefix 612do 613 eval ac_val=$`echo $ac_var` 614 case $ac_val in 615 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 616 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 617 { (exit 1); exit 1; }; };; 618 esac 619done 620 621# Be sure to have absolute paths. 622for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 623 localstatedir libdir includedir oldincludedir infodir mandir 624do 625 eval ac_val=$`echo $ac_var` 626 case $ac_val in 627 [\\/$]* | ?:[\\/]* ) ;; 628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 629 { (exit 1); exit 1; }; };; 630 esac 631done 632 633# There might be people who depend on the old broken behavior: `$host' 634# used to hold the argument of --host etc. 635# FIXME: To remove some day. 636build=$build_alias 637host=$host_alias 638target=$target_alias 639 640# FIXME: To remove some day. 641if test "x$host_alias" != x; then 642 if test "x$build_alias" = x; then 643 cross_compiling=maybe 644 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 645 If a cross compiler is detected then cross compile mode will be used." >&2 646 elif test "x$build_alias" != "x$host_alias"; then 647 cross_compiling=yes 648 fi 649fi 650 651ac_tool_prefix= 652test -n "$host_alias" && ac_tool_prefix=$host_alias- 653 654test "$silent" = yes && exec 6>/dev/null 655 656 657# Find the source files, if location was not specified. 658if test -z "$srcdir"; then 659 ac_srcdir_defaulted=yes 660 # Try the directory containing this script, then its parent. 661 ac_confdir=`(dirname "$0") 2>/dev/null || 662$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 663 X"$0" : 'X\(//\)[^/]' \| \ 664 X"$0" : 'X\(//\)$' \| \ 665 X"$0" : 'X\(/\)' \| \ 666 . : '\(.\)' 2>/dev/null || 667echo X"$0" | 668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 669 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 670 /^X\(\/\/\)$/{ s//\1/; q; } 671 /^X\(\/\).*/{ s//\1/; q; } 672 s/.*/./; q'` 673 srcdir=$ac_confdir 674 if test ! -r $srcdir/$ac_unique_file; then 675 srcdir=.. 676 fi 677else 678 ac_srcdir_defaulted=no 679fi 680if test ! -r $srcdir/$ac_unique_file; then 681 if test "$ac_srcdir_defaulted" = yes; then 682 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 683 { (exit 1); exit 1; }; } 684 else 685 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 686 { (exit 1); exit 1; }; } 687 fi 688fi 689srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 690ac_env_build_alias_set=${build_alias+set} 691ac_env_build_alias_value=$build_alias 692ac_cv_env_build_alias_set=${build_alias+set} 693ac_cv_env_build_alias_value=$build_alias 694ac_env_host_alias_set=${host_alias+set} 695ac_env_host_alias_value=$host_alias 696ac_cv_env_host_alias_set=${host_alias+set} 697ac_cv_env_host_alias_value=$host_alias 698ac_env_target_alias_set=${target_alias+set} 699ac_env_target_alias_value=$target_alias 700ac_cv_env_target_alias_set=${target_alias+set} 701ac_cv_env_target_alias_value=$target_alias 702 703# 704# Report the --help message. 705# 706if test "$ac_init_help" = "long"; then 707 # Omit some internal or obsolete options to make the list less imposing. 708 # This message is too long to be a string in the A/UX 3.1 sh. 709 cat <<_ACEOF 710\`configure' configures heroes-data 1.5 to adapt to many kinds of systems. 711 712Usage: $0 [OPTION]... [VAR=VALUE]... 713 714To assign environment variables (e.g., CC, CFLAGS...), specify them as 715VAR=VALUE. See below for descriptions of some of the useful variables. 716 717Defaults for the options are specified in brackets. 718 719Configuration: 720 -h, --help display this help and exit 721 --help=short display options specific to this package 722 --help=recursive display the short help of all the included packages 723 -V, --version display version information and exit 724 -q, --quiet, --silent do not print \`checking...' messages 725 --cache-file=FILE cache test results in FILE [disabled] 726 -C, --config-cache alias for \`--cache-file=config.cache' 727 -n, --no-create do not create output files 728 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 729 730_ACEOF 731 732 cat <<_ACEOF 733Installation directories: 734 --prefix=PREFIX install architecture-independent files in PREFIX 735 [$ac_default_prefix] 736 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 737 [PREFIX] 738 739By default, \`make install' will install all the files in 740\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 741an installation prefix other than \`$ac_default_prefix' using \`--prefix', 742for instance \`--prefix=\$HOME'. 743 744For better control, use the options below. 745 746Fine tuning of the installation directories: 747 --bindir=DIR user executables [EPREFIX/bin] 748 --sbindir=DIR system admin executables [EPREFIX/sbin] 749 --libexecdir=DIR program executables [EPREFIX/libexec] 750 --datadir=DIR read-only architecture-independent data [PREFIX/share] 751 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 752 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 753 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 754 --libdir=DIR object code libraries [EPREFIX/lib] 755 --includedir=DIR C header files [PREFIX/include] 756 --oldincludedir=DIR C header files for non-gcc [/usr/include] 757 --infodir=DIR info documentation [PREFIX/info] 758 --mandir=DIR man documentation [PREFIX/man] 759_ACEOF 760 761 cat <<\_ACEOF 762 763Program names: 764 --program-prefix=PREFIX prepend PREFIX to installed program names 765 --program-suffix=SUFFIX append SUFFIX to installed program names 766 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 767_ACEOF 768fi 769 770if test -n "$ac_init_help"; then 771 case $ac_init_help in 772 short | recursive ) echo "Configuration of heroes-data 1.5:";; 773 esac 774 cat <<\_ACEOF 775 776Report bugs to <heroes-bugs@lists.sourceforge.net>. 777_ACEOF 778fi 779 780if test "$ac_init_help" = "recursive"; then 781 # If there are subdirs, report their specific --help. 782 ac_popdir=`pwd` 783 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 784 test -d $ac_dir || continue 785 ac_builddir=. 786 787if test "$ac_dir" != .; then 788 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 789 # A "../" for each directory in $ac_dir_suffix. 790 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 791else 792 ac_dir_suffix= ac_top_builddir= 793fi 794 795case $srcdir in 796 .) # No --srcdir option. We are building in place. 797 ac_srcdir=. 798 if test -z "$ac_top_builddir"; then 799 ac_top_srcdir=. 800 else 801 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 802 fi ;; 803 [\\/]* | ?:[\\/]* ) # Absolute path. 804 ac_srcdir=$srcdir$ac_dir_suffix; 805 ac_top_srcdir=$srcdir ;; 806 *) # Relative path. 807 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 808 ac_top_srcdir=$ac_top_builddir$srcdir ;; 809esac 810# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 811# absolute. 812ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 813ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 814ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 815ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 816 817 cd $ac_dir 818 # Check for guested configure; otherwise get Cygnus style configure. 819 if test -f $ac_srcdir/configure.gnu; then 820 echo 821 $SHELL $ac_srcdir/configure.gnu --help=recursive 822 elif test -f $ac_srcdir/configure; then 823 echo 824 $SHELL $ac_srcdir/configure --help=recursive 825 elif test -f $ac_srcdir/configure.ac || 826 test -f $ac_srcdir/configure.in; then 827 echo 828 $ac_configure --help 829 else 830 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 831 fi 832 cd $ac_popdir 833 done 834fi 835 836test -n "$ac_init_help" && exit 0 837if $ac_init_version; then 838 cat <<\_ACEOF 839heroes-data configure 1.5 840generated by GNU Autoconf 2.53 841 842Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 843Free Software Foundation, Inc. 844This configure script is free software; the Free Software Foundation 845gives unlimited permission to copy, distribute and modify it. 846 847Copyright 2000, 2001, 2002 Alexandre Duret-Lutz 848_ACEOF 849 exit 0 850fi 851exec 5>config.log 852cat >&5 <<_ACEOF 853This file contains any messages produced by compilers while 854running configure, to aid debugging if configure makes a mistake. 855 856It was created by heroes-data $as_me 1.5, which was 857generated by GNU Autoconf 2.53. Invocation command line was 858 859 $ $0 $@ 860 861_ACEOF 862{ 863cat <<_ASUNAME 864## --------- ## 865## Platform. ## 866## --------- ## 867 868hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 869uname -m = `(uname -m) 2>/dev/null || echo unknown` 870uname -r = `(uname -r) 2>/dev/null || echo unknown` 871uname -s = `(uname -s) 2>/dev/null || echo unknown` 872uname -v = `(uname -v) 2>/dev/null || echo unknown` 873 874/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 875/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 876 877/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 878/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 879/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 880hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 881/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 882/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 883/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 884 885_ASUNAME 886 887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 888for as_dir in $PATH 889do 890 IFS=$as_save_IFS 891 test -z "$as_dir" && as_dir=. 892 echo "PATH: $as_dir" 893done 894 895} >&5 896 897cat >&5 <<_ACEOF 898 899 900## ----------- ## 901## Core tests. ## 902## ----------- ## 903 904_ACEOF 905 906 907# Keep a trace of the command line. 908# Strip out --no-create and --no-recursion so they do not pile up. 909# Also quote any args containing shell meta-characters. 910ac_configure_args= 911ac_sep= 912for ac_arg 913do 914 case $ac_arg in 915 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 916 | --no-cr | --no-c | -n ) continue ;; 917 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 918 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 919 continue ;; 920 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 921 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 922 esac 923 case " $ac_configure_args " in 924 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 925 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 926 ac_sep=" " ;; 927 esac 928 # Get rid of the leading space. 929done 930 931# When interrupted or exit'd, cleanup temporary files, and complete 932# config.log. We remove comments because anyway the quotes in there 933# would cause problems or look ugly. 934# WARNING: Be sure not to use single quotes in there, as some shells, 935# such as our DU 5.0 friend, will then `close' the trap. 936trap 'exit_status=$? 937 # Save into config.log some information that might help in debugging. 938 { 939 echo 940 cat <<\_ASBOX 941## ---------------- ## 942## Cache variables. ## 943## ---------------- ## 944_ASBOX 945 echo 946 # The following way of writing the cache mishandles newlines in values, 947{ 948 (set) 2>&1 | 949 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 950 *ac_space=\ *) 951 sed -n \ 952 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 954 ;; 955 *) 956 sed -n \ 957 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 958 ;; 959 esac; 960} 961 echo 962 if test -s confdefs.h; then 963 cat <<\_ASBOX 964## ----------- ## 965## confdefs.h. ## 966## ----------- ## 967_ASBOX 968 echo 969 sed "/^$/d" confdefs.h 970 echo 971 fi 972 test "$ac_signal" != 0 && 973 echo "$as_me: caught signal $ac_signal" 974 echo "$as_me: exit $exit_status" 975 } >&5 976 rm -f core core.* *.core && 977 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 978 exit $exit_status 979 ' 0 980for ac_signal in 1 2 13 15; do 981 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 982done 983ac_signal=0 984 985# confdefs.h avoids OS command line length limits that DEFS can exceed. 986rm -rf conftest* confdefs.h 987# AIX cpp loses on an empty file, so make sure it contains at least a newline. 988echo >confdefs.h 989 990# Predefined preprocessor variables. 991 992cat >>confdefs.h <<_ACEOF 993#define PACKAGE_NAME "$PACKAGE_NAME" 994_ACEOF 995 996 997cat >>confdefs.h <<_ACEOF 998#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 999_ACEOF 1000 1001 1002cat >>confdefs.h <<_ACEOF 1003#define PACKAGE_VERSION "$PACKAGE_VERSION" 1004_ACEOF 1005 1006 1007cat >>confdefs.h <<_ACEOF 1008#define PACKAGE_STRING "$PACKAGE_STRING" 1009_ACEOF 1010 1011 1012cat >>confdefs.h <<_ACEOF 1013#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1014_ACEOF 1015 1016 1017# Let the site file select an alternate cache file if it wants to. 1018# Prefer explicitly selected file to automatically selected ones. 1019if test -z "$CONFIG_SITE"; then 1020 if test "x$prefix" != xNONE; then 1021 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1022 else 1023 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1024 fi 1025fi 1026for ac_site_file in $CONFIG_SITE; do 1027 if test -r "$ac_site_file"; then 1028 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1029echo "$as_me: loading site script $ac_site_file" >&6;} 1030 sed 's/^/| /' "$ac_site_file" >&5 1031 . "$ac_site_file" 1032 fi 1033done 1034 1035if test -r "$cache_file"; then 1036 # Some versions of bash will fail to source /dev/null (special 1037 # files actually), so we avoid doing that. 1038 if test -f "$cache_file"; then 1039 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1040echo "$as_me: loading cache $cache_file" >&6;} 1041 case $cache_file in 1042 [\\/]* | ?:[\\/]* ) . $cache_file;; 1043 *) . ./$cache_file;; 1044 esac 1045 fi 1046else 1047 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1048echo "$as_me: creating cache $cache_file" >&6;} 1049 >$cache_file 1050fi 1051 1052# Check that the precious variables saved in the cache have kept the same 1053# value. 1054ac_cache_corrupted=false 1055for ac_var in `(set) 2>&1 | 1056 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1057 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1058 eval ac_new_set=\$ac_env_${ac_var}_set 1059 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1060 eval ac_new_val="\$ac_env_${ac_var}_value" 1061 case $ac_old_set,$ac_new_set in 1062 set,) 1063 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1064echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1065 ac_cache_corrupted=: ;; 1066 ,set) 1067 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1068echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1069 ac_cache_corrupted=: ;; 1070 ,);; 1071 *) 1072 if test "x$ac_old_val" != "x$ac_new_val"; then 1073 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1074echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1075 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1076echo "$as_me: former value: $ac_old_val" >&2;} 1077 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1078echo "$as_me: current value: $ac_new_val" >&2;} 1079 ac_cache_corrupted=: 1080 fi;; 1081 esac 1082 # Pass precious variables to config.status. 1083 if test "$ac_new_set" = set; then 1084 case $ac_new_val in 1085 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1086 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1087 *) ac_arg=$ac_var=$ac_new_val ;; 1088 esac 1089 case " $ac_configure_args " in 1090 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1091 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1092 esac 1093 fi 1094done 1095if $ac_cache_corrupted; then 1096 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1097echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1098 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1099echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1100 { (exit 1); exit 1; }; } 1101fi 1102 1103ac_ext=c 1104ac_cpp='$CPP $CPPFLAGS' 1105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1106ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1107ac_compiler_gnu=$ac_cv_c_compiler_gnu 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134ac_aux_dir= 1135for ac_dir in tools $srcdir/tools; do 1136 if test -f $ac_dir/install-sh; then 1137 ac_aux_dir=$ac_dir 1138 ac_install_sh="$ac_aux_dir/install-sh -c" 1139 break 1140 elif test -f $ac_dir/install.sh; then 1141 ac_aux_dir=$ac_dir 1142 ac_install_sh="$ac_aux_dir/install.sh -c" 1143 break 1144 elif test -f $ac_dir/shtool; then 1145 ac_aux_dir=$ac_dir 1146 ac_install_sh="$ac_aux_dir/shtool install -c" 1147 break 1148 fi 1149done 1150if test -z "$ac_aux_dir"; then 1151 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5 1152echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;} 1153 { (exit 1); exit 1; }; } 1154fi 1155ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1156ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1157ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1158 1159 1160am__api_version="1.6" 1161# Find a good install program. We prefer a C program (faster), 1162# so one script is as good as another. But avoid the broken or 1163# incompatible versions: 1164# SysV /etc/install, /usr/sbin/install 1165# SunOS /usr/etc/install 1166# IRIX /sbin/install 1167# AIX /bin/install 1168# AmigaOS /C/install, which installs bootblocks on floppy discs 1169# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1170# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1171# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1172# ./install, which can be erroneously created by make from ./install.sh. 1173echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1174echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1175if test -z "$INSTALL"; then 1176if test "${ac_cv_path_install+set}" = set; then 1177 echo $ECHO_N "(cached) $ECHO_C" >&6 1178else 1179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1180for as_dir in $PATH 1181do 1182 IFS=$as_save_IFS 1183 test -z "$as_dir" && as_dir=. 1184 # Account for people who put trailing slashes in PATH elements. 1185case $as_dir/ in 1186 ./ | .// | /cC/* | \ 1187 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1188 /usr/ucb/* ) ;; 1189 *) 1190 # OSF1 and SCO ODT 3.0 have their own names for install. 1191 # Don't use installbsd from OSF since it installs stuff as root 1192 # by default. 1193 for ac_prog in ginstall scoinst install; do 1194 for ac_exec_ext in '' $ac_executable_extensions; do 1195 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1196 if test $ac_prog = install && 1197 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1198 # AIX install. It has an incompatible calling convention. 1199 : 1200 elif test $ac_prog = install && 1201 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1202 # program-specific install script used by HP pwplus--don't use. 1203 : 1204 else 1205 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1206 break 3 1207 fi 1208 fi 1209 done 1210 done 1211 ;; 1212esac 1213done 1214 1215 1216fi 1217 if test "${ac_cv_path_install+set}" = set; then 1218 INSTALL=$ac_cv_path_install 1219 else 1220 # As a last resort, use the slow shell script. We don't cache a 1221 # path for INSTALL within a source directory, because that will 1222 # break other packages using the cache if that directory is 1223 # removed, or if the path is relative. 1224 INSTALL=$ac_install_sh 1225 fi 1226fi 1227echo "$as_me:$LINENO: result: $INSTALL" >&5 1228echo "${ECHO_T}$INSTALL" >&6 1229 1230# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1231# It thinks the first close brace ends the variable substitution. 1232test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1233 1234test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1235 1236test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1237 1238echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1239echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1240# Just in case 1241sleep 1 1242echo timestamp > conftest.file 1243# Do `set' in a subshell so we don't clobber the current shell's 1244# arguments. Must try -L first in case configure is actually a 1245# symlink; some systems play weird games with the mod time of symlinks 1246# (eg FreeBSD returns the mod time of the symlink's containing 1247# directory). 1248if ( 1249 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1250 if test "$*" = "X"; then 1251 # -L didn't work. 1252 set X `ls -t $srcdir/configure conftest.file` 1253 fi 1254 rm -f conftest.file 1255 if test "$*" != "X $srcdir/configure conftest.file" \ 1256 && test "$*" != "X conftest.file $srcdir/configure"; then 1257 1258 # If neither matched, then we have a broken ls. This can happen 1259 # if, for instance, CONFIG_SHELL is bash and it inherits a 1260 # broken ls alias from the environment. This has actually 1261 # happened. Such a system could not be considered "sane". 1262 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1263alias in your environment" >&5 1264echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1265alias in your environment" >&2;} 1266 { (exit 1); exit 1; }; } 1267 fi 1268 1269 test "$2" = conftest.file 1270 ) 1271then 1272 # Ok. 1273 : 1274else 1275 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1276Check your system clock" >&5 1277echo "$as_me: error: newly created file is older than distributed files! 1278Check your system clock" >&2;} 1279 { (exit 1); exit 1; }; } 1280fi 1281echo "$as_me:$LINENO: result: yes" >&5 1282echo "${ECHO_T}yes" >&6 1283test "$program_prefix" != NONE && 1284 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1285# Use a double $ so make ignores it. 1286test "$program_suffix" != NONE && 1287 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1288# Double any \ or $. echo might interpret backslashes. 1289# By default was `s,x,x', remove it if useless. 1290cat <<\_ACEOF >conftest.sed 1291s/[\\$]/&&/g;s/;s,x,x,$// 1292_ACEOF 1293program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1294rm conftest.sed 1295 1296 1297# expand $ac_aux_dir to an absolute path 1298am_aux_dir=`cd $ac_aux_dir && pwd` 1299 1300test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1301# Use eval to expand $SHELL 1302if eval "$MISSING --run true"; then 1303 am_missing_run="$MISSING --run " 1304else 1305 am_missing_run= 1306 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1307echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1308fi 1309 1310for ac_prog in gawk mawk nawk awk 1311do 1312 # Extract the first word of "$ac_prog", so it can be a program name with args. 1313set dummy $ac_prog; ac_word=$2 1314echo "$as_me:$LINENO: checking for $ac_word" >&5 1315echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1316if test "${ac_cv_prog_AWK+set}" = set; then 1317 echo $ECHO_N "(cached) $ECHO_C" >&6 1318else 1319 if test -n "$AWK"; then 1320 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1321else 1322as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1323for as_dir in $PATH 1324do 1325 IFS=$as_save_IFS 1326 test -z "$as_dir" && as_dir=. 1327 for ac_exec_ext in '' $ac_executable_extensions; do 1328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1329 ac_cv_prog_AWK="$ac_prog" 1330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1331 break 2 1332 fi 1333done 1334done 1335 1336fi 1337fi 1338AWK=$ac_cv_prog_AWK 1339if test -n "$AWK"; then 1340 echo "$as_me:$LINENO: result: $AWK" >&5 1341echo "${ECHO_T}$AWK" >&6 1342else 1343 echo "$as_me:$LINENO: result: no" >&5 1344echo "${ECHO_T}no" >&6 1345fi 1346 1347 test -n "$AWK" && break 1348done 1349 1350echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 1351echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 1352set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1353if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1354 echo $ECHO_N "(cached) $ECHO_C" >&6 1355else 1356 cat >conftest.make <<\_ACEOF 1357all: 1358 @echo 'ac_maketemp="${MAKE}"' 1359_ACEOF 1360# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1361eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1362if test -n "$ac_maketemp"; then 1363 eval ac_cv_prog_make_${ac_make}_set=yes 1364else 1365 eval ac_cv_prog_make_${ac_make}_set=no 1366fi 1367rm -f conftest.make 1368fi 1369if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1370 echo "$as_me:$LINENO: result: yes" >&5 1371echo "${ECHO_T}yes" >&6 1372 SET_MAKE= 1373else 1374 echo "$as_me:$LINENO: result: no" >&5 1375echo "${ECHO_T}no" >&6 1376 SET_MAKE="MAKE=${MAKE-make}" 1377fi 1378 1379 # test to see if srcdir already configured 1380if test "`cd $srcdir && pwd`" != "`pwd`" && 1381 test -f $srcdir/config.status; then 1382 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1383echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1384 { (exit 1); exit 1; }; } 1385fi 1386 1387# Define the identity of the package. 1388 PACKAGE=heroes-data 1389 VERSION=1.5 1390 1391 1392cat >>confdefs.h <<_ACEOF 1393#define PACKAGE "$PACKAGE" 1394_ACEOF 1395 1396 1397cat >>confdefs.h <<_ACEOF 1398#define VERSION "$VERSION" 1399_ACEOF 1400 1401# Some tools Automake needs. 1402 1403ACLOCAL=${ACLOCAL-"${am_missing_run}"aclocal-${am__api_version}""} 1404 1405 1406AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1407 1408 1409AUTOMAKE=${AUTOMAKE-"${am_missing_run}"automake-${am__api_version}""} 1410 1411 1412AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1413 1414 1415MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1416 1417 1418AMTAR=${AMTAR-"${am_missing_run}tar"} 1419 1420install_sh=${install_sh-"$am_aux_dir/install-sh"} 1421 1422# Installed binaries are usually stripped using `strip' when the user 1423# run `make install-strip'. However `strip' might not be the right 1424# tool to use in cross-compilation environments, therefore Automake 1425# will honor the `STRIP' environment variable to overrule this program. 1426if test "$cross_compiling" != no; then 1427 if test -n "$ac_tool_prefix"; then 1428 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1429set dummy ${ac_tool_prefix}strip; ac_word=$2 1430echo "$as_me:$LINENO: checking for $ac_word" >&5 1431echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1432if test "${ac_cv_prog_STRIP+set}" = set; then 1433 echo $ECHO_N "(cached) $ECHO_C" >&6 1434else 1435 if test -n "$STRIP"; then 1436 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1437else 1438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1439for as_dir in $PATH 1440do 1441 IFS=$as_save_IFS 1442 test -z "$as_dir" && as_dir=. 1443 for ac_exec_ext in '' $ac_executable_extensions; do 1444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1445 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1447 break 2 1448 fi 1449done 1450done 1451 1452fi 1453fi 1454STRIP=$ac_cv_prog_STRIP 1455if test -n "$STRIP"; then 1456 echo "$as_me:$LINENO: result: $STRIP" >&5 1457echo "${ECHO_T}$STRIP" >&6 1458else 1459 echo "$as_me:$LINENO: result: no" >&5 1460echo "${ECHO_T}no" >&6 1461fi 1462 1463fi 1464if test -z "$ac_cv_prog_STRIP"; then 1465 ac_ct_STRIP=$STRIP 1466 # Extract the first word of "strip", so it can be a program name with args. 1467set dummy strip; ac_word=$2 1468echo "$as_me:$LINENO: checking for $ac_word" >&5 1469echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1470if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1471 echo $ECHO_N "(cached) $ECHO_C" >&6 1472else 1473 if test -n "$ac_ct_STRIP"; then 1474 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1475else 1476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1477for as_dir in $PATH 1478do 1479 IFS=$as_save_IFS 1480 test -z "$as_dir" && as_dir=. 1481 for ac_exec_ext in '' $ac_executable_extensions; do 1482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1483 ac_cv_prog_ac_ct_STRIP="strip" 1484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1485 break 2 1486 fi 1487done 1488done 1489 1490 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1491fi 1492fi 1493ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1494if test -n "$ac_ct_STRIP"; then 1495 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1496echo "${ECHO_T}$ac_ct_STRIP" >&6 1497else 1498 echo "$as_me:$LINENO: result: no" >&5 1499echo "${ECHO_T}no" >&6 1500fi 1501 1502 STRIP=$ac_ct_STRIP 1503else 1504 STRIP="$ac_cv_prog_STRIP" 1505fi 1506 1507fi 1508INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1509 1510# We need awk for the "check" target. The system "awk" is bad on 1511# some platforms. 1512 1513 1514 1515 1516ac_config_files="$ac_config_files Makefile" 1517cat >confcache <<\_ACEOF 1518# This file is a shell script that caches the results of configure 1519# tests run on this system so they can be shared between configure 1520# scripts and configure runs, see configure's option --config-cache. 1521# It is not useful on other systems. If it contains results you don't 1522# want to keep, you may remove or edit it. 1523# 1524# config.status only pays attention to the cache file if you give it 1525# the --recheck option to rerun configure. 1526# 1527# `ac_cv_env_foo' variables (set or unset) will be overriden when 1528# loading this file, other *unset* `ac_cv_foo' will be assigned the 1529# following values. 1530 1531_ACEOF 1532 1533# The following way of writing the cache mishandles newlines in values, 1534# but we know of no workaround that is simple, portable, and efficient. 1535# So, don't put newlines in cache variables' values. 1536# Ultrix sh set writes to stderr and can't be redirected directly, 1537# and sets the high bit in the cache file unless we assign to the vars. 1538{ 1539 (set) 2>&1 | 1540 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1541 *ac_space=\ *) 1542 # `set' does not quote correctly, so add quotes (double-quote 1543 # substitution turns \\\\ into \\, and sed turns \\ into \). 1544 sed -n \ 1545 "s/'/'\\\\''/g; 1546 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 1547 ;; 1548 *) 1549 # `set' quotes correctly as required by POSIX, so do not add quotes. 1550 sed -n \ 1551 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1552 ;; 1553 esac; 1554} | 1555 sed ' 1556 t clear 1557 : clear 1558 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 1559 t end 1560 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 1561 : end' >>confcache 1562if cmp -s $cache_file confcache; then :; else 1563 if test -w $cache_file; then 1564 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 1565 cat confcache >$cache_file 1566 else 1567 echo "not updating unwritable cache $cache_file" 1568 fi 1569fi 1570rm -f confcache 1571 1572test "x$prefix" = xNONE && prefix=$ac_default_prefix 1573# Let make expand exec_prefix. 1574test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1575 1576# VPATH may cause trouble with some makes, so we remove $(srcdir), 1577# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 1578# trailing colons and then remove the whole line if VPATH becomes empty 1579# (actually we leave an empty line to preserve line numbers). 1580if test "x$srcdir" = x.; then 1581 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 1582s/:*\$(srcdir):*/:/; 1583s/:*\${srcdir}:*/:/; 1584s/:*@srcdir@:*/:/; 1585s/^\([^=]*=[ ]*\):*/\1/; 1586s/:*$//; 1587s/^[^=]*=[ ]*$//; 1588}' 1589fi 1590 1591# Transform confdefs.h into DEFS. 1592# Protect against shell expansion while executing Makefile rules. 1593# Protect against Makefile macro expansion. 1594# 1595# If the first sed substitution is executed (which looks for macros that 1596# take arguments), then we branch to the quote section. Otherwise, 1597# look for a macro that doesn't take arguments. 1598cat >confdef2opt.sed <<\_ACEOF 1599t clear 1600: clear 1601s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 1602t quote 1603s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 1604t quote 1605d 1606: quote 1607s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 1608s,\[,\\&,g 1609s,\],\\&,g 1610s,\$,$$,g 1611p 1612_ACEOF 1613# We use echo to avoid assuming a particular line-breaking character. 1614# The extra dot is to prevent the shell from consuming trailing 1615# line-breaks from the sub-command output. A line-break within 1616# single-quotes doesn't work because, if this script is created in a 1617# platform that uses two characters for line-breaks (e.g., DOS), tr 1618# would break. 1619ac_LF_and_DOT=`echo; echo .` 1620DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 1621rm -f confdef2opt.sed 1622 1623 1624 1625: ${CONFIG_STATUS=./config.status} 1626ac_clean_files_save=$ac_clean_files 1627ac_clean_files="$ac_clean_files $CONFIG_STATUS" 1628{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 1629echo "$as_me: creating $CONFIG_STATUS" >&6;} 1630cat >$CONFIG_STATUS <<_ACEOF 1631#! $SHELL 1632# Generated by $as_me. 1633# Run this file to recreate the current configuration. 1634# Compiler output produced by configure, useful for debugging 1635# configure, is in config.log if it exists. 1636 1637debug=false 1638SHELL=\${CONFIG_SHELL-$SHELL} 1639_ACEOF 1640 1641cat >>$CONFIG_STATUS <<\_ACEOF 1642 1643## --------------------- ## 1644## M4sh Initialization. ## 1645## --------------------- ## 1646 1647# Be Bourne compatible 1648if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1649 emulate sh 1650 NULLCMD=: 1651elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 1652 set -o posix 1653fi 1654 1655# NLS nuisances. 1656# Support unset when possible. 1657if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 1658 as_unset=unset 1659else 1660 as_unset=false 1661fi 1662 1663(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 1664 { $as_unset LANG || test "${LANG+set}" != set; } || 1665 { LANG=C; export LANG; } 1666(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 1667 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 1668 { LC_ALL=C; export LC_ALL; } 1669(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 1670 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 1671 { LC_TIME=C; export LC_TIME; } 1672(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 1673 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 1674 { LC_CTYPE=C; export LC_CTYPE; } 1675(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 1676 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 1677 { LANGUAGE=C; export LANGUAGE; } 1678(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 1679 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 1680 { LC_COLLATE=C; export LC_COLLATE; } 1681(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 1682 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 1683 { LC_NUMERIC=C; export LC_NUMERIC; } 1684(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 1685 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 1686 { LC_MESSAGES=C; export LC_MESSAGES; } 1687 1688 1689# Name of the executable. 1690as_me=`(basename "$0") 2>/dev/null || 1691$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1692 X"$0" : 'X\(//\)$' \| \ 1693 X"$0" : 'X\(/\)$' \| \ 1694 . : '\(.\)' 2>/dev/null || 1695echo X/"$0" | 1696 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 1697 /^X\/\(\/\/\)$/{ s//\1/; q; } 1698 /^X\/\(\/\).*/{ s//\1/; q; } 1699 s/.*/./; q'` 1700 1701# PATH needs CR, and LINENO needs CR and PATH. 1702# Avoid depending upon Character Ranges. 1703as_cr_letters='abcdefghijklmnopqrstuvwxyz' 1704as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 1705as_cr_Letters=$as_cr_letters$as_cr_LETTERS 1706as_cr_digits='0123456789' 1707as_cr_alnum=$as_cr_Letters$as_cr_digits 1708 1709# The user is always right. 1710if test "${PATH_SEPARATOR+set}" != set; then 1711 echo "#! /bin/sh" >conftest.sh 1712 echo "exit 0" >>conftest.sh 1713 chmod +x conftest.sh 1714 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 1715 PATH_SEPARATOR=';' 1716 else 1717 PATH_SEPARATOR=: 1718 fi 1719 rm -f conftest.sh 1720fi 1721 1722 1723 as_lineno_1=$LINENO 1724 as_lineno_2=$LINENO 1725 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1726 test "x$as_lineno_1" != "x$as_lineno_2" && 1727 test "x$as_lineno_3" = "x$as_lineno_2" || { 1728 # Find who we are. Look in the path if we contain no path at all 1729 # relative or not. 1730 case $0 in 1731 *[\\/]* ) as_myself=$0 ;; 1732 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1733for as_dir in $PATH 1734do 1735 IFS=$as_save_IFS 1736 test -z "$as_dir" && as_dir=. 1737 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1738done 1739 1740 ;; 1741 esac 1742 # We did not find ourselves, most probably we were run as `sh COMMAND' 1743 # in which case we are not to be found in the path. 1744 if test "x$as_myself" = x; then 1745 as_myself=$0 1746 fi 1747 if test ! -f "$as_myself"; then 1748 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 1749echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 1750 { (exit 1); exit 1; }; } 1751 fi 1752 case $CONFIG_SHELL in 1753 '') 1754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1755for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1756do 1757 IFS=$as_save_IFS 1758 test -z "$as_dir" && as_dir=. 1759 for as_base in sh bash ksh sh5; do 1760 case $as_dir in 1761 /*) 1762 if ("$as_dir/$as_base" -c ' 1763 as_lineno_1=$LINENO 1764 as_lineno_2=$LINENO 1765 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1766 test "x$as_lineno_1" != "x$as_lineno_2" && 1767 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 1768 CONFIG_SHELL=$as_dir/$as_base 1769 export CONFIG_SHELL 1770 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 1771 fi;; 1772 esac 1773 done 1774done 1775;; 1776 esac 1777 1778 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 1779 # uniformly replaced by the line number. The first 'sed' inserts a 1780 # line-number line before each line; the second 'sed' does the real 1781 # work. The second script uses 'N' to pair each line-number line 1782 # with the numbered line, and appends trailing '-' during 1783 # substitution so that $LINENO is not a special case at line end. 1784 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 1785 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 1786 sed '=' <$as_myself | 1787 sed ' 1788 N 1789 s,$,-, 1790 : loop 1791 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 1792 t loop 1793 s,-$,, 1794 s,^['$as_cr_digits']*\n,, 1795 ' >$as_me.lineno && 1796 chmod +x $as_me.lineno || 1797 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 1798echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 1799 { (exit 1); exit 1; }; } 1800 1801 # Don't try to exec as it changes $[0], causing all sort of problems 1802 # (the dirname of $[0] is not the place where we might find the 1803 # original and so on. Autoconf is especially sensible to this). 1804 . ./$as_me.lineno 1805 # Exit status is that of the last command. 1806 exit 1807} 1808 1809 1810case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 1811 *c*,-n*) ECHO_N= ECHO_C=' 1812' ECHO_T=' ' ;; 1813 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 1814 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 1815esac 1816 1817if expr a : '\(a\)' >/dev/null 2>&1; then 1818 as_expr=expr 1819else 1820 as_expr=false 1821fi 1822 1823rm -f conf$$ conf$$.exe conf$$.file 1824echo >conf$$.file 1825if ln -s conf$$.file conf$$ 2>/dev/null; then 1826 # We could just check for DJGPP; but this test a) works b) is more generic 1827 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 1828 if test -f conf$$.exe; then 1829 # Don't use ln at all; we don't have any links 1830 as_ln_s='cp -p' 1831 else 1832 as_ln_s='ln -s' 1833 fi 1834elif ln conf$$.file conf$$ 2>/dev/null; then 1835 as_ln_s=ln 1836else 1837 as_ln_s='cp -p' 1838fi 1839rm -f conf$$ conf$$.exe conf$$.file 1840 1841as_executable_p="test -f" 1842 1843# Sed expression to map a string onto a valid CPP name. 1844as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 1845 1846# Sed expression to map a string onto a valid variable name. 1847as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 1848 1849 1850# IFS 1851# We need space, tab and new line, in precisely that order. 1852as_nl=' 1853' 1854IFS=" $as_nl" 1855 1856# CDPATH. 1857$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 1858 1859exec 6>&1 1860 1861# Open the log real soon, to keep \$[0] and so on meaningful, and to 1862# report actual input values of CONFIG_FILES etc. instead of their 1863# values after options handling. Logging --version etc. is OK. 1864exec 5>>config.log 1865{ 1866 echo 1867 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 1868## Running $as_me. ## 1869_ASBOX 1870} >&5 1871cat >&5 <<_CSEOF 1872 1873This file was extended by heroes-data $as_me 1.5, which was 1874generated by GNU Autoconf 2.53. Invocation command line was 1875 1876 CONFIG_FILES = $CONFIG_FILES 1877 CONFIG_HEADERS = $CONFIG_HEADERS 1878 CONFIG_LINKS = $CONFIG_LINKS 1879 CONFIG_COMMANDS = $CONFIG_COMMANDS 1880 $ $0 $@ 1881 1882_CSEOF 1883echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 1884echo >&5 1885_ACEOF 1886 1887# Files that config.status was made for. 1888if test -n "$ac_config_files"; then 1889 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 1890fi 1891 1892if test -n "$ac_config_headers"; then 1893 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 1894fi 1895 1896if test -n "$ac_config_links"; then 1897 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 1898fi 1899 1900if test -n "$ac_config_commands"; then 1901 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 1902fi 1903 1904cat >>$CONFIG_STATUS <<\_ACEOF 1905 1906ac_cs_usage="\ 1907\`$as_me' instantiates files from templates according to the 1908current configuration. 1909 1910Usage: $0 [OPTIONS] [FILE]... 1911 1912 -h, --help print this help, then exit 1913 -V, --version print version number, then exit 1914 -d, --debug don't remove temporary files 1915 --recheck update $as_me by reconfiguring in the same conditions 1916 --file=FILE[:TEMPLATE] 1917 instantiate the configuration file FILE 1918 1919Configuration files: 1920$config_files 1921 1922Report bugs to <bug-autoconf@gnu.org>." 1923_ACEOF 1924 1925cat >>$CONFIG_STATUS <<_ACEOF 1926ac_cs_version="\\ 1927heroes-data config.status 1.5 1928configured by $0, generated by GNU Autoconf 2.53, 1929 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 1930 1931Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 1932Free Software Foundation, Inc. 1933This config.status script is free software; the Free Software Foundation 1934gives unlimited permission to copy, distribute and modify it." 1935srcdir=$srcdir 1936INSTALL="$INSTALL" 1937_ACEOF 1938 1939cat >>$CONFIG_STATUS <<\_ACEOF 1940# If no file are specified by the user, then we need to provide default 1941# value. By we need to know if files were specified by the user. 1942ac_need_defaults=: 1943while test $# != 0 1944do 1945 case $1 in 1946 --*=*) 1947 ac_option=`expr "x$1" : 'x\([^=]*\)='` 1948 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 1949 shift 1950 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 1951 shift 1952 ;; 1953 -*);; 1954 *) # This is not an option, so the user has probably given explicit 1955 # arguments. 1956 ac_need_defaults=false;; 1957 esac 1958 1959 case $1 in 1960 # Handling of the options. 1961_ACEOF 1962cat >>$CONFIG_STATUS <<_ACEOF 1963 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 1964 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 1965 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 1966_ACEOF 1967cat >>$CONFIG_STATUS <<\_ACEOF 1968 --version | --vers* | -V ) 1969 echo "$ac_cs_version"; exit 0 ;; 1970 --he | --h) 1971 # Conflict between --help and --header 1972 { { echo "$as_me:$LINENO: error: ambiguous option: $1 1973Try \`$0 --help' for more information." >&5 1974echo "$as_me: error: ambiguous option: $1 1975Try \`$0 --help' for more information." >&2;} 1976 { (exit 1); exit 1; }; };; 1977 --help | --hel | -h ) 1978 echo "$ac_cs_usage"; exit 0 ;; 1979 --debug | --d* | -d ) 1980 debug=: ;; 1981 --file | --fil | --fi | --f ) 1982 shift 1983 CONFIG_FILES="$CONFIG_FILES $1" 1984 ac_need_defaults=false;; 1985 --header | --heade | --head | --hea ) 1986 shift 1987 CONFIG_HEADERS="$CONFIG_HEADERS $1" 1988 ac_need_defaults=false;; 1989 1990 # This is an error. 1991 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 1992Try \`$0 --help' for more information." >&5 1993echo "$as_me: error: unrecognized option: $1 1994Try \`$0 --help' for more information." >&2;} 1995 { (exit 1); exit 1; }; } ;; 1996 1997 *) ac_config_targets="$ac_config_targets $1" ;; 1998 1999 esac 2000 shift 2001done 2002 2003_ACEOF 2004 2005 2006 2007 2008 2009cat >>$CONFIG_STATUS <<\_ACEOF 2010for ac_config_target in $ac_config_targets 2011do 2012 case "$ac_config_target" in 2013 # Handling of arguments. 2014 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 2015 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 2016echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 2017 { (exit 1); exit 1; }; };; 2018 esac 2019done 2020 2021# If the user did not use the arguments to specify the items to instantiate, 2022# then the envvar interface is used. Set only those that are not. 2023# We use the long form for the default assignment because of an extremely 2024# bizarre bug on SunOS 4.1.3. 2025if $ac_need_defaults; then 2026 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 2027fi 2028 2029# Create a temporary directory, and hook for its removal unless debugging. 2030$debug || 2031{ 2032 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 2033 trap '{ (exit 1); exit 1; }' 1 2 13 15 2034} 2035 2036# Create a (secure) tmp directory for tmp files. 2037: ${TMPDIR=/tmp} 2038{ 2039 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 2040 test -n "$tmp" && test -d "$tmp" 2041} || 2042{ 2043 tmp=$TMPDIR/cs$$-$RANDOM 2044 (umask 077 && mkdir $tmp) 2045} || 2046{ 2047 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 2048 { (exit 1); exit 1; } 2049} 2050 2051_ACEOF 2052 2053cat >>$CONFIG_STATUS <<_ACEOF 2054 2055# 2056# CONFIG_FILES section. 2057# 2058 2059# No need to generate the scripts if there are no CONFIG_FILES. 2060# This happens for instance when ./config.status config.h 2061if test -n "\$CONFIG_FILES"; then 2062 # Protect against being on the right side of a sed subst in config.status. 2063 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 2064 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 2065s,@SHELL@,$SHELL,;t t 2066s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 2067s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 2068s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 2069s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 2070s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 2071s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 2072s,@exec_prefix@,$exec_prefix,;t t 2073s,@prefix@,$prefix,;t t 2074s,@program_transform_name@,$program_transform_name,;t t 2075s,@bindir@,$bindir,;t t 2076s,@sbindir@,$sbindir,;t t 2077s,@libexecdir@,$libexecdir,;t t 2078s,@datadir@,$datadir,;t t 2079s,@sysconfdir@,$sysconfdir,;t t 2080s,@sharedstatedir@,$sharedstatedir,;t t 2081s,@localstatedir@,$localstatedir,;t t 2082s,@libdir@,$libdir,;t t 2083s,@includedir@,$includedir,;t t 2084s,@oldincludedir@,$oldincludedir,;t t 2085s,@infodir@,$infodir,;t t 2086s,@mandir@,$mandir,;t t 2087s,@build_alias@,$build_alias,;t t 2088s,@host_alias@,$host_alias,;t t 2089s,@target_alias@,$target_alias,;t t 2090s,@DEFS@,$DEFS,;t t 2091s,@ECHO_C@,$ECHO_C,;t t 2092s,@ECHO_N@,$ECHO_N,;t t 2093s,@ECHO_T@,$ECHO_T,;t t 2094s,@LIBS@,$LIBS,;t t 2095s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 2096s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 2097s,@INSTALL_DATA@,$INSTALL_DATA,;t t 2098s,@PACKAGE@,$PACKAGE,;t t 2099s,@VERSION@,$VERSION,;t t 2100s,@ACLOCAL@,$ACLOCAL,;t t 2101s,@AUTOCONF@,$AUTOCONF,;t t 2102s,@AUTOMAKE@,$AUTOMAKE,;t t 2103s,@AUTOHEADER@,$AUTOHEADER,;t t 2104s,@MAKEINFO@,$MAKEINFO,;t t 2105s,@AMTAR@,$AMTAR,;t t 2106s,@install_sh@,$install_sh,;t t 2107s,@STRIP@,$STRIP,;t t 2108s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 2109s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 2110s,@AWK@,$AWK,;t t 2111s,@SET_MAKE@,$SET_MAKE,;t t 2112CEOF 2113 2114_ACEOF 2115 2116 cat >>$CONFIG_STATUS <<\_ACEOF 2117 # Split the substitutions into bite-sized pieces for seds with 2118 # small command number limits, like on Digital OSF/1 and HP-UX. 2119 ac_max_sed_lines=48 2120 ac_sed_frag=1 # Number of current file. 2121 ac_beg=1 # First line for current file. 2122 ac_end=$ac_max_sed_lines # Line after last line for current file. 2123 ac_more_lines=: 2124 ac_sed_cmds= 2125 while $ac_more_lines; do 2126 if test $ac_beg -gt 1; then 2127 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 2128 else 2129 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 2130 fi 2131 if test ! -s $tmp/subs.frag; then 2132 ac_more_lines=false 2133 else 2134 # The purpose of the label and of the branching condition is to 2135 # speed up the sed processing (if there are no `@' at all, there 2136 # is no need to browse any of the substitutions). 2137 # These are the two extra sed commands mentioned above. 2138 (echo ':t 2139 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 2140 if test -z "$ac_sed_cmds"; then 2141 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 2142 else 2143 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 2144 fi 2145 ac_sed_frag=`expr $ac_sed_frag + 1` 2146 ac_beg=$ac_end 2147 ac_end=`expr $ac_end + $ac_max_sed_lines` 2148 fi 2149 done 2150 if test -z "$ac_sed_cmds"; then 2151 ac_sed_cmds=cat 2152 fi 2153fi # test -n "$CONFIG_FILES" 2154 2155_ACEOF 2156cat >>$CONFIG_STATUS <<\_ACEOF 2157for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 2158 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 2159 case $ac_file in 2160 - | *:- | *:-:* ) # input from stdin 2161 cat >$tmp/stdin 2162 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 2163 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 2164 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 2165 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 2166 * ) ac_file_in=$ac_file.in ;; 2167 esac 2168 2169 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 2170 ac_dir=`(dirname "$ac_file") 2>/dev/null || 2171$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2172 X"$ac_file" : 'X\(//\)[^/]' \| \ 2173 X"$ac_file" : 'X\(//\)$' \| \ 2174 X"$ac_file" : 'X\(/\)' \| \ 2175 . : '\(.\)' 2>/dev/null || 2176echo X"$ac_file" | 2177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 2178 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 2179 /^X\(\/\/\)$/{ s//\1/; q; } 2180 /^X\(\/\).*/{ s//\1/; q; } 2181 s/.*/./; q'` 2182 { case "$ac_dir" in 2183 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 2184 *) as_incr_dir=.;; 2185esac 2186as_dummy="$ac_dir" 2187for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 2188 case $as_mkdir_dir in 2189 # Skip DOS drivespec 2190 ?:) as_incr_dir=$as_mkdir_dir ;; 2191 *) 2192 as_incr_dir=$as_incr_dir/$as_mkdir_dir 2193 test -d "$as_incr_dir" || 2194 mkdir "$as_incr_dir" || 2195 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 2196echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} 2197 { (exit 1); exit 1; }; } 2198 ;; 2199 esac 2200done; } 2201 2202 ac_builddir=. 2203 2204if test "$ac_dir" != .; then 2205 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 2206 # A "../" for each directory in $ac_dir_suffix. 2207 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 2208else 2209 ac_dir_suffix= ac_top_builddir= 2210fi 2211 2212case $srcdir in 2213 .) # No --srcdir option. We are building in place. 2214 ac_srcdir=. 2215 if test -z "$ac_top_builddir"; then 2216 ac_top_srcdir=. 2217 else 2218 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 2219 fi ;; 2220 [\\/]* | ?:[\\/]* ) # Absolute path. 2221 ac_srcdir=$srcdir$ac_dir_suffix; 2222 ac_top_srcdir=$srcdir ;; 2223 *) # Relative path. 2224 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 2225 ac_top_srcdir=$ac_top_builddir$srcdir ;; 2226esac 2227# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 2228# absolute. 2229ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 2230ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 2231ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 2232ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 2233 2234 2235 case $INSTALL in 2236 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 2237 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 2238 esac 2239 2240 if test x"$ac_file" != x-; then 2241 { echo "$as_me:$LINENO: creating $ac_file" >&5 2242echo "$as_me: creating $ac_file" >&6;} 2243 rm -f "$ac_file" 2244 fi 2245 # Let's still pretend it is `configure' which instantiates (i.e., don't 2246 # use $as_me), people would be surprised to read: 2247 # /* config.h. Generated by config.status. */ 2248 if test x"$ac_file" = x-; then 2249 configure_input= 2250 else 2251 configure_input="$ac_file. " 2252 fi 2253 configure_input=$configure_input"Generated from `echo $ac_file_in | 2254 sed 's,.*/,,'` by configure." 2255 2256 # First look for the input files in the build tree, otherwise in the 2257 # src tree. 2258 ac_file_inputs=`IFS=: 2259 for f in $ac_file_in; do 2260 case $f in 2261 -) echo $tmp/stdin ;; 2262 [\\/$]*) 2263 # Absolute (can't be DOS-style, as IFS=:) 2264 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 2265echo "$as_me: error: cannot find input file: $f" >&2;} 2266 { (exit 1); exit 1; }; } 2267 echo $f;; 2268 *) # Relative 2269 if test -f "$f"; then 2270 # Build tree 2271 echo $f 2272 elif test -f "$srcdir/$f"; then 2273 # Source tree 2274 echo $srcdir/$f 2275 else 2276 # /dev/null tree 2277 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 2278echo "$as_me: error: cannot find input file: $f" >&2;} 2279 { (exit 1); exit 1; }; } 2280 fi;; 2281 esac 2282 done` || { (exit 1); exit 1; } 2283_ACEOF 2284cat >>$CONFIG_STATUS <<_ACEOF 2285 sed "$ac_vpsub 2286$extrasub 2287_ACEOF 2288cat >>$CONFIG_STATUS <<\_ACEOF 2289:t 2290/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 2291s,@configure_input@,$configure_input,;t t 2292s,@srcdir@,$ac_srcdir,;t t 2293s,@abs_srcdir@,$ac_abs_srcdir,;t t 2294s,@top_srcdir@,$ac_top_srcdir,;t t 2295s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 2296s,@builddir@,$ac_builddir,;t t 2297s,@abs_builddir@,$ac_abs_builddir,;t t 2298s,@top_builddir@,$ac_top_builddir,;t t 2299s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 2300s,@INSTALL@,$ac_INSTALL,;t t 2301" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 2302 rm -f $tmp/stdin 2303 if test x"$ac_file" != x-; then 2304 mv $tmp/out $ac_file 2305 else 2306 cat $tmp/out 2307 rm -f $tmp/out 2308 fi 2309 2310done 2311_ACEOF 2312 2313cat >>$CONFIG_STATUS <<\_ACEOF 2314 2315{ (exit 0); exit 0; } 2316_ACEOF 2317chmod +x $CONFIG_STATUS 2318ac_clean_files=$ac_clean_files_save 2319 2320 2321# configure is writing to config.log, and then calls config.status. 2322# config.status does its own redirection, appending to config.log. 2323# Unfortunately, on DOS this fails, as config.log is still kept open 2324# by configure, so config.status won't be able to write to it; its 2325# output is simply discarded. So we exec the FD to /dev/null, 2326# effectively closing config.log, so it can be properly (re)opened and 2327# appended to by config.status. When coming back to configure, we 2328# need to make the FD available again. 2329if test "$no_create" != yes; then 2330 ac_cs_success=: 2331 exec 5>/dev/null 2332 $SHELL $CONFIG_STATUS || ac_cs_success=false 2333 exec 5>>config.log 2334 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 2335 # would make configure fail if this is the last instruction. 2336 $ac_cs_success || { (exit 1); exit 1; } 2337fi 2338 2339 2340eval datadir=$datadir 2341 2342echo " 2343Heroes data configuration 2344------------------------- 2345heroes-data version : $VERSION 2346data install path : ${datadir}/heroes" 2347