Mercurial > hg > early-roguelike
comparison rogue5/configure @ 34:655c317b6237
rogue5: add savedir, logfile, bugfixes
| author | elwin |
|---|---|
| date | Mon, 24 May 2010 20:16:15 +0000 |
| parents | f502bf60e6e4 |
| children |
comparison
equal
deleted
inserted
replaced
| 33:f502bf60e6e4 | 34:655c317b6237 |
|---|---|
| 1 #! /bin/sh | 1 #! /bin/sh |
| 2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
| 3 # Generated by GNU Autoconf 2.61 for Rogue 5.4.5. | 3 # Generated by GNU Autoconf 2.63 for Rogue 5.4.5. |
| 4 # | 4 # |
| 5 # Report bugs to <yendor@rogueforge.net>. | 5 # Report bugs to <yendor@rogueforge.net>. |
| 6 # | 6 # |
| 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 9 # This configure script is free software; the Free Software Foundation | 9 # This configure script is free software; the Free Software Foundation |
| 10 # gives unlimited permission to copy, distribute and modify it. | 10 # gives unlimited permission to copy, distribute and modify it. |
| 11 ## --------------------- ## | 11 ## --------------------- ## |
| 12 ## M4sh Initialization. ## | 12 ## M4sh Initialization. ## |
| 13 ## --------------------- ## | 13 ## --------------------- ## |
| 15 # Be more Bourne compatible | 15 # Be more Bourne compatible |
| 16 DUALCASE=1; export DUALCASE # for MKS sh | 16 DUALCASE=1; export DUALCASE # for MKS sh |
| 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 18 emulate sh | 18 emulate sh |
| 19 NULLCMD=: | 19 NULLCMD=: |
| 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 21 # is contrary to our usage. Disable this feature. | 21 # is contrary to our usage. Disable this feature. |
| 22 alias -g '${1+"$@"}'='"$@"' | 22 alias -g '${1+"$@"}'='"$@"' |
| 23 setopt NO_GLOB_SUBST | 23 setopt NO_GLOB_SUBST |
| 24 else | 24 else |
| 25 case `(set -o) 2>/dev/null` in | 25 case `(set -o) 2>/dev/null` in |
| 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 39 as_cr_digits='0123456789' | 39 as_cr_digits='0123456789' |
| 40 as_cr_alnum=$as_cr_Letters$as_cr_digits | 40 as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 41 | 41 |
| 42 as_nl=' | |
| 43 ' | |
| 44 export as_nl | |
| 45 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 50 as_echo='printf %s\n' | |
| 51 as_echo_n='printf %s' | |
| 52 else | |
| 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 55 as_echo_n='/usr/ucb/echo -n' | |
| 56 else | |
| 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 58 as_echo_n_body='eval | |
| 59 arg=$1; | |
| 60 case $arg in | |
| 61 *"$as_nl"*) | |
| 62 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 64 esac; | |
| 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 66 ' | |
| 67 export as_echo_n_body | |
| 68 as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 69 fi | |
| 70 export as_echo_body | |
| 71 as_echo='sh -c $as_echo_body as_echo' | |
| 72 fi | |
| 73 | |
| 42 # The user is always right. | 74 # The user is always right. |
| 43 if test "${PATH_SEPARATOR+set}" != set; then | 75 if test "${PATH_SEPARATOR+set}" != set; then |
| 44 echo "#! /bin/sh" >conf$$.sh | 76 PATH_SEPARATOR=: |
| 45 echo "exit 0" >>conf$$.sh | 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 46 chmod +x conf$$.sh | 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 79 PATH_SEPARATOR=';' |
| 48 PATH_SEPARATOR=';' | 80 } |
| 49 else | |
| 50 PATH_SEPARATOR=: | |
| 51 fi | |
| 52 rm -f conf$$.sh | |
| 53 fi | 81 fi |
| 54 | 82 |
| 55 # Support unset when possible. | 83 # Support unset when possible. |
| 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 57 as_unset=unset | 85 as_unset=unset |
| 63 # IFS | 91 # IFS |
| 64 # We need space, tab and new line, in precisely that order. Quoting is | 92 # We need space, tab and new line, in precisely that order. Quoting is |
| 65 # there to prevent editors from complaining about space-tab. | 93 # there to prevent editors from complaining about space-tab. |
| 66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 67 # splitting by setting IFS to empty value.) | 95 # splitting by setting IFS to empty value.) |
| 68 as_nl=' | |
| 69 ' | |
| 70 IFS=" "" $as_nl" | 96 IFS=" "" $as_nl" |
| 71 | 97 |
| 72 # Find who we are. Look in the path if we contain no directory separator. | 98 # Find who we are. Look in the path if we contain no directory separator. |
| 73 case $0 in | 99 case $0 in |
| 74 *[\\/]* ) as_myself=$0 ;; | 100 *[\\/]* ) as_myself=$0 ;; |
| 87 # in which case we are not to be found in the path. | 113 # in which case we are not to be found in the path. |
| 88 if test "x$as_myself" = x; then | 114 if test "x$as_myself" = x; then |
| 89 as_myself=$0 | 115 as_myself=$0 |
| 90 fi | 116 fi |
| 91 if test ! -f "$as_myself"; then | 117 if test ! -f "$as_myself"; then |
| 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 93 { (exit 1); exit 1; } | 119 { (exit 1); exit 1; } |
| 94 fi | 120 fi |
| 95 | 121 |
| 96 # Work around bugs in pre-3.0 UWIN ksh. | 122 # Work around bugs in pre-3.0 UWIN ksh. |
| 97 for as_var in ENV MAIL MAILPATH | 123 for as_var in ENV MAIL MAILPATH |
| 100 PS1='$ ' | 126 PS1='$ ' |
| 101 PS2='> ' | 127 PS2='> ' |
| 102 PS4='+ ' | 128 PS4='+ ' |
| 103 | 129 |
| 104 # NLS nuisances. | 130 # NLS nuisances. |
| 105 for as_var in \ | 131 LC_ALL=C |
| 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 132 export LC_ALL |
| 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 133 LANGUAGE=C |
| 108 LC_TELEPHONE LC_TIME | 134 export LANGUAGE |
| 109 do | |
| 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
| 111 eval $as_var=C; export $as_var | |
| 112 else | |
| 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
| 114 fi | |
| 115 done | |
| 116 | 135 |
| 117 # Required to use basename. | 136 # Required to use basename. |
| 118 if expr a : '\(a\)' >/dev/null 2>&1 && | 137 if expr a : '\(a\)' >/dev/null 2>&1 && |
| 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 120 as_expr=expr | 139 as_expr=expr |
| 132 # Name of the executable. | 151 # Name of the executable. |
| 133 as_me=`$as_basename -- "$0" || | 152 as_me=`$as_basename -- "$0" || |
| 134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 135 X"$0" : 'X\(//\)$' \| \ | 154 X"$0" : 'X\(//\)$' \| \ |
| 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 155 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 137 echo X/"$0" | | 156 $as_echo X/"$0" | |
| 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 157 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 139 s//\1/ | 158 s//\1/ |
| 140 q | 159 q |
| 141 } | 160 } |
| 142 /^X\/\(\/\/\)$/{ | 161 /^X\/\(\/\/\)$/{ |
| 158 as_have_required=yes | 177 as_have_required=yes |
| 159 else | 178 else |
| 160 as_have_required=no | 179 as_have_required=no |
| 161 fi | 180 fi |
| 162 | 181 |
| 163 if test $as_have_required = yes && (eval ": | 182 if test $as_have_required = yes && (eval ": |
| 164 (as_func_return () { | 183 (as_func_return () { |
| 165 (exit \$1) | 184 (exit \$1) |
| 166 } | 185 } |
| 167 as_func_success () { | 186 as_func_success () { |
| 168 as_func_return 0 | 187 as_func_return 0 |
| 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 241 { ("$as_shell") 2> /dev/null <<\_ASEOF | 260 { ("$as_shell") 2> /dev/null <<\_ASEOF |
| 242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 243 emulate sh | 262 emulate sh |
| 244 NULLCMD=: | 263 NULLCMD=: |
| 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 246 # is contrary to our usage. Disable this feature. | 265 # is contrary to our usage. Disable this feature. |
| 247 alias -g '${1+"$@"}'='"$@"' | 266 alias -g '${1+"$@"}'='"$@"' |
| 248 setopt NO_GLOB_SUBST | 267 setopt NO_GLOB_SUBST |
| 249 else | 268 else |
| 250 case `(set -o) 2>/dev/null` in | 269 case `(set -o) 2>/dev/null` in |
| 261 as_have_required=yes | 280 as_have_required=yes |
| 262 if { "$as_shell" 2> /dev/null <<\_ASEOF | 281 if { "$as_shell" 2> /dev/null <<\_ASEOF |
| 263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 264 emulate sh | 283 emulate sh |
| 265 NULLCMD=: | 284 NULLCMD=: |
| 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 267 # is contrary to our usage. Disable this feature. | 286 # is contrary to our usage. Disable this feature. |
| 268 alias -g '${1+"$@"}'='"$@"' | 287 alias -g '${1+"$@"}'='"$@"' |
| 269 setopt NO_GLOB_SUBST | 288 setopt NO_GLOB_SUBST |
| 270 else | 289 else |
| 271 case `(set -o) 2>/dev/null` in | 290 case `(set -o) 2>/dev/null` in |
| 341 | 360 |
| 342 done | 361 done |
| 343 | 362 |
| 344 if test "x$CONFIG_SHELL" != x; then | 363 if test "x$CONFIG_SHELL" != x; then |
| 345 for as_var in BASH_ENV ENV | 364 for as_var in BASH_ENV ENV |
| 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 347 done | 366 done |
| 348 export CONFIG_SHELL | 367 export CONFIG_SHELL |
| 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 350 fi | 369 fi |
| 351 | 370 |
| 352 | 371 |
| 353 if test $as_have_required = no; then | 372 if test $as_have_required = no; then |
| 354 echo This script requires a shell more modern than all the | 373 echo This script requires a shell more modern than all the |
| 413 echo positional parameters were not saved. | 432 echo positional parameters were not saved. |
| 414 fi | 433 fi |
| 415 | 434 |
| 416 test \$exitcode = 0") || { | 435 test \$exitcode = 0") || { |
| 417 echo No shell found that supports shell functions. | 436 echo No shell found that supports shell functions. |
| 418 echo Please tell autoconf@gnu.org about your system, | 437 echo Please tell bug-autoconf@gnu.org about your system, |
| 419 echo including any error possibly output before this | 438 echo including any error possibly output before this message. |
| 420 echo message | 439 echo This can help us improve future autoconf versions. |
| 440 echo Configuration will now proceed without shell functions. | |
| 421 } | 441 } |
| 422 | 442 |
| 423 | 443 |
| 424 | 444 |
| 425 as_lineno_1=$LINENO | 445 as_lineno_1=$LINENO |
| 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 452 t loop | 472 t loop |
| 453 s/-\n.*// | 473 s/-\n.*// |
| 454 ' >$as_me.lineno && | 474 ' >$as_me.lineno && |
| 455 chmod +x "$as_me.lineno" || | 475 chmod +x "$as_me.lineno" || |
| 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 457 { (exit 1); exit 1; }; } | 477 { (exit 1); exit 1; }; } |
| 458 | 478 |
| 459 # Don't try to exec as it changes $[0], causing all sort of problems | 479 # Don't try to exec as it changes $[0], causing all sort of problems |
| 460 # (the dirname of $[0] is not the place where we might find the | 480 # (the dirname of $[0] is not the place where we might find the |
| 461 # original and so on. Autoconf is especially sensitive to this). | 481 # original and so on. Autoconf is especially sensitive to this). |
| 479 *) ECHO_C='\c';; | 499 *) ECHO_C='\c';; |
| 480 esac;; | 500 esac;; |
| 481 *) | 501 *) |
| 482 ECHO_N='-n';; | 502 ECHO_N='-n';; |
| 483 esac | 503 esac |
| 484 | |
| 485 if expr a : '\(a\)' >/dev/null 2>&1 && | 504 if expr a : '\(a\)' >/dev/null 2>&1 && |
| 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 487 as_expr=expr | 506 as_expr=expr |
| 488 else | 507 else |
| 489 as_expr=false | 508 as_expr=false |
| 492 rm -f conf$$ conf$$.exe conf$$.file | 511 rm -f conf$$ conf$$.exe conf$$.file |
| 493 if test -d conf$$.dir; then | 512 if test -d conf$$.dir; then |
| 494 rm -f conf$$.dir/conf$$.file | 513 rm -f conf$$.dir/conf$$.file |
| 495 else | 514 else |
| 496 rm -f conf$$.dir | 515 rm -f conf$$.dir |
| 497 mkdir conf$$.dir | 516 mkdir conf$$.dir 2>/dev/null |
| 498 fi | 517 fi |
| 499 echo >conf$$.file | 518 if (echo >conf$$.file) 2>/dev/null; then |
| 500 if ln -s conf$$.file conf$$ 2>/dev/null; then | 519 if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 501 as_ln_s='ln -s' | 520 as_ln_s='ln -s' |
| 502 # ... but there are two gotchas: | 521 # ... but there are two gotchas: |
| 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 505 # In both cases, we have to default to `cp -p'. | 524 # In both cases, we have to default to `cp -p'. |
| 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 526 as_ln_s='cp -p' | |
| 527 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 528 as_ln_s=ln | |
| 529 else | |
| 507 as_ln_s='cp -p' | 530 as_ln_s='cp -p' |
| 508 elif ln conf$$.file conf$$ 2>/dev/null; then | 531 fi |
| 509 as_ln_s=ln | |
| 510 else | 532 else |
| 511 as_ln_s='cp -p' | 533 as_ln_s='cp -p' |
| 512 fi | 534 fi |
| 513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 514 rmdir conf$$.dir 2>/dev/null | 536 rmdir conf$$.dir 2>/dev/null |
| 529 as_ls_L_option= | 551 as_ls_L_option= |
| 530 fi | 552 fi |
| 531 as_test_x=' | 553 as_test_x=' |
| 532 eval sh -c '\'' | 554 eval sh -c '\'' |
| 533 if test -d "$1"; then | 555 if test -d "$1"; then |
| 534 test -d "$1/."; | 556 test -d "$1/."; |
| 535 else | 557 else |
| 536 case $1 in | 558 case $1 in |
| 537 -*)set "./$1";; | 559 -*)set "./$1";; |
| 538 esac; | 560 esac; |
| 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 540 ???[sx]*):;;*)false;;esac;fi | 562 ???[sx]*):;;*)false;;esac;fi |
| 541 '\'' sh | 563 '\'' sh |
| 542 ' | 564 ' |
| 613 #endif | 635 #endif |
| 614 #ifdef HAVE_UNISTD_H | 636 #ifdef HAVE_UNISTD_H |
| 615 # include <unistd.h> | 637 # include <unistd.h> |
| 616 #endif" | 638 #endif" |
| 617 | 639 |
| 618 ac_subst_vars='SHELL | 640 ac_subst_vars='LTLIBOBJS |
| 641 TARGET | |
| 642 SAVEDIR | |
| 643 LOCKFILE | |
| 644 LOGFILE | |
| 645 SCOREFILE | |
| 646 GROUPOWNER | |
| 647 PROGRAM | |
| 648 SED | |
| 649 TBL | |
| 650 COLCRT | |
| 651 GROFF | |
| 652 NROFF | |
| 653 LIBOBJS | |
| 654 EGREP | |
| 655 GREP | |
| 656 CPP | |
| 657 OBJEXT | |
| 658 EXEEXT | |
| 659 ac_ct_CC | |
| 660 CPPFLAGS | |
| 661 LDFLAGS | |
| 662 CFLAGS | |
| 663 CC | |
| 664 target_os | |
| 665 target_vendor | |
| 666 target_cpu | |
| 667 target | |
| 668 host_os | |
| 669 host_vendor | |
| 670 host_cpu | |
| 671 host | |
| 672 build_os | |
| 673 build_vendor | |
| 674 build_cpu | |
| 675 build | |
| 676 target_alias | |
| 677 host_alias | |
| 678 build_alias | |
| 679 LIBS | |
| 680 ECHO_T | |
| 681 ECHO_N | |
| 682 ECHO_C | |
| 683 DEFS | |
| 684 mandir | |
| 685 localedir | |
| 686 libdir | |
| 687 psdir | |
| 688 pdfdir | |
| 689 dvidir | |
| 690 htmldir | |
| 691 infodir | |
| 692 docdir | |
| 693 oldincludedir | |
| 694 includedir | |
| 695 localstatedir | |
