
1: #! /bin/sh 2: 3: # Guess values for system-dependent variables and create Makefiles. 4: # Generated automatically using autoconf version 2.13 5: # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6: # 7: # This configure script is free software; the Free Software Foundation 8: # gives unlimited permission to copy, distribute and modify it. 9: 10: # Defaults: 11: ac_help= 12: ac_default_prefix=/usr/local 13: # Any additions from configure.in: 14: ac_help="$ac_help 15: --with-build-libsubdir=[DIR] Directory where to find libraries for build system" 16: ac_help="$ac_help 17: --enable-libada Builds libada directory" 18: ac_help="$ac_help 19: --enable-libssp Builds libssp directory" 20: ac_help="$ac_help 21: --with-mpfr-dir=PATH This option has been REMOVED" 22: ac_help="$ac_help 23: --with-mpfr=PATH Specify prefix directory for installed MPFR package 24: Equivalent to --with-mpfr-include=PATH/include 25: plus --with-mpfr-lib=PATH/lib" 26: ac_help="$ac_help 27: --with-mpfr-include=PATH 28: Specify directory for installed MPFR include files" 29: ac_help="$ac_help 30: --with-mpfr-lib=PATH Specify the directory for the installed MPFR library" 31: ac_help="$ac_help 32: --with-gmp-dir=PATH This option has been REMOVED" 33: ac_help="$ac_help 34: --with-gmp=PATH Specify prefix directory for the installed GMP package 35: Equivalent to --with-gmp-include=PATH/include 36: plus --with-gmp-lib=PATH/lib" 37: ac_help="$ac_help 38: --with-gmp-include=PATH Specify directory for installed GMP include files" 39: ac_help="$ac_help 40: --with-gmp-lib=PATH Specify the directory for the installed GMP library" 41: ac_help="$ac_help 42: --enable-objc-gc enable the use of Boehm's garbage collector with 43: the GNU Objective-C runtime." 44: ac_help="$ac_help 45: --with-build-sysroot=sysroot 46: use sysroot as the system root during the build" 47: ac_help="$ac_help 48: --enable-bootstrap Enable bootstrapping [yes if native build]" 49: ac_help="$ac_help 50: --enable-serial-[{host,target,build}-]configure 51: Force sequential configuration of 52: sub-packages for the host, target or build 53: machine, or all sub-packages" 54: ac_help="$ac_help 55: --with-build-time-tools=path 56: use given path to find target tools during the build" 57: ac_help="$ac_help 58: --enable-maintainer-mode enable make rules and dependencies not useful 59: (and sometimes confusing) to the casual installer" 60: ac_help="$ac_help 61: --enable-stage1-checking[=all] choose additional checking for stage1 62: of the compiler." 63: ac_help="$ac_help 64: --enable-werror enable -Werror in bootstrap stage2 and later" 65: ac_help="$ac_help 66: --with-datarootdir Use datarootdir as the data root directory." 67: ac_help="$ac_help 68: --with-docdir Install documentation in this directory." 69: ac_help="$ac_help 70: --with-htmldir Install html in this directory." 71: 72: # Initialize some variables set by options. 73: # The variables have the same names as the options, with 74: # dashes changed to underlines. 75: build=NONE 76: cache_file=./config.cache 77: exec_prefix=NONE 78: host=NONE 79: no_create= 80: nonopt=NONE 81: no_recursion= 82: prefix=NONE 83: program_prefix=NONE 84: program_suffix=NONE 85: program_transform_name=s,x,x, 86: silent= 87: site= 88: srcdir= 89: target=NONE 90: verbose= 91: x_includes=NONE 92: x_libraries=NONE 93: bindir='${exec_prefix}/bin' 94: sbindir='${exec_prefix}/sbin' 95: libexecdir='${exec_prefix}/libexec' 96: datadir='${prefix}/share' 97: sysconfdir='${prefix}/etc' 98: sharedstatedir='${prefix}/com' 99: localstatedir='${prefix}/var' 100: libdir='${exec_prefix}/lib' 101: includedir='${prefix}/include' 102: oldincludedir='/usr/include' 103: infodir='${prefix}/info' 104: mandir='${prefix}/man' 105: 106: # Initialize some other variables. 107: subdirs= 108: MFLAGS= MAKEFLAGS= 109: SHELL=${CONFIG_SHELL-/bin/sh} 110: # Maximum number of lines to put in a shell here document. 111: ac_max_here_lines=12 112: 113: ac_prev= 114: for ac_option 115: do 116: 117: # If the previous option needs an argument, assign it. 118: if test -n "$ac_prev"; then 119: eval "$ac_prev=\$ac_option" 120: ac_prev= 121: continue 122: fi 123: 124: case "$ac_option" in 125: -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 126: *) ac_optarg= ;; 127: esac 128: 129: # Accept the important Cygnus configure options, so we can diagnose typos. 130: 131: case "$ac_option" in 132: 133: -bindir | --bindir | --bindi | --bind | --bin | --bi) 134: ac_prev=bindir ;; 135: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 136: bindir="$ac_optarg" ;; 137: 138: -build | --build | --buil | --bui | --bu) 139: ac_prev=build ;; 140: -build=* | --build=* | --buil=* | --bui=* | --bu=*) 141: build="$ac_optarg" ;; 142: 143: -cache-file | --cache-file | --cache-fil | --cache-fi \ 144: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 145: ac_prev=cache_file ;; 146: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 147: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 148: cache_file="$ac_optarg" ;; 149: 150: -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 151: ac_prev=datadir ;; 152: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 153: | --da=*) 154: datadir="$ac_optarg" ;; 155: 156: -disable-* | --disable-*) 157: ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` 158: # Reject names that are not valid shell variable names. 159: if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 160: { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 161: fi 162: ac_feature=`echo $ac_feature| sed 's/-/_/g'` 163: eval "enable_${ac_feature}=no" ;; 164: 165: -enable-* | --enable-*) 166: ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` 167: # Reject names that are not valid shell variable names. 168: if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 169: { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 170: fi 171: ac_feature=`echo $ac_feature| sed 's/-/_/g'` 172: case "$ac_option" in 173: *=*) ;; 174: *) ac_optarg=yes ;; 175: esac 176: eval "enable_${ac_feature}='$ac_optarg'" ;; 177: 178: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 179: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 180: | --exec | --exe | --ex) 181: ac_prev=exec_prefix ;; 182: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 183: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 184: | --exec=* | --exe=* | --ex=*) 185: exec_prefix="$ac_optarg" ;; 186: 187: -gas | --gas | --ga | --g) 188: # Obsolete; use --with-gas. 189: with_gas=yes ;; 190: 191: -help | --help | --hel | --he) 192: # Omit some internal or obsolete options to make the list less imposing. 193: # This message is too long to be a string in the A/UX 3.1 sh. 194: cat << EOF 195: Usage: configure [options] [host] 196: Options: [defaults in brackets after descriptions] 197: Configuration: 198: --cache-file=FILE cache test results in FILE 199: --help print this message 200: --no-create do not create output files 201: --quiet, --silent do not print \`checking...' messages 202: --version print the version of autoconf that created configure 203: Directory and file names: 204: --prefix=PREFIX install architecture-independent files in PREFIX 205: [$ac_default_prefix] 206: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 207: [same as prefix] 208: --bindir=DIR user executables in DIR [EPREFIX/bin] 209: --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] 210: --libexecdir=DIR program executables in DIR [EPREFIX/libexec] 211: --datadir=DIR read-only architecture-independent data in DIR 212: [PREFIX/share] 213: --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] 214: --sharedstatedir=DIR modifiable architecture-independent data in DIR 215: [PREFIX/com] 216: --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] 217: --libdir=DIR object code libraries in DIR [EPREFIX/lib] 218: --includedir=DIR C header files in DIR [PREFIX/include] 219: --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] 220: --infodir=DIR info documentation in DIR [PREFIX/info] 221: --mandir=DIR man documentation in DIR [PREFIX/man] 222: --srcdir=DIR find the sources in DIR [configure dir or ..] 223: --program-prefix=PREFIX prepend PREFIX to installed program names 224: --program-suffix=SUFFIX append SUFFIX to installed program names 225: --program-transform-name=PROGRAM 226: run sed PROGRAM on installed program names 227: EOF 228: cat << EOF 229: Host type: 230: --build=BUILD configure for building on BUILD [BUILD=HOST] 231: --host=HOST configure for HOST [guessed] 232: --target=TARGET configure for TARGET [TARGET=HOST] 233: Features and packages: 234: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 235: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 236: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 237: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 238: --x-includes=DIR X include files are in DIR 239: --x-libraries=DIR X library files are in DIR 240: EOF 241: if test -n "$ac_help"; then 242: echo "--enable and --with options recognized:$ac_help" 243: fi 244: exit 0 ;; 245: 246: -host | --host | --hos | --ho) 247: ac_prev=host ;; 248: -host=* | --host=* | --hos=* | --ho=*) 249: host="$ac_optarg" ;; 250: 251: -includedir | --includedir | --includedi | --included | --include \ 252: | --includ | --inclu | --incl | --inc) 253: ac_prev=includedir ;; 254: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 255: | --includ=* | --inclu=* | --incl=* | --inc=*) 256: includedir="$ac_optarg" ;; 257: 258: -infodir | --infodir | --infodi | --infod | --info | --inf) 259: ac_prev=infodir ;; 260: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 261: infodir="$ac_optarg" ;; 262: 263: -libdir | --libdir | --libdi | --libd) 264: ac_prev=libdir ;; 265: -libdir=* | --libdir=* | --libdi=* | --libd=*) 266: libdir="$ac_optarg" ;; 267: 268: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 269: | --libexe | --libex | --libe) 270: ac_prev=libexecdir ;; 271: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 272: | --libexe=* | --libex=* | --libe=*) 273: libexecdir="$ac_optarg" ;; 274: 275: -localstatedir | --localstatedir | --localstatedi | --localstated \ 276: | --localstate | --localstat | --localsta | --localst \ 277: | --locals | --local | --loca | --loc | --lo) 278: ac_prev=localstatedir ;; 279: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 280: | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 281: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 282: localstatedir="$ac_optarg" ;; 283: 284: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 285: ac_prev=mandir ;; 286: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 287: mandir="$ac_optarg" ;; 288: 289: -nfp | --nfp | --nf) 290: # Obsolete; use --without-fp. 291: with_fp=no ;; 292: 293: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 294: | --no-cr | --no-c) 295: no_create=yes ;; 296: 297: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 298: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 299: no_recursion=yes ;; 300: 301: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 302: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 303: | --oldin | --oldi | --old | --ol | --o) 304: ac_prev=oldincludedir ;; 305: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 306: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 307: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 308: oldincludedir="$ac_optarg" ;; 309: 310: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 311: ac_prev=prefix ;; 312: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 313: prefix="$ac_optarg" ;; 314: 315: -program-prefix | --program-prefix | --program-prefi | --program-pref \ 316: | --program-pre | --program-pr | --program-p) 317: ac_prev=program_prefix ;; 318: -program-prefix=* | --program-prefix=* | --program-prefi=* \ 319: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 320: program_prefix="$ac_optarg" ;; 321: 322: -program-suffix | --program-suffix | --program-suffi | --program-suff \ 323: | --program-suf | --program-su | --program-s) 324: ac_prev=program_suffix ;; 325: -program-suffix=* | --program-suffix=* | --program-suffi=* \ 326: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 327: program_suffix="$ac_optarg" ;; 328: 329: -program-transform-name | --program-transform-name \ 330: | --program-transform-nam | --program-transform-na \ 331: | --program-transform-n | --program-transform- \ 332: | --program-transform | --program-transfor \ 333: | --program-transfo | --program-transf \ 334: | --program-trans | --program-tran \ 335: | --progr-tra | --program-tr | --program-t) 336: ac_prev=program_transform_name ;; 337: -program-transform-name=* | --program-transform-name=* \ 338: | --program-transform-nam=* | --program-transform-na=* \ 339: | --program-transform-n=* | --program-transform-=* \ 340: | --program-transform=* | --program-transfor=* \ 341: | --program-transfo=* | --program-transf=* \ 342: | --program-trans=* | --program-tran=* \ 343: | --progr-tra=* | --program-tr=* | --program-t=*) 344: program_transform_name="$ac_optarg" ;; 345: 346: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 347: | -silent | --silent | --silen | --sile | --sil) 348: silent=yes ;; 349: 350: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 351: ac_prev=sbindir ;; 352: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 353: | --sbi=* | --sb=*) 354: sbindir="$ac_optarg" ;; 355: 356: -sharedstatedir | --sharedstatedir | --sharedstatedi \ 357: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 358: | --sharedst | --shareds | --shared | --share | --shar \ 359: | --sha | --sh) 360: ac_prev=sharedstatedir ;; 361: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 362: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 363: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 364: | --sha=* | --sh=*) 365: sharedstatedir="$ac_optarg" ;; 366: 367: -site | --site | --sit) 368: ac_prev=site ;; 369: -site=* | --site=* | --sit=*) 370: site="$ac_optarg" ;; 371: 372: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 373: ac_prev=srcdir ;; 374: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 375: srcdir="$ac_optarg" ;; 376: 377: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 378: | --syscon | --sysco | --sysc | --sys | --sy) 379: ac_prev=sysconfdir ;; 380: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 381: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 382: sysconfdir="$ac_optarg" ;; 383: 384: -target | --target | --targe | --targ | --tar | --ta | --t) 385: ac_prev=target ;; 386: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 387: target="$ac_optarg" ;; 388: 389: -v | -verbose | --verbose | --verbos | --verbo | --verb) 390: verbose=yes ;; 391: 392: -version | --version | --versio | --versi | --vers) 393: echo "configure generated by autoconf version 2.13" 394: exit 0 ;; 395: 396: -with-* | --with-*) 397: ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 398: # Reject names that are not valid shell variable names. 399: if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 400: { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 401: fi 402: ac_package=`echo $ac_package| sed 's/-/_/g'` 403: case "$ac_option" in 404: *=*) ;; 405: *) ac_optarg=yes ;; 406: esac 407: eval "with_${ac_package}='$ac_optarg'" ;; 408: 409: -without-* | --without-*) 410: ac_package=`echo $ac_option|sed -e 's/-*without-//'` 411: # Reject names that are not valid shell variable names. 412: if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 413: { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 414: fi 415: ac_package=`echo $ac_package| sed 's/-/_/g'` 416: eval "with_${ac_package}=no" ;; 417: 418: --x) 419: # Obsolete; use --with-x. 420: with_x=yes ;; 421: 422: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 423: | --x-incl | --x-inc | --x-in | --x-i) 424: ac_prev=x_includes ;; 425: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 426: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 427: x_includes="$ac_optarg" ;; 428: 429: -x-libraries | --x-libraries | --x-librarie | --x-librari \ 430: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 431: ac_prev=x_libraries ;; 432: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 433: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 434: x_libraries="$ac_optarg" ;; 435: 436: -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 437: ;; 438: 439: *) 440: if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 441: echo "configure: warning: $ac_option: invalid host type" 1>&2 442: fi 443: if test "x$nonopt" != xNONE; then 444: { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 445: fi 446: nonopt="$ac_option" 447: ;; 448: 449: esac 450: done 451: 452: if test -n "$ac_prev"; then 453: { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } 454: fi 455: 456: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 457: 458: # File descriptor usage: 459: # 0 standard input 460: # 1 file creation 461: # 2 errors and warnings 462: # 3 some systems may open it to /dev/tty 463: # 4 used on the Kubota Titan 464: # 6 checking for... messages and results 465: # 5 compiler messages saved in config.log 466: if test "$silent" = yes; then 467: exec 6>/dev/null 468: else 469: exec 6>&1 470: fi 471: exec 5>./config.log 472: 473: echo "\ 474: This file contains any messages produced by compilers while 475: running configure, to aid debugging if configure makes a mistake. 476: " 1>&5 477: 478: # Strip out --no-create and --no-recursion so they do not pile up. 479: # Also quote any args containing shell metacharacters. 480: ac_configure_args= 481: for ac_arg 482: do 483: case "$ac_arg" in 484: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 485: | --no-cr | --no-c) ;; 486: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 487: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 488: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 489: ac_configure_args="$ac_configure_args '$ac_arg'" ;; 490: *) ac_configure_args="$ac_configure_args $ac_arg" ;; 491: esac 492: done 493: 494: # NLS nuisances. 495: # Only set these to C if already set. These must not be set unconditionally 496: # because not all systems understand e.g. LANG=C (notably SCO). 497: # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 498: # Non-C LC_CTYPE values break the ctype check. 499: if test "${LANG+set}" = set; then LANG=C; export LANG; fi 500: if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 501: if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 502: if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 503: 504: # confdefs.h avoids OS command line length limits that DEFS can exceed. 505: rm -rf conftest* confdefs.h 506: # AIX cpp loses on an empty file, so make sure it contains at least a newline. 507: echo > confdefs.h 508: 509: # A filename unique to this package, relative to the directory that 510: # configure is in, which we can look for to find out if srcdir is correct. 511: ac_unique_file=move-if-change 512: 513: # Find the source files, if location was not specified. 514: if test -z "$srcdir"; then 515: ac_srcdir_defaulted=yes 516: # Try the directory containing this script, then its parent. 517: ac_prog=$0 518: ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 519: test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 520: srcdir=$ac_confdir 521: if test ! -r $srcdir/$ac_unique_file; then 522: srcdir=.. 523: fi 524: else 525: ac_srcdir_defaulted=no 526: fi 527: if test ! -r $srcdir/$ac_unique_file; then 528: if test "$ac_srcdir_defaulted" = yes; then 529: { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 530: else 531: { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 532: fi 533: fi 534: srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 535: 536: # Prefer explicitly selected file to automatically selected ones. 537: if test -z "$CONFIG_SITE"; then 538: if test "x$prefix" != xNONE; then 539: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 540: else 541: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 542: fi 543: fi 544: for ac_site_file in $CONFIG_SITE; do 545: if test -r "$ac_site_file"; then 546: echo "loading site script $ac_site_file" 547: . "$ac_site_file" 548: fi 549: done 550: 551: if test -r "$cache_file"; then 552: echo "loading cache $cache_file" 553: . $cache_file 554: else 555: echo "creating cache $cache_file" 556: > $cache_file 557: fi 558: 559: ac_ext=c 560: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 561: ac_cpp='$CPP $CPPFLAGS' 562: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 563: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 564: cross_compiling=$ac_cv_prog_cc_cross 565: 566: ac_exeext= 567: ac_objext=o 568: if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 569: # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 570: if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 571: ac_n= ac_c=' 572: ' ac_t=' ' 573: else 574: ac_n=-n ac_c= ac_t= 575: fi 576: else 577: ac_n= ac_c='\c' ac_t= 578: fi 579: 580: 581: 582: ac_aux_dir= 583: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 584: if test -f $ac_dir/install-sh; then 585: ac_aux_dir=$ac_dir 586: ac_install_sh="$ac_aux_dir/install-sh -c" 587: break 588: elif test -f $ac_dir/install.sh; then 589: ac_aux_dir=$ac_dir 590: ac_install_sh="$ac_aux_dir/install.sh -c" 591: break 592: fi 593: done 594: if test -z "$ac_aux_dir"; then 595: { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } 596: fi 597: ac_config_guess=$ac_aux_dir/config.guess 598: ac_config_sub=$ac_aux_dir/config.sub 599: ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 600: 601: 602: # Do some error checking and defaulting for the host and target type. 603: # The inputs are: 604: # configure --host=HOST --target=TARGET --build=BUILD NONOPT 605: # 606: # The rules are: 607: # 1. You are not allowed to specify --host, --target, and nonopt at the 608: # same time. 609: # 2. Host defaults to nonopt. 610: # 3. If nonopt is not specified, then host defaults to the current host, 611: # as determined by config.guess. 612: # 4. Target and build default to nonopt. 613: # 5. If nonopt is not specified, then target and build default to host. 614: 615: # The aliases save the names the user supplied, while $host etc. 616: # will get canonicalized. 617: case $host---$target---$nonopt in 618: NONE---*---* | *---NONE---* | *---*---NONE) ;; 619: *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; 620: esac 621: 622: 623: # Make sure we can run config.sub. 624: if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 625: else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 626: fi 627: 628: echo $ac_n "checking host system type""... $ac_c" 1>&6 629: echo "configure:630: checking host system type" >&5 630: 631: host_alias=$host 632: case "$host_alias" in 633: NONE) 634: case $nonopt in 635: NONE) 636: if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 637: else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 638: fi ;; 639: *) host_alias=$nonopt ;; 640: esac ;; 641: esac 642: 643: host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 644: host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 645: host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 646: host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 647: echo "$ac_t""$host" 1>&6 648: 649: echo $ac_n "checking target system type""... $ac_c" 1>&6 650: echo "configure:651: checking target system type" >&5 651: 652: target_alias=$target 653: case "$target_alias" in 654: NONE) 655: case $nonopt in 656: NONE) target_alias=$host_alias ;; 657: *) target_alias=$nonopt ;; 658: esac ;; 659: esac 660: 661: target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` 662: target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 663: target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 664: target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 665: echo "$ac_t""$target" 1>&6 666: 667: echo $ac_n "checking build system type""... $ac_c" 1>&6 668: echo "configure:669: checking build system type" >&5 669: 670: build_alias=$build 671: case "$build_alias" in 672: NONE) 673: case $nonopt in 674: NONE) build_alias=$host_alias ;; 675: *) build_alias=$nonopt ;; 676: esac ;; 677: esac 678: 679: build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` 680: build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 681: build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 682: build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 683: echo "$ac_t""$build" 1>&6 684: 685: test "$host_alias" != "$target_alias" && 686: test "$program_prefix$program_suffix$program_transform_name" = \ 687: NONENONEs,x,x, && 688: program_prefix=${target_alias}- 689: 690: if test "$program_transform_name" = s,x,x,; then 691: program_transform_name= 692: else 693: # Double any \ or $. echo might interpret backslashes. 694: cat <<\EOF_SED > conftestsed 695: s,\\,\\\\,g; s,\$,$$,g 696: EOF_SED 697: program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 698: rm -f conftestsed 699: fi 700: test "$program_prefix" != NONE && 701: program_transform_name="s,^,${program_prefix},; $program_transform_name" 702: # Use a double $ so make ignores it. 703: test "$program_suffix" != NONE && 704: program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 705: 706: # sed with no file args requires a program. 707: test "$program_transform_name" = "" && program_transform_name="s,x,x," 708: 709: 710: # Get 'install' or 'install-sh' and its variants. 711: # Find a good install program. We prefer a C program (faster), 712: # so one script is as good as another. But avoid the broken or 713: # incompatible versions: 714: # SysV /etc/install, /usr/sbin/install 715: # SunOS /usr/etc/install 716: # IRIX /sbin/install 717: # AIX /bin/install 718: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 719: # AFS /usr/afsws/bin/install, which mishandles nonexistent args 720: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 721: # ./install, which can be erroneously created by make from ./install.sh. 722: echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 723: echo "configure:724: checking for a BSD compatible install" >&5 724: if test -z "$INSTALL"; then 725: if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 726: echo $ac_n "(cached) $ac_c" 1>&6 727: else 728: IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 729: for ac_dir in $PATH; do 730: # Account for people who put trailing slashes in PATH elements. 731: case "$ac_dir/" in 732: /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 733: *) 734: # OSF1 and SCO ODT 3.0 have their own names for install. 735: # Don't use installbsd from OSF since it installs stuff as root 736: # by default. 737: for ac_prog in ginstall scoinst install; do 738: if test -f $ac_dir/$ac_prog; then 739: if test $ac_prog = install && 740: grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 741: # AIX install. It has an incompatible calling convention. 742: : 743: else 744: ac_cv_path_install="$ac_dir/$ac_prog -c" 745: break 2 746: fi 747: fi 748: done 749: ;; 750: esac 751: done 752: IFS="$ac_save_IFS" 753: 754: fi 755: if test "${ac_cv_path_install+set}" = set; then 756: INSTALL="$ac_cv_path_install" 757: else 758: # As a last resort, use the slow shell script. We don't cache a 759: # path for INSTALL within a source directory, because that will 760: # break other packages using the cache if that directory is 761: # removed, or if the path is relative. 762: INSTALL="$ac_install_sh" 763: fi 764: fi 765: echo "$ac_t""$INSTALL" 1>&6 766: 767: # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 768: # It thinks the first close brace ends the variable substitution. 769: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 770: 771: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 772: 773: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 774: 775: echo $ac_n "checking whether ln works""... $ac_c" 1>&6 776: echo "configure:777: checking whether ln works" >&5 777: if eval "test \"`echo '$''{'acx_cv_prog_LN'+set}'`\" = set"; then 778: echo $ac_n "(cached) $ac_c" 1>&6 779: else 780: rm -f conftestdata_t 781: echo >conftestdata_f 782: if ln conftestdata_f conftestdata_t 2>/dev/null 783: then 784: acx_cv_prog_LN=ln 785: else 786: acx_cv_prog_LN=no 787: fi 788: rm -f conftestdata_f conftestdata_t 789: 790: fi 791: if test $acx_cv_prog_LN = no; then 792: LN="cp" 793: echo "$ac_t""no, using $LN" 1>&6 794: else 795: LN="$acx_cv_prog_LN" 796: echo "$ac_t""yes" 1>&6 797: fi 798: 799: echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 800: echo "configure:801: checking whether ln -s works" >&5 801: if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 802: echo $ac_n "(cached) $ac_c" 1>&6 803: else 804: rm -f conftestdata 805: if ln -s X conftestdata 2>/dev/null 806: then 807: rm -f conftestdata 808: ac_cv_prog_LN_S="ln -s" 809: else 810: ac_cv_prog_LN_S=ln 811: fi 812: fi<