
1: #! /bin/sh 2: # From configure.ac Revision: 1.105 . 3: # Guess values for system-dependent variables and create Makefiles. 4: # Generated by GNU Autoconf 2.59 for Gauche 0.8.12. 5: # 6: # Report bugs to <shiro@acm.org>. 7: # 8: # Copyright (C) 2003 Free Software Foundation, Inc. 9: # This configure script is free software; the Free Software Foundation 10: # gives unlimited permission to copy, distribute and modify it. 11: ## --------------------- ## 12: ## M4sh Initialization. ## 13: ## --------------------- ## 14: 15: # Be Bourne compatible 16: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17: emulate sh 18: NULLCMD=: 19: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20: # is contrary to our usage. Disable this feature. 21: alias -g '${1+"$@"}'='"$@"' 22: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 23: set -o posix 24: fi 25: DUALCASE=1; export DUALCASE # for MKS sh 26: 27: # Support unset when possible. 28: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 29: as_unset=unset 30: else 31: as_unset=false 32: fi 33: 34: 35: # Work around bugs in pre-3.0 UWIN ksh. 36: $as_unset ENV MAIL MAILPATH 37: PS1='$ ' 38: PS2='> ' 39: PS4='+ ' 40: 41: # NLS nuisances. 42: for as_var in \ 43: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 44: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 45: LC_TELEPHONE LC_TIME 46: do 47: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 48: eval $as_var=C; export $as_var 49: else 50: $as_unset $as_var 51: fi 52: done 53: 54: # Required to use basename. 55: if expr a : '\(a\)' >/dev/null 2>&1; then 56: as_expr=expr 57: else 58: as_expr=false 59: fi 60: 61: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 62: as_basename=basename 63: else 64: as_basename=false 65: fi 66: 67: 68: # Name of the executable. 69: as_me=`$as_basename "$0" || 70: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 71: X"$0" : 'X\(//\)$' \| \ 72: X"$0" : 'X\(/\)$' \| \ 73: . : '\(.\)' 2>/dev/null || 74: echo X/"$0" | 75: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 76: /^X\/\(\/\/\)$/{ s//\1/; q; } 77: /^X\/\(\/\).*/{ s//\1/; q; } 78: s/.*/./; q'` 79: 80: 81: # PATH needs CR, and LINENO needs CR and PATH. 82: # Avoid depending upon Character Ranges. 83: as_cr_letters='abcdefghijklmnopqrstuvwxyz' 84: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 85: as_cr_Letters=$as_cr_letters$as_cr_LETTERS 86: as_cr_digits='0123456789' 87: as_cr_alnum=$as_cr_Letters$as_cr_digits 88: 89: # The user is always right. 90: if test "${PATH_SEPARATOR+set}" != set; then 91: echo "#! /bin/sh" >conf$$.sh 92: echo "exit 0" >>conf$$.sh 93: chmod +x conf$$.sh 94: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 95: PATH_SEPARATOR=';' 96: else 97: PATH_SEPARATOR=: 98: fi 99: rm -f conf$$.sh 100: fi 101: 102: 103: as_lineno_1=$LINENO 104: as_lineno_2=$LINENO 105: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 106: test "x$as_lineno_1" != "x$as_lineno_2" && 107: test "x$as_lineno_3" = "x$as_lineno_2" || { 108: # Find who we are. Look in the path if we contain no path at all 109: # relative or not. 110: case $0 in 111: *[\\/]* ) as_myself=$0 ;; 112: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 113: for as_dir in $PATH 114: do 115: IFS=$as_save_IFS 116: test -z "$as_dir" && as_dir=. 117: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 118: done 119: 120: ;; 121: esac 122: # We did not find ourselves, most probably we were run as `sh COMMAND' 123: # in which case we are not to be found in the path. 124: if test "x$as_myself" = x; then 125: as_myself=$0 126: fi 127: if test ! -f "$as_myself"; then 128: { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 129: { (exit 1); exit 1; }; } 130: fi 131: case $CONFIG_SHELL in 132: '') 133: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 134: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 135: do 136: IFS=$as_save_IFS 137: test -z "$as_dir" && as_dir=. 138: for as_base in sh bash ksh sh5; do 139: case $as_dir in 140: /*) 141: if ("$as_dir/$as_base" -c ' 142: as_lineno_1=$LINENO 143: as_lineno_2=$LINENO 144: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 145: test "x$as_lineno_1" != "x$as_lineno_2" && 146: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 147: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 148: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 149: CONFIG_SHELL=$as_dir/$as_base 150: export CONFIG_SHELL 151: exec "$CONFIG_SHELL" "$0" ${1+"$@"} 152: fi;; 153: esac 154: done 155: done 156: ;; 157: esac 158: 159: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 160: # uniformly replaced by the line number. The first 'sed' inserts a 161: # line-number line before each line; the second 'sed' does the real 162: # work. The second script uses 'N' to pair each line-number line 163: # with the numbered line, and appends trailing '-' during 164: # substitution so that $LINENO is not a special case at line end. 165: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 166: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 167: sed '=' <$as_myself | 168: sed ' 169: N 170: s,$,-, 171: : loop 172: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 173: t loop 174: s,-$,, 175: s,^['$as_cr_digits']*\n,, 176: ' >$as_me.lineno && 177: chmod +x $as_me.lineno || 178: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 179: { (exit 1); exit 1; }; } 180: 181: # Don't try to exec as it changes $[0], causing all sort of problems 182: # (the dirname of $[0] is not the place where we might find the 183: # original and so on. Autoconf is especially sensible to this). 184: . ./$as_me.lineno 185: # Exit status is that of the last command. 186: exit 187: } 188: 189: 190: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 191: *c*,-n*) ECHO_N= ECHO_C=' 192: ' ECHO_T=' ' ;; 193: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 194: *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 195: esac 196: 197: if expr a : '\(a\)' >/dev/null 2>&1; then 198: as_expr=expr 199: else 200: as_expr=false 201: fi 202: 203: rm -f conf$$ conf$$.exe conf$$.file 204: echo >conf$$.file 205: if ln -s conf$$.file conf$$ 2>/dev/null; then 206: # We could just check for DJGPP; but this test a) works b) is more generic 207: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 208: if test -f conf$$.exe; then 209: # Don't use ln at all; we don't have any links 210: as_ln_s='cp -p' 211: else 212: as_ln_s='ln -s' 213: fi 214: elif ln conf$$.file conf$$ 2>/dev/null; then 215: as_ln_s=ln 216: else 217: as_ln_s='cp -p' 218: fi 219: rm -f conf$$ conf$$.exe conf$$.file 220: 221: if mkdir -p . 2>/dev/null; then 222: as_mkdir_p=: 223: else 224: test -d ./-p && rmdir ./-p 225: as_mkdir_p=false 226: fi 227: 228: as_executable_p="test -f" 229: 230: # Sed expression to map a string onto a valid CPP name. 231: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 232: 233: # Sed expression to map a string onto a valid variable name. 234: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 235: 236: 237: # IFS 238: # We need space, tab and new line, in precisely that order. 239: as_nl=' 240: ' 241: IFS=" $as_nl" 242: 243: # CDPATH. 244: $as_unset CDPATH 245: 246: 247: # Name of the host. 248: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 249: # so uname gets run too. 250: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 251: 252: exec 6>&1 253: 254: # 255: # Initializations. 256: # 257: ac_default_prefix=/usr/local 258: ac_config_libobj_dir=. 259: cross_compiling=no 260: subdirs= 261: MFLAGS= 262: MAKEFLAGS= 263: SHELL=${CONFIG_SHELL-/bin/sh} 264: 265: # Maximum number of lines to put in a shell here document. 266: # This variable seems obsolete. It should probably be removed, and 267: # only ac_max_sed_lines should be used. 268: : ${ac_max_here_lines=38} 269: 270: # Identity of this package. 271: PACKAGE_NAME='Gauche' 272: PACKAGE_TARNAME='gauche' 273: PACKAGE_VERSION='0.8.12' 274: PACKAGE_STRING='Gauche 0.8.12' 275: PACKAGE_BUGREPORT='shiro@acm.org' 276: 277: # Factoring default headers for most tests. 278: ac_includes_default="\ 279: #include <stdio.h> 280: #if HAVE_SYS_TYPES_H 281: # include <sys/types.h> 282: #endif 283: #if HAVE_SYS_STAT_H 284: # include <sys/stat.h> 285: #endif 286: #if STDC_HEADERS 287: # include <stdlib.h> 288: # include <stddef.h> 289: #else 290: # if HAVE_STDLIB_H 291: # include <stdlib.h> 292: # endif 293: #endif 294: #if HAVE_STRING_H 295: # if !STDC_HEADERS && HAVE_MEMORY_H 296: # include <memory.h> 297: # endif 298: # include <string.h> 299: #endif 300: #if HAVE_STRINGS_H 301: # include <strings.h> 302: #endif 303: #if HAVE_INTTYPES_H 304: # include <inttypes.h> 305: #else 306: # if HAVE_STDINT_H 307: # include <stdint.h> 308: # endif 309: #endif 310: #if HAVE_UNISTD_H 311: # include <unistd.h> 312: #endif" 313: 314: ac_subdirs_all="$ac_subdirs_all gc" 315: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SLIB_DIR LOCAL_INC LOCAL_LIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR AS MAKEINFO GZIP_PROGRAM DEFAULT_CFLAGS CPP EGREP ALLOCA xtarget SHLIB_SO_CFLAGS SHLIB_SO_LDFLAGS SHLIB_SO_SUFFIX SHLIB_LIBS_FOR_EXT SHLIB_DYLIB_LDFLAGS SHLIB_DYLIB_SUFFIX SHLIB_MAIN_LDFLAGS EXT_LIBGAUCHE EXT_UVECTOR LIBGAUCHE_SO GOSH_USE_SHLIB LINK_HELPER MAKEVERSLINK RPATH_TMP RPATH_REAL SONAME_FLAG OPTFLAGS GAUCHE_VERSION GAUCHE_CONFIGURE_ARGS ICONV_NAME ICONV_LIB ICONV_CPPFLAGS ICONV_LDFLAGS DBM_ARCHFILES DBM_SCMFILES GDBMLIB NDBMLIB ODBMLIB subdirs LIBOBJS LTLIBOBJS' 316: ac_subst_files='' 317: 318: # Initialize some variables set by options. 319: ac_init_help= 320: ac_init_version=false 321: # The variables have the same names as the options, with 322: # dashes changed to underlines. 323: cache_file=/dev/null 324: exec_prefix=NONE 325: no_create= 326: no_recursion= 327: prefix=NONE 328: program_prefix=NONE 329: program_suffix=NONE 330: program_transform_name=s,x,x, 331: silent= 332: site= 333: srcdir= 334: verbose= 335: x_includes=NONE 336: x_libraries=NONE 337: 338: # Installation directory options. 339: # These are left unexpanded so users can "make install exec_prefix=/foo" 340: # and all the variables that are supposed to be based on exec_prefix 341: # by default will actually change. 342: # Use braces instead of parens because sh, perl, etc. also accept them. 343: bindir='${exec_prefix}/bin' 344: sbindir='${exec_prefix}/sbin' 345: libexecdir='${exec_prefix}/libexec' 346: datadir='${prefix}/share' 347: sysconfdir='${prefix}/etc' 348: sharedstatedir='${prefix}/com' 349: localstatedir='${prefix}/var' 350: libdir='${exec_prefix}/lib' 351: includedir='${prefix}/include' 352: oldincludedir='/usr/include' 353: infodir='${prefix}/info' 354: mandir='${prefix}/man' 355: 356: ac_prev= 357: for ac_option 358: do 359: # If the previous option needs an argument, assign it. 360: if test -n "$ac_prev"; then 361: eval "$ac_prev=\$ac_option" 362: ac_prev= 363: continue 364: fi 365: 366: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 367: 368: # Accept the important Cygnus configure options, so we can diagnose typos. 369: 370: case $ac_option in 371: 372: -bindir | --bindir | --bindi | --bind | --bin | --bi) 373: ac_prev=bindir ;; 374: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 375: bindir=$ac_optarg ;; 376: 377: -build | --build | --buil | --bui | --bu) 378: ac_prev=build_alias ;; 379: -build=* | --build=* | --buil=* | --bui=* | --bu=*) 380: build_alias=$ac_optarg ;; 381: 382: -cache-file | --cache-file | --cache-fil | --cache-fi \ 383: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 384: ac_prev=cache_file ;; 385: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 386: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 387: cache_file=$ac_optarg ;; 388: 389: --config-cache | -C) 390: cache_file=config.cache ;; 391: 392: -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 393: ac_prev=datadir ;; 394: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 395: | --da=*) 396: datadir=$ac_optarg ;; 397: 398: -disable-* | --disable-*) 399: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 400: # Reject names that are not valid shell variable names. 401: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 402: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 403: { (exit 1); exit 1; }; } 404: ac_feature=`echo $ac_feature | sed 's/-/_/g'` 405: eval "enable_$ac_feature=no" ;; 406: 407: -enable-* | --enable-*) 408: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 409: # Reject names that are not valid shell variable names. 410: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 411: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 412: { (exit 1); exit 1; }; } 413: ac_feature=`echo $ac_feature | sed 's/-/_/g'` 414: case $ac_option in 415: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 416: *) ac_optarg=yes ;; 417: esac 418: eval "enable_$ac_feature='$ac_optarg'" ;; 419: 420: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 421: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 422: | --exec | --exe | --ex) 423: ac_prev=exec_prefix ;; 424: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 425: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 426: | --exec=* | --exe=* | --ex=*) 427: exec_prefix=$ac_optarg ;; 428: 429: -gas | --gas | --ga | --g) 430: # Obsolete; use --with-gas. 431: with_gas=yes ;; 432: 433: -help | --help | --hel | --he | -h) 434: ac_init_help=long ;; 435: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 436: ac_init_help=recursive ;; 437: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 438: ac_init_help=short ;; 439: 440: -host | --host | --hos | --ho) 441: ac_prev=host_alias ;; 442: -host=* | --host=* | --hos=* | --ho=*) 443: host_alias=$ac_optarg ;; 444: 445: -includedir | --includedir | --includedi | --included | --include \ 446: | --includ | --inclu | --incl | --inc) 447: ac_prev=includedir ;; 448: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 449: | --includ=* | --inclu=* | --incl=* | --inc=*) 450: includedir=$ac_optarg ;; 451: 452: -infodir | --infodir | --infodi | --infod | --info | --inf) 453: ac_prev=infodir ;; 454: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 455: infodir=$ac_optarg ;; 456: 457: -libdir | --libdir | --libdi | --libd) 458: ac_prev=libdir ;; 459: -libdir=* | --libdir=* | --libdi=* | --libd=*) 460: libdir=$ac_optarg ;; 461: 462: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 463: | --libexe | --libex | --libe) 464: ac_prev=libexecdir ;; 465: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 466: | --libexe=* | --libex=* | --libe=*) 467: libexecdir=$ac_optarg ;; 468: 469: -localstatedir | --localstatedir | --localstatedi | --localstated \ 470: | --localstate | --localstat | --localsta | --localst \ 471: | --locals | --local | --loca | --loc | --lo) 472: ac_prev=localstatedir ;; 473: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 474: | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 475: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 476: localstatedir=$ac_optarg ;; 477: 478: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 479: ac_prev=mandir ;; 480: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 481: mandir=$ac_optarg ;; 482: 483: -nfp | --nfp | --nf) 484: # Obsolete; use --without-fp. 485: with_fp=no ;; 486: 487: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 488: | --no-cr | --no-c | -n) 489: no_create=yes ;; 490: 491: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 492: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 493: no_recursion=yes ;; 494: 495: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 496: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 497: | --oldin | --oldi | --old | --ol | --o) 498: ac_prev=oldincludedir ;; 499: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 500: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 501: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 502: oldincludedir=$ac_optarg ;; 503: 504: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 505: ac_prev=prefix ;; 506: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 507: prefix=$ac_optarg ;; 508: 509: -program-prefix | --program-prefix | --program-prefi | --program-pref \ 510: | --program-pre | --program-pr | --program-p) 511: ac_prev=program_prefix ;; 512: -program-prefix=* | --program-prefix=* | --program-prefi=* \ 513: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 514: program_prefix=$ac_optarg ;; 515: 516: -program-suffix | --program-suffix | --program-suffi | --program-suff \ 517: | --program-suf | --program-su | --program-s) 518: ac_prev=program_suffix ;; 519: -program-suffix=* | --program-suffix=* | --program-suffi=* \ 520: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 521: program_suffix=$ac_optarg ;; 522: 523: -program-transform-name | --program-transform-name \ 524: | --program-transform-nam | --program-transform-na \ 525: | --program-transform-n | --program-transform- \ 526: | --program-transform | --program-transfor \ 527: | --program-transfo | --program-transf \ 528: | --program-trans | --program-tran \ 529: | --progr-tra | --program-tr | --program-t) 530: ac_prev=program_transform_name ;; 531: -program-transform-name=* | --program-transform-name=* \ 532: | --program-transform-nam=* | --program-transform-na=* \ 533: | --program-transform-n=* | --program-transform-=* \ 534: | --program-transform=* | --program-transfor=* \ 535: | --program-transfo=* | --program-transf=* \ 536: | --program-trans=* | --program-tran=* \ 537: | --progr-tra=* | --program-tr=* | --program-t=*) 538: program_transform_name=$ac_optarg ;; 539: 540: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 541: | -silent | --silent | --silen | --sile | --sil) 542: silent=yes ;; 543: 544: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 545: ac_prev=sbindir ;; 546: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 547: | --sbi=* | --sb=*) 548: sbindir=$ac_optarg ;; 549: 550: -sharedstatedir | --sharedstatedir | --sharedstatedi \ 551: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 552: | --sharedst | --shareds | --shared | --share | --shar \ 553: | --sha | --sh) 554: ac_prev=sharedstatedir ;; 555: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 556: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 557: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 558: | --sha=* | --sh=*) 559: sharedstatedir=$ac_optarg ;; 560: 561: -site | --site | --sit) 562: ac_prev=site ;; 563: -site=* | --site=* | --sit=*) 564: site=$ac_optarg ;; 565: 566: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 567: ac_prev=srcdir ;; 568: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 569: srcdir=$ac_optarg ;; 570: 571: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 572: | --syscon | --sysco | --sysc | --sys | --sy) 573: ac_prev=sysconfdir ;; 574: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 575: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 576: sysconfdir=$ac_optarg ;; 577: 578: -target | --target | --targe | --targ | --tar | --ta | --t) 579: ac_prev=target_alias ;; 580: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 581: target_alias=$ac_optarg ;; 582: 583: -v | -verbose | --verbose | --verbos | --verbo | --verb) 584: verbose=yes ;; 585: 586: -version | --version | --versio | --versi | --vers | -V) 587: ac_init_version=: ;; 588: 589: -with-* | --with-*) 590: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 591: # Reject names that are not valid shell variable names. 592: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 593: { echo "$as_me: error: invalid package name: $ac_package" >&2 594: { (exit 1); exit 1; }; } 595: ac_package=`echo $ac_package| sed 's/-/_/g'` 596: case $ac_option in 597: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 598: *) ac_optarg=yes ;; 599: esac 600: eval "with_$ac_package='$ac_optarg'" ;; 601: 602: -without-* | --without-*) 603: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 604: # Reject names that are not valid shell variable names. 605: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 606: { echo "$as_me: error: invalid package name: $ac_package" >&2 607: { (exit 1); exit 1; }; } 608: ac_package=`echo $ac_package | sed 's/-/_/g'` 609: eval "with_$ac_package=no" ;; 610: 611: --x) 612: # Obsolete; use --with-x. 613: with_x=yes ;; 614: 615: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 616: | --x-incl | --x-inc | --x-in | --x-i) 617: ac_prev=x_includes ;; 618: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 619: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 620: x_includes=$ac_optarg ;; 621: 622: -x-libraries | --x-libraries | --x-librarie | --x-librari \ 623: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 624: ac_prev=x_libraries ;; 625: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 626: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 627: x_libraries=$ac_optarg ;; 628: 629: -*) { echo "$as_me: error: unrecognized option: $ac_option 630: Try \`$0 --help' for more information." >&2 631: { (exit 1); exit 1; }; } 632: ;; 633: 634: *=*) 635: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 636: # Reject names that are not valid shell variable names. 637: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 638: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 639: { (exit 1); exit 1; }; } 640: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 641: eval "$ac_envvar='$ac_optarg'" 642: export $ac_envvar ;; 643: 644: *) 645: # FIXME: should be removed in autoconf 3.0. 646: echo "$as_me: WARNING: you should use --build, --host, --target" >&2 647: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 648: echo "$as_me: WARNING: invalid host type: $ac_option" >&2 649: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 650: ;; 651: 652: esac 653: done 654: 655: if test -n "$ac_prev"; then 656: ac_option=--`echo $ac_prev | sed 's/_/-/g'` 657: { echo "$as_me: error: missing argument to $ac_option" >&2 658: { (exit 1); exit 1; }; } 659: fi 660: 661: # Be sure to have absolute paths. 662: for ac_var in exec_prefix prefix 663: do 664: eval ac_val=$`echo $ac_var` 665: case $ac_val in 666: [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 667: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 668: { (exit 1); exit 1; }; };; 669: esac 670: done 671: 672: # Be sure to have absolute paths. 673: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 674: localstatedir libdir includedir oldincludedir infodir mandir 675: do 676: eval ac_val=$`echo $ac_var` 677: case $ac_val in 678: [\\/$]* | ?:[\\/]* ) ;; 679: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 680: { (exit 1); exit 1; }; };; 681: esac 682: done 683: 684: # There might be people who depend on the old broken behavior: `$host' 685: # used to hold the argument of --host etc. 686: # FIXME: To remove some day. 687: build=$build_alias 688: host=$host_alias 689: target=$target_alias 690: 691: # FIXME: To remove some day. 692: if test "x$host_alias" != x; then 693: if test "x$build_alias" = x; then 694: cross_compiling=maybe 695: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 696: If a cross compiler is detected then cross compile mode will be used." >&2 697: elif test "x$build_alias" != "x$host_alias"; then 698: cross_compiling=yes 699: fi 700: fi 701: 702: ac_tool_prefix= 703: test -n "$host_alias" && ac_tool_prefix=$host_alias- 704: 705: test "$silent" = yes && exec 6>/dev/null 706: 707: 708: # Find the source files, if location was not specified. 709: if test -z "$srcdir"; then 710: ac_srcdir_defaulted=yes 711: # Try the directory containing this script, then its parent. 712: ac_confdir=`(dirname "$0") 2>/dev/null || 713: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 714: X"$0" : 'X\(//\)[^/]' \| \ 715: X"$0" : 'X\(//\)$' \| \ 716: X"$0" : 'X\(/\)' \| \ 717: . : '\(.\)' 2>/dev/null || 718: echo X"$0" | 719: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 720: /^X\(\/\/\)[^/].*/{ s//\1/; q; } 721: /^X\(\/\/\)$/{ s//\1/; q; } 722: /^X\(\/\).*/{ s//\1/; q; } 723: s/.*/./; q'` 724: srcdir=$ac_confdir 725: if test ! -r $srcdir/$ac_unique_file; then 726: srcdir=.. 727: fi 728: else 729: ac_srcdir_defaulted=no 730: fi 731: if test ! -r $srcdir/$ac_unique_file; then 732: if test "$ac_srcdir_defaulted" = yes; then 733: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 734: { (exit 1); exit 1; }; } 735: else 736: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 737: { (exit 1); exit 1; }; } 738: fi 739: fi 740: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 741: { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 742: { (exit 1); exit 1; }; } 743: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 744: ac_env_build_alias_set=${build_alias+set} 745: ac_env_build_alias_value=$build_alias 746: ac_cv_env_build_alias_set=${build_alias+set} 747: ac_cv_env_build_alias_value=$build_alias 748: ac_env_host_alias_set=${host_alias+set} 749: ac_env_host_alias_value=$host_alias 750: ac_cv_env_host_alias_set=${host_alias+set} 751: ac_cv_env_host_alias_value=$host_alias 752: ac_env_target_alias_set=${target_alias+set} 753: ac_env_target_alias_value=$target_alias 754: ac_cv_env_target_alias_set=${target_alias+set} 755: ac_cv_env_target_alias_value=$target_alias 756: ac_env_CC_set=${CC+set} 757: ac_env_CC_value=$CC 758: ac_cv_env_CC_set=${CC+set} 759: ac_cv_env_CC_value=$CC 760: ac_env_CFLAGS_set=${CFLAGS+set} 761: ac_env_CFLAGS_value=$CFLAGS 762: ac_cv_env_CFLAGS_set=${CFLAGS+set} 763: ac_cv_env_CFLAGS_value=$CFLAGS 764: ac_env_LDFLAGS_set=${LDFLAGS+set} 765: ac_env_LDFLAGS_value=$LDFLAGS 766: ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 767: ac_cv_env_LDFLAGS_value=$LDFLAGS 768: ac_env_CPPFLAGS_set=${CPPFLAGS+set} 769: ac_env_CPPFLAGS_value=$CPPFLAGS 770: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 771: ac_cv_env_CPPFLAGS_value=$CPPFLAGS 772: ac_env_CPP_set=${CPP+set} 773: ac_env_CPP_value=$CPP 774: ac_cv_env_CPP_set=${CPP+set} 775: ac_cv_env_CPP_value=$CPP 776: 777: # 778: # Report the --help message. 779: # 780: if test "$ac_init_help" = "long"; then 781: # Omit some internal or obsolete options to make the list less imposing. 782: # This message is too long to be a string in the A/UX 3.1 sh. 783: cat <<_ACEOF 784: \`configure' configures Gauche 0.8.12 to adapt to many kinds of systems. 785: 786: Usage: $0 [OPTION]... [VAR=VALUE]... 787: 788: To assign environment variables (e.g., CC, CFLAGS...), specify them as 789: VAR=VALUE. See below for descriptions of some of the useful variables. 790: 791: Defaults for the options are specified in brackets. 792: 793: Configuration: 794: -h, --help display this help and exit 795: --help=short display options specific to this package 796: --help=recursive display the short help of all the included packages 797: -V, --version display version information and exit 798: -q, --quiet, --silent do not print \`checking...' messages 799: --cache-file=FILE cache test results in FILE [disabled] 800: -C, --config-cache alias for \`--cache-file=config.cache' 801: -n, --no-create do not create output files 802: --srcdir=DIR find the sources in DIR [configure dir or \`..'] 803: 804: _ACEOF