
1: #! /bin/sh 2: # Guess values for system-dependent variables and create Makefiles. 3: # Generated by GNU Autoconf 2.61. 4: # 5: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6: # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7: # This configure script is free software; the Free Software Foundation 8: # gives unlimited permission to copy, distribute and modify it. 9: ## --------------------- ## 10: ## M4sh Initialization. ## 11: ## --------------------- ## 12: 13: # Be more Bourne compatible 14: DUALCASE=1; export DUALCASE # for MKS sh 15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16: emulate sh 17: NULLCMD=: 18: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19: # is contrary to our usage. Disable this feature. 20: alias -g '${1+"$@"}'='"$@"' 21: setopt NO_GLOB_SUBST 22: else 23: case `(set -o) 2>/dev/null` in 24: *posix*) set -o posix ;; 25: esac 26: 27: fi 28: 29: 30: 31: 32: # PATH needs CR 33: # Avoid depending upon Character Ranges. 34: as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36: as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37: as_cr_digits='0123456789' 38: as_cr_alnum=$as_cr_Letters$as_cr_digits 39: 40: # The user is always right. 41: if test "${PATH_SEPARATOR+set}" != set; then 42: echo "#! /bin/sh" >conf$$.sh 43: echo "exit 0" >>conf$$.sh 44: chmod +x conf$$.sh 45: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46: PATH_SEPARATOR=';' 47: else 48: PATH_SEPARATOR=: 49: fi 50: rm -f conf$$.sh 51: fi 52: 53: # Support unset when possible. 54: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55: as_unset=unset 56: else 57: as_unset=false 58: fi 59: 60: 61: # IFS 62: # We need space, tab and new line, in precisely that order. Quoting is 63: # there to prevent editors from complaining about space-tab. 64: # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65: # splitting by setting IFS to empty value.) 66: as_nl=' 67: ' 68: IFS=" "" $as_nl" 69: 70: # Find who we are. Look in the path if we contain no directory separator. 71: case $0 in 72: *[\\/]* ) as_myself=$0 ;; 73: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74: for as_dir in $PATH 75: do 76: IFS=$as_save_IFS 77: test -z "$as_dir" && as_dir=. 78: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79: done 80: IFS=$as_save_IFS 81: 82: ;; 83: esac 84: # We did not find ourselves, most probably we were run as `sh COMMAND' 85: # in which case we are not to be found in the path. 86: if test "x$as_myself" = x; then 87: as_myself=$0 88: fi 89: if test ! -f "$as_myself"; then 90: echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91: { (exit 1); exit 1; } 92: fi 93: 94: # Work around bugs in pre-3.0 UWIN ksh. 95: for as_var in ENV MAIL MAILPATH 96: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97: done 98: PS1='$ ' 99: PS2='> ' 100: PS4='+ ' 101: 102: # NLS nuisances. 103: for as_var in \ 104: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106: LC_TELEPHONE LC_TIME 107: do 108: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109: eval $as_var=C; export $as_var 110: else 111: ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112: fi 113: done 114: 115: # Required to use basename. 116: if expr a : '\(a\)' >/dev/null 2>&1 && 117: test "X`expr 00001 : '.*\(...\)'`" = X001; then 118: as_expr=expr 119: else 120: as_expr=false 121: fi 122: 123: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124: as_basename=basename 125: else 126: as_basename=false 127: fi 128: 129: 130: # Name of the executable. 131: as_me=`$as_basename -- "$0" || 132: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133: X"$0" : 'X\(//\)$' \| \ 134: X"$0" : 'X\(/\)' \| . 2>/dev/null || 135: echo X/"$0" | 136: sed '/^.*\/\([^/][^/]*\)\/*$/{ 137: s//\1/ 138: q 139: } 140: /^X\/\(\/\/\)$/{ 141: s//\1/ 142: q 143: } 144: /^X\/\(\/\).*/{ 145: s//\1/ 146: q 147: } 148: s/.*/./; q'` 149: 150: # CDPATH. 151: $as_unset CDPATH 152: 153: 154: if test "x$CONFIG_SHELL" = x; then 155: if (eval ":") 2>/dev/null; then 156: as_have_required=yes 157: else 158: as_have_required=no 159: fi 160: 161: if test $as_have_required = yes && (eval ": 162: (as_func_return () { 163: (exit \$1) 164: } 165: as_func_success () { 166: as_func_return 0 167: } 168: as_func_failure () { 169: as_func_return 1 170: } 171: as_func_ret_success () { 172: return 0 173: } 174: as_func_ret_failure () { 175: return 1 176: } 177: 178: exitcode=0 179: if as_func_success; then 180: : 181: else 182: exitcode=1 183: echo as_func_success failed. 184: fi 185: 186: if as_func_failure; then 187: exitcode=1 188: echo as_func_failure succeeded. 189: fi 190: 191: if as_func_ret_success; then 192: : 193: else 194: exitcode=1 195: echo as_func_ret_success failed. 196: fi 197: 198: if as_func_ret_failure; then 199: exitcode=1 200: echo as_func_ret_failure succeeded. 201: fi 202: 203: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204: : 205: else 206: exitcode=1 207: echo positional parameters were not saved. 208: fi 209: 210: test \$exitcode = 0) || { (exit 1); exit 1; } 211: 212: ( 213: as_lineno_1=\$LINENO 214: as_lineno_2=\$LINENO 215: test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216: test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217: ") 2> /dev/null; then 218: : 219: else 220: as_candidate_shells= 221: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223: do 224: IFS=$as_save_IFS 225: test -z "$as_dir" && as_dir=. 226: case $as_dir in 227: /*) 228: for as_base in sh bash ksh sh5; do 229: as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230: done;; 231: esac 232: done 233: IFS=$as_save_IFS 234: 235: 236: for as_shell in $as_candidate_shells $SHELL; do 237: # Try only shells that exist, to save several forks. 238: if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239: { ("$as_shell") 2> /dev/null <<\_ASEOF 240: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241: emulate sh 242: NULLCMD=: 243: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244: # is contrary to our usage. Disable this feature. 245: alias -g '${1+"$@"}'='"$@"' 246: setopt NO_GLOB_SUBST 247: else 248: case `(set -o) 2>/dev/null` in 249: *posix*) set -o posix ;; 250: esac 251: 252: fi 253: 254: 255: : 256: _ASEOF 257: }; then 258: CONFIG_SHELL=$as_shell 259: as_have_required=yes 260: if { "$as_shell" 2> /dev/null <<\_ASEOF 261: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262: emulate sh 263: NULLCMD=: 264: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265: # is contrary to our usage. Disable this feature. 266: alias -g '${1+"$@"}'='"$@"' 267: setopt NO_GLOB_SUBST 268: else 269: case `(set -o) 2>/dev/null` in 270: *posix*) set -o posix ;; 271: esac 272: 273: fi 274: 275: 276: : 277: (as_func_return () { 278: (exit $1) 279: } 280: as_func_success () { 281: as_func_return 0 282: } 283: as_func_failure () { 284: as_func_return 1 285: } 286: as_func_ret_success () { 287: return 0 288: } 289: as_func_ret_failure () { 290: return 1 291: } 292: 293: exitcode=0 294: if as_func_success; then 295: : 296: else 297: exitcode=1 298: echo as_func_success failed. 299: fi 300: 301: if as_func_failure; then 302: exitcode=1 303: echo as_func_failure succeeded. 304: fi 305: 306: if as_func_ret_success; then 307: : 308: else 309: exitcode=1 310: echo as_func_ret_success failed. 311: fi 312: 313: if as_func_ret_failure; then 314: exitcode=1 315: echo as_func_ret_failure succeeded. 316: fi 317: 318: if ( set x; as_func_ret_success y && test x = "$1" ); then 319: : 320: else 321: exitcode=1 322: echo positional parameters were not saved. 323: fi 324: 325: test $exitcode = 0) || { (exit 1); exit 1; } 326: 327: ( 328: as_lineno_1=$LINENO 329: as_lineno_2=$LINENO 330: test "x$as_lineno_1" != "x$as_lineno_2" && 331: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332: 333: _ASEOF 334: }; then 335: break 336: fi 337: 338: fi 339: 340: done 341: 342: if test "x$CONFIG_SHELL" != x; then 343: for as_var in BASH_ENV ENV 344: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345: done 346: export CONFIG_SHELL 347: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348: fi 349: 350: 351: if test $as_have_required = no; then 352: echo This script requires a shell more modern than all the 353: echo shells that I found on your system. Please install a 354: echo modern shell, or manually run the script under such a 355: echo shell if you do have one. 356: { (exit 1); exit 1; } 357: fi 358: 359: 360: fi 361: 362: fi 363: 364: 365: 366: (eval "as_func_return () { 367: (exit \$1) 368: } 369: as_func_success () { 370: as_func_return 0 371: } 372: as_func_failure () { 373: as_func_return 1 374: } 375: as_func_ret_success () { 376: return 0 377: } 378: as_func_ret_failure () { 379: return 1 380: } 381: 382: exitcode=0 383: if as_func_success; then 384: : 385: else 386: exitcode=1 387: echo as_func_success failed. 388: fi 389: 390: if as_func_failure; then 391: exitcode=1 392: echo as_func_failure succeeded. 393: fi 394: 395: if as_func_ret_success; then 396: : 397: else 398: exitcode=1 399: echo as_func_ret_success failed. 400: fi 401: 402: if as_func_ret_failure; then 403: exitcode=1 404: echo as_func_ret_failure succeeded. 405: fi 406: 407: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408: : 409: else 410: exitcode=1 411: echo positional parameters were not saved. 412: fi 413: 414: test \$exitcode = 0") || { 415: echo No shell found that supports shell functions. 416: echo Please tell autoconf@gnu.org about your system, 417: echo including any error possibly output before this 418: echo message 419: } 420: 421: 422: 423: as_lineno_1=$LINENO 424: as_lineno_2=$LINENO 425: test "x$as_lineno_1" != "x$as_lineno_2" && 426: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427: 428: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429: # uniformly replaced by the line number. The first 'sed' inserts a 430: # line-number line after each line using $LINENO; the second 'sed' 431: # does the real work. The second script uses 'N' to pair each 432: # line-number line with the line containing $LINENO, and appends 433: # trailing '-' during substitution so that $LINENO is not a special 434: # case at line end. 435: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436: # scripts with optimization help from Paolo Bonzini. Blame Lee 437: # E. McMahon (1931-1989) for sed's syntax. :-) 438: sed -n ' 439: p 440: /[$]LINENO/= 441: ' <$as_myself | 442: sed ' 443: s/[$]LINENO.*/&-/ 444: t lineno 445: b 446: :lineno 447: N 448: :loop 449: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450: t loop 451: s/-\n.*// 452: ' >$as_me.lineno && 453: chmod +x "$as_me.lineno" || 454: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455: { (exit 1); exit 1; }; } 456: 457: # Don't try to exec as it changes $[0], causing all sort of problems 458: # (the dirname of $[0] is not the place where we might find the 459: # original and so on. Autoconf is especially sensitive to this). 460: . "./$as_me.lineno" 461: # Exit status is that of the last command. 462: exit 463: } 464: 465: 466: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467: as_dirname=dirname 468: else 469: as_dirname=false 470: fi 471: 472: ECHO_C= ECHO_N= ECHO_T= 473: case `echo -n x` in 474: -n*) 475: case `echo 'x\c'` in 476: *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477: *) ECHO_C='\c';; 478: esac;; 479: *) 480: ECHO_N='-n';; 481: esac 482: 483: if expr a : '\(a\)' >/dev/null 2>&1 && 484: test "X`expr 00001 : '.*\(...\)'`" = X001; then 485: as_expr=expr 486: else 487: as_expr=false 488: fi 489: 490: rm -f conf$$ conf$$.exe conf$$.file 491: if test -d conf$$.dir; then 492: rm -f conf$$.dir/conf$$.file 493: else 494: rm -f conf$$.dir 495: mkdir conf$$.dir 496: fi 497: echo >conf$$.file 498: if ln -s conf$$.file conf$$ 2>/dev/null; then 499: as_ln_s='ln -s' 500: # ... but there are two gotchas: 501: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503: # In both cases, we have to default to `cp -p'. 504: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 505: as_ln_s='cp -p' 506: elif ln conf$$.file conf$$ 2>/dev/null; then 507: as_ln_s=ln 508: else 509: as_ln_s='cp -p' 510: fi 511: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512: rmdir conf$$.dir 2>/dev/null 513: 514: if mkdir -p . 2>/dev/null; then 515: as_mkdir_p=: 516: else 517: test -d ./-p && rmdir ./-p 518: as_mkdir_p=false 519: fi 520: 521: if test -x / >/dev/null 2>&1; then 522: as_test_x='test -x' 523: else 524: if ls -dL / >/dev/null 2>&1; then 525: as_ls_L_option=L 526: else 527: as_ls_L_option= 528: fi 529: as_test_x=' 530: eval sh -c '\'' 531: if test -d "$1"; then 532: test -d "$1/."; 533: else 534: case $1 in 535: -*)set "./$1";; 536: esac; 537: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538: ???[sx]*):;;*)false;;esac;fi 539: '\'' sh 540: ' 541: fi 542: as_executable_p=$as_test_x 543: 544: # Sed expression to map a string onto a valid CPP name. 545: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 546: 547: # Sed expression to map a string onto a valid variable name. 548: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549: 550: 551: 552: exec 7<&0 </dev/null 6>&1 553: 554: # Name of the host. 555: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 556: # so uname gets run too. 557: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558: 559: # 560: # Initializations. 561: # 562: ac_default_prefix=/usr/local 563: ac_clean_files= 564: ac_config_libobj_dir=. 565: LIBOBJS= 566: cross_compiling=no 567: subdirs= 568: MFLAGS= 569: MAKEFLAGS= 570: SHELL=${CONFIG_SHELL-/bin/sh} 571: 572: # Identity of this package. 573: PACKAGE_NAME= 574: PACKAGE_TARNAME= 575: PACKAGE_VERSION= 576: PACKAGE_STRING= 577: PACKAGE_BUGREPORT= 578: 579: # Factoring default headers for most tests. 580: ac_includes_default="\ 581: #include <stdio.h> 582: #ifdef HAVE_SYS_TYPES_H 583: # include <sys/types.h> 584: #endif 585: #ifdef HAVE_SYS_STAT_H 586: # include <sys/stat.h> 587: #endif 588: #ifdef STDC_HEADERS 589: # include <stdlib.h> 590: # include <stddef.h> 591: #else 592: # ifdef HAVE_STDLIB_H 593: # include <stdlib.h> 594: # endif 595: #endif 596: #ifdef HAVE_STRING_H 597: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 598: # include <memory.h> 599: # endif 600: # include <string.h> 601: #endif 602: #ifdef HAVE_STRINGS_H 603: # include <strings.h> 604: #endif 605: #ifdef HAVE_INTTYPES_H 606: # include <inttypes.h> 607: #endif 608: #ifdef HAVE_STDINT_H 609: # include <stdint.h> 610: #endif 611: #ifdef HAVE_UNISTD_H 612: # include <unistd.h> 613: #endif" 614: 615: ac_subst_vars='SHELL 616: PATH_SEPARATOR 617: PACKAGE_NAME 618: PACKAGE_TARNAME 619: PACKAGE_VERSION 620: PACKAGE_STRING 621: PACKAGE_BUGREPORT 622: exec_prefix 623: prefix 624: program_transform_name 625: bindir 626: sbindir 627: libexecdir 628: datarootdir 629: datadir 630: sysconfdir 631: sharedstatedir 632: localstatedir 633: includedir 634: oldincludedir 635: docdir 636: infodir 637: htmldir 638: dvidir 639: pdfdir 640: psdir 641: libdir 642: localedir 643: mandir 644: DEFS 645: ECHO_C 646: ECHO_N 647: ECHO_T 648: LIBS 649: build_alias 650: host_alias 651: target_alias 652: BASERUBY 653: MAJOR 654: MINOR 655: TEENY 656: build 657: build_cpu 658: build_vendor 659: build_os 660: host 661: host_cpu 662: host_vendor 663: host_os 664: target 665: target_cpu 666: target_vendor 667: target_os 668: CC 669: CFLAGS 670: LDFLAGS 671: CPPFLAGS 672: ac_ct_CC 673: EXEEXT 674: OBJEXT 675: CXX 676: CXXFLAGS 677: ac_ct_CXX 678: CPP 679: GREP 680: EGREP 681: GNU_LD 682: CPPOUTFILE 683: OUTFLAG 684: COUTFLAG 685: RANLIB 686: AR 687: AS 688: ASFLAGS 689: NM 690: WINDRES 691: DLLWRAP 692: OBJDUMP 693: LN_S 694: SET_MAKE 695: INSTALL_PROGRAM 696: INSTALL_SCRIPT 697: INSTALL_DATA 698: RM 699: CP 700: MAKEDIRS 701: LIBOBJS 702: ALLOCA 703: DLDFLAGS 704: ARCH_FLAG 705: STATIC 706: CCDLFLAGS 707: LDSHARED 708: LDSHAREDXX 709: DLEXT 710: DLEXT2 711: LIBEXT 712: LINK_SO 713: LIBPATHFLAG 714: RPATHFLAG 715: LIBPATHENV 716: TRY_LINK 717: STRIP 718: EXTSTATIC 719: setup 720: MINIRUBY 721: PREP 722: RUNRUBY 723: EXTOUT 724: ARCHFILE 725: RDOCTARGET 726: cppflags 727: cflags 728: optflags 729: debugflags 730: XCFLAGS 731: XLDFLAGS 732: LIBRUBY_LDSHARED 733: LIBRUBY_DLDFLAGS 734: RUBY_INSTALL_NAME 735: rubyw_install_name 736: RUBYW_INSTALL_NAME 737: RUBY_SO_NAME 738: LIBRUBY_A 739: LIBRUBY_SO 740: LIBRUBY_ALIASES 741: LIBRUBY 742: LIBRUBYARG 743: LIBRUBYARG_STATIC 744: LIBRUBYARG_SHARED 745: SOLIBS 746: DLDLIBS 747: ENABLE_SHARED 748: MAINLIBS 749: COMMON_LIBS 750: COMMON_MACROS 751: COMMON_HEADERS 752: EXPORT_PREFIX 753: MINIOBJS 754: THREAD_MODEL 755: MAKEFILES 756: arch 757: sitearch 758: sitedir 759: vendordir 760: configure_args 761: rubyhdrdir 762: sitehdrdir 763: vendorhdrdir 764: NROFF 765: MANTYPE 766: BUILTIN_ENCOBJS 767: LTLIBOBJS' 768: ac_subst_files='' 769: ac_precious_vars='build_alias 770: host_alias 771: target_alias 772: CC 773: CFLAGS 774: LDFLAGS 775: LIBS 776: CPPFLAGS 777: CXX 778: CXXFLAGS 779: CCC 780: CPP' 781: 782: 783: # Initialize some variables set by options. 784: ac_init_help= 785: ac_init_version=false 786: # The variables have the same names as the options, with 787: # dashes changed to underlines. 788: cache_file=/dev/null 789: exec_prefix=NONE 790: no_create= 791: no_recursion= 792: prefix=NONE 793: program_prefix=NONE 794: program_suffix=NONE 795: program_transform_name=s,x,x, 796: silent= 797: site= 798: srcdir= 799: verbose= 800: x_includes=NONE 801: x_libraries=NONE 802: 803: # Installation directory options. 804: # These are left unexpanded so users can "make install exec_prefix=/foo" 805: # and all the variables that are supposed to be based on exec_prefix 806: # by default will actually change. 807: # Use braces instead of parens because sh, perl, etc. also accept them. 808: # (The list follows the same order as the GNU Coding Standards.) 809: bindir='${exec_prefix}/bin' 810: sbindir='${exec_prefix}/sbin' 811: libexecdir='${exec_prefix}/libexec' 812: datarootdir='${prefix}/share' 813: datadir='${datarootdir}' 814: sysconfdir='${prefix}/etc' 815: sharedstatedir='${prefix}/com' 816: localstatedir='${prefix}/var' 817: includedir='${prefix}/include' 818: oldincludedir='/usr/include' 819: docdir='${datarootdir}/doc/${PACKAGE}' 820: infodir='${datarootdir}/info' 821: htmldir='${docdir}' 822: dvidir='${docdir}' 823: pdfdir='${docdir}' 824: psdir='${docdir}' 825: libdir='${exec_prefix}/lib' 826: localedir='${datarootdir}/locale' 827: mandir='${datarootdir}/man' 828: 829: ac_prev= 830: ac_dashdash= 831: for ac_option 832: do 833: # If the previous option needs an argument, assign it. 834: if test -n "$ac_prev"; then 835: eval $ac_prev=\$ac_option 836: ac_prev= 837: continue 838: fi 839: 840: case $ac_option in 841: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 842: *) ac_optarg=yes ;; 843: esac 844: 845: # Accept the important Cygnus configure options, so we can diagnose typos. 846: 847: case $ac_dashdash$ac_option in 848: --) 849: ac_dashdash=yes ;; 850: 851: -bindir | --bindir | --bindi | --bind | --bin | --bi) 852: ac_prev=bindir ;; 853: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 854: bindir=$ac_optarg ;; 855: 856: -build | --build | --buil | --bui | --bu) 857: ac_prev=build_alias ;; 858: -build=* | --build=* | --buil=* | --bui=* | --bu=*) 859: build_alias=$ac_optarg ;; 860: 861: -cache-file | --cache-file | --cache-fil | --cache-fi \ 862: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 863: ac_prev=cache_file ;; 864: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 865: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 866: cache_file=$ac_optarg ;; 867: 868: --config-cache | -C) 869: cache_file=config.cache ;; 870: 871: -datadir | --datadir | --datadi | --datad) 872: ac_prev=datadir ;; 873: -datadir=* | --datadir=* | --datadi=* | --datad=*) 874: datadir=$ac_optarg ;; 875: 876: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 877: | --dataroo | --dataro | --datar) 878: ac_prev=datarootdir ;; 879: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 880: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 881: datarootdir=$ac_optarg ;; 882: 883: -disable-* | --disable-*) 884: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 885: # Reject names that are not valid shell variable names. 886: expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 887: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 888: { (exit 1); exit 1; }; } 889: ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 890: eval enable_$ac_feature=no ;; 891: 892: -docdir | --docdir | --docdi | --doc | --do) 893: ac_p