|
|
1.1 ! root 1: #! /bin/sh ! 2: # Guess values for system-dependent variables and create Makefiles. ! 3: # Generated by GNU Autoconf 2.57 for GNU Mach 1.91. ! 4: # ! 5: # Report bugs to <[email protected]>. ! 6: # ! 7: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 ! 8: # Free Software Foundation, Inc. ! 9: # This configure script is free software; the Free Software Foundation ! 10: # gives unlimited permission to copy, distribute and modify it. ! 11: ## --------------------- ## ! 12: ## 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: ! 26: # Support unset when possible. ! 27: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then ! 28: as_unset=unset ! 29: else ! 30: as_unset=false ! 31: fi ! 32: ! 33: ! 34: # Work around bugs in pre-3.0 UWIN ksh. ! 35: $as_unset ENV MAIL MAILPATH ! 36: PS1='$ ' ! 37: PS2='> ' ! 38: PS4='+ ' ! 39: ! 40: # NLS nuisances. ! 41: for as_var in \ ! 42: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ ! 43: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ ! 44: LC_TELEPHONE LC_TIME ! 45: do ! 46: if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then ! 47: eval $as_var=C; export $as_var ! 48: else ! 49: $as_unset $as_var ! 50: fi ! 51: done ! 52: ! 53: # Required to use basename. ! 54: if expr a : '\(a\)' >/dev/null 2>&1; then ! 55: as_expr=expr ! 56: else ! 57: as_expr=false ! 58: fi ! 59: ! 60: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then ! 61: as_basename=basename ! 62: else ! 63: as_basename=false ! 64: fi ! 65: ! 66: ! 67: # Name of the executable. ! 68: as_me=`$as_basename "$0" || ! 69: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ! 70: X"$0" : 'X\(//\)$' \| \ ! 71: X"$0" : 'X\(/\)$' \| \ ! 72: . : '\(.\)' 2>/dev/null || ! 73: echo X/"$0" | ! 74: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } ! 75: /^X\/\(\/\/\)$/{ s//\1/; q; } ! 76: /^X\/\(\/\).*/{ s//\1/; q; } ! 77: s/.*/./; q'` ! 78: ! 79: ! 80: # PATH needs CR, and LINENO needs CR and PATH. ! 81: # Avoid depending upon Character Ranges. ! 82: as_cr_letters='abcdefghijklmnopqrstuvwxyz' ! 83: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ! 84: as_cr_Letters=$as_cr_letters$as_cr_LETTERS ! 85: as_cr_digits='0123456789' ! 86: as_cr_alnum=$as_cr_Letters$as_cr_digits ! 87: ! 88: # The user is always right. ! 89: if test "${PATH_SEPARATOR+set}" != set; then ! 90: echo "#! /bin/sh" >conf$$.sh ! 91: echo "exit 0" >>conf$$.sh ! 92: chmod +x conf$$.sh ! 93: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ! 94: PATH_SEPARATOR=';' ! 95: else ! 96: PATH_SEPARATOR=: ! 97: fi ! 98: rm -f conf$$.sh ! 99: fi ! 100: ! 101: ! 102: as_lineno_1=$LINENO ! 103: as_lineno_2=$LINENO ! 104: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` ! 105: test "x$as_lineno_1" != "x$as_lineno_2" && ! 106: test "x$as_lineno_3" = "x$as_lineno_2" || { ! 107: # Find who we are. Look in the path if we contain no path at all ! 108: # relative or not. ! 109: case $0 in ! 110: *[\\/]* ) as_myself=$0 ;; ! 111: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 112: for as_dir in $PATH ! 113: do ! 114: IFS=$as_save_IFS ! 115: test -z "$as_dir" && as_dir=. ! 116: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ! 117: done ! 118: ! 119: ;; ! 120: esac ! 121: # We did not find ourselves, most probably we were run as `sh COMMAND' ! 122: # in which case we are not to be found in the path. ! 123: if test "x$as_myself" = x; then ! 124: as_myself=$0 ! 125: fi ! 126: if test ! -f "$as_myself"; then ! 127: { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 ! 128: { (exit 1); exit 1; }; } ! 129: fi ! 130: case $CONFIG_SHELL in ! 131: '') ! 132: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 133: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH ! 134: do ! 135: IFS=$as_save_IFS ! 136: test -z "$as_dir" && as_dir=. ! 137: for as_base in sh bash ksh sh5; do ! 138: case $as_dir in ! 139: /*) ! 140: if ("$as_dir/$as_base" -c ' ! 141: as_lineno_1=$LINENO ! 142: as_lineno_2=$LINENO ! 143: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` ! 144: test "x$as_lineno_1" != "x$as_lineno_2" && ! 145: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then ! 146: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } ! 147: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } ! 148: CONFIG_SHELL=$as_dir/$as_base ! 149: export CONFIG_SHELL ! 150: exec "$CONFIG_SHELL" "$0" ${1+"$@"} ! 151: fi;; ! 152: esac ! 153: done ! 154: done ! 155: ;; ! 156: esac ! 157: ! 158: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO ! 159: # uniformly replaced by the line number. The first 'sed' inserts a ! 160: # line-number line before each line; the second 'sed' does the real ! 161: # work. The second script uses 'N' to pair each line-number line ! 162: # with the numbered line, and appends trailing '-' during ! 163: # substitution so that $LINENO is not a special case at line end. ! 164: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the ! 165: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) ! 166: sed '=' <$as_myself | ! 167: sed ' ! 168: N ! 169: s,$,-, ! 170: : loop ! 171: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, ! 172: t loop ! 173: s,-$,, ! 174: s,^['$as_cr_digits']*\n,, ! 175: ' >$as_me.lineno && ! 176: chmod +x $as_me.lineno || ! 177: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 ! 178: { (exit 1); exit 1; }; } ! 179: ! 180: # Don't try to exec as it changes $[0], causing all sort of problems ! 181: # (the dirname of $[0] is not the place where we might find the ! 182: # original and so on. Autoconf is especially sensible to this). ! 183: . ./$as_me.lineno ! 184: # Exit status is that of the last command. ! 185: exit ! 186: } ! 187: ! 188: ! 189: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in ! 190: *c*,-n*) ECHO_N= ECHO_C=' ! 191: ' ECHO_T=' ' ;; ! 192: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; ! 193: *) ECHO_N= ECHO_C='\c' ECHO_T= ;; ! 194: esac ! 195: ! 196: if expr a : '\(a\)' >/dev/null 2>&1; then ! 197: as_expr=expr ! 198: else ! 199: as_expr=false ! 200: fi ! 201: ! 202: rm -f conf$$ conf$$.exe conf$$.file ! 203: echo >conf$$.file ! 204: if ln -s conf$$.file conf$$ 2>/dev/null; then ! 205: # We could just check for DJGPP; but this test a) works b) is more generic ! 206: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). ! 207: if test -f conf$$.exe; then ! 208: # Don't use ln at all; we don't have any links ! 209: as_ln_s='cp -p' ! 210: else ! 211: as_ln_s='ln -s' ! 212: fi ! 213: elif ln conf$$.file conf$$ 2>/dev/null; then ! 214: as_ln_s=ln ! 215: else ! 216: as_ln_s='cp -p' ! 217: fi ! 218: rm -f conf$$ conf$$.exe conf$$.file ! 219: ! 220: if mkdir -p . 2>/dev/null; then ! 221: as_mkdir_p=: ! 222: else ! 223: as_mkdir_p=false ! 224: fi ! 225: ! 226: as_executable_p="test -f" ! 227: ! 228: # Sed expression to map a string onto a valid CPP name. ! 229: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" ! 230: ! 231: # Sed expression to map a string onto a valid variable name. ! 232: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" ! 233: ! 234: ! 235: # IFS ! 236: # We need space, tab and new line, in precisely that order. ! 237: as_nl=' ! 238: ' ! 239: IFS=" $as_nl" ! 240: ! 241: # CDPATH. ! 242: $as_unset CDPATH ! 243: ! 244: ! 245: # Name of the host. ! 246: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, ! 247: # so uname gets run too. ! 248: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` ! 249: ! 250: exec 6>&1 ! 251: ! 252: # ! 253: # Initializations. ! 254: # ! 255: ac_default_prefix=/usr/local ! 256: ac_config_libobj_dir=. ! 257: cross_compiling=no ! 258: subdirs= ! 259: MFLAGS= ! 260: MAKEFLAGS= ! 261: SHELL=${CONFIG_SHELL-/bin/sh} ! 262: ! 263: # Maximum number of lines to put in a shell here document. ! 264: # This variable seems obsolete. It should probably be removed, and ! 265: # only ac_max_sed_lines should be used. ! 266: : ${ac_max_here_lines=38} ! 267: ! 268: # Identity of this package. ! 269: PACKAGE_NAME='GNU Mach' ! 270: PACKAGE_TARNAME='gnumach' ! 271: PACKAGE_VERSION='1.91' ! 272: PACKAGE_STRING='GNU Mach 1.91' ! 273: PACKAGE_BUGREPORT='[email protected]' ! 274: ! 275: ac_unique_file="kern/ipc_kobject.c" ! 276: ac_default_prefix= ! 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_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 systype cross_compiling force_install INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LD ac_ct_LD NM ac_ct_NM MIG ac_ct_MIG MBCHK CPP EGREP SMP_LIBS OSKIT_LIBDIR LIBOBJS LTLIBOBJS' ! 315: ac_subst_files='' ! 316: ! 317: # Initialize some variables set by options. ! 318: ac_init_help= ! 319: ac_init_version=false ! 320: # The variables have the same names as the options, with ! 321: # dashes changed to underlines. ! 322: cache_file=/dev/null ! 323: exec_prefix=NONE ! 324: no_create= ! 325: no_recursion= ! 326: prefix=NONE ! 327: program_prefix=NONE ! 328: program_suffix=NONE ! 329: program_transform_name=s,x,x, ! 330: silent= ! 331: site= ! 332: srcdir= ! 333: verbose= ! 334: x_includes=NONE ! 335: x_libraries=NONE ! 336: ! 337: # Installation directory options. ! 338: # These are left unexpanded so users can "make install exec_prefix=/foo" ! 339: # and all the variables that are supposed to be based on exec_prefix ! 340: # by default will actually change. ! 341: # Use braces instead of parens because sh, perl, etc. also accept them. ! 342: bindir='${exec_prefix}/bin' ! 343: sbindir='${exec_prefix}/sbin' ! 344: libexecdir='${exec_prefix}/libexec' ! 345: datadir='${prefix}/share' ! 346: sysconfdir='${prefix}/etc' ! 347: sharedstatedir='${prefix}/com' ! 348: localstatedir='${prefix}/var' ! 349: libdir='${exec_prefix}/lib' ! 350: includedir='${prefix}/include' ! 351: oldincludedir='/usr/include' ! 352: infodir='${prefix}/info' ! 353: mandir='${prefix}/man' ! 354: ! 355: ac_prev= ! 356: for ac_option ! 357: do ! 358: # If the previous option needs an argument, assign it. ! 359: if test -n "$ac_prev"; then ! 360: eval "$ac_prev=\$ac_option" ! 361: ac_prev= ! 362: continue ! 363: fi ! 364: ! 365: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` ! 366: ! 367: # Accept the important Cygnus configure options, so we can diagnose typos. ! 368: ! 369: case $ac_option in ! 370: ! 371: -bindir | --bindir | --bindi | --bind | --bin | --bi) ! 372: ac_prev=bindir ;; ! 373: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) ! 374: bindir=$ac_optarg ;; ! 375: ! 376: -build | --build | --buil | --bui | --bu) ! 377: ac_prev=build_alias ;; ! 378: -build=* | --build=* | --buil=* | --bui=* | --bu=*) ! 379: build_alias=$ac_optarg ;; ! 380: ! 381: -cache-file | --cache-file | --cache-fil | --cache-fi \ ! 382: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ! 383: ac_prev=cache_file ;; ! 384: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ ! 385: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) ! 386: cache_file=$ac_optarg ;; ! 387: ! 388: --config-cache | -C) ! 389: cache_file=config.cache ;; ! 390: ! 391: -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ! 392: ac_prev=datadir ;; ! 393: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ ! 394: | --da=*) ! 395: datadir=$ac_optarg ;; ! 396: ! 397: -disable-* | --disable-*) ! 398: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` ! 399: # Reject names that are not valid shell variable names. ! 400: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && ! 401: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 ! 402: { (exit 1); exit 1; }; } ! 403: ac_feature=`echo $ac_feature | sed 's/-/_/g'` ! 404: eval "enable_$ac_feature=no" ;; ! 405: ! 406: -enable-* | --enable-*) ! 407: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` ! 408: # Reject names that are not valid shell variable names. ! 409: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && ! 410: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 ! 411: { (exit 1); exit 1; }; } ! 412: ac_feature=`echo $ac_feature | sed 's/-/_/g'` ! 413: case $ac_option in ! 414: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; ! 415: *) ac_optarg=yes ;; ! 416: esac ! 417: eval "enable_$ac_feature='$ac_optarg'" ;; ! 418: ! 419: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ ! 420: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ ! 421: | --exec | --exe | --ex) ! 422: ac_prev=exec_prefix ;; ! 423: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ ! 424: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ ! 425: | --exec=* | --exe=* | --ex=*) ! 426: exec_prefix=$ac_optarg ;; ! 427: ! 428: -gas | --gas | --ga | --g) ! 429: # Obsolete; use --with-gas. ! 430: with_gas=yes ;; ! 431: ! 432: -help | --help | --hel | --he | -h) ! 433: ac_init_help=long ;; ! 434: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ! 435: ac_init_help=recursive ;; ! 436: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ! 437: ac_init_help=short ;; ! 438: ! 439: -host | --host | --hos | --ho) ! 440: ac_prev=host_alias ;; ! 441: -host=* | --host=* | --hos=* | --ho=*) ! 442: host_alias=$ac_optarg ;; ! 443: ! 444: -includedir | --includedir | --includedi | --included | --include \ ! 445: | --includ | --inclu | --incl | --inc) ! 446: ac_prev=includedir ;; ! 447: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ ! 448: | --includ=* | --inclu=* | --incl=* | --inc=*) ! 449: includedir=$ac_optarg ;; ! 450: ! 451: -infodir | --infodir | --infodi | --infod | --info | --inf) ! 452: ac_prev=infodir ;; ! 453: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) ! 454: infodir=$ac_optarg ;; ! 455: ! 456: -libdir | --libdir | --libdi | --libd) ! 457: ac_prev=libdir ;; ! 458: -libdir=* | --libdir=* | --libdi=* | --libd=*) ! 459: libdir=$ac_optarg ;; ! 460: ! 461: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ ! 462: | --libexe | --libex | --libe) ! 463: ac_prev=libexecdir ;; ! 464: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ ! 465: | --libexe=* | --libex=* | --libe=*) ! 466: libexecdir=$ac_optarg ;; ! 467: ! 468: -localstatedir | --localstatedir | --localstatedi | --localstated \ ! 469: | --localstate | --localstat | --localsta | --localst \ ! 470: | --locals | --local | --loca | --loc | --lo) ! 471: ac_prev=localstatedir ;; ! 472: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ ! 473: | --localstate=* | --localstat=* | --localsta=* | --localst=* \ ! 474: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) ! 475: localstatedir=$ac_optarg ;; ! 476: ! 477: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ! 478: ac_prev=mandir ;; ! 479: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) ! 480: mandir=$ac_optarg ;; ! 481: ! 482: -nfp | --nfp | --nf) ! 483: # Obsolete; use --without-fp. ! 484: with_fp=no ;; ! 485: ! 486: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ ! 487: | --no-cr | --no-c | -n) ! 488: no_create=yes ;; ! 489: ! 490: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ ! 491: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ! 492: no_recursion=yes ;; ! 493: ! 494: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ ! 495: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ ! 496: | --oldin | --oldi | --old | --ol | --o) ! 497: ac_prev=oldincludedir ;; ! 498: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ ! 499: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ ! 500: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) ! 501: oldincludedir=$ac_optarg ;; ! 502: ! 503: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ! 504: ac_prev=prefix ;; ! 505: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ! 506: prefix=$ac_optarg ;; ! 507: ! 508: -program-prefix | --program-prefix | --program-prefi | --program-pref \ ! 509: | --program-pre | --program-pr | --program-p) ! 510: ac_prev=program_prefix ;; ! 511: -program-prefix=* | --program-prefix=* | --program-prefi=* \ ! 512: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) ! 513: program_prefix=$ac_optarg ;; ! 514: ! 515: -program-suffix | --program-suffix | --program-suffi | --program-suff \ ! 516: | --program-suf | --program-su | --program-s) ! 517: ac_prev=program_suffix ;; ! 518: -program-suffix=* | --program-suffix=* | --program-suffi=* \ ! 519: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) ! 520: program_suffix=$ac_optarg ;; ! 521: ! 522: -program-transform-name | --program-transform-name \ ! 523: | --program-transform-nam | --program-transform-na \ ! 524: | --program-transform-n | --program-transform- \ ! 525: | --program-transform | --program-transfor \ ! 526: | --program-transfo | --program-transf \ ! 527: | --program-trans | --program-tran \ ! 528: | --progr-tra | --program-tr | --program-t) ! 529: ac_prev=program_transform_name ;; ! 530: -program-transform-name=* | --program-transform-name=* \ ! 531: | --program-transform-nam=* | --program-transform-na=* \ ! 532: | --program-transform-n=* | --program-transform-=* \ ! 533: | --program-transform=* | --program-transfor=* \ ! 534: | --program-transfo=* | --program-transf=* \ ! 535: | --program-trans=* | --program-tran=* \ ! 536: | --progr-tra=* | --program-tr=* | --program-t=*) ! 537: program_transform_name=$ac_optarg ;; ! 538: ! 539: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ! 540: | -silent | --silent | --silen | --sile | --sil) ! 541: silent=yes ;; ! 542: ! 543: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ! 544: ac_prev=sbindir ;; ! 545: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ! 546: | --sbi=* | --sb=*) ! 547: sbindir=$ac_optarg ;; ! 548: ! 549: -sharedstatedir | --sharedstatedir | --sharedstatedi \ ! 550: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ ! 551: | --sharedst | --shareds | --shared | --share | --shar \ ! 552: | --sha | --sh) ! 553: ac_prev=sharedstatedir ;; ! 554: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ ! 555: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ ! 556: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ ! 557: | --sha=* | --sh=*) ! 558: sharedstatedir=$ac_optarg ;; ! 559: ! 560: -site | --site | --sit) ! 561: ac_prev=site ;; ! 562: -site=* | --site=* | --sit=*) ! 563: site=$ac_optarg ;; ! 564: ! 565: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ! 566: ac_prev=srcdir ;; ! 567: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ! 568: srcdir=$ac_optarg ;; ! 569: ! 570: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ ! 571: | --syscon | --sysco | --sysc | --sys | --sy) ! 572: ac_prev=sysconfdir ;; ! 573: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ ! 574: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) ! 575: sysconfdir=$ac_optarg ;; ! 576: ! 577: -target | --target | --targe | --targ | --tar | --ta | --t) ! 578: ac_prev=target_alias ;; ! 579: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) ! 580: target_alias=$ac_optarg ;; ! 581: ! 582: -v | -verbose | --verbose | --verbos | --verbo | --verb) ! 583: verbose=yes ;; ! 584: ! 585: -version | --version | --versio | --versi | --vers | -V) ! 586: ac_init_version=: ;; ! 587: ! 588: -with-* | --with-*) ! 589: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` ! 590: # Reject names that are not valid shell variable names. ! 591: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && ! 592: { echo "$as_me: error: invalid package name: $ac_package" >&2 ! 593: { (exit 1); exit 1; }; } ! 594: ac_package=`echo $ac_package| sed 's/-/_/g'` ! 595: case $ac_option in ! 596: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; ! 597: *) ac_optarg=yes ;; ! 598: esac ! 599: eval "with_$ac_package='$ac_optarg'" ;; ! 600: ! 601: -without-* | --without-*) ! 602: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` ! 603: # Reject names that are not valid shell variable names. ! 604: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && ! 605: { echo "$as_me: error: invalid package name: $ac_package" >&2 ! 606: { (exit 1); exit 1; }; } ! 607: ac_package=`echo $ac_package | sed 's/-/_/g'` ! 608: eval "with_$ac_package=no" ;; ! 609: ! 610: --x) ! 611: # Obsolete; use --with-x. ! 612: with_x=yes ;; ! 613: ! 614: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ ! 615: | --x-incl | --x-inc | --x-in | --x-i) ! 616: ac_prev=x_includes ;; ! 617: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ ! 618: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) ! 619: x_includes=$ac_optarg ;; ! 620: ! 621: -x-libraries | --x-libraries | --x-librarie | --x-librari \ ! 622: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ! 623: ac_prev=x_libraries ;; ! 624: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ ! 625: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) ! 626: x_libraries=$ac_optarg ;; ! 627: ! 628: -*) { echo "$as_me: error: unrecognized option: $ac_option ! 629: Try \`$0 --help' for more information." >&2 ! 630: { (exit 1); exit 1; }; } ! 631: ;; ! 632: ! 633: *=*) ! 634: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` ! 635: # Reject names that are not valid shell variable names. ! 636: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && ! 637: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 ! 638: { (exit 1); exit 1; }; } ! 639: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ! 640: eval "$ac_envvar='$ac_optarg'" ! 641: export $ac_envvar ;; ! 642: ! 643: *) ! 644: # FIXME: should be removed in autoconf 3.0. ! 645: echo "$as_me: WARNING: you should use --build, --host, --target" >&2 ! 646: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && ! 647: echo "$as_me: WARNING: invalid host type: $ac_option" >&2 ! 648: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ! 649: ;; ! 650: ! 651: esac ! 652: done ! 653: ! 654: if test -n "$ac_prev"; then ! 655: ac_option=--`echo $ac_prev | sed 's/_/-/g'` ! 656: { echo "$as_me: error: missing argument to $ac_option" >&2 ! 657: { (exit 1); exit 1; }; } ! 658: fi ! 659: ! 660: # Be sure to have absolute paths. ! 661: for ac_var in exec_prefix prefix ! 662: do ! 663: eval ac_val=$`echo $ac_var` ! 664: case $ac_val in ! 665: [\\/$]* | ?:[\\/]* | NONE | '' ) ;; ! 666: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 ! 667: { (exit 1); exit 1; }; };; ! 668: esac ! 669: done ! 670: ! 671: # Be sure to have absolute paths. ! 672: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ ! 673: localstatedir libdir includedir oldincludedir infodir mandir ! 674: do ! 675: eval ac_val=$`echo $ac_var` ! 676: case $ac_val in ! 677: [\\/$]* | ?:[\\/]* ) ;; ! 678: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 ! 679: { (exit 1); exit 1; }; };; ! 680: esac ! 681: done ! 682: ! 683: # There might be people who depend on the old broken behavior: `$host' ! 684: # used to hold the argument of --host etc. ! 685: # FIXME: To remove some day. ! 686: build=$build_alias ! 687: host=$host_alias ! 688: target=$target_alias ! 689: ! 690: # FIXME: To remove some day. ! 691: if test "x$host_alias" != x; then ! 692: if test "x$build_alias" = x; then ! 693: cross_compiling=maybe ! 694: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. ! 695: If a cross compiler is detected then cross compile mode will be used." >&2 ! 696: elif test "x$build_alias" != "x$host_alias"; then ! 697: cross_compiling=yes ! 698: fi ! 699: fi ! 700: ! 701: ac_tool_prefix= ! 702: test -n "$host_alias" && ac_tool_prefix=$host_alias- ! 703: ! 704: test "$silent" = yes && exec 6>/dev/null ! 705: ! 706: ! 707: # Find the source files, if location was not specified. ! 708: if test -z "$srcdir"; then ! 709: ac_srcdir_defaulted=yes ! 710: # Try the directory containing this script, then its parent. ! 711: ac_confdir=`(dirname "$0") 2>/dev/null || ! 712: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! 713: X"$0" : 'X\(//\)[^/]' \| \ ! 714: X"$0" : 'X\(//\)$' \| \ ! 715: X"$0" : 'X\(/\)' \| \ ! 716: . : '\(.\)' 2>/dev/null || ! 717: echo X"$0" | ! 718: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } ! 719: /^X\(\/\/\)[^/].*/{ s//\1/; q; } ! 720: /^X\(\/\/\)$/{ s//\1/; q; } ! 721: /^X\(\/\).*/{ s//\1/; q; } ! 722: s/.*/./; q'` ! 723: srcdir=$ac_confdir ! 724: if test ! -r $srcdir/$ac_unique_file; then ! 725: srcdir=.. ! 726: fi ! 727: else ! 728: ac_srcdir_defaulted=no ! 729: fi ! 730: if test ! -r $srcdir/$ac_unique_file; then ! 731: if test "$ac_srcdir_defaulted" = yes; then ! 732: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 ! 733: { (exit 1); exit 1; }; } ! 734: else ! 735: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 ! 736: { (exit 1); exit 1; }; } ! 737: fi ! 738: fi ! 739: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || ! 740: { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 ! 741: { (exit 1); exit 1; }; } ! 742: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ! 743: ac_env_build_alias_set=${build_alias+set} ! 744: ac_env_build_alias_value=$build_alias ! 745: ac_cv_env_build_alias_set=${build_alias+set} ! 746: ac_cv_env_build_alias_value=$build_alias ! 747: ac_env_host_alias_set=${host_alias+set} ! 748: ac_env_host_alias_value=$host_alias ! 749: ac_cv_env_host_alias_set=${host_alias+set} ! 750: ac_cv_env_host_alias_value=$host_alias ! 751: ac_env_target_alias_set=${target_alias+set} ! 752: ac_env_target_alias_value=$target_alias ! 753: ac_cv_env_target_alias_set=${target_alias+set} ! 754: ac_cv_env_target_alias_value=$target_alias ! 755: ac_env_CC_set=${CC+set} ! 756: ac_env_CC_value=$CC ! 757: ac_cv_env_CC_set=${CC+set} ! 758: ac_cv_env_CC_value=$CC ! 759: ac_env_CFLAGS_set=${CFLAGS+set} ! 760: ac_env_CFLAGS_value=$CFLAGS ! 761: ac_cv_env_CFLAGS_set=${CFLAGS+set} ! 762: ac_cv_env_CFLAGS_value=$CFLAGS ! 763: ac_env_LDFLAGS_set=${LDFLAGS+set} ! 764: ac_env_LDFLAGS_value=$LDFLAGS ! 765: ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ! 766: ac_cv_env_LDFLAGS_value=$LDFLAGS ! 767: ac_env_CPPFLAGS_set=${CPPFLAGS+set} ! 768: ac_env_CPPFLAGS_value=$CPPFLAGS ! 769: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ! 770: ac_cv_env_CPPFLAGS_value=$CPPFLAGS ! 771: ac_env_CPP_set=${CPP+set} ! 772: ac_env_CPP_value=$CPP ! 773: ac_cv_env_CPP_set=${CPP+set} ! 774: ac_cv_env_CPP_value=$CPP ! 775: ! 776: # ! 777: # Report the --help message. ! 778: # ! 779: if test "$ac_init_help" = "long"; then ! 780: # Omit some internal or obsolete options to make the list less imposing. ! 781: # This message is too long to be a string in the A/UX 3.1 sh. ! 782: cat <<_ACEOF ! 783: \`configure' configures GNU Mach 1.91 to adapt to many kinds of systems. ! 784: ! 785: Usage: $0 [OPTION]... [VAR=VALUE]... ! 786: ! 787: To assign environment variables (e.g., CC, CFLAGS...), specify them as ! 788: VAR=VALUE. See below for descriptions of some of the useful variables. ! 789: ! 790: Defaults for the options are specified in brackets. ! 791: ! 792: Configuration: ! 793: -h, --help display this help and exit ! 794: --help=short display options specific to this package ! 795: --help=recursive display the short help of all the included packages ! 796: -V, --version display version information and exit ! 797: -q, --quiet, --silent do not print \`checking...' messages ! 798: --cache-file=FILE cache test results in FILE [disabled] ! 799: -C, --config-cache alias for \`--cache-file=config.cache' ! 800: -n, --no-create do not create output files ! 801: --srcdir=DIR find the sources in DIR [configure dir or \`..'] ! 802: ! 803: _ACEOF ! 804: ! 805: cat <<_ACEOF ! 806: Installation directories: ! 807: --prefix=PREFIX install architecture-independent files in PREFIX ! 808: [$ac_default_prefix] ! 809: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX ! 810: [PREFIX] ! 811: ! 812: By default, \`make install' will install all the files in ! 813: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify ! 814: an installation prefix other than \`$ac_default_prefix' using \`--prefix', ! 815: for instance \`--prefix=\$HOME'. ! 816: ! 817: For better control, use the options below. ! 818: ! 819: Fine tuning of the installation directories: ! 820: --bindir=DIR user executables [EPREFIX/bin] ! 821: --sbindir=DIR system admin executables [EPREFIX/sbin] ! 822: --libexecdir=DIR program executables [EPREFIX/libexec] ! 823: --datadir=DIR read-only architecture-independent data [PREFIX/share] ! 824: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] ! 825: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] ! 826: --localstatedir=DIR modifiable single-machine data [PREFIX/var] ! 827: --libdir=DIR object code libraries [EPREFIX/lib] ! 828: --includedir=DIR C header files [PREFIX/include] ! 829: --oldincludedir=DIR C header files for non-gcc [/usr/include] ! 830: --infodir=DIR info documentation [PREFIX/info] ! 831: --mandir=DIR man documentation [PREFIX/man] ! 832: _ACEOF ! 833: ! 834: cat <<\_ACEOF ! 835: ! 836: System types: ! 837: --build=BUILD configure for building on BUILD [guessed] ! 838: --host=HOST cross-compile to build programs to run on HOST [BUILD] ! 839: _ACEOF ! 840: fi ! 841: ! 842: if test -n "$ac_init_help"; then ! 843: case $ac_init_help in ! 844: short | recursive ) echo "Configuration of GNU Mach 1.91:";; ! 845: esac ! 846: cat <<\_ACEOF ! 847: ! 848: Optional Features: ! 849: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) ! 850: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] ! 851: --enable-force-install force installation of files from this package, ! 852: even if they are older than the installed files ! 853: --enable-smp=MAXCPUS enable SMP with up to MAXCPUS processors ! 854: --enable-fpe enable FPU emulator for machines with no FPU ! 855: ! 856: Some influential environment variables: ! 857: CC C compiler command ! 858: CFLAGS C compiler flags ! 859: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a ! 860: nonstandard directory <lib dir> ! 861: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have ! 862: headers in a nonstandard directory <include dir> ! 863: CPP C preprocessor ! 864: ! 865: Use these variables to override the choices made by `configure' or to help ! 866: it to find libraries and programs with nonstandard names/locations. ! 867: ! 868: Report bugs to <[email protected]>. ! 869: _ACEOF ! 870: fi ! 871: ! 872: if test "$ac_init_help" = "recursive"; then ! 873: # If there are subdirs, report their specific --help. ! 874: ac_popdir=`pwd` ! 875: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue ! 876: test -d $ac_dir || continue ! 877: ac_builddir=. ! 878: ! 879: if test "$ac_dir" != .; then ! 880: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` ! 881: # A "../" for each directory in $ac_dir_suffix. ! 882: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` ! 883: else ! 884: ac_dir_suffix= ac_top_builddir= ! 885: fi ! 886: ! 887: case $srcdir in ! 888: .) # No --srcdir option. We are building in place. ! 889: ac_srcdir=. ! 890: if test -z "$ac_top_builddir"; then ! 891: ac_top_srcdir=. ! 892: else ! 893: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` ! 894: fi ;; ! 895: [\\/]* | ?:[\\/]* ) # Absolute path. ! 896: ac_srcdir=$srcdir$ac_dir_suffix; ! 897: ac_top_srcdir=$srcdir ;; ! 898: *) # Relative path. ! 899: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ! 900: ac_top_srcdir=$ac_top_builddir$srcdir ;; ! 901: esac ! 902: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be ! 903: # absolute. ! 904: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ! 905: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ! 906: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ! 907: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` ! 908: ! 909: cd $ac_dir ! 910: # Check for guested configure; otherwise get Cygnus style configure. ! 911: if test -f $ac_srcdir/configure.gnu; then ! 912: echo ! 913: $SHELL $ac_srcdir/configure.gnu --help=recursive ! 914: elif test -f $ac_srcdir/configure; then ! 915: echo ! 916: $SHELL $ac_srcdir/configure --help=recursive ! 917: elif test -f $ac_srcdir/configure.ac || ! 918: test -f $ac_srcdir/configure.in; then ! 919: echo ! 920: $ac_configure --help ! 921: else ! 922: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 ! 923: fi ! 924: cd $ac_popdir ! 925: done ! 926: fi ! 927: ! 928: test -n "$ac_init_help" && exit 0 ! 929: if $ac_init_version; then ! 930: cat <<\_ACEOF ! 931: GNU Mach configure 1.91 ! 932: generated by GNU Autoconf 2.57 ! 933: ! 934: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 ! 935: Free Software Foundation, Inc. ! 936: This configure script is free software; the Free Software Foundation ! 937: gives unlimited permission to copy, distribute and modify it. ! 938: _ACEOF ! 939: exit 0 ! 940: fi ! 941: exec 5>config.log ! 942: cat >&5 <<_ACEOF ! 943: This file contains any messages produced by compilers while ! 944: running configure, to aid debugging if configure makes a mistake. ! 945: ! 946: It was created by GNU Mach $as_me 1.91, which was ! 947: generated by GNU Autoconf 2.57. Invocation command line was ! 948: ! 949: $ $0 $@ ! 950: ! 951: _ACEOF ! 952: { ! 953: cat <<_ASUNAME ! 954: ## --------- ## ! 955: ## Platform. ## ! 956: ## --------- ## ! 957: ! 958: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ! 959: uname -m = `(uname -m) 2>/dev/null || echo unknown` ! 960: uname -r = `(uname -r) 2>/dev/null || echo unknown` ! 961: uname -s = `(uname -s) 2>/dev/null || echo unknown` ! 962: uname -v = `(uname -v) 2>/dev/null || echo unknown` ! 963: ! 964: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ! 965: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ! 966: ! 967: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ! 968: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ! 969: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ! 970: hostinfo = `(hostinfo) 2>/dev/null || echo unknown` ! 971: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ! 972: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ! 973: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ! 974: ! 975: _ASUNAME ! 976: ! 977: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 978: for as_dir in $PATH ! 979: do ! 980: IFS=$as_save_IFS ! 981: test -z "$as_dir" && as_dir=. ! 982: echo "PATH: $as_dir" ! 983: done ! 984: ! 985: } >&5 ! 986: ! 987: cat >&5 <<_ACEOF ! 988: ! 989: ! 990: ## ----------- ## ! 991: ## Core tests. ## ! 992: ## ----------- ## ! 993: ! 994: _ACEOF ! 995: ! 996: ! 997: # Keep a trace of the command line. ! 998: # Strip out --no-create and --no-recursion so they do not pile up. ! 999: # Strip out --silent because we don't want to record it for future runs. ! 1000: # Also quote any args containing shell meta-characters. ! 1001: # Make two passes to allow for proper duplicate-argument suppression. ! 1002: ac_configure_args= ! 1003: ac_configure_args0= ! 1004: ac_configure_args1= ! 1005: ac_sep= ! 1006: ac_must_keep_next=false ! 1007: for ac_pass in 1 2 ! 1008: do ! 1009: for ac_arg ! 1010: do ! 1011: case $ac_arg in ! 1012: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ! 1013: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ! 1014: | -silent | --silent | --silen | --sile | --sil) ! 1015: continue ;; ! 1016: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ! 1017: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ! 1018: esac ! 1019: case $ac_pass in ! 1020: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; ! 1021: 2) ! 1022: ac_configure_args1="$ac_configure_args1 '$ac_arg'" ! 1023: if test $ac_must_keep_next = true; then ! 1024: ac_must_keep_next=false # Got value, back to normal. ! 1025: else ! 1026: case $ac_arg in ! 1027: *=* | --config-cache | -C | -disable-* | --disable-* \ ! 1028: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ! 1029: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ! 1030: | -with-* | --with-* | -without-* | --without-* | --x) ! 1031: case "$ac_configure_args0 " in ! 1032: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ! 1033: esac ! 1034: ;; ! 1035: -* ) ac_must_keep_next=true ;; ! 1036: esac ! 1037: fi ! 1038: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" ! 1039: # Get rid of the leading space. ! 1040: ac_sep=" " ! 1041: ;; ! 1042: esac ! 1043: done ! 1044: done ! 1045: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } ! 1046: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } ! 1047: ! 1048: # When interrupted or exit'd, cleanup temporary files, and complete ! 1049: # config.log. We remove comments because anyway the quotes in there ! 1050: # would cause problems or look ugly. ! 1051: # WARNING: Be sure not to use single quotes in there, as some shells, ! 1052: # such as our DU 5.0 friend, will then `close' the trap. ! 1053: trap 'exit_status=$? ! 1054: # Save into config.log some information that might help in debugging. ! 1055: { ! 1056: echo ! 1057: ! 1058: cat <<\_ASBOX ! 1059: ## ---------------- ## ! 1060: ## Cache variables. ## ! 1061: ## ---------------- ## ! 1062: _ASBOX ! 1063: echo ! 1064: # The following way of writing the cache mishandles newlines in values, ! 1065: { ! 1066: (set) 2>&1 | ! 1067: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in ! 1068: *ac_space=\ *) ! 1069: sed -n \ ! 1070: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; ! 1071: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ! 1072: ;; ! 1073: *) ! 1074: sed -n \ ! 1075: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ! 1076: ;; ! 1077: esac; ! 1078: } ! 1079: echo ! 1080: ! 1081: cat <<\_ASBOX ! 1082: ## ----------------- ## ! 1083: ## Output variables. ## ! 1084: ## ----------------- ## ! 1085: _ASBOX ! 1086: echo ! 1087: for ac_var in $ac_subst_vars ! 1088: do ! 1089: eval ac_val=$`echo $ac_var` ! 1090: echo "$ac_var='"'"'$ac_val'"'"'" ! 1091: done | sort ! 1092: echo ! 1093: ! 1094: if test -n "$ac_subst_files"; then ! 1095: cat <<\_ASBOX ! 1096: ## ------------- ## ! 1097: ## Output files. ## ! 1098: ## ------------- ## ! 1099: _ASBOX ! 1100: echo ! 1101: for ac_var in $ac_subst_files ! 1102: do ! 1103: eval ac_val=$`echo $ac_var` ! 1104: echo "$ac_var='"'"'$ac_val'"'"'" ! 1105: done | sort ! 1106: echo ! 1107: fi ! 1108: ! 1109: if test -s confdefs.h; then ! 1110: cat <<\_ASBOX ! 1111: ## ----------- ## ! 1112: ## confdefs.h. ## ! 1113: ## ----------- ## ! 1114: _ASBOX ! 1115: echo ! 1116: sed "/^$/d" confdefs.h | sort ! 1117: echo ! 1118: fi ! 1119: test "$ac_signal" != 0 && ! 1120: echo "$as_me: caught signal $ac_signal" ! 1121: echo "$as_me: exit $exit_status" ! 1122: } >&5 ! 1123: rm -f core core.* *.core && ! 1124: rm -rf conftest* confdefs* conf$$* $ac_clean_files && ! 1125: exit $exit_status ! 1126: ' 0 ! 1127: for ac_signal in 1 2 13 15; do ! 1128: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal ! 1129: done ! 1130: ac_signal=0 ! 1131: ! 1132: # confdefs.h avoids OS command line length limits that DEFS can exceed. ! 1133: rm -rf conftest* confdefs.h ! 1134: # AIX cpp loses on an empty file, so make sure it contains at least a newline. ! 1135: echo >confdefs.h ! 1136: ! 1137: # Predefined preprocessor variables. ! 1138: ! 1139: cat >>confdefs.h <<_ACEOF ! 1140: #define PACKAGE_NAME "$PACKAGE_NAME" ! 1141: _ACEOF ! 1142: ! 1143: ! 1144: cat >>confdefs.h <<_ACEOF ! 1145: #define PACKAGE_TARNAME "$PACKAGE_TARNAME" ! 1146: _ACEOF ! 1147: ! 1148: ! 1149: cat >>confdefs.h <<_ACEOF ! 1150: #define PACKAGE_VERSION "$PACKAGE_VERSION" ! 1151: _ACEOF ! 1152: ! 1153: ! 1154: cat >>confdefs.h <<_ACEOF ! 1155: #define PACKAGE_STRING "$PACKAGE_STRING" ! 1156: _ACEOF ! 1157: ! 1158: ! 1159: cat >>confdefs.h <<_ACEOF ! 1160: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" ! 1161: _ACEOF ! 1162: ! 1163: ! 1164: # Let the site file select an alternate cache file if it wants to. ! 1165: # Prefer explicitly selected file to automatically selected ones. ! 1166: if test -z "$CONFIG_SITE"; then ! 1167: if test "x$prefix" != xNONE; then ! 1168: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" ! 1169: else ! 1170: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" ! 1171: fi ! 1172: fi ! 1173: for ac_site_file in $CONFIG_SITE; do ! 1174: if test -r "$ac_site_file"; then ! 1175: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 ! 1176: echo "$as_me: loading site script $ac_site_file" >&6;} ! 1177: sed 's/^/| /' "$ac_site_file" >&5 ! 1178: . "$ac_site_file" ! 1179: fi ! 1180: done ! 1181: ! 1182: if test -r "$cache_file"; then ! 1183: # Some versions of bash will fail to source /dev/null (special ! 1184: # files actually), so we avoid doing that. ! 1185: if test -f "$cache_file"; then ! 1186: { echo "$as_me:$LINENO: loading cache $cache_file" >&5 ! 1187: echo "$as_me: loading cache $cache_file" >&6;} ! 1188: case $cache_file in ! 1189: [\\/]* | ?:[\\/]* ) . $cache_file;; ! 1190: *) . ./$cache_file;; ! 1191: esac ! 1192: fi ! 1193: else ! 1194: { echo "$as_me:$LINENO: creating cache $cache_file" >&5 ! 1195: echo "$as_me: creating cache $cache_file" >&6;} ! 1196: >$cache_file ! 1197: fi ! 1198: ! 1199: # Check that the precious variables saved in the cache have kept the same ! 1200: # value. ! 1201: ac_cache_corrupted=false ! 1202: for ac_var in `(set) 2>&1 | ! 1203: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do ! 1204: eval ac_old_set=\$ac_cv_env_${ac_var}_set ! 1205: eval ac_new_set=\$ac_env_${ac_var}_set ! 1206: eval ac_old_val="\$ac_cv_env_${ac_var}_value" ! 1207: eval ac_new_val="\$ac_env_${ac_var}_value" ! 1208: case $ac_old_set,$ac_new_set in ! 1209: set,) ! 1210: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 ! 1211: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ! 1212: ac_cache_corrupted=: ;; ! 1213: ,set) ! 1214: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 ! 1215: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ! 1216: ac_cache_corrupted=: ;; ! 1217: ,);; ! 1218: *) ! 1219: if test "x$ac_old_val" != "x$ac_new_val"; then ! 1220: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 ! 1221: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ! 1222: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 ! 1223: echo "$as_me: former value: $ac_old_val" >&2;} ! 1224: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 ! 1225: echo "$as_me: current value: $ac_new_val" >&2;} ! 1226: ac_cache_corrupted=: ! 1227: fi;; ! 1228: esac ! 1229: # Pass precious variables to config.status. ! 1230: if test "$ac_new_set" = set; then ! 1231: case $ac_new_val in ! 1232: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ! 1233: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; ! 1234: *) ac_arg=$ac_var=$ac_new_val ;; ! 1235: esac ! 1236: case " $ac_configure_args " in ! 1237: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. ! 1238: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; ! 1239: esac ! 1240: fi ! 1241: done ! 1242: if $ac_cache_corrupted; then ! 1243: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 ! 1244: echo "$as_me: error: changes in the environment can compromise the build" >&2;} ! 1245: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 ! 1246: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} ! 1247: { (exit 1); exit 1; }; } ! 1248: fi ! 1249: ! 1250: ac_ext=c ! 1251: ac_cpp='$CPP $CPPFLAGS' ! 1252: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 1253: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 1254: ac_compiler_gnu=$ac_cv_c_compiler_gnu ! 1255: ! 1256: ! 1257: ! 1258: ! 1259: ! 1260: ! 1261: ! 1262: ! 1263: ! 1264: ! 1265: ! 1266: ! 1267: ! 1268: ! 1269: ! 1270: ! 1271: ! 1272: ! 1273: ! 1274: ! 1275: ! 1276: ! 1277: ! 1278: ! 1279: ! 1280: ! 1281: ! 1282: ! 1283: ! 1284: ac_config_headers="$ac_config_headers config.h" ! 1285: ! 1286: ! 1287: # ! 1288: # Deduce output var `systype' from configuration parms. ! 1289: # ! 1290: ac_aux_dir= ! 1291: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do ! 1292: if test -f $ac_dir/install-sh; then ! 1293: ac_aux_dir=$ac_dir ! 1294: ac_install_sh="$ac_aux_dir/install-sh -c" ! 1295: break ! 1296: elif test -f $ac_dir/install.sh; then ! 1297: ac_aux_dir=$ac_dir ! 1298: ac_install_sh="$ac_aux_dir/install.sh -c" ! 1299: break ! 1300: elif test -f $ac_dir/shtool; then ! 1301: ac_aux_dir=$ac_dir ! 1302: ac_install_sh="$ac_aux_dir/shtool install -c" ! 1303: break ! 1304: fi ! 1305: done ! 1306: if test -z "$ac_aux_dir"; then ! 1307: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 ! 1308: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} ! 1309: { (exit 1); exit 1; }; } ! 1310: fi ! 1311: ac_config_guess="$SHELL $ac_aux_dir/config.guess" ! 1312: ac_config_sub="$SHELL $ac_aux_dir/config.sub" ! 1313: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. ! 1314: ! 1315: # Make sure we can run config.sub. ! 1316: $ac_config_sub sun4 >/dev/null 2>&1 || ! 1317: { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 ! 1318: echo "$as_me: error: cannot run $ac_config_sub" >&2;} ! 1319: { (exit 1); exit 1; }; } ! 1320: ! 1321: echo "$as_me:$LINENO: checking build system type" >&5 ! 1322: echo $ECHO_N "checking build system type... $ECHO_C" >&6 ! 1323: if test "${ac_cv_build+set}" = set; then ! 1324: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 1325: else ! 1326: ac_cv_build_alias=$build_alias ! 1327: test -z "$ac_cv_build_alias" && ! 1328: ac_cv_build_alias=`$ac_config_guess` ! 1329: test -z "$ac_cv_build_alias" && ! 1330: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 ! 1331: echo "$as_me: error: cannot guess build type; you must specify one" >&2;} ! 1332: { (exit 1); exit 1; }; } ! 1333: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || ! 1334: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 ! 1335: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} ! 1336: { (exit 1); exit 1; }; } ! 1337: ! 1338: fi ! 1339: echo "$as_me:$LINENO: result: $ac_cv_build" >&5 ! 1340: echo "${ECHO_T}$ac_cv_build" >&6 ! 1341: build=$ac_cv_build ! 1342: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` ! 1343: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` ! 1344: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` ! 1345: ! 1346: ! 1347: echo "$as_me:$LINENO: checking host system type" >&5 ! 1348: echo $ECHO_N "checking host system type... $ECHO_C" >&6 ! 1349: if test "${ac_cv_host+set}" = set; then ! 1350: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 1351: else ! 1352: ac_cv_host_alias=$host_alias ! 1353: test -z "$ac_cv_host_alias" && ! 1354: ac_cv_host_alias=$ac_cv_build_alias ! 1355: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || ! 1356: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 ! 1357: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} ! 1358: { (exit 1); exit 1; }; } ! 1359: ! 1360: fi ! 1361: echo "$as_me:$LINENO: result: $ac_cv_host" >&5 ! 1362: echo "${ECHO_T}$ac_cv_host" >&6 ! 1363: host=$ac_cv_host ! 1364: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` ! 1365: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` ! 1366: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` ! 1367: ! 1368: ! 1369: ! 1370: case "$host_cpu" in ! 1371: alpha*) systype=alpha ;; ! 1372: i[3456]86) systype=i386 ;; ! 1373: *) { { echo "$as_me:$LINENO: error: unsupported CPU type" >&5 ! 1374: echo "$as_me: error: unsupported CPU type" >&2;} ! 1375: { (exit 1); exit 1; }; } ;; ! 1376: esac ! 1377: ! 1378: ! 1379: ! 1380: ! 1381: # Default prefix is / for the kernel. ! 1382: ! 1383: ! 1384: # ! 1385: # Options ! 1386: # ! 1387: # Check whether --enable-force-install or --disable-force-install was given. ! 1388: if test "${enable_force_install+set}" = set; then ! 1389: enableval="$enable_force_install" ! 1390: force_install=$enableval ! 1391: else ! 1392: force_install=no ! 1393: fi; ! 1394: ! 1395: ! 1396: # Check whether --enable-smp or --disable-smp was given. ! 1397: if test "${enable_smp+set}" = set; then ! 1398: enableval="$enable_smp" ! 1399: ! 1400: fi; ! 1401: case "x${enable_smp-no}" in ! 1402: xno) MAXCPUS=1 ;; ! 1403: xyes) { echo "$as_me:$LINENO: WARNING: defaulting to max 4 CPUs; use --enable-smp=MAXCPUS" >&5 ! 1404: echo "$as_me: WARNING: defaulting to max 4 CPUs; use --enable-smp=MAXCPUS" >&2;} ! 1405: MAXCPUS=4 ;; ! 1406: x[1-9]*) MAXCPUS="${enable_smp}" ;; ! 1407: *) { { echo "$as_me:$LINENO: error: must give a numeric argument to --enable-smp" >&5 ! 1408: echo "$as_me: error: must give a numeric argument to --enable-smp" >&2;} ! 1409: { (exit 1); exit 1; }; } ;; ! 1410: esac ! 1411: ! 1412: cat >>confdefs.h <<_ACEOF ! 1413: #define NCPUS $MAXCPUS ! 1414: _ACEOF ! 1415: ! 1416: ! 1417: # Check whether --enable-fpe or --disable-fpe was given. ! 1418: if test "${enable_fpe+set}" = set; then ! 1419: enableval="$enable_fpe" ! 1420: test "x$enableval" = xno || ! 1421: ! 1422: cat >>confdefs.h <<\_ACEOF ! 1423: #define FPE 1 ! 1424: _ACEOF ! 1425: ! 1426: fi; ! 1427: ! 1428: # ! 1429: # Programs ! 1430: # ! 1431: ! 1432: # Find a good install program. We prefer a C program (faster), ! 1433: # so one script is as good as another. But avoid the broken or ! 1434: # incompatible versions: ! 1435: # SysV /etc/install, /usr/sbin/install ! 1436: # SunOS /usr/etc/install ! 1437: # IRIX /sbin/install ! 1438: # AIX /bin/install ! 1439: # AmigaOS /C/install, which installs bootblocks on floppy discs ! 1440: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag ! 1441: # AFS /usr/afsws/bin/install, which mishandles nonexistent args ! 1442: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" ! 1443: # ./install, which can be erroneously created by make from ./install.sh. ! 1444: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 ! 1445: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 ! 1446: if test -z "$INSTALL"; then ! 1447: if test "${ac_cv_path_install+set}" = set; then ! 1448: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 1449: else ! 1450: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 1451: for as_dir in $PATH ! 1452: do ! 1453: IFS=$as_save_IFS ! 1454: test -z "$as_dir" && as_dir=. ! 1455: # Account for people who put trailing slashes in PATH elements. ! 1456: case $as_dir/ in ! 1457: ./ | .// | /cC/* | \ ! 1458: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ! 1459: /usr/ucb/* ) ;; ! 1460: *) ! 1461: # OSF1 and SCO ODT 3.0 have their own names for install. ! 1462: # Don't use installbsd from OSF since it installs stuff as root ! 1463: # by default. ! 1464: for ac_prog in ginstall scoinst install; do ! 1465: for ac_exec_ext in '' $ac_executable_extensions; do ! 1466: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then ! 1467: if test $ac_prog = install && ! 1468: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then ! 1469: # AIX install. It has an incompatible calling convention. ! 1470: : ! 1471: elif test $ac_prog = install && ! 1472: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then ! 1473: # program-specific install script used by HP pwplus--don't use. ! 1474: : ! 1475: else ! 1476: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" ! 1477: break 3 ! 1478: fi ! 1479: fi ! 1480: done ! 1481: done ! 1482: ;; ! 1483: esac ! 1484: done ! 1485: ! 1486: ! 1487: fi ! 1488: if test "${ac_cv_path_install+set}" = set; then ! 1489: INSTALL=$ac_cv_path_install ! 1490: else ! 1491: # As a last resort, use the slow shell script. We don't cache a ! 1492: # path for INSTALL within a source directory, because that will ! 1493: # break other packages using the cache if that directory is ! 1494: # removed, or if the path is relative. ! 1495: INSTALL=$ac_install_sh ! 1496: fi ! 1497: fi ! 1498: echo "$as_me:$LINENO: result: $INSTALL" >&5 ! 1499: echo "${ECHO_T}$INSTALL" >&6 ! 1500: ! 1501: # Use test -z because SunOS4 sh mishandles braces in ${var-val}. ! 1502: # It thinks the first close brace ends the variable substitution. ! 1503: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' ! 1504: ! 1505: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' ! 1506: ! 1507: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' ! 1508: ! 1509: for ac_prog in gawk mawk nawk awk ! 1510: do ! 1511: # Extract the first word of "$ac_prog", so it can be a program name with args. ! 1512: set dummy $ac_prog; ac_word=$2 ! 1513: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 1514: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 1515: if test "${ac_cv_prog_AWK+set}" = set; then ! 1516: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 1517: else ! 1518: if test -n "$AWK"; then ! 1519: ac_cv_prog_AWK="$AWK" # Let the user override the test. ! 1520: else ! 1521: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 1522: for as_dir in $PATH ! 1523: do ! 1524: IFS=$as_save_IFS ! 1525: test -z "$as_dir" && as_dir=. ! 1526: for ac_exec_ext in '' $ac_executable_extensions; do ! 1527: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 1528: ac_cv_prog_AWK="$ac_prog" ! 1529: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 1530: break 2 ! 1531: fi ! 1532: done ! 1533: done ! 1534: ! 1535: fi ! 1536: fi ! 1537: AWK=$ac_cv_prog_AWK ! 1538: if test -n "$AWK"; then ! 1539: echo "$as_me:$LINENO: result: $AWK" >&5 ! 1540: echo "${ECHO_T}$AWK" >&6 ! 1541: else ! 1542: echo "$as_me:$LINENO: result: no" >&5 ! 1543: echo "${ECHO_T}no" >&6 ! 1544: fi ! 1545: ! 1546: test -n "$AWK" && break ! 1547: done ! 1548: ! 1549: ac_ext=c ! 1550: ac_cpp='$CPP $CPPFLAGS' ! 1551: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 1552: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 1553: ac_compiler_gnu=$ac_cv_c_compiler_gnu ! 1554: if test -n "$ac_tool_prefix"; then ! 1555: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. ! 1556: set dummy ${ac_tool_prefix}gcc; ac_word=$2 ! 1557: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 1558: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 1559: if test "${ac_cv_prog_CC+set}" = set; then ! 1560: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 1561: else ! 1562: if test -n "$CC"; then ! 1563: ac_cv_prog_CC="$CC" # Let the user override the test. ! 1564: else ! 1565: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 1566: for as_dir in $PATH ! 1567: do ! 1568: IFS=$as_save_IFS ! 1569: test -z "$as_dir" && as_dir=. ! 1570: for ac_exec_ext in '' $ac_executable_extensions; do ! 1571: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 1572: ac_cv_prog_CC="${ac_tool_prefix}gcc" ! 1573: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 1574: break 2 ! 1575: fi ! 1576: done ! 1577: done ! 1578: ! 1579: fi ! 1580: fi ! 1581: CC=$ac_cv_prog_CC ! 1582: if test -n "$CC"; then ! 1583: echo "$as_me:$LINENO: result: $CC" >&5 ! 1584: echo "${ECHO_T}$CC" >&6 ! 1585: else ! 1586: echo "$as_me:$LINENO: result: no" >&5 ! 1587: echo "${ECHO_T}no" >&6 ! 1588: fi ! 1589: ! 1590: fi ! 1591: if test -z "$ac_cv_prog_CC"; then ! 1592: ac_ct_CC=$CC ! 1593: # Extract the first word of "gcc", so it can be a program name with args. ! 1594: set dummy gcc; ac_word=$2 ! 1595: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 1596: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 1597: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then ! 1598: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 1599: else ! 1600: if test -n "$ac_ct_CC"; then ! 1601: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ! 1602: else ! 1603: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 1604: for as_dir in $PATH ! 1605: do ! 1606: IFS=$as_save_IFS ! 1607: test -z "$as_dir" && as_dir=. ! 1608: for ac_exec_ext in '' $ac_executable_extensions; do ! 1609: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 1610: ac_cv_prog_ac_ct_CC="gcc" ! 1611: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 1612: break 2 ! 1613: fi ! 1614: done ! 1615: done ! 1616: ! 1617: fi ! 1618: fi ! 1619: ac_ct_CC=$ac_cv_prog_ac_ct_CC ! 1620: if test -n "$ac_ct_CC"; then ! 1621: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 ! 1622: echo "${ECHO_T}$ac_ct_CC" >&6 ! 1623: else ! 1624: echo "$as_me:$LINENO: result: no" >&5 ! 1625: echo "${ECHO_T}no" >&6 ! 1626: fi ! 1627: ! 1628: CC=$ac_ct_CC ! 1629: else ! 1630: CC="$ac_cv_prog_CC" ! 1631: fi ! 1632: ! 1633: if test -z "$CC"; then ! 1634: if test -n "$ac_tool_prefix"; then ! 1635: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. ! 1636: set dummy ${ac_tool_prefix}cc; ac_word=$2 ! 1637: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 1638: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 1639: if test "${ac_cv_prog_CC+set}" = set; then ! 1640: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 1641: else ! 1642: if test -n "$CC"; then ! 1643: ac_cv_prog_CC="$CC" # Let the user override the test. ! 1644: else ! 1645: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 1646: for as_dir in $PATH ! 1647: do ! 1648: IFS=$as_save_IFS ! 1649: test -z "$as_dir" && as_dir=. ! 1650: for ac_exec_ext in '' $ac_executable_extensions; do ! 1651: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 1652: ac_cv_prog_CC="${ac_tool_prefix}cc" ! 1653: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 1654: break 2 ! 1655: fi ! 1656: done ! 1657: done ! 1658: ! 1659: fi ! 1660: fi ! 1661: CC=$ac_cv_prog_CC ! 1662: if test -n "$CC"; then ! 1663: echo "$as_me:$LINENO: result: $CC" >&5 ! 1664: echo "${ECHO_T}$CC" >&6 ! 1665: else ! 1666: echo "$as_me:$LINENO: result: no" >&5 ! 1667: echo "${ECHO_T}no" >&6 ! 1668: fi ! 1669: ! 1670: fi ! 1671: if test -z "$ac_cv_prog_CC"; then ! 1672: ac_ct_CC=$CC ! 1673: # Extract the first word of "cc", so it can be a program name with args. ! 1674: set dummy cc; ac_word=$2 ! 1675: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 1676: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 1677: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then ! 1678: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 1679: else ! 1680: if test -n "$ac_ct_CC"; then ! 1681: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ! 1682: else ! 1683: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 1684: for as_dir in $PATH ! 1685: do ! 1686: IFS=$as_save_IFS ! 1687: test -z "$as_dir" && as_dir=. ! 1688: for ac_exec_ext in '' $ac_executable_extensions; do ! 1689: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 1690: ac_cv_prog_ac_ct_CC="cc" ! 1691: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 1692: break 2 ! 1693: fi ! 1694: done ! 1695: done ! 1696: ! 1697: fi ! 1698: fi ! 1699: ac_ct_CC=$ac_cv_prog_ac_ct_CC ! 1700: if test -n "$ac_ct_CC"; then ! 1701: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 ! 1702: echo "${ECHO_T}$ac_ct_CC" >&6 ! 1703: else ! 1704: echo "$as_me:$LINENO: result: no" >&5 ! 1705: echo "${ECHO_T}no" >&6 ! 1706: fi ! 1707: ! 1708: CC=$ac_ct_CC ! 1709: else ! 1710: CC="$ac_cv_prog_CC" ! 1711: fi ! 1712: ! 1713: fi ! 1714: if test -z "$CC"; then ! 1715: # Extract the first word of "cc", so it can be a program name with args. ! 1716: set dummy cc; ac_word=$2 ! 1717: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 1718: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 1719: if test "${ac_cv_prog_CC+set}" = set; then ! 1720: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 1721: else ! 1722: if test -n "$CC"; then ! 1723: ac_cv_prog_CC="$CC" # Let the user override the test. ! 1724: else ! 1725: ac_prog_rejected=no ! 1726: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 1727: for as_dir in $PATH ! 1728: do ! 1729: IFS=$as_save_IFS ! 1730: test -z "$as_dir" && as_dir=. ! 1731: for ac_exec_ext in '' $ac_executable_extensions; do ! 1732: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 1733: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ! 1734: ac_prog_rejected=yes ! 1735: continue ! 1736: fi ! 1737: ac_cv_prog_CC="cc" ! 1738: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 1739: break 2 ! 1740: fi ! 1741: done ! 1742: done ! 1743: ! 1744: if test $ac_prog_rejected = yes; then ! 1745: # We found a bogon in the path, so make sure we never use it. ! 1746: set dummy $ac_cv_prog_CC ! 1747: shift ! 1748: if test $# != 0; then ! 1749: # We chose a different compiler from the bogus one. ! 1750: # However, it has the same basename, so the bogon will be chosen ! 1751: # first if we set CC to just the basename; use the full file name. ! 1752: shift ! 1753: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" ! 1754: fi ! 1755: fi ! 1756: fi ! 1757: fi ! 1758: CC=$ac_cv_prog_CC ! 1759: if test -n "$CC"; then ! 1760: echo "$as_me:$LINENO: result: $CC" >&5 ! 1761: echo "${ECHO_T}$CC" >&6 ! 1762: else ! 1763: echo "$as_me:$LINENO: result: no" >&5 ! 1764: echo "${ECHO_T}no" >&6 ! 1765: fi ! 1766: ! 1767: fi ! 1768: if test -z "$CC"; then ! 1769: if test -n "$ac_tool_prefix"; then ! 1770: for ac_prog in cl ! 1771: do ! 1772: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ! 1773: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! 1774: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 1775: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 1776: if test "${ac_cv_prog_CC+set}" = set; then ! 1777: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 1778: else ! 1779: if test -n "$CC"; then ! 1780: ac_cv_prog_CC="$CC" # Let the user override the test. ! 1781: else ! 1782: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 1783: for as_dir in $PATH ! 1784: do ! 1785: IFS=$as_save_IFS ! 1786: test -z "$as_dir" && as_dir=. ! 1787: for ac_exec_ext in '' $ac_executable_extensions; do ! 1788: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 1789: ac_cv_prog_CC="$ac_tool_prefix$ac_prog" ! 1790: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 1791: break 2 ! 1792: fi ! 1793: done ! 1794: done ! 1795: ! 1796: fi ! 1797: fi ! 1798: CC=$ac_cv_prog_CC ! 1799: if test -n "$CC"; then ! 1800: echo "$as_me:$LINENO: result: $CC" >&5 ! 1801: echo "${ECHO_T}$CC" >&6 ! 1802: else ! 1803: echo "$as_me:$LINENO: result: no" >&5 ! 1804: echo "${ECHO_T}no" >&6 ! 1805: fi ! 1806: ! 1807: test -n "$CC" && break ! 1808: done ! 1809: fi ! 1810: if test -z "$CC"; then ! 1811: ac_ct_CC=$CC ! 1812: for ac_prog in cl ! 1813: do ! 1814: # Extract the first word of "$ac_prog", so it can be a program name with args. ! 1815: set dummy $ac_prog; ac_word=$2 ! 1816: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 1817: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 1818: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then ! 1819: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 1820: else ! 1821: if test -n "$ac_ct_CC"; then ! 1822: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ! 1823: else ! 1824: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 1825: for as_dir in $PATH ! 1826: do ! 1827: IFS=$as_save_IFS ! 1828: test -z "$as_dir" && as_dir=. ! 1829: for ac_exec_ext in '' $ac_executable_extensions; do ! 1830: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 1831: ac_cv_prog_ac_ct_CC="$ac_prog" ! 1832: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 1833: break 2 ! 1834: fi ! 1835: done ! 1836: done ! 1837: ! 1838: fi ! 1839: fi ! 1840: ac_ct_CC=$ac_cv_prog_ac_ct_CC ! 1841: if test -n "$ac_ct_CC"; then ! 1842: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 ! 1843: echo "${ECHO_T}$ac_ct_CC" >&6 ! 1844: else ! 1845: echo "$as_me:$LINENO: result: no" >&5 ! 1846: echo "${ECHO_T}no" >&6 ! 1847: fi ! 1848: ! 1849: test -n "$ac_ct_CC" && break ! 1850: done ! 1851: ! 1852: CC=$ac_ct_CC ! 1853: fi ! 1854: ! 1855: fi ! 1856: ! 1857: ! 1858: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH ! 1859: See \`config.log' for more details." >&5 ! 1860: echo "$as_me: error: no acceptable C compiler found in \$PATH ! 1861: See \`config.log' for more details." >&2;} ! 1862: { (exit 1); exit 1; }; } ! 1863: ! 1864: # Provide some information about the compiler. ! 1865: echo "$as_me:$LINENO:" \ ! 1866: "checking for C compiler version" >&5 ! 1867: ac_compiler=`set X $ac_compile; echo $2` ! 1868: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 ! 1869: (eval $ac_compiler --version </dev/null >&5) 2>&5 ! 1870: ac_status=$? ! 1871: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 1872: (exit $ac_status); } ! 1873: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 ! 1874: (eval $ac_compiler -v </dev/null >&5) 2>&5 ! 1875: ac_status=$? ! 1876: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 1877: (exit $ac_status); } ! 1878: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 ! 1879: (eval $ac_compiler -V </dev/null >&5) 2>&5 ! 1880: ac_status=$? ! 1881: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 1882: (exit $ac_status); } ! 1883: ! 1884: cat >conftest.$ac_ext <<_ACEOF ! 1885: #line $LINENO "configure" ! 1886: /* confdefs.h. */ ! 1887: _ACEOF ! 1888: cat confdefs.h >>conftest.$ac_ext ! 1889: cat >>conftest.$ac_ext <<_ACEOF ! 1890: /* end confdefs.h. */ ! 1891: ! 1892: int ! 1893: main () ! 1894: { ! 1895: ! 1896: ; ! 1897: return 0; ! 1898: } ! 1899: _ACEOF ! 1900: ac_clean_files_save=$ac_clean_files ! 1901: ac_clean_files="$ac_clean_files a.out a.exe b.out" ! 1902: # Try to create an executable without -o first, disregard a.out. ! 1903: # It will help us diagnose broken compilers, and finding out an intuition ! 1904: # of exeext. ! 1905: echo "$as_me:$LINENO: checking for C compiler default output" >&5 ! 1906: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 ! 1907: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` ! 1908: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 ! 1909: (eval $ac_link_default) 2>&5 ! 1910: ac_status=$? ! 1911: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 1912: (exit $ac_status); }; then ! 1913: # Find the output, starting from the most likely. This scheme is ! 1914: # not robust to junk in `.', hence go to wildcards (a.*) only as a last ! 1915: # resort. ! 1916: ! 1917: # Be careful to initialize this variable, since it used to be cached. ! 1918: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ! 1919: ac_cv_exeext= ! 1920: # b.out is created by i960 compilers. ! 1921: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out ! 1922: do ! 1923: test -f "$ac_file" || continue ! 1924: case $ac_file in ! 1925: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ! 1926: ;; ! 1927: conftest.$ac_ext ) ! 1928: # This is the source file. ! 1929: ;; ! 1930: [ab].out ) ! 1931: # We found the default executable, but exeext='' is most ! 1932: # certainly right. ! 1933: break;; ! 1934: *.* ) ! 1935: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ! 1936: # FIXME: I believe we export ac_cv_exeext for Libtool, ! 1937: # but it would be cool to find out if it's true. Does anybody ! 1938: # maintain Libtool? --akim. ! 1939: export ac_cv_exeext ! 1940: break;; ! 1941: * ) ! 1942: break;; ! 1943: esac ! 1944: done ! 1945: else ! 1946: echo "$as_me: failed program was:" >&5 ! 1947: sed 's/^/| /' conftest.$ac_ext >&5 ! 1948: ! 1949: { { echo "$as_me:$LINENO: error: C compiler cannot create executables ! 1950: See \`config.log' for more details." >&5 ! 1951: echo "$as_me: error: C compiler cannot create executables ! 1952: See \`config.log' for more details." >&2;} ! 1953: { (exit 77); exit 77; }; } ! 1954: fi ! 1955: ! 1956: ac_exeext=$ac_cv_exeext ! 1957: echo "$as_me:$LINENO: result: $ac_file" >&5 ! 1958: echo "${ECHO_T}$ac_file" >&6 ! 1959: ! 1960: # Check the compiler produces executables we can run. If not, either ! 1961: # the compiler is broken, or we cross compile. ! 1962: echo "$as_me:$LINENO: checking whether the C compiler works" >&5 ! 1963: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 ! 1964: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 ! 1965: # If not cross compiling, check that we can run a simple program. ! 1966: if test "$cross_compiling" != yes; then ! 1967: if { ac_try='./$ac_file' ! 1968: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 1969: (eval $ac_try) 2>&5 ! 1970: ac_status=$? ! 1971: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 1972: (exit $ac_status); }; }; then ! 1973: cross_compiling=no ! 1974: else ! 1975: if test "$cross_compiling" = maybe; then ! 1976: cross_compiling=yes ! 1977: else ! 1978: { { echo "$as_me:$LINENO: error: cannot run C compiled programs. ! 1979: If you meant to cross compile, use \`--host'. ! 1980: See \`config.log' for more details." >&5 ! 1981: echo "$as_me: error: cannot run C compiled programs. ! 1982: If you meant to cross compile, use \`--host'. ! 1983: See \`config.log' for more details." >&2;} ! 1984: { (exit 1); exit 1; }; } ! 1985: fi ! 1986: fi ! 1987: fi ! 1988: echo "$as_me:$LINENO: result: yes" >&5 ! 1989: echo "${ECHO_T}yes" >&6 ! 1990: ! 1991: rm -f a.out a.exe conftest$ac_cv_exeext b.out ! 1992: ac_clean_files=$ac_clean_files_save ! 1993: # Check the compiler produces executables we can run. If not, either ! 1994: # the compiler is broken, or we cross compile. ! 1995: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 ! 1996: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 ! 1997: echo "$as_me:$LINENO: result: $cross_compiling" >&5 ! 1998: echo "${ECHO_T}$cross_compiling" >&6 ! 1999: ! 2000: echo "$as_me:$LINENO: checking for suffix of executables" >&5 ! 2001: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 ! 2002: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ! 2003: (eval $ac_link) 2>&5 ! 2004: ac_status=$? ! 2005: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2006: (exit $ac_status); }; then ! 2007: # If both `conftest.exe' and `conftest' are `present' (well, observable) ! 2008: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will ! 2009: # work properly (i.e., refer to `conftest.exe'), while it won't with ! 2010: # `rm'. ! 2011: for ac_file in conftest.exe conftest conftest.*; do ! 2012: test -f "$ac_file" || continue ! 2013: case $ac_file in ! 2014: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; ! 2015: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ! 2016: export ac_cv_exeext ! 2017: break;; ! 2018: * ) break;; ! 2019: esac ! 2020: done ! 2021: else ! 2022: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link ! 2023: See \`config.log' for more details." >&5 ! 2024: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link ! 2025: See \`config.log' for more details." >&2;} ! 2026: { (exit 1); exit 1; }; } ! 2027: fi ! 2028: ! 2029: rm -f conftest$ac_cv_exeext ! 2030: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 ! 2031: echo "${ECHO_T}$ac_cv_exeext" >&6 ! 2032: ! 2033: rm -f conftest.$ac_ext ! 2034: EXEEXT=$ac_cv_exeext ! 2035: ac_exeext=$EXEEXT ! 2036: echo "$as_me:$LINENO: checking for suffix of object files" >&5 ! 2037: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 ! 2038: if test "${ac_cv_objext+set}" = set; then ! 2039: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2040: else ! 2041: cat >conftest.$ac_ext <<_ACEOF ! 2042: #line $LINENO "configure" ! 2043: /* confdefs.h. */ ! 2044: _ACEOF ! 2045: cat confdefs.h >>conftest.$ac_ext ! 2046: cat >>conftest.$ac_ext <<_ACEOF ! 2047: /* end confdefs.h. */ ! 2048: ! 2049: int ! 2050: main () ! 2051: { ! 2052: ! 2053: ; ! 2054: return 0; ! 2055: } ! 2056: _ACEOF ! 2057: rm -f conftest.o conftest.obj ! 2058: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ! 2059: (eval $ac_compile) 2>&5 ! 2060: ac_status=$? ! 2061: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2062: (exit $ac_status); }; then ! 2063: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do ! 2064: case $ac_file in ! 2065: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; ! 2066: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` ! 2067: break;; ! 2068: esac ! 2069: done ! 2070: else ! 2071: echo "$as_me: failed program was:" >&5 ! 2072: sed 's/^/| /' conftest.$ac_ext >&5 ! 2073: ! 2074: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile ! 2075: See \`config.log' for more details." >&5 ! 2076: echo "$as_me: error: cannot compute suffix of object files: cannot compile ! 2077: See \`config.log' for more details." >&2;} ! 2078: { (exit 1); exit 1; }; } ! 2079: fi ! 2080: ! 2081: rm -f conftest.$ac_cv_objext conftest.$ac_ext ! 2082: fi ! 2083: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 ! 2084: echo "${ECHO_T}$ac_cv_objext" >&6 ! 2085: OBJEXT=$ac_cv_objext ! 2086: ac_objext=$OBJEXT ! 2087: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 ! 2088: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 ! 2089: if test "${ac_cv_c_compiler_gnu+set}" = set; then ! 2090: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2091: else ! 2092: cat >conftest.$ac_ext <<_ACEOF ! 2093: #line $LINENO "configure" ! 2094: /* confdefs.h. */ ! 2095: _ACEOF ! 2096: cat confdefs.h >>conftest.$ac_ext ! 2097: cat >>conftest.$ac_ext <<_ACEOF ! 2098: /* end confdefs.h. */ ! 2099: ! 2100: int ! 2101: main () ! 2102: { ! 2103: #ifndef __GNUC__ ! 2104: choke me ! 2105: #endif ! 2106: ! 2107: ; ! 2108: return 0; ! 2109: } ! 2110: _ACEOF ! 2111: rm -f conftest.$ac_objext ! 2112: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ! 2113: (eval $ac_compile) 2>&5 ! 2114: ac_status=$? ! 2115: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2116: (exit $ac_status); } && ! 2117: { ac_try='test -s conftest.$ac_objext' ! 2118: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 2119: (eval $ac_try) 2>&5 ! 2120: ac_status=$? ! 2121: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2122: (exit $ac_status); }; }; then ! 2123: ac_compiler_gnu=yes ! 2124: else ! 2125: echo "$as_me: failed program was:" >&5 ! 2126: sed 's/^/| /' conftest.$ac_ext >&5 ! 2127: ! 2128: ac_compiler_gnu=no ! 2129: fi ! 2130: rm -f conftest.$ac_objext conftest.$ac_ext ! 2131: ac_cv_c_compiler_gnu=$ac_compiler_gnu ! 2132: ! 2133: fi ! 2134: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 ! 2135: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 ! 2136: GCC=`test $ac_compiler_gnu = yes && echo yes` ! 2137: ac_test_CFLAGS=${CFLAGS+set} ! 2138: ac_save_CFLAGS=$CFLAGS ! 2139: CFLAGS="-g" ! 2140: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 ! 2141: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 ! 2142: if test "${ac_cv_prog_cc_g+set}" = set; then ! 2143: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2144: else ! 2145: cat >conftest.$ac_ext <<_ACEOF ! 2146: #line $LINENO "configure" ! 2147: /* confdefs.h. */ ! 2148: _ACEOF ! 2149: cat confdefs.h >>conftest.$ac_ext ! 2150: cat >>conftest.$ac_ext <<_ACEOF ! 2151: /* end confdefs.h. */ ! 2152: ! 2153: int ! 2154: main () ! 2155: { ! 2156: ! 2157: ; ! 2158: return 0; ! 2159: } ! 2160: _ACEOF ! 2161: rm -f conftest.$ac_objext ! 2162: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ! 2163: (eval $ac_compile) 2>&5 ! 2164: ac_status=$? ! 2165: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2166: (exit $ac_status); } && ! 2167: { ac_try='test -s conftest.$ac_objext' ! 2168: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 2169: (eval $ac_try) 2>&5 ! 2170: ac_status=$? ! 2171: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2172: (exit $ac_status); }; }; then ! 2173: ac_cv_prog_cc_g=yes ! 2174: else ! 2175: echo "$as_me: failed program was:" >&5 ! 2176: sed 's/^/| /' conftest.$ac_ext >&5 ! 2177: ! 2178: ac_cv_prog_cc_g=no ! 2179: fi ! 2180: rm -f conftest.$ac_objext conftest.$ac_ext ! 2181: fi ! 2182: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 ! 2183: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 ! 2184: if test "$ac_test_CFLAGS" = set; then ! 2185: CFLAGS=$ac_save_CFLAGS ! 2186: elif test $ac_cv_prog_cc_g = yes; then ! 2187: if test "$GCC" = yes; then ! 2188: CFLAGS="-g -O2" ! 2189: else ! 2190: CFLAGS="-g" ! 2191: fi ! 2192: else ! 2193: if test "$GCC" = yes; then ! 2194: CFLAGS="-O2" ! 2195: else ! 2196: CFLAGS= ! 2197: fi ! 2198: fi ! 2199: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 ! 2200: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 ! 2201: if test "${ac_cv_prog_cc_stdc+set}" = set; then ! 2202: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2203: else ! 2204: ac_cv_prog_cc_stdc=no ! 2205: ac_save_CC=$CC ! 2206: cat >conftest.$ac_ext <<_ACEOF ! 2207: #line $LINENO "configure" ! 2208: /* confdefs.h. */ ! 2209: _ACEOF ! 2210: cat confdefs.h >>conftest.$ac_ext ! 2211: cat >>conftest.$ac_ext <<_ACEOF ! 2212: /* end confdefs.h. */ ! 2213: #include <stdarg.h> ! 2214: #include <stdio.h> ! 2215: #include <sys/types.h> ! 2216: #include <sys/stat.h> ! 2217: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ ! 2218: struct buf { int x; }; ! 2219: FILE * (*rcsopen) (struct buf *, struct stat *, int); ! 2220: static char *e (p, i) ! 2221: char **p; ! 2222: int i; ! 2223: { ! 2224: return p[i]; ! 2225: } ! 2226: static char *f (char * (*g) (char **, int), char **p, ...) ! 2227: { ! 2228: char *s; ! 2229: va_list v; ! 2230: va_start (v,p); ! 2231: s = g (p, va_arg (v,int)); ! 2232: va_end (v); ! 2233: return s; ! 2234: } ! 2235: int test (int i, double x); ! 2236: struct s1 {int (*f) (int a);}; ! 2237: struct s2 {int (*f) (double a);}; ! 2238: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); ! 2239: int argc; ! 2240: char **argv; ! 2241: int ! 2242: main () ! 2243: { ! 2244: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ! 2245: ; ! 2246: return 0; ! 2247: } ! 2248: _ACEOF ! 2249: # Don't try gcc -ansi; that turns off useful extensions and ! 2250: # breaks some systems' header files. ! 2251: # AIX -qlanglvl=ansi ! 2252: # Ultrix and OSF/1 -std1 ! 2253: # HP-UX 10.20 and later -Ae ! 2254: # HP-UX older versions -Aa -D_HPUX_SOURCE ! 2255: # SVR4 -Xc -D__EXTENSIONS__ ! 2256: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ! 2257: do ! 2258: CC="$ac_save_CC $ac_arg" ! 2259: rm -f conftest.$ac_objext ! 2260: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ! 2261: (eval $ac_compile) 2>&5 ! 2262: ac_status=$? ! 2263: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2264: (exit $ac_status); } && ! 2265: { ac_try='test -s conftest.$ac_objext' ! 2266: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 2267: (eval $ac_try) 2>&5 ! 2268: ac_status=$? ! 2269: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2270: (exit $ac_status); }; }; then ! 2271: ac_cv_prog_cc_stdc=$ac_arg ! 2272: break ! 2273: else ! 2274: echo "$as_me: failed program was:" >&5 ! 2275: sed 's/^/| /' conftest.$ac_ext >&5 ! 2276: ! 2277: fi ! 2278: rm -f conftest.$ac_objext ! 2279: done ! 2280: rm -f conftest.$ac_ext conftest.$ac_objext ! 2281: CC=$ac_save_CC ! 2282: ! 2283: fi ! 2284: ! 2285: case "x$ac_cv_prog_cc_stdc" in ! 2286: x|xno) ! 2287: echo "$as_me:$LINENO: result: none needed" >&5 ! 2288: echo "${ECHO_T}none needed" >&6 ;; ! 2289: *) ! 2290: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 ! 2291: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 ! 2292: CC="$CC $ac_cv_prog_cc_stdc" ;; ! 2293: esac ! 2294: ! 2295: # Some people use a C++ compiler to compile C. Since we use `exit', ! 2296: # in C++ we need to declare it. In case someone uses the same compiler ! 2297: # for both compiling C and C++ we need to have the C++ compiler decide ! 2298: # the declaration of exit, since it's the most demanding environment. ! 2299: cat >conftest.$ac_ext <<_ACEOF ! 2300: #ifndef __cplusplus ! 2301: choke me ! 2302: #endif ! 2303: _ACEOF ! 2304: rm -f conftest.$ac_objext ! 2305: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ! 2306: (eval $ac_compile) 2>&5 ! 2307: ac_status=$? ! 2308: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2309: (exit $ac_status); } && ! 2310: { ac_try='test -s conftest.$ac_objext' ! 2311: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 2312: (eval $ac_try) 2>&5 ! 2313: ac_status=$? ! 2314: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2315: (exit $ac_status); }; }; then ! 2316: for ac_declaration in \ ! 2317: ''\ ! 2318: '#include <stdlib.h>' \ ! 2319: 'extern "C" void std::exit (int) throw (); using std::exit;' \ ! 2320: 'extern "C" void std::exit (int); using std::exit;' \ ! 2321: 'extern "C" void exit (int) throw ();' \ ! 2322: 'extern "C" void exit (int);' \ ! 2323: 'void exit (int);' ! 2324: do ! 2325: cat >conftest.$ac_ext <<_ACEOF ! 2326: #line $LINENO "configure" ! 2327: /* confdefs.h. */ ! 2328: _ACEOF ! 2329: cat confdefs.h >>conftest.$ac_ext ! 2330: cat >>conftest.$ac_ext <<_ACEOF ! 2331: /* end confdefs.h. */ ! 2332: #include <stdlib.h> ! 2333: $ac_declaration ! 2334: int ! 2335: main () ! 2336: { ! 2337: exit (42); ! 2338: ; ! 2339: return 0; ! 2340: } ! 2341: _ACEOF ! 2342: rm -f conftest.$ac_objext ! 2343: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ! 2344: (eval $ac_compile) 2>&5 ! 2345: ac_status=$? ! 2346: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2347: (exit $ac_status); } && ! 2348: { ac_try='test -s conftest.$ac_objext' ! 2349: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 2350: (eval $ac_try) 2>&5 ! 2351: ac_status=$? ! 2352: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2353: (exit $ac_status); }; }; then ! 2354: : ! 2355: else ! 2356: echo "$as_me: failed program was:" >&5 ! 2357: sed 's/^/| /' conftest.$ac_ext >&5 ! 2358: ! 2359: continue ! 2360: fi ! 2361: rm -f conftest.$ac_objext conftest.$ac_ext ! 2362: cat >conftest.$ac_ext <<_ACEOF ! 2363: #line $LINENO "configure" ! 2364: /* confdefs.h. */ ! 2365: _ACEOF ! 2366: cat confdefs.h >>conftest.$ac_ext ! 2367: cat >>conftest.$ac_ext <<_ACEOF ! 2368: /* end confdefs.h. */ ! 2369: $ac_declaration ! 2370: int ! 2371: main () ! 2372: { ! 2373: exit (42); ! 2374: ; ! 2375: return 0; ! 2376: } ! 2377: _ACEOF ! 2378: rm -f conftest.$ac_objext ! 2379: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ! 2380: (eval $ac_compile) 2>&5 ! 2381: ac_status=$? ! 2382: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2383: (exit $ac_status); } && ! 2384: { ac_try='test -s conftest.$ac_objext' ! 2385: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 2386: (eval $ac_try) 2>&5 ! 2387: ac_status=$? ! 2388: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2389: (exit $ac_status); }; }; then ! 2390: break ! 2391: else ! 2392: echo "$as_me: failed program was:" >&5 ! 2393: sed 's/^/| /' conftest.$ac_ext >&5 ! 2394: ! 2395: fi ! 2396: rm -f conftest.$ac_objext conftest.$ac_ext ! 2397: done ! 2398: rm -f conftest* ! 2399: if test -n "$ac_declaration"; then ! 2400: echo '#ifdef __cplusplus' >>confdefs.h ! 2401: echo $ac_declaration >>confdefs.h ! 2402: echo '#endif' >>confdefs.h ! 2403: fi ! 2404: ! 2405: else ! 2406: echo "$as_me: failed program was:" >&5 ! 2407: sed 's/^/| /' conftest.$ac_ext >&5 ! 2408: ! 2409: fi ! 2410: rm -f conftest.$ac_objext conftest.$ac_ext ! 2411: ac_ext=c ! 2412: ac_cpp='$CPP $CPPFLAGS' ! 2413: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 2414: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 2415: ac_compiler_gnu=$ac_cv_c_compiler_gnu ! 2416: ! 2417: ! 2418: if test -n "$ac_tool_prefix"; then ! 2419: # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args. ! 2420: set dummy ${ac_tool_prefix}ld; ac_word=$2 ! 2421: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 2422: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 2423: if test "${ac_cv_prog_LD+set}" = set; then ! 2424: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2425: else ! 2426: if test -n "$LD"; then ! 2427: ac_cv_prog_LD="$LD" # Let the user override the test. ! 2428: else ! 2429: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2430: for as_dir in $PATH ! 2431: do ! 2432: IFS=$as_save_IFS ! 2433: test -z "$as_dir" && as_dir=. ! 2434: for ac_exec_ext in '' $ac_executable_extensions; do ! 2435: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2436: ac_cv_prog_LD="${ac_tool_prefix}ld" ! 2437: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2438: break 2 ! 2439: fi ! 2440: done ! 2441: done ! 2442: ! 2443: fi ! 2444: fi ! 2445: LD=$ac_cv_prog_LD ! 2446: if test -n "$LD"; then ! 2447: echo "$as_me:$LINENO: result: $LD" >&5 ! 2448: echo "${ECHO_T}$LD" >&6 ! 2449: else ! 2450: echo "$as_me:$LINENO: result: no" >&5 ! 2451: echo "${ECHO_T}no" >&6 ! 2452: fi ! 2453: ! 2454: fi ! 2455: if test -z "$ac_cv_prog_LD"; then ! 2456: ac_ct_LD=$LD ! 2457: # Extract the first word of "ld", so it can be a program name with args. ! 2458: set dummy ld; ac_word=$2 ! 2459: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 2460: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 2461: if test "${ac_cv_prog_ac_ct_LD+set}" = set; then ! 2462: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2463: else ! 2464: if test -n "$ac_ct_LD"; then ! 2465: ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test. ! 2466: else ! 2467: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2468: for as_dir in $PATH ! 2469: do ! 2470: IFS=$as_save_IFS ! 2471: test -z "$as_dir" && as_dir=. ! 2472: for ac_exec_ext in '' $ac_executable_extensions; do ! 2473: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2474: ac_cv_prog_ac_ct_LD="ld" ! 2475: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2476: break 2 ! 2477: fi ! 2478: done ! 2479: done ! 2480: ! 2481: fi ! 2482: fi ! 2483: ac_ct_LD=$ac_cv_prog_ac_ct_LD ! 2484: if test -n "$ac_ct_LD"; then ! 2485: echo "$as_me:$LINENO: result: $ac_ct_LD" >&5 ! 2486: echo "${ECHO_T}$ac_ct_LD" >&6 ! 2487: else ! 2488: echo "$as_me:$LINENO: result: no" >&5 ! 2489: echo "${ECHO_T}no" >&6 ! 2490: fi ! 2491: ! 2492: LD=$ac_ct_LD ! 2493: else ! 2494: LD="$ac_cv_prog_LD" ! 2495: fi ! 2496: ! 2497: if test -n "$ac_tool_prefix"; then ! 2498: # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. ! 2499: set dummy ${ac_tool_prefix}nm; ac_word=$2 ! 2500: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 2501: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 2502: if test "${ac_cv_prog_NM+set}" = set; then ! 2503: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2504: else ! 2505: if test -n "$NM"; then ! 2506: ac_cv_prog_NM="$NM" # Let the user override the test. ! 2507: else ! 2508: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2509: for as_dir in $PATH ! 2510: do ! 2511: IFS=$as_save_IFS ! 2512: test -z "$as_dir" && as_dir=. ! 2513: for ac_exec_ext in '' $ac_executable_extensions; do ! 2514: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2515: ac_cv_prog_NM="${ac_tool_prefix}nm" ! 2516: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2517: break 2 ! 2518: fi ! 2519: done ! 2520: done ! 2521: ! 2522: fi ! 2523: fi ! 2524: NM=$ac_cv_prog_NM ! 2525: if test -n "$NM"; then ! 2526: echo "$as_me:$LINENO: result: $NM" >&5 ! 2527: echo "${ECHO_T}$NM" >&6 ! 2528: else ! 2529: echo "$as_me:$LINENO: result: no" >&5 ! 2530: echo "${ECHO_T}no" >&6 ! 2531: fi ! 2532: ! 2533: fi ! 2534: if test -z "$ac_cv_prog_NM"; then ! 2535: ac_ct_NM=$NM ! 2536: # Extract the first word of "nm", so it can be a program name with args. ! 2537: set dummy nm; ac_word=$2 ! 2538: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 2539: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 2540: if test "${ac_cv_prog_ac_ct_NM+set}" = set; then ! 2541: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2542: else ! 2543: if test -n "$ac_ct_NM"; then ! 2544: ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. ! 2545: else ! 2546: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2547: for as_dir in $PATH ! 2548: do ! 2549: IFS=$as_save_IFS ! 2550: test -z "$as_dir" && as_dir=. ! 2551: for ac_exec_ext in '' $ac_executable_extensions; do ! 2552: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2553: ac_cv_prog_ac_ct_NM="nm" ! 2554: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2555: break 2 ! 2556: fi ! 2557: done ! 2558: done ! 2559: ! 2560: fi ! 2561: fi ! 2562: ac_ct_NM=$ac_cv_prog_ac_ct_NM ! 2563: if test -n "$ac_ct_NM"; then ! 2564: echo "$as_me:$LINENO: result: $ac_ct_NM" >&5 ! 2565: echo "${ECHO_T}$ac_ct_NM" >&6 ! 2566: else ! 2567: echo "$as_me:$LINENO: result: no" >&5 ! 2568: echo "${ECHO_T}no" >&6 ! 2569: fi ! 2570: ! 2571: NM=$ac_ct_NM ! 2572: else ! 2573: NM="$ac_cv_prog_NM" ! 2574: fi ! 2575: ! 2576: ! 2577: if test -n "$ac_tool_prefix"; then ! 2578: # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args. ! 2579: set dummy ${ac_tool_prefix}mig; ac_word=$2 ! 2580: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 2581: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 2582: if test "${ac_cv_prog_MIG+set}" = set; then ! 2583: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2584: else ! 2585: if test -n "$MIG"; then ! 2586: ac_cv_prog_MIG="$MIG" # Let the user override the test. ! 2587: else ! 2588: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2589: for as_dir in $PATH ! 2590: do ! 2591: IFS=$as_save_IFS ! 2592: test -z "$as_dir" && as_dir=. ! 2593: for ac_exec_ext in '' $ac_executable_extensions; do ! 2594: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2595: ac_cv_prog_MIG="${ac_tool_prefix}mig" ! 2596: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2597: break 2 ! 2598: fi ! 2599: done ! 2600: done ! 2601: ! 2602: fi ! 2603: fi ! 2604: MIG=$ac_cv_prog_MIG ! 2605: if test -n "$MIG"; then ! 2606: echo "$as_me:$LINENO: result: $MIG" >&5 ! 2607: echo "${ECHO_T}$MIG" >&6 ! 2608: else ! 2609: echo "$as_me:$LINENO: result: no" >&5 ! 2610: echo "${ECHO_T}no" >&6 ! 2611: fi ! 2612: ! 2613: fi ! 2614: if test -z "$ac_cv_prog_MIG"; then ! 2615: ac_ct_MIG=$MIG ! 2616: # Extract the first word of "mig", so it can be a program name with args. ! 2617: set dummy mig; ac_word=$2 ! 2618: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 2619: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 2620: if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then ! 2621: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2622: else ! 2623: if test -n "$ac_ct_MIG"; then ! 2624: ac_cv_prog_ac_ct_MIG="$ac_ct_MIG" # Let the user override the test. ! 2625: else ! 2626: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2627: for as_dir in $PATH ! 2628: do ! 2629: IFS=$as_save_IFS ! 2630: test -z "$as_dir" && as_dir=. ! 2631: for ac_exec_ext in '' $ac_executable_extensions; do ! 2632: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2633: ac_cv_prog_ac_ct_MIG="mig" ! 2634: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2635: break 2 ! 2636: fi ! 2637: done ! 2638: done ! 2639: ! 2640: test -z "$ac_cv_prog_ac_ct_MIG" && ac_cv_prog_ac_ct_MIG="mig" ! 2641: fi ! 2642: fi ! 2643: ac_ct_MIG=$ac_cv_prog_ac_ct_MIG ! 2644: if test -n "$ac_ct_MIG"; then ! 2645: echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5 ! 2646: echo "${ECHO_T}$ac_ct_MIG" >&6 ! 2647: else ! 2648: echo "$as_me:$LINENO: result: no" >&5 ! 2649: echo "${ECHO_T}no" >&6 ! 2650: fi ! 2651: ! 2652: MIG=$ac_ct_MIG ! 2653: else ! 2654: MIG="$ac_cv_prog_MIG" ! 2655: fi ! 2656: ! 2657: ! 2658: # Extract the first word of "mbchk", so it can be a program name with args. ! 2659: set dummy mbchk; ac_word=$2 ! 2660: echo "$as_me:$LINENO: checking for $ac_word" >&5 ! 2661: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ! 2662: if test "${ac_cv_prog_MBCHK+set}" = set; then ! 2663: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2664: else ! 2665: if test -n "$MBCHK"; then ! 2666: ac_cv_prog_MBCHK="$MBCHK" # Let the user override the test. ! 2667: else ! 2668: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2669: for as_dir in $PATH ! 2670: do ! 2671: IFS=$as_save_IFS ! 2672: test -z "$as_dir" && as_dir=. ! 2673: for ac_exec_ext in '' $ac_executable_extensions; do ! 2674: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2675: ac_cv_prog_MBCHK="mbchk" ! 2676: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2677: break 2 ! 2678: fi ! 2679: done ! 2680: done ! 2681: ! 2682: test -z "$ac_cv_prog_MBCHK" && ac_cv_prog_MBCHK=":" ! 2683: fi ! 2684: fi ! 2685: MBCHK=$ac_cv_prog_MBCHK ! 2686: if test -n "$MBCHK"; then ! 2687: echo "$as_me:$LINENO: result: $MBCHK" >&5 ! 2688: echo "${ECHO_T}$MBCHK" >&6 ! 2689: else ! 2690: echo "$as_me:$LINENO: result: no" >&5 ! 2691: echo "${ECHO_T}no" >&6 ! 2692: fi ! 2693: ! 2694: ! 2695: # Check oskit version. ! 2696: NEEDED_OSKIT_VERSION=19991121 ! 2697: ! 2698: ac_ext=c ! 2699: ac_cpp='$CPP $CPPFLAGS' ! 2700: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 2701: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 2702: ac_compiler_gnu=$ac_cv_c_compiler_gnu ! 2703: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 ! 2704: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 ! 2705: # On Suns, sometimes $CPP names a directory. ! 2706: if test -n "$CPP" && test -d "$CPP"; then ! 2707: CPP= ! 2708: fi ! 2709: if test -z "$CPP"; then ! 2710: if test "${ac_cv_prog_CPP+set}" = set; then ! 2711: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2712: else ! 2713: # Double quotes because CPP needs to be expanded ! 2714: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" ! 2715: do ! 2716: ac_preproc_ok=false ! 2717: for ac_c_preproc_warn_flag in '' yes ! 2718: do ! 2719: # Use a header file that comes with gcc, so configuring glibc ! 2720: # with a fresh cross-compiler works. ! 2721: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since ! 2722: # <limits.h> exists even on freestanding compilers. ! 2723: # On the NeXT, cc -E runs the code through the compiler's parser, ! 2724: # not just through cpp. "Syntax error" is here to catch this case. ! 2725: cat >conftest.$ac_ext <<_ACEOF ! 2726: #line $LINENO "configure" ! 2727: /* confdefs.h. */ ! 2728: _ACEOF ! 2729: cat confdefs.h >>conftest.$ac_ext ! 2730: cat >>conftest.$ac_ext <<_ACEOF ! 2731: /* end confdefs.h. */ ! 2732: #ifdef __STDC__ ! 2733: # include <limits.h> ! 2734: #else ! 2735: # include <assert.h> ! 2736: #endif ! 2737: Syntax error ! 2738: _ACEOF ! 2739: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 ! 2740: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ! 2741: ac_status=$? ! 2742: grep -v '^ *+' conftest.er1 >conftest.err ! 2743: rm -f conftest.er1 ! 2744: cat conftest.err >&5 ! 2745: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2746: (exit $ac_status); } >/dev/null; then ! 2747: if test -s conftest.err; then ! 2748: ac_cpp_err=$ac_c_preproc_warn_flag ! 2749: else ! 2750: ac_cpp_err= ! 2751: fi ! 2752: else ! 2753: ac_cpp_err=yes ! 2754: fi ! 2755: if test -z "$ac_cpp_err"; then ! 2756: : ! 2757: else ! 2758: echo "$as_me: failed program was:" >&5 ! 2759: sed 's/^/| /' conftest.$ac_ext >&5 ! 2760: ! 2761: # Broken: fails on valid input. ! 2762: continue ! 2763: fi ! 2764: rm -f conftest.err conftest.$ac_ext ! 2765: ! 2766: # OK, works on sane cases. Now check whether non-existent headers ! 2767: # can be detected and how. ! 2768: cat >conftest.$ac_ext <<_ACEOF ! 2769: #line $LINENO "configure" ! 2770: /* confdefs.h. */ ! 2771: _ACEOF ! 2772: cat confdefs.h >>conftest.$ac_ext ! 2773: cat >>conftest.$ac_ext <<_ACEOF ! 2774: /* end confdefs.h. */ ! 2775: #include <ac_nonexistent.h> ! 2776: _ACEOF ! 2777: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 ! 2778: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ! 2779: ac_status=$? ! 2780: grep -v '^ *+' conftest.er1 >conftest.err ! 2781: rm -f conftest.er1 ! 2782: cat conftest.err >&5 ! 2783: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2784: (exit $ac_status); } >/dev/null; then ! 2785: if test -s conftest.err; then ! 2786: ac_cpp_err=$ac_c_preproc_warn_flag ! 2787: else ! 2788: ac_cpp_err= ! 2789: fi ! 2790: else ! 2791: ac_cpp_err=yes ! 2792: fi ! 2793: if test -z "$ac_cpp_err"; then ! 2794: # Broken: success on invalid input. ! 2795: continue ! 2796: else ! 2797: echo "$as_me: failed program was:" >&5 ! 2798: sed 's/^/| /' conftest.$ac_ext >&5 ! 2799: ! 2800: # Passes both tests. ! 2801: ac_preproc_ok=: ! 2802: break ! 2803: fi ! 2804: rm -f conftest.err conftest.$ac_ext ! 2805: ! 2806: done ! 2807: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ! 2808: rm -f conftest.err conftest.$ac_ext ! 2809: if $ac_preproc_ok; then ! 2810: break ! 2811: fi ! 2812: ! 2813: done ! 2814: ac_cv_prog_CPP=$CPP ! 2815: ! 2816: fi ! 2817: CPP=$ac_cv_prog_CPP ! 2818: else ! 2819: ac_cv_prog_CPP=$CPP ! 2820: fi ! 2821: echo "$as_me:$LINENO: result: $CPP" >&5 ! 2822: echo "${ECHO_T}$CPP" >&6 ! 2823: ac_preproc_ok=false ! 2824: for ac_c_preproc_warn_flag in '' yes ! 2825: do ! 2826: # Use a header file that comes with gcc, so configuring glibc ! 2827: # with a fresh cross-compiler works. ! 2828: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since ! 2829: # <limits.h> exists even on freestanding compilers. ! 2830: # On the NeXT, cc -E runs the code through the compiler's parser, ! 2831: # not just through cpp. "Syntax error" is here to catch this case. ! 2832: cat >conftest.$ac_ext <<_ACEOF ! 2833: #line $LINENO "configure" ! 2834: /* confdefs.h. */ ! 2835: _ACEOF ! 2836: cat confdefs.h >>conftest.$ac_ext ! 2837: cat >>conftest.$ac_ext <<_ACEOF ! 2838: /* end confdefs.h. */ ! 2839: #ifdef __STDC__ ! 2840: # include <limits.h> ! 2841: #else ! 2842: # include <assert.h> ! 2843: #endif ! 2844: Syntax error ! 2845: _ACEOF ! 2846: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 ! 2847: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ! 2848: ac_status=$? ! 2849: grep -v '^ *+' conftest.er1 >conftest.err ! 2850: rm -f conftest.er1 ! 2851: cat conftest.err >&5 ! 2852: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2853: (exit $ac_status); } >/dev/null; then ! 2854: if test -s conftest.err; then ! 2855: ac_cpp_err=$ac_c_preproc_warn_flag ! 2856: else ! 2857: ac_cpp_err= ! 2858: fi ! 2859: else ! 2860: ac_cpp_err=yes ! 2861: fi ! 2862: if test -z "$ac_cpp_err"; then ! 2863: : ! 2864: else ! 2865: echo "$as_me: failed program was:" >&5 ! 2866: sed 's/^/| /' conftest.$ac_ext >&5 ! 2867: ! 2868: # Broken: fails on valid input. ! 2869: continue ! 2870: fi ! 2871: rm -f conftest.err conftest.$ac_ext ! 2872: ! 2873: # OK, works on sane cases. Now check whether non-existent headers ! 2874: # can be detected and how. ! 2875: cat >conftest.$ac_ext <<_ACEOF ! 2876: #line $LINENO "configure" ! 2877: /* confdefs.h. */ ! 2878: _ACEOF ! 2879: cat confdefs.h >>conftest.$ac_ext ! 2880: cat >>conftest.$ac_ext <<_ACEOF ! 2881: /* end confdefs.h. */ ! 2882: #include <ac_nonexistent.h> ! 2883: _ACEOF ! 2884: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 ! 2885: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ! 2886: ac_status=$? ! 2887: grep -v '^ *+' conftest.er1 >conftest.err ! 2888: rm -f conftest.er1 ! 2889: cat conftest.err >&5 ! 2890: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2891: (exit $ac_status); } >/dev/null; then ! 2892: if test -s conftest.err; then ! 2893: ac_cpp_err=$ac_c_preproc_warn_flag ! 2894: else ! 2895: ac_cpp_err= ! 2896: fi ! 2897: else ! 2898: ac_cpp_err=yes ! 2899: fi ! 2900: if test -z "$ac_cpp_err"; then ! 2901: # Broken: success on invalid input. ! 2902: continue ! 2903: else ! 2904: echo "$as_me: failed program was:" >&5 ! 2905: sed 's/^/| /' conftest.$ac_ext >&5 ! 2906: ! 2907: # Passes both tests. ! 2908: ac_preproc_ok=: ! 2909: break ! 2910: fi ! 2911: rm -f conftest.err conftest.$ac_ext ! 2912: ! 2913: done ! 2914: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ! 2915: rm -f conftest.err conftest.$ac_ext ! 2916: if $ac_preproc_ok; then ! 2917: : ! 2918: else ! 2919: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check ! 2920: See \`config.log' for more details." >&5 ! 2921: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check ! 2922: See \`config.log' for more details." >&2;} ! 2923: { (exit 1); exit 1; }; } ! 2924: fi ! 2925: ! 2926: ac_ext=c ! 2927: ac_cpp='$CPP $CPPFLAGS' ! 2928: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 2929: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 2930: ac_compiler_gnu=$ac_cv_c_compiler_gnu ! 2931: ! 2932: ! 2933: ! 2934: echo "$as_me:$LINENO: checking for oskit version >= ${NEEDED_OSKIT_VERSION}" >&5 ! 2935: echo $ECHO_N "checking for oskit version >= ${NEEDED_OSKIT_VERSION}... $ECHO_C" >&6 ! 2936: if eval "test \"\${gnumach_cv_oskit_version_${NEEDED_OSKIT_VERSION}+set}\" = set"; then ! 2937: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2938: else ! 2939: ! 2940: cat >conftest.$ac_ext <<_ACEOF ! 2941: #line $LINENO "configure" ! 2942: /* confdefs.h. */ ! 2943: _ACEOF ! 2944: cat confdefs.h >>conftest.$ac_ext ! 2945: cat >>conftest.$ac_ext <<_ACEOF ! 2946: /* end confdefs.h. */ ! 2947: #include <oskit/version.h> ! 2948: #if _OSKIT_VERSION < ${NEEDED_OSKIT_VERSION} ! 2949: #error _OSKIT_VERSION < ${NEEDED_OSKIT_VERSION} ! 2950: #endif ! 2951: _ACEOF ! 2952: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 ! 2953: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ! 2954: ac_status=$? ! 2955: grep -v '^ *+' conftest.er1 >conftest.err ! 2956: rm -f conftest.er1 ! 2957: cat conftest.err >&5 ! 2958: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 2959: (exit $ac_status); } >/dev/null; then ! 2960: if test -s conftest.err; then ! 2961: ac_cpp_err=$ac_c_preproc_warn_flag ! 2962: else ! 2963: ac_cpp_err= ! 2964: fi ! 2965: else ! 2966: ac_cpp_err=yes ! 2967: fi ! 2968: if test -z "$ac_cpp_err"; then ! 2969: eval gnumach_cv_oskit_version_${NEEDED_OSKIT_VERSION}=yes ! 2970: else ! 2971: echo "$as_me: failed program was:" >&5 ! 2972: sed 's/^/| /' conftest.$ac_ext >&5 ! 2973: ! 2974: eval gnumach_cv_oskit_version_${NEEDED_OSKIT_VERSION}=no ! 2975: fi ! 2976: rm -f conftest.err conftest.$ac_ext ! 2977: fi ! 2978: ! 2979: if eval test \$gnumach_cv_oskit_version_${NEEDED_OSKIT_VERSION} != yes; then ! 2980: echo "$as_me:$LINENO: result: no, too old!" >&5 ! 2981: echo "${ECHO_T}no, too old!" >&6 ! 2982: { { echo "$as_me:$LINENO: error: version in <oskit/version.h> less than required ${NEEDED_OSKIT_VERSION}" >&5 ! 2983: echo "$as_me: error: version in <oskit/version.h> less than required ${NEEDED_OSKIT_VERSION}" >&2;} ! 2984: { (exit 1); exit 1; }; } ! 2985: else ! 2986: echo "$as_me:$LINENO: result: yes, ok" >&5 ! 2987: echo "${ECHO_T}yes, ok" >&6 ! 2988: fi ! 2989: ! 2990: echo "$as_me:$LINENO: checking for egrep" >&5 ! 2991: echo $ECHO_N "checking for egrep... $ECHO_C" >&6 ! 2992: if test "${ac_cv_prog_egrep+set}" = set; then ! 2993: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 2994: else ! 2995: if echo a | (grep -E '(a|b)') >/dev/null 2>&1 ! 2996: then ac_cv_prog_egrep='grep -E' ! 2997: else ac_cv_prog_egrep='egrep' ! 2998: fi ! 2999: fi ! 3000: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 ! 3001: echo "${ECHO_T}$ac_cv_prog_egrep" >&6 ! 3002: EGREP=$ac_cv_prog_egrep ! 3003: ! 3004: ! 3005: echo "$as_me:$LINENO: checking for ANSI C header files" >&5 ! 3006: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 ! 3007: if test "${ac_cv_header_stdc+set}" = set; then ! 3008: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 3009: else ! 3010: cat >conftest.$ac_ext <<_ACEOF ! 3011: #line $LINENO "configure" ! 3012: /* confdefs.h. */ ! 3013: _ACEOF ! 3014: cat confdefs.h >>conftest.$ac_ext ! 3015: cat >>conftest.$ac_ext <<_ACEOF ! 3016: /* end confdefs.h. */ ! 3017: #include <stdlib.h> ! 3018: #include <stdarg.h> ! 3019: #include <string.h> ! 3020: #include <float.h> ! 3021: ! 3022: int ! 3023: main () ! 3024: { ! 3025: ! 3026: ; ! 3027: return 0; ! 3028: } ! 3029: _ACEOF ! 3030: rm -f conftest.$ac_objext ! 3031: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ! 3032: (eval $ac_compile) 2>&5 ! 3033: ac_status=$? ! 3034: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3035: (exit $ac_status); } && ! 3036: { ac_try='test -s conftest.$ac_objext' ! 3037: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 3038: (eval $ac_try) 2>&5 ! 3039: ac_status=$? ! 3040: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3041: (exit $ac_status); }; }; then ! 3042: ac_cv_header_stdc=yes ! 3043: else ! 3044: echo "$as_me: failed program was:" >&5 ! 3045: sed 's/^/| /' conftest.$ac_ext >&5 ! 3046: ! 3047: ac_cv_header_stdc=no ! 3048: fi ! 3049: rm -f conftest.$ac_objext conftest.$ac_ext ! 3050: ! 3051: if test $ac_cv_header_stdc = yes; then ! 3052: # SunOS 4.x string.h does not declare mem*, contrary to ANSI. ! 3053: cat >conftest.$ac_ext <<_ACEOF ! 3054: #line $LINENO "configure" ! 3055: /* confdefs.h. */ ! 3056: _ACEOF ! 3057: cat confdefs.h >>conftest.$ac_ext ! 3058: cat >>conftest.$ac_ext <<_ACEOF ! 3059: /* end confdefs.h. */ ! 3060: #include <string.h> ! 3061: ! 3062: _ACEOF ! 3063: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! 3064: $EGREP "memchr" >/dev/null 2>&1; then ! 3065: : ! 3066: else ! 3067: ac_cv_header_stdc=no ! 3068: fi ! 3069: rm -f conftest* ! 3070: ! 3071: fi ! 3072: ! 3073: if test $ac_cv_header_stdc = yes; then ! 3074: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. ! 3075: cat >conftest.$ac_ext <<_ACEOF ! 3076: #line $LINENO "configure" ! 3077: /* confdefs.h. */ ! 3078: _ACEOF ! 3079: cat confdefs.h >>conftest.$ac_ext ! 3080: cat >>conftest.$ac_ext <<_ACEOF ! 3081: /* end confdefs.h. */ ! 3082: #include <stdlib.h> ! 3083: ! 3084: _ACEOF ! 3085: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! 3086: $EGREP "free" >/dev/null 2>&1; then ! 3087: : ! 3088: else ! 3089: ac_cv_header_stdc=no ! 3090: fi ! 3091: rm -f conftest* ! 3092: ! 3093: fi ! 3094: ! 3095: if test $ac_cv_header_stdc = yes; then ! 3096: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. ! 3097: if test "$cross_compiling" = yes; then ! 3098: : ! 3099: else ! 3100: cat >conftest.$ac_ext <<_ACEOF ! 3101: #line $LINENO "configure" ! 3102: /* confdefs.h. */ ! 3103: _ACEOF ! 3104: cat confdefs.h >>conftest.$ac_ext ! 3105: cat >>conftest.$ac_ext <<_ACEOF ! 3106: /* end confdefs.h. */ ! 3107: #include <ctype.h> ! 3108: #if ((' ' & 0x0FF) == 0x020) ! 3109: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') ! 3110: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) ! 3111: #else ! 3112: # define ISLOWER(c) \ ! 3113: (('a' <= (c) && (c) <= 'i') \ ! 3114: || ('j' <= (c) && (c) <= 'r') \ ! 3115: || ('s' <= (c) && (c) <= 'z')) ! 3116: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) ! 3117: #endif ! 3118: ! 3119: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) ! 3120: int ! 3121: main () ! 3122: { ! 3123: int i; ! 3124: for (i = 0; i < 256; i++) ! 3125: if (XOR (islower (i), ISLOWER (i)) ! 3126: || toupper (i) != TOUPPER (i)) ! 3127: exit(2); ! 3128: exit (0); ! 3129: } ! 3130: _ACEOF ! 3131: rm -f conftest$ac_exeext ! 3132: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ! 3133: (eval $ac_link) 2>&5 ! 3134: ac_status=$? ! 3135: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3136: (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ! 3137: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 3138: (eval $ac_try) 2>&5 ! 3139: ac_status=$? ! 3140: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3141: (exit $ac_status); }; }; then ! 3142: : ! 3143: else ! 3144: echo "$as_me: program exited with status $ac_status" >&5 ! 3145: echo "$as_me: failed program was:" >&5 ! 3146: sed 's/^/| /' conftest.$ac_ext >&5 ! 3147: ! 3148: ( exit $ac_status ) ! 3149: ac_cv_header_stdc=no ! 3150: fi ! 3151: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ! 3152: fi ! 3153: fi ! 3154: fi ! 3155: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 ! 3156: echo "${ECHO_T}$ac_cv_header_stdc" >&6 ! 3157: if test $ac_cv_header_stdc = yes; then ! 3158: ! 3159: cat >>confdefs.h <<\_ACEOF ! 3160: #define STDC_HEADERS 1 ! 3161: _ACEOF ! 3162: ! 3163: fi ! 3164: ! 3165: # On IRIX 5.3, sys/types and inttypes.h are conflicting. ! 3166: ! 3167: ! 3168: ! 3169: ! 3170: ! 3171: ! 3172: ! 3173: ! 3174: ! 3175: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ ! 3176: inttypes.h stdint.h unistd.h ! 3177: do ! 3178: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` ! 3179: echo "$as_me:$LINENO: checking for $ac_header" >&5 ! 3180: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ! 3181: if eval "test \"\${$as_ac_Header+set}\" = set"; then ! 3182: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 3183: else ! 3184: cat >conftest.$ac_ext <<_ACEOF ! 3185: #line $LINENO "configure" ! 3186: /* confdefs.h. */ ! 3187: _ACEOF ! 3188: cat confdefs.h >>conftest.$ac_ext ! 3189: cat >>conftest.$ac_ext <<_ACEOF ! 3190: /* end confdefs.h. */ ! 3191: $ac_includes_default ! 3192: ! 3193: #include <$ac_header> ! 3194: _ACEOF ! 3195: rm -f conftest.$ac_objext ! 3196: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ! 3197: (eval $ac_compile) 2>&5 ! 3198: ac_status=$? ! 3199: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3200: (exit $ac_status); } && ! 3201: { ac_try='test -s conftest.$ac_objext' ! 3202: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 3203: (eval $ac_try) 2>&5 ! 3204: ac_status=$? ! 3205: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3206: (exit $ac_status); }; }; then ! 3207: eval "$as_ac_Header=yes" ! 3208: else ! 3209: echo "$as_me: failed program was:" >&5 ! 3210: sed 's/^/| /' conftest.$ac_ext >&5 ! 3211: ! 3212: eval "$as_ac_Header=no" ! 3213: fi ! 3214: rm -f conftest.$ac_objext conftest.$ac_ext ! 3215: fi ! 3216: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 ! 3217: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 ! 3218: if test `eval echo '${'$as_ac_Header'}'` = yes; then ! 3219: cat >>confdefs.h <<_ACEOF ! 3220: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 ! 3221: _ACEOF ! 3222: ! 3223: fi ! 3224: ! 3225: done ! 3226: ! 3227: ! 3228: ! 3229: for ac_header in oskit/dev/stream.h ! 3230: do ! 3231: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` ! 3232: if eval "test \"\${$as_ac_Header+set}\" = set"; then ! 3233: echo "$as_me:$LINENO: checking for $ac_header" >&5 ! 3234: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ! 3235: if eval "test \"\${$as_ac_Header+set}\" = set"; then ! 3236: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 3237: fi ! 3238: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 ! 3239: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 ! 3240: else ! 3241: # Is the header compilable? ! 3242: echo "$as_me:$LINENO: checking $ac_header usability" >&5 ! 3243: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 ! 3244: cat >conftest.$ac_ext <<_ACEOF ! 3245: #line $LINENO "configure" ! 3246: /* confdefs.h. */ ! 3247: _ACEOF ! 3248: cat confdefs.h >>conftest.$ac_ext ! 3249: cat >>conftest.$ac_ext <<_ACEOF ! 3250: /* end confdefs.h. */ ! 3251: $ac_includes_default ! 3252: #include <$ac_header> ! 3253: _ACEOF ! 3254: rm -f conftest.$ac_objext ! 3255: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ! 3256: (eval $ac_compile) 2>&5 ! 3257: ac_status=$? ! 3258: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3259: (exit $ac_status); } && ! 3260: { ac_try='test -s conftest.$ac_objext' ! 3261: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 3262: (eval $ac_try) 2>&5 ! 3263: ac_status=$? ! 3264: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3265: (exit $ac_status); }; }; then ! 3266: ac_header_compiler=yes ! 3267: else ! 3268: echo "$as_me: failed program was:" >&5 ! 3269: sed 's/^/| /' conftest.$ac_ext >&5 ! 3270: ! 3271: ac_header_compiler=no ! 3272: fi ! 3273: rm -f conftest.$ac_objext conftest.$ac_ext ! 3274: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ! 3275: echo "${ECHO_T}$ac_header_compiler" >&6 ! 3276: ! 3277: # Is the header present? ! 3278: echo "$as_me:$LINENO: checking $ac_header presence" >&5 ! 3279: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 ! 3280: cat >conftest.$ac_ext <<_ACEOF ! 3281: #line $LINENO "configure" ! 3282: /* confdefs.h. */ ! 3283: _ACEOF ! 3284: cat confdefs.h >>conftest.$ac_ext ! 3285: cat >>conftest.$ac_ext <<_ACEOF ! 3286: /* end confdefs.h. */ ! 3287: #include <$ac_header> ! 3288: _ACEOF ! 3289: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 ! 3290: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ! 3291: ac_status=$? ! 3292: grep -v '^ *+' conftest.er1 >conftest.err ! 3293: rm -f conftest.er1 ! 3294: cat conftest.err >&5 ! 3295: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3296: (exit $ac_status); } >/dev/null; then ! 3297: if test -s conftest.err; then ! 3298: ac_cpp_err=$ac_c_preproc_warn_flag ! 3299: else ! 3300: ac_cpp_err= ! 3301: fi ! 3302: else ! 3303: ac_cpp_err=yes ! 3304: fi ! 3305: if test -z "$ac_cpp_err"; then ! 3306: ac_header_preproc=yes ! 3307: else ! 3308: echo "$as_me: failed program was:" >&5 ! 3309: sed 's/^/| /' conftest.$ac_ext >&5 ! 3310: ! 3311: ac_header_preproc=no ! 3312: fi ! 3313: rm -f conftest.err conftest.$ac_ext ! 3314: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ! 3315: echo "${ECHO_T}$ac_header_preproc" >&6 ! 3316: ! 3317: # So? What about this header? ! 3318: case $ac_header_compiler:$ac_header_preproc in ! 3319: yes:no ) ! 3320: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ! 3321: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ! 3322: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ! 3323: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ! 3324: ( ! 3325: cat <<\_ASBOX ! 3326: ## ------------------------------------ ## ! 3327: ## Report this to [email protected]. ## ! 3328: ## ------------------------------------ ## ! 3329: _ASBOX ! 3330: ) | ! 3331: sed "s/^/$as_me: WARNING: /" >&2 ! 3332: ;; ! 3333: no:yes ) ! 3334: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ! 3335: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ! 3336: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ! 3337: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ! 3338: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ! 3339: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ! 3340: ( ! 3341: cat <<\_ASBOX ! 3342: ## ------------------------------------ ## ! 3343: ## Report this to [email protected]. ## ! 3344: ## ------------------------------------ ## ! 3345: _ASBOX ! 3346: ) | ! 3347: sed "s/^/$as_me: WARNING: /" >&2 ! 3348: ;; ! 3349: esac ! 3350: echo "$as_me:$LINENO: checking for $ac_header" >&5 ! 3351: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ! 3352: if eval "test \"\${$as_ac_Header+set}\" = set"; then ! 3353: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 3354: else ! 3355: eval "$as_ac_Header=$ac_header_preproc" ! 3356: fi ! 3357: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 ! 3358: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 ! 3359: ! 3360: fi ! 3361: if test `eval echo '${'$as_ac_Header'}'` = yes; then ! 3362: cat >>confdefs.h <<_ACEOF ! 3363: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 ! 3364: _ACEOF ! 3365: ! 3366: fi ! 3367: ! 3368: done ! 3369: ! 3370: ! 3371: echo "$as_me:$LINENO: checking for oskit_dev_init_i8042 in -loskit_dev" >&5 ! 3372: echo $ECHO_N "checking for oskit_dev_init_i8042 in -loskit_dev... $ECHO_C" >&6 ! 3373: if test "${ac_cv_lib_oskit_dev_oskit_dev_init_i8042+set}" = set; then ! 3374: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 3375: else ! 3376: ac_check_lib_save_LIBS=$LIBS ! 3377: LIBS="-loskit_dev -loskit_lmm -loskit_clientos -loskit_c -loskit_kern -loskit_com $LIBS" ! 3378: cat >conftest.$ac_ext <<_ACEOF ! 3379: #line $LINENO "configure" ! 3380: /* confdefs.h. */ ! 3381: _ACEOF ! 3382: cat confdefs.h >>conftest.$ac_ext ! 3383: cat >>conftest.$ac_ext <<_ACEOF ! 3384: /* end confdefs.h. */ ! 3385: ! 3386: /* Override any gcc2 internal prototype to avoid an error. */ ! 3387: #ifdef __cplusplus ! 3388: extern "C" ! 3389: #endif ! 3390: /* We use char because int might match the return type of a gcc2 ! 3391: builtin and then its argument prototype would still apply. */ ! 3392: char oskit_dev_init_i8042 (); ! 3393: int ! 3394: main () ! 3395: { ! 3396: oskit_dev_init_i8042 (); ! 3397: ; ! 3398: return 0; ! 3399: } ! 3400: _ACEOF ! 3401: rm -f conftest.$ac_objext conftest$ac_exeext ! 3402: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ! 3403: (eval $ac_link) 2>&5 ! 3404: ac_status=$? ! 3405: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3406: (exit $ac_status); } && ! 3407: { ac_try='test -s conftest$ac_exeext' ! 3408: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 3409: (eval $ac_try) 2>&5 ! 3410: ac_status=$? ! 3411: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3412: (exit $ac_status); }; }; then ! 3413: ac_cv_lib_oskit_dev_oskit_dev_init_i8042=yes ! 3414: else ! 3415: echo "$as_me: failed program was:" >&5 ! 3416: sed 's/^/| /' conftest.$ac_ext >&5 ! 3417: ! 3418: ac_cv_lib_oskit_dev_oskit_dev_init_i8042=no ! 3419: fi ! 3420: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext ! 3421: LIBS=$ac_check_lib_save_LIBS ! 3422: fi ! 3423: echo "$as_me:$LINENO: result: $ac_cv_lib_oskit_dev_oskit_dev_init_i8042" >&5 ! 3424: echo "${ECHO_T}$ac_cv_lib_oskit_dev_oskit_dev_init_i8042" >&6 ! 3425: if test $ac_cv_lib_oskit_dev_oskit_dev_init_i8042 = yes; then ! 3426: ! 3427: cat >>confdefs.h <<\_ACEOF ! 3428: #define HAVE_I8042 1 ! 3429: _ACEOF ! 3430: ! 3431: fi ! 3432: ! 3433: ! 3434: SMP_LIBS= ! 3435: if test $MAXCPUS -gt 1; then ! 3436: echo "$as_me:$LINENO: checking for smp_init in -loskit_smp" >&5 ! 3437: echo $ECHO_N "checking for smp_init in -loskit_smp... $ECHO_C" >&6 ! 3438: if test "${ac_cv_lib_oskit_smp_smp_init+set}" = set; then ! 3439: echo $ECHO_N "(cached) $ECHO_C" >&6 ! 3440: else ! 3441: ac_check_lib_save_LIBS=$LIBS ! 3442: LIBS="-loskit_smp $LIBS" ! 3443: cat >conftest.$ac_ext <<_ACEOF ! 3444: #line $LINENO "configure" ! 3445: /* confdefs.h. */ ! 3446: _ACEOF ! 3447: cat confdefs.h >>conftest.$ac_ext ! 3448: cat >>conftest.$ac_ext <<_ACEOF ! 3449: /* end confdefs.h. */ ! 3450: ! 3451: /* Override any gcc2 internal prototype to avoid an error. */ ! 3452: #ifdef __cplusplus ! 3453: extern "C" ! 3454: #endif ! 3455: /* We use char because int might match the return type of a gcc2 ! 3456: builtin and then its argument prototype would still apply. */ ! 3457: char smp_init (); ! 3458: int ! 3459: main () ! 3460: { ! 3461: smp_init (); ! 3462: ; ! 3463: return 0; ! 3464: } ! 3465: _ACEOF ! 3466: rm -f conftest.$ac_objext conftest$ac_exeext ! 3467: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ! 3468: (eval $ac_link) 2>&5 ! 3469: ac_status=$? ! 3470: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3471: (exit $ac_status); } && ! 3472: { ac_try='test -s conftest$ac_exeext' ! 3473: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! 3474: (eval $ac_try) 2>&5 ! 3475: ac_status=$? ! 3476: echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! 3477: (exit $ac_status); }; }; then ! 3478: ac_cv_lib_oskit_smp_smp_init=yes ! 3479: else ! 3480: echo "$as_me: failed program was:" >&5 ! 3481: sed 's/^/| /' conftest.$ac_ext >&5 ! 3482: ! 3483: ac_cv_lib_oskit_smp_smp_init=no ! 3484: fi ! 3485: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext ! 3486: LIBS=$ac_check_lib_save_LIBS ! 3487: fi ! 3488: echo "$as_me:$LINENO: result: $ac_cv_lib_oskit_smp_smp_init" >&5 ! 3489: echo "${ECHO_T}$ac_cv_lib_oskit_smp_smp_init" >&6 ! 3490: if test $ac_cv_lib_oskit_smp_smp_init = yes; then ! 3491: SMP_LIBS=-loskit_smp ! 3492: else ! 3493: ! 3494: { { echo "$as_me:$LINENO: error: need -loskit_smp library to build multiprocessor kernel" >&5 ! 3495: echo "$as_me: error: need -loskit_smp library to build multiprocessor kernel" >&2;} ! 3496: { (exit 1); exit 1; }; } ! 3497: ! 3498: fi ! 3499: ! 3500: fi ! 3501: ! 3502: # Set up `machine' link in build directory for easier header file location. ! 3503: ac_config_links="$ac_config_links machine:${systype}/${systype}" ! 3504: ! 3505: ! 3506: test "x${OSKIT_LIBDIR+set}" = xset || ! 3507: OSKIT_LIBDIR=`${CC} -print-file-name=oskit` ! 3508: ! 3509: ! 3510: ac_config_files="$ac_config_files Makefile version.c doc/Makefile" ! 3511: ! 3512: cat >confcache <<\_ACEOF ! 3513: # This file is a shell script that caches the results of configure ! 3514: # tests run on this system so they can be shared between configure ! 3515: # scripts and configure runs, see configure's option --config-cache. ! 3516: # It is not useful on other systems. If it contains results you don't ! 3517: # want to keep, you may remove or edit it. ! 3518: # ! 3519: # config.status only pays attention to the cache file if you give it ! 3520: # the --recheck option to rerun configure. ! 3521: # ! 3522: # `ac_cv_env_foo' variables (set or unset) will be overridden when ! 3523: # loading this file, other *unset* `ac_cv_foo' will be assigned the ! 3524: # following values. ! 3525: ! 3526: _ACEOF ! 3527: ! 3528: # The following way of writing the cache mishandles newlines in values, ! 3529: # but we know of no workaround that is simple, portable, and efficient. ! 3530: # So, don't put newlines in cache variables' values. ! 3531: # Ultrix sh set writes to stderr and can't be redirected directly, ! 3532: # and sets the high bit in the cache file unless we assign to the vars. ! 3533: { ! 3534: (set) 2>&1 | ! 3535: case `(ac_space=' '; set | grep ac_space) 2>&1` in ! 3536: *ac_space=\ *) ! 3537: # `set' does not quote correctly, so add quotes (double-quote ! 3538: # substitution turns \\\\ into \\, and sed turns \\ into \). ! 3539: sed -n \ ! 3540: "s/'/'\\\\''/g; ! 3541: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ! 3542: ;; ! 3543: *) ! 3544: # `set' quotes correctly as required by POSIX, so do not add quotes. ! 3545: sed -n \ ! 3546: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ! 3547: ;; ! 3548: esac; ! 3549: } | ! 3550: sed ' ! 3551: t clear ! 3552: : clear ! 3553: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ ! 3554: t end ! 3555: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ ! 3556: : end' >>confcache ! 3557: if diff $cache_file confcache >/dev/null 2>&1; then :; else ! 3558: if test -w $cache_file; then ! 3559: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" ! 3560: cat confcache >$cache_file ! 3561: else ! 3562: echo "not updating unwritable cache $cache_file" ! 3563: fi ! 3564: fi ! 3565: rm -f confcache ! 3566: ! 3567: test "x$prefix" = xNONE && prefix=$ac_default_prefix ! 3568: # Let make expand exec_prefix. ! 3569: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ! 3570: ! 3571: # VPATH may cause trouble with some makes, so we remove $(srcdir), ! 3572: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and ! 3573: # trailing colons and then remove the whole line if VPATH becomes empty ! 3574: # (actually we leave an empty line to preserve line numbers). ! 3575: if test "x$srcdir" = x.; then ! 3576: ac_vpsub='/^[ ]*VPATH[ ]*=/{ ! 3577: s/:*\$(srcdir):*/:/; ! 3578: s/:*\${srcdir}:*/:/; ! 3579: s/:*@srcdir@:*/:/; ! 3580: s/^\([^=]*=[ ]*\):*/\1/; ! 3581: s/:*$//; ! 3582: s/^[^=]*=[ ]*$//; ! 3583: }' ! 3584: fi ! 3585: ! 3586: DEFS=-DHAVE_CONFIG_H ! 3587: ! 3588: ac_libobjs= ! 3589: ac_ltlibobjs= ! 3590: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue ! 3591: # 1. Remove the extension, and $U if already installed. ! 3592: ac_i=`echo "$ac_i" | ! 3593: sed 's/\$U\././;s/\.o$//;s/\.obj$//'` ! 3594: # 2. Add them. ! 3595: ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ! 3596: ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' ! 3597: done ! 3598: LIBOBJS=$ac_libobjs ! 3599: ! 3600: LTLIBOBJS=$ac_ltlibobjs ! 3601: ! 3602: ! 3603: ! 3604: : ${CONFIG_STATUS=./config.status} ! 3605: ac_clean_files_save=$ac_clean_files ! 3606: ac_clean_files="$ac_clean_files $CONFIG_STATUS" ! 3607: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 ! 3608: echo "$as_me: creating $CONFIG_STATUS" >&6;} ! 3609: cat >$CONFIG_STATUS <<_ACEOF ! 3610: #! $SHELL ! 3611: # Generated by $as_me. ! 3612: # Run this file to recreate the current configuration. ! 3613: # Compiler output produced by configure, useful for debugging ! 3614: # configure, is in config.log if it exists. ! 3615: ! 3616: debug=false ! 3617: ac_cs_recheck=false ! 3618: ac_cs_silent=false ! 3619: SHELL=\${CONFIG_SHELL-$SHELL} ! 3620: _ACEOF ! 3621: ! 3622: cat >>$CONFIG_STATUS <<\_ACEOF ! 3623: ## --------------------- ## ! 3624: ## M4sh Initialization. ## ! 3625: ## --------------------- ## ! 3626: ! 3627: # Be Bourne compatible ! 3628: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then ! 3629: emulate sh ! 3630: NULLCMD=: ! 3631: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which ! 3632: # is contrary to our usage. Disable this feature. ! 3633: alias -g '${1+"$@"}'='"$@"' ! 3634: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then ! 3635: set -o posix ! 3636: fi ! 3637: ! 3638: # Support unset when possible. ! 3639: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then ! 3640: as_unset=unset ! 3641: else ! 3642: as_unset=false ! 3643: fi ! 3644: ! 3645: ! 3646: # Work around bugs in pre-3.0 UWIN ksh. ! 3647: $as_unset ENV MAIL MAILPATH ! 3648: PS1='$ ' ! 3649: PS2='> ' ! 3650: PS4='+ ' ! 3651: ! 3652: # NLS nuisances. ! 3653: for as_var in \ ! 3654: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ ! 3655: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ ! 3656: LC_TELEPHONE LC_TIME ! 3657: do ! 3658: if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then ! 3659: eval $as_var=C; export $as_var ! 3660: else ! 3661: $as_unset $as_var ! 3662: fi ! 3663: done ! 3664: ! 3665: # Required to use basename. ! 3666: if expr a : '\(a\)' >/dev/null 2>&1; then ! 3667: as_expr=expr ! 3668: else ! 3669: as_expr=false ! 3670: fi ! 3671: ! 3672: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then ! 3673: as_basename=basename ! 3674: else ! 3675: as_basename=false ! 3676: fi ! 3677: ! 3678: ! 3679: # Name of the executable. ! 3680: as_me=`$as_basename "$0" || ! 3681: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ! 3682: X"$0" : 'X\(//\)$' \| \ ! 3683: X"$0" : 'X\(/\)$' \| \ ! 3684: . : '\(.\)' 2>/dev/null || ! 3685: echo X/"$0" | ! 3686: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } ! 3687: /^X\/\(\/\/\)$/{ s//\1/; q; } ! 3688: /^X\/\(\/\).*/{ s//\1/; q; } ! 3689: s/.*/./; q'` ! 3690: ! 3691: ! 3692: # PATH needs CR, and LINENO needs CR and PATH. ! 3693: # Avoid depending upon Character Ranges. ! 3694: as_cr_letters='abcdefghijklmnopqrstuvwxyz' ! 3695: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ! 3696: as_cr_Letters=$as_cr_letters$as_cr_LETTERS ! 3697: as_cr_digits='0123456789' ! 3698: as_cr_alnum=$as_cr_Letters$as_cr_digits ! 3699: ! 3700: # The user is always right. ! 3701: if test "${PATH_SEPARATOR+set}" != set; then ! 3702: echo "#! /bin/sh" >conf$$.sh ! 3703: echo "exit 0" >>conf$$.sh ! 3704: chmod +x conf$$.sh ! 3705: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ! 3706: PATH_SEPARATOR=';' ! 3707: else ! 3708: PATH_SEPARATOR=: ! 3709: fi ! 3710: rm -f conf$$.sh ! 3711: fi ! 3712: ! 3713: ! 3714: as_lineno_1=$LINENO ! 3715: as_lineno_2=$LINENO ! 3716: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` ! 3717: test "x$as_lineno_1" != "x$as_lineno_2" && ! 3718: test "x$as_lineno_3" = "x$as_lineno_2" || { ! 3719: # Find who we are. Look in the path if we contain no path at all ! 3720: # relative or not. ! 3721: case $0 in ! 3722: *[\\/]* ) as_myself=$0 ;; ! 3723: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 3724: for as_dir in $PATH ! 3725: do ! 3726: IFS=$as_save_IFS ! 3727: test -z "$as_dir" && as_dir=. ! 3728: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ! 3729: done ! 3730: ! 3731: ;; ! 3732: esac ! 3733: # We did not find ourselves, most probably we were run as `sh COMMAND' ! 3734: # in which case we are not to be found in the path. ! 3735: if test "x$as_myself" = x; then ! 3736: as_myself=$0 ! 3737: fi ! 3738: if test ! -f "$as_myself"; then ! 3739: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 ! 3740: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} ! 3741: { (exit 1); exit 1; }; } ! 3742: fi ! 3743: case $CONFIG_SHELL in ! 3744: '') ! 3745: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 3746: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH ! 3747: do ! 3748: IFS=$as_save_IFS ! 3749: test -z "$as_dir" && as_dir=. ! 3750: for as_base in sh bash ksh sh5; do ! 3751: case $as_dir in ! 3752: /*) ! 3753: if ("$as_dir/$as_base" -c ' ! 3754: as_lineno_1=$LINENO ! 3755: as_lineno_2=$LINENO ! 3756: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` ! 3757: test "x$as_lineno_1" != "x$as_lineno_2" && ! 3758: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then ! 3759: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } ! 3760: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } ! 3761: CONFIG_SHELL=$as_dir/$as_base ! 3762: export CONFIG_SHELL ! 3763: exec "$CONFIG_SHELL" "$0" ${1+"$@"} ! 3764: fi;; ! 3765: esac ! 3766: done ! 3767: done ! 3768: ;; ! 3769: esac ! 3770: ! 3771: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO ! 3772: # uniformly replaced by the line number. The first 'sed' inserts a ! 3773: # line-number line before each line; the second 'sed' does the real ! 3774: # work. The second script uses 'N' to pair each line-number line ! 3775: # with the numbered line, and appends trailing '-' during ! 3776: # substitution so that $LINENO is not a special case at line end. ! 3777: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the ! 3778: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) ! 3779: sed '=' <$as_myself | ! 3780: sed ' ! 3781: N ! 3782: s,$,-, ! 3783: : loop ! 3784: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, ! 3785: t loop ! 3786: s,-$,, ! 3787: s,^['$as_cr_digits']*\n,, ! 3788: ' >$as_me.lineno && ! 3789: chmod +x $as_me.lineno || ! 3790: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 ! 3791: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} ! 3792: { (exit 1); exit 1; }; } ! 3793: ! 3794: # Don't try to exec as it changes $[0], causing all sort of problems ! 3795: # (the dirname of $[0] is not the place where we might find the ! 3796: # original and so on. Autoconf is especially sensible to this). ! 3797: . ./$as_me.lineno ! 3798: # Exit status is that of the last command. ! 3799: exit ! 3800: } ! 3801: ! 3802: ! 3803: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in ! 3804: *c*,-n*) ECHO_N= ECHO_C=' ! 3805: ' ECHO_T=' ' ;; ! 3806: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; ! 3807: *) ECHO_N= ECHO_C='\c' ECHO_T= ;; ! 3808: esac ! 3809: ! 3810: if expr a : '\(a\)' >/dev/null 2>&1; then ! 3811: as_expr=expr ! 3812: else ! 3813: as_expr=false ! 3814: fi ! 3815: ! 3816: rm -f conf$$ conf$$.exe conf$$.file ! 3817: echo >conf$$.file ! 3818: if ln -s conf$$.file conf$$ 2>/dev/null; then ! 3819: # We could just check for DJGPP; but this test a) works b) is more generic ! 3820: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). ! 3821: if test -f conf$$.exe; then ! 3822: # Don't use ln at all; we don't have any links ! 3823: as_ln_s='cp -p' ! 3824: else ! 3825: as_ln_s='ln -s' ! 3826: fi ! 3827: elif ln conf$$.file conf$$ 2>/dev/null; then ! 3828: as_ln_s=ln ! 3829: else ! 3830: as_ln_s='cp -p' ! 3831: fi ! 3832: rm -f conf$$ conf$$.exe conf$$.file ! 3833: ! 3834: if mkdir -p . 2>/dev/null; then ! 3835: as_mkdir_p=: ! 3836: else ! 3837: as_mkdir_p=false ! 3838: fi ! 3839: ! 3840: as_executable_p="test -f" ! 3841: ! 3842: # Sed expression to map a string onto a valid CPP name. ! 3843: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" ! 3844: ! 3845: # Sed expression to map a string onto a valid variable name. ! 3846: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" ! 3847: ! 3848: ! 3849: # IFS ! 3850: # We need space, tab and new line, in precisely that order. ! 3851: as_nl=' ! 3852: ' ! 3853: IFS=" $as_nl" ! 3854: ! 3855: # CDPATH. ! 3856: $as_unset CDPATH ! 3857: ! 3858: exec 6>&1 ! 3859: ! 3860: # Open the log real soon, to keep \$[0] and so on meaningful, and to ! 3861: # report actual input values of CONFIG_FILES etc. instead of their ! 3862: # values after options handling. Logging --version etc. is OK. ! 3863: exec 5>>config.log ! 3864: { ! 3865: echo ! 3866: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ! 3867: ## Running $as_me. ## ! 3868: _ASBOX ! 3869: } >&5 ! 3870: cat >&5 <<_CSEOF ! 3871: ! 3872: This file was extended by GNU Mach $as_me 1.91, which was ! 3873: generated by GNU Autoconf 2.57. Invocation command line was ! 3874: ! 3875: CONFIG_FILES = $CONFIG_FILES ! 3876: CONFIG_HEADERS = $CONFIG_HEADERS ! 3877: CONFIG_LINKS = $CONFIG_LINKS ! 3878: CONFIG_COMMANDS = $CONFIG_COMMANDS ! 3879: $ $0 $@ ! 3880: ! 3881: _CSEOF ! 3882: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 ! 3883: echo >&5 ! 3884: _ACEOF ! 3885: ! 3886: # Files that config.status was made for. ! 3887: if test -n "$ac_config_files"; then ! 3888: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS ! 3889: fi ! 3890: ! 3891: if test -n "$ac_config_headers"; then ! 3892: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS ! 3893: fi ! 3894: ! 3895: if test -n "$ac_config_links"; then ! 3896: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS ! 3897: fi ! 3898: ! 3899: if test -n "$ac_config_commands"; then ! 3900: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS ! 3901: fi ! 3902: ! 3903: cat >>$CONFIG_STATUS <<\_ACEOF ! 3904: ! 3905: ac_cs_usage="\ ! 3906: \`$as_me' instantiates files from templates according to the ! 3907: current configuration. ! 3908: ! 3909: Usage: $0 [OPTIONS] [FILE]... ! 3910: ! 3911: -h, --help print this help, then exit ! 3912: -V, --version print version number, then exit ! 3913: -q, --quiet do not print progress messages ! 3914: -d, --debug don't remove temporary files ! 3915: --recheck update $as_me by reconfiguring in the same conditions ! 3916: --file=FILE[:TEMPLATE] ! 3917: instantiate the configuration file FILE ! 3918: --header=FILE[:TEMPLATE] ! 3919: instantiate the configuration header FILE ! 3920: ! 3921: Configuration files: ! 3922: $config_files ! 3923: ! 3924: Configuration headers: ! 3925: $config_headers ! 3926: ! 3927: Configuration links: ! 3928: $config_links ! 3929: ! 3930: Report bugs to <[email protected]>." ! 3931: _ACEOF ! 3932: ! 3933: cat >>$CONFIG_STATUS <<_ACEOF ! 3934: ac_cs_version="\\ ! 3935: GNU Mach config.status 1.91 ! 3936: configured by $0, generated by GNU Autoconf 2.57, ! 3937: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" ! 3938: ! 3939: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 ! 3940: Free Software Foundation, Inc. ! 3941: This config.status script is free software; the Free Software Foundation ! 3942: gives unlimited permission to copy, distribute and modify it." ! 3943: srcdir=$srcdir ! 3944: INSTALL="$INSTALL" ! 3945: _ACEOF ! 3946: ! 3947: cat >>$CONFIG_STATUS <<\_ACEOF ! 3948: # If no file are specified by the user, then we need to provide default ! 3949: # value. By we need to know if files were specified by the user. ! 3950: ac_need_defaults=: ! 3951: while test $# != 0 ! 3952: do ! 3953: case $1 in ! 3954: --*=*) ! 3955: ac_option=`expr "x$1" : 'x\([^=]*\)='` ! 3956: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ! 3957: ac_shift=: ! 3958: ;; ! 3959: -*) ! 3960: ac_option=$1 ! 3961: ac_optarg=$2 ! 3962: ac_shift=shift ! 3963: ;; ! 3964: *) # This is not an option, so the user has probably given explicit ! 3965: # arguments. ! 3966: ac_option=$1 ! 3967: ac_need_defaults=false;; ! 3968: esac ! 3969: ! 3970: case $ac_option in ! 3971: # Handling of the options. ! 3972: _ACEOF ! 3973: cat >>$CONFIG_STATUS <<\_ACEOF ! 3974: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ! 3975: ac_cs_recheck=: ;; ! 3976: --version | --vers* | -V ) ! 3977: echo "$ac_cs_version"; exit 0 ;; ! 3978: --he | --h) ! 3979: # Conflict between --help and --header ! 3980: { { echo "$as_me:$LINENO: error: ambiguous option: $1 ! 3981: Try \`$0 --help' for more information." >&5 ! 3982: echo "$as_me: error: ambiguous option: $1 ! 3983: Try \`$0 --help' for more information." >&2;} ! 3984: { (exit 1); exit 1; }; };; ! 3985: --help | --hel | -h ) ! 3986: echo "$ac_cs_usage"; exit 0 ;; ! 3987: --debug | --d* | -d ) ! 3988: debug=: ;; ! 3989: --file | --fil | --fi | --f ) ! 3990: $ac_shift ! 3991: CONFIG_FILES="$CONFIG_FILES $ac_optarg" ! 3992: ac_need_defaults=false;; ! 3993: --header | --heade | --head | --hea ) ! 3994: $ac_shift ! 3995: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ! 3996: ac_need_defaults=false;; ! 3997: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ! 3998: | -silent | --silent | --silen | --sile | --sil | --si | --s) ! 3999: ac_cs_silent=: ;; ! 4000: ! 4001: # This is an error. ! 4002: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 ! 4003: Try \`$0 --help' for more information." >&5 ! 4004: echo "$as_me: error: unrecognized option: $1 ! 4005: Try \`$0 --help' for more information." >&2;} ! 4006: { (exit 1); exit 1; }; } ;; ! 4007: ! 4008: *) ac_config_targets="$ac_config_targets $1" ;; ! 4009: ! 4010: esac ! 4011: shift ! 4012: done ! 4013: ! 4014: ac_configure_extra_args= ! 4015: ! 4016: if $ac_cs_silent; then ! 4017: exec 6>/dev/null ! 4018: ac_configure_extra_args="$ac_configure_extra_args --silent" ! 4019: fi ! 4020: ! 4021: _ACEOF ! 4022: cat >>$CONFIG_STATUS <<_ACEOF ! 4023: if \$ac_cs_recheck; then ! 4024: echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 ! 4025: exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion ! 4026: fi ! 4027: ! 4028: _ACEOF ! 4029: ! 4030: ! 4031: ! 4032: ! 4033: ! 4034: cat >>$CONFIG_STATUS <<\_ACEOF ! 4035: for ac_config_target in $ac_config_targets ! 4036: do ! 4037: case "$ac_config_target" in ! 4038: # Handling of arguments. ! 4039: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; ! 4040: "version.c" ) CONFIG_FILES="$CONFIG_FILES version.c" ;; ! 4041: "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; ! 4042: "machine" ) CONFIG_LINKS="$CONFIG_LINKS machine:${systype}/${systype}" ;; ! 4043: "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; ! 4044: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 ! 4045: echo "$as_me: error: invalid argument: $ac_config_target" >&2;} ! 4046: { (exit 1); exit 1; }; };; ! 4047: esac ! 4048: done ! 4049: ! 4050: # If the user did not use the arguments to specify the items to instantiate, ! 4051: # then the envvar interface is used. Set only those that are not. ! 4052: # We use the long form for the default assignment because of an extremely ! 4053: # bizarre bug on SunOS 4.1.3. ! 4054: if $ac_need_defaults; then ! 4055: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files ! 4056: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers ! 4057: test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links ! 4058: fi ! 4059: ! 4060: # Have a temporary directory for convenience. Make it in the build tree ! 4061: # simply because there is no reason to put it here, and in addition, ! 4062: # creating and moving files from /tmp can sometimes cause problems. ! 4063: # Create a temporary directory, and hook for its removal unless debugging. ! 4064: $debug || ! 4065: { ! 4066: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 ! 4067: trap '{ (exit 1); exit 1; }' 1 2 13 15 ! 4068: } ! 4069: ! 4070: # Create a (secure) tmp directory for tmp files. ! 4071: ! 4072: { ! 4073: tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && ! 4074: test -n "$tmp" && test -d "$tmp" ! 4075: } || ! 4076: { ! 4077: tmp=./confstat$$-$RANDOM ! 4078: (umask 077 && mkdir $tmp) ! 4079: } || ! 4080: { ! 4081: echo "$me: cannot create a temporary directory in ." >&2 ! 4082: { (exit 1); exit 1; } ! 4083: } ! 4084: ! 4085: _ACEOF ! 4086: ! 4087: cat >>$CONFIG_STATUS <<_ACEOF ! 4088: ! 4089: # ! 4090: # CONFIG_FILES section. ! 4091: # ! 4092: ! 4093: # No need to generate the scripts if there are no CONFIG_FILES. ! 4094: # This happens for instance when ./config.status config.h ! 4095: if test -n "\$CONFIG_FILES"; then ! 4096: # Protect against being on the right side of a sed subst in config.status. ! 4097: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; ! 4098: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF ! 4099: s,@SHELL@,$SHELL,;t t ! 4100: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t ! 4101: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t ! 4102: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t ! 4103: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t ! 4104: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t ! 4105: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t ! 4106: s,@exec_prefix@,$exec_prefix,;t t ! 4107: s,@prefix@,$prefix,;t t ! 4108: s,@program_transform_name@,$program_transform_name,;t t ! 4109: s,@bindir@,$bindir,;t t ! 4110: s,@sbindir@,$sbindir,;t t ! 4111: s,@libexecdir@,$libexecdir,;t t ! 4112: s,@datadir@,$datadir,;t t ! 4113: s,@sysconfdir@,$sysconfdir,;t t ! 4114: s,@sharedstatedir@,$sharedstatedir,;t t ! 4115: s,@localstatedir@,$localstatedir,;t t ! 4116: s,@libdir@,$libdir,;t t ! 4117: s,@includedir@,$includedir,;t t ! 4118: s,@oldincludedir@,$oldincludedir,;t t ! 4119: s,@infodir@,$infodir,;t t ! 4120: s,@mandir@,$mandir,;t t ! 4121: s,@build_alias@,$build_alias,;t t ! 4122: s,@host_alias@,$host_alias,;t t ! 4123: s,@target_alias@,$target_alias,;t t ! 4124: s,@DEFS@,$DEFS,;t t ! 4125: s,@ECHO_C@,$ECHO_C,;t t ! 4126: s,@ECHO_N@,$ECHO_N,;t t ! 4127: s,@ECHO_T@,$ECHO_T,;t t ! 4128: s,@LIBS@,$LIBS,;t t ! 4129: s,@build@,$build,;t t ! 4130: s,@build_cpu@,$build_cpu,;t t ! 4131: s,@build_vendor@,$build_vendor,;t t ! 4132: s,@build_os@,$build_os,;t t ! 4133: s,@host@,$host,;t t ! 4134: s,@host_cpu@,$host_cpu,;t t ! 4135: s,@host_vendor@,$host_vendor,;t t ! 4136: s,@host_os@,$host_os,;t t ! 4137: s,@systype@,$systype,;t t ! 4138: s,@cross_compiling@,$cross_compiling,;t t ! 4139: s,@force_install@,$force_install,;t t ! 4140: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t ! 4141: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t ! 4142: s,@INSTALL_DATA@,$INSTALL_DATA,;t t ! 4143: s,@AWK@,$AWK,;t t ! 4144: s,@CC@,$CC,;t t ! 4145: s,@CFLAGS@,$CFLAGS,;t t ! 4146: s,@LDFLAGS@,$LDFLAGS,;t t ! 4147: s,@CPPFLAGS@,$CPPFLAGS,;t t ! 4148: s,@ac_ct_CC@,$ac_ct_CC,;t t ! 4149: s,@EXEEXT@,$EXEEXT,;t t ! 4150: s,@OBJEXT@,$OBJEXT,;t t ! 4151: s,@LD@,$LD,;t t ! 4152: s,@ac_ct_LD@,$ac_ct_LD,;t t ! 4153: s,@NM@,$NM,;t t ! 4154: s,@ac_ct_NM@,$ac_ct_NM,;t t ! 4155: s,@MIG@,$MIG,;t t ! 4156: s,@ac_ct_MIG@,$ac_ct_MIG,;t t ! 4157: s,@MBCHK@,$MBCHK,;t t ! 4158: s,@CPP@,$CPP,;t t ! 4159: s,@EGREP@,$EGREP,;t t ! 4160: s,@SMP_LIBS@,$SMP_LIBS,;t t ! 4161: s,@OSKIT_LIBDIR@,$OSKIT_LIBDIR,;t t ! 4162: s,@LIBOBJS@,$LIBOBJS,;t t ! 4163: s,@LTLIBOBJS@,$LTLIBOBJS,;t t ! 4164: CEOF ! 4165: ! 4166: _ACEOF ! 4167: ! 4168: cat >>$CONFIG_STATUS <<\_ACEOF ! 4169: # Split the substitutions into bite-sized pieces for seds with ! 4170: # small command number limits, like on Digital OSF/1 and HP-UX. ! 4171: ac_max_sed_lines=48 ! 4172: ac_sed_frag=1 # Number of current file. ! 4173: ac_beg=1 # First line for current file. ! 4174: ac_end=$ac_max_sed_lines # Line after last line for current file. ! 4175: ac_more_lines=: ! 4176: ac_sed_cmds= ! 4177: while $ac_more_lines; do ! 4178: if test $ac_beg -gt 1; then ! 4179: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag ! 4180: else ! 4181: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag ! 4182: fi ! 4183: if test ! -s $tmp/subs.frag; then ! 4184: ac_more_lines=false ! 4185: else ! 4186: # The purpose of the label and of the branching condition is to ! 4187: # speed up the sed processing (if there are no `@' at all, there ! 4188: # is no need to browse any of the substitutions). ! 4189: # These are the two extra sed commands mentioned above. ! 4190: (echo ':t ! 4191: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed ! 4192: if test -z "$ac_sed_cmds"; then ! 4193: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" ! 4194: else ! 4195: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" ! 4196: fi ! 4197: ac_sed_frag=`expr $ac_sed_frag + 1` ! 4198: ac_beg=$ac_end ! 4199: ac_end=`expr $ac_end + $ac_max_sed_lines` ! 4200: fi ! 4201: done ! 4202: if test -z "$ac_sed_cmds"; then ! 4203: ac_sed_cmds=cat ! 4204: fi ! 4205: fi # test -n "$CONFIG_FILES" ! 4206: ! 4207: _ACEOF ! 4208: cat >>$CONFIG_STATUS <<\_ACEOF ! 4209: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue ! 4210: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". ! 4211: case $ac_file in ! 4212: - | *:- | *:-:* ) # input from stdin ! 4213: cat >$tmp/stdin ! 4214: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ! 4215: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; ! 4216: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ! 4217: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; ! 4218: * ) ac_file_in=$ac_file.in ;; ! 4219: esac ! 4220: ! 4221: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ! 4222: ac_dir=`(dirname "$ac_file") 2>/dev/null || ! 4223: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! 4224: X"$ac_file" : 'X\(//\)[^/]' \| \ ! 4225: X"$ac_file" : 'X\(//\)$' \| \ ! 4226: X"$ac_file" : 'X\(/\)' \| \ ! 4227: . : '\(.\)' 2>/dev/null || ! 4228: echo X"$ac_file" | ! 4229: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } ! 4230: /^X\(\/\/\)[^/].*/{ s//\1/; q; } ! 4231: /^X\(\/\/\)$/{ s//\1/; q; } ! 4232: /^X\(\/\).*/{ s//\1/; q; } ! 4233: s/.*/./; q'` ! 4234: { if $as_mkdir_p; then ! 4235: mkdir -p "$ac_dir" ! 4236: else ! 4237: as_dir="$ac_dir" ! 4238: as_dirs= ! 4239: while test ! -d "$as_dir"; do ! 4240: as_dirs="$as_dir $as_dirs" ! 4241: as_dir=`(dirname "$as_dir") 2>/dev/null || ! 4242: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! 4243: X"$as_dir" : 'X\(//\)[^/]' \| \ ! 4244: X"$as_dir" : 'X\(//\)$' \| \ ! 4245: X"$as_dir" : 'X\(/\)' \| \ ! 4246: . : '\(.\)' 2>/dev/null || ! 4247: echo X"$as_dir" | ! 4248: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } ! 4249: /^X\(\/\/\)[^/].*/{ s//\1/; q; } ! 4250: /^X\(\/\/\)$/{ s//\1/; q; } ! 4251: /^X\(\/\).*/{ s//\1/; q; } ! 4252: s/.*/./; q'` ! 4253: done ! 4254: test ! -n "$as_dirs" || mkdir $as_dirs ! 4255: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 ! 4256: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} ! 4257: { (exit 1); exit 1; }; }; } ! 4258: ! 4259: ac_builddir=. ! 4260: ! 4261: if test "$ac_dir" != .; then ! 4262: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` ! 4263: # A "../" for each directory in $ac_dir_suffix. ! 4264: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` ! 4265: else ! 4266: ac_dir_suffix= ac_top_builddir= ! 4267: fi ! 4268: ! 4269: case $srcdir in ! 4270: .) # No --srcdir option. We are building in place. ! 4271: ac_srcdir=. ! 4272: if test -z "$ac_top_builddir"; then ! 4273: ac_top_srcdir=. ! 4274: else ! 4275: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` ! 4276: fi ;; ! 4277: [\\/]* | ?:[\\/]* ) # Absolute path. ! 4278: ac_srcdir=$srcdir$ac_dir_suffix; ! 4279: ac_top_srcdir=$srcdir ;; ! 4280: *) # Relative path. ! 4281: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ! 4282: ac_top_srcdir=$ac_top_builddir$srcdir ;; ! 4283: esac ! 4284: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be ! 4285: # absolute. ! 4286: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ! 4287: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ! 4288: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ! 4289: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` ! 4290: ! 4291: ! 4292: case $INSTALL in ! 4293: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; ! 4294: *) ac_INSTALL=$ac_top_builddir$INSTALL ;; ! 4295: esac ! 4296: ! 4297: if test x"$ac_file" != x-; then ! 4298: { echo "$as_me:$LINENO: creating $ac_file" >&5 ! 4299: echo "$as_me: creating $ac_file" >&6;} ! 4300: rm -f "$ac_file" ! 4301: fi ! 4302: # Let's still pretend it is `configure' which instantiates (i.e., don't ! 4303: # use $as_me), people would be surprised to read: ! 4304: # /* config.h. Generated by config.status. */ ! 4305: if test x"$ac_file" = x-; then ! 4306: configure_input= ! 4307: else ! 4308: configure_input="$ac_file. " ! 4309: fi ! 4310: configure_input=$configure_input"Generated from `echo $ac_file_in | ! 4311: sed 's,.*/,,'` by configure." ! 4312: ! 4313: # First look for the input files in the build tree, otherwise in the ! 4314: # src tree. ! 4315: ac_file_inputs=`IFS=: ! 4316: for f in $ac_file_in; do ! 4317: case $f in ! 4318: -) echo $tmp/stdin ;; ! 4319: [\\/$]*) ! 4320: # Absolute (can't be DOS-style, as IFS=:) ! 4321: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 ! 4322: echo "$as_me: error: cannot find input file: $f" >&2;} ! 4323: { (exit 1); exit 1; }; } ! 4324: echo $f;; ! 4325: *) # Relative ! 4326: if test -f "$f"; then ! 4327: # Build tree ! 4328: echo $f ! 4329: elif test -f "$srcdir/$f"; then ! 4330: # Source tree ! 4331: echo $srcdir/$f ! 4332: else ! 4333: # /dev/null tree ! 4334: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 ! 4335: echo "$as_me: error: cannot find input file: $f" >&2;} ! 4336: { (exit 1); exit 1; }; } ! 4337: fi;; ! 4338: esac ! 4339: done` || { (exit 1); exit 1; } ! 4340: _ACEOF ! 4341: cat >>$CONFIG_STATUS <<_ACEOF ! 4342: sed "$ac_vpsub ! 4343: $extrasub ! 4344: _ACEOF ! 4345: cat >>$CONFIG_STATUS <<\_ACEOF ! 4346: :t ! 4347: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b ! 4348: s,@configure_input@,$configure_input,;t t ! 4349: s,@srcdir@,$ac_srcdir,;t t ! 4350: s,@abs_srcdir@,$ac_abs_srcdir,;t t ! 4351: s,@top_srcdir@,$ac_top_srcdir,;t t ! 4352: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t ! 4353: s,@builddir@,$ac_builddir,;t t ! 4354: s,@abs_builddir@,$ac_abs_builddir,;t t ! 4355: s,@top_builddir@,$ac_top_builddir,;t t ! 4356: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t ! 4357: s,@INSTALL@,$ac_INSTALL,;t t ! 4358: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out ! 4359: rm -f $tmp/stdin ! 4360: if test x"$ac_file" != x-; then ! 4361: mv $tmp/out $ac_file ! 4362: else ! 4363: cat $tmp/out ! 4364: rm -f $tmp/out ! 4365: fi ! 4366: ! 4367: done ! 4368: _ACEOF ! 4369: cat >>$CONFIG_STATUS <<\_ACEOF ! 4370: ! 4371: # ! 4372: # CONFIG_HEADER section. ! 4373: # ! 4374: ! 4375: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where ! 4376: # NAME is the cpp macro being defined and VALUE is the value it is being given. ! 4377: # ! 4378: # ac_d sets the value in "#define NAME VALUE" lines. ! 4379: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ! 4380: ac_dB='[ ].*$,\1#\2' ! 4381: ac_dC=' ' ! 4382: ac_dD=',;t' ! 4383: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ! 4384: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ! 4385: ac_uB='$,\1#\2define\3' ! 4386: ac_uC=' ' ! 4387: ac_uD=',;t' ! 4388: ! 4389: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue ! 4390: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". ! 4391: case $ac_file in ! 4392: - | *:- | *:-:* ) # input from stdin ! 4393: cat >$tmp/stdin ! 4394: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ! 4395: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; ! 4396: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ! 4397: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; ! 4398: * ) ac_file_in=$ac_file.in ;; ! 4399: esac ! 4400: ! 4401: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 ! 4402: echo "$as_me: creating $ac_file" >&6;} ! 4403: ! 4404: # First look for the input files in the build tree, otherwise in the ! 4405: # src tree. ! 4406: ac_file_inputs=`IFS=: ! 4407: for f in $ac_file_in; do ! 4408: case $f in ! 4409: -) echo $tmp/stdin ;; ! 4410: [\\/$]*) ! 4411: # Absolute (can't be DOS-style, as IFS=:) ! 4412: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 ! 4413: echo "$as_me: error: cannot find input file: $f" >&2;} ! 4414: { (exit 1); exit 1; }; } ! 4415: echo $f;; ! 4416: *) # Relative ! 4417: if test -f "$f"; then ! 4418: # Build tree ! 4419: echo $f ! 4420: elif test -f "$srcdir/$f"; then ! 4421: # Source tree ! 4422: echo $srcdir/$f ! 4423: else ! 4424: # /dev/null tree ! 4425: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 ! 4426: echo "$as_me: error: cannot find input file: $f" >&2;} ! 4427: { (exit 1); exit 1; }; } ! 4428: fi;; ! 4429: esac ! 4430: done` || { (exit 1); exit 1; } ! 4431: # Remove the trailing spaces. ! 4432: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in ! 4433: ! 4434: _ACEOF ! 4435: ! 4436: # Transform confdefs.h into two sed scripts, `conftest.defines' and ! 4437: # `conftest.undefs', that substitutes the proper values into ! 4438: # config.h.in to produce config.h. The first handles `#define' ! 4439: # templates, and the second `#undef' templates. ! 4440: # And first: Protect against being on the right side of a sed subst in ! 4441: # config.status. Protect against being in an unquoted here document ! 4442: # in config.status. ! 4443: rm -f conftest.defines conftest.undefs ! 4444: # Using a here document instead of a string reduces the quoting nightmare. ! 4445: # Putting comments in sed scripts is not portable. ! 4446: # ! 4447: # `end' is used to avoid that the second main sed command (meant for ! 4448: # 0-ary CPP macros) applies to n-ary macro definitions. ! 4449: # See the Autoconf documentation for `clear'. ! 4450: cat >confdef2sed.sed <<\_ACEOF ! 4451: s/[\\&,]/\\&/g ! 4452: s,[\\$`],\\&,g ! 4453: t clear ! 4454: : clear ! 4455: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp ! 4456: t end ! 4457: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp ! 4458: : end ! 4459: _ACEOF ! 4460: # If some macros were called several times there might be several times ! 4461: # the same #defines, which is useless. Nevertheless, we may not want to ! 4462: # sort them, since we want the *last* AC-DEFINE to be honored. ! 4463: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines ! 4464: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs ! 4465: rm -f confdef2sed.sed ! 4466: ! 4467: # This sed command replaces #undef with comments. This is necessary, for ! 4468: # example, in the case of _POSIX_SOURCE, which is predefined and required ! 4469: # on some systems where configure will not decide to define it. ! 4470: cat >>conftest.undefs <<\_ACEOF ! 4471: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, ! 4472: _ACEOF ! 4473: ! 4474: # Break up conftest.defines because some shells have a limit on the size ! 4475: # of here documents, and old seds have small limits too (100 cmds). ! 4476: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS ! 4477: echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS ! 4478: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS ! 4479: echo ' :' >>$CONFIG_STATUS ! 4480: rm -f conftest.tail ! 4481: while grep . conftest.defines >/dev/null ! 4482: do ! 4483: # Write a limited-size here document to $tmp/defines.sed. ! 4484: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS ! 4485: # Speed up: don't consider the non `#define' lines. ! 4486: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS ! 4487: # Work around the forget-to-reset-the-flag bug. ! 4488: echo 't clr' >>$CONFIG_STATUS ! 4489: echo ': clr' >>$CONFIG_STATUS ! 4490: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS ! 4491: echo 'CEOF ! 4492: sed -f $tmp/defines.sed $tmp/in >$tmp/out ! 4493: rm -f $tmp/in ! 4494: mv $tmp/out $tmp/in ! 4495: ' >>$CONFIG_STATUS ! 4496: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail ! 4497: rm -f conftest.defines ! 4498: mv conftest.tail conftest.defines ! 4499: done ! 4500: rm -f conftest.defines ! 4501: echo ' fi # grep' >>$CONFIG_STATUS ! 4502: echo >>$CONFIG_STATUS ! 4503: ! 4504: # Break up conftest.undefs because some shells have a limit on the size ! 4505: # of here documents, and old seds have small limits too (100 cmds). ! 4506: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS ! 4507: rm -f conftest.tail ! 4508: while grep . conftest.undefs >/dev/null ! 4509: do ! 4510: # Write a limited-size here document to $tmp/undefs.sed. ! 4511: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS ! 4512: # Speed up: don't consider the non `#undef' ! 4513: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS ! 4514: # Work around the forget-to-reset-the-flag bug. ! 4515: echo 't clr' >>$CONFIG_STATUS ! 4516: echo ': clr' >>$CONFIG_STATUS ! 4517: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS ! 4518: echo 'CEOF ! 4519: sed -f $tmp/undefs.sed $tmp/in >$tmp/out ! 4520: rm -f $tmp/in ! 4521: mv $tmp/out $tmp/in ! 4522: ' >>$CONFIG_STATUS ! 4523: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail ! 4524: rm -f conftest.undefs ! 4525: mv conftest.tail conftest.undefs ! 4526: done ! 4527: rm -f conftest.undefs ! 4528: ! 4529: cat >>$CONFIG_STATUS <<\_ACEOF ! 4530: # Let's still pretend it is `configure' which instantiates (i.e., don't ! 4531: # use $as_me), people would be surprised to read: ! 4532: # /* config.h. Generated by config.status. */ ! 4533: if test x"$ac_file" = x-; then ! 4534: echo "/* Generated by configure. */" >$tmp/config.h ! 4535: else ! 4536: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h ! 4537: fi ! 4538: cat $tmp/in >>$tmp/config.h ! 4539: rm -f $tmp/in ! 4540: if test x"$ac_file" != x-; then ! 4541: if diff $ac_file $tmp/config.h >/dev/null 2>&1; then ! 4542: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 ! 4543: echo "$as_me: $ac_file is unchanged" >&6;} ! 4544: else ! 4545: ac_dir=`(dirname "$ac_file") 2>/dev/null || ! 4546: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! 4547: X"$ac_file" : 'X\(//\)[^/]' \| \ ! 4548: X"$ac_file" : 'X\(//\)$' \| \ ! 4549: X"$ac_file" : 'X\(/\)' \| \ ! 4550: . : '\(.\)' 2>/dev/null || ! 4551: echo X"$ac_file" | ! 4552: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } ! 4553: /^X\(\/\/\)[^/].*/{ s//\1/; q; } ! 4554: /^X\(\/\/\)$/{ s//\1/; q; } ! 4555: /^X\(\/\).*/{ s//\1/; q; } ! 4556: s/.*/./; q'` ! 4557: { if $as_mkdir_p; then ! 4558: mkdir -p "$ac_dir" ! 4559: else ! 4560: as_dir="$ac_dir" ! 4561: as_dirs= ! 4562: while test ! -d "$as_dir"; do ! 4563: as_dirs="$as_dir $as_dirs" ! 4564: as_dir=`(dirname "$as_dir") 2>/dev/null || ! 4565: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! 4566: X"$as_dir" : 'X\(//\)[^/]' \| \ ! 4567: X"$as_dir" : 'X\(//\)$' \| \ ! 4568: X"$as_dir" : 'X\(/\)' \| \ ! 4569: . : '\(.\)' 2>/dev/null || ! 4570: echo X"$as_dir" | ! 4571: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } ! 4572: /^X\(\/\/\)[^/].*/{ s//\1/; q; } ! 4573: /^X\(\/\/\)$/{ s//\1/; q; } ! 4574: /^X\(\/\).*/{ s//\1/; q; } ! 4575: s/.*/./; q'` ! 4576: done ! 4577: test ! -n "$as_dirs" || mkdir $as_dirs ! 4578: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 ! 4579: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} ! 4580: { (exit 1); exit 1; }; }; } ! 4581: ! 4582: rm -f $ac_file ! 4583: mv $tmp/config.h $ac_file ! 4584: fi ! 4585: else ! 4586: cat $tmp/config.h ! 4587: rm -f $tmp/config.h ! 4588: fi ! 4589: done ! 4590: _ACEOF ! 4591: cat >>$CONFIG_STATUS <<\_ACEOF ! 4592: ! 4593: # ! 4594: # CONFIG_LINKS section. ! 4595: # ! 4596: ! 4597: for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue ! 4598: ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ! 4599: ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ! 4600: ! 4601: { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5 ! 4602: echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} ! 4603: ! 4604: if test ! -r $srcdir/$ac_source; then ! 4605: { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 ! 4606: echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} ! 4607: { (exit 1); exit 1; }; } ! 4608: fi ! 4609: rm -f $ac_dest ! 4610: ! 4611: # Make relative symlinks. ! 4612: ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || ! 4613: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! 4614: X"$ac_dest" : 'X\(//\)[^/]' \| \ ! 4615: X"$ac_dest" : 'X\(//\)$' \| \ ! 4616: X"$ac_dest" : 'X\(/\)' \| \ ! 4617: . : '\(.\)' 2>/dev/null || ! 4618: echo X"$ac_dest" | ! 4619: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } ! 4620: /^X\(\/\/\)[^/].*/{ s//\1/; q; } ! 4621: /^X\(\/\/\)$/{ s//\1/; q; } ! 4622: /^X\(\/\).*/{ s//\1/; q; } ! 4623: s/.*/./; q'` ! 4624: { if $as_mkdir_p; then ! 4625: mkdir -p "$ac_dest_dir" ! 4626: else ! 4627: as_dir="$ac_dest_dir" ! 4628: as_dirs= ! 4629: while test ! -d "$as_dir"; do ! 4630: as_dirs="$as_dir $as_dirs" ! 4631: as_dir=`(dirname "$as_dir") 2>/dev/null || ! 4632: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! 4633: X"$as_dir" : 'X\(//\)[^/]' \| \ ! 4634: X"$as_dir" : 'X\(//\)$' \| \ ! 4635: X"$as_dir" : 'X\(/\)' \| \ ! 4636: . : '\(.\)' 2>/dev/null || ! 4637: echo X"$as_dir" | ! 4638: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } ! 4639: /^X\(\/\/\)[^/].*/{ s//\1/; q; } ! 4640: /^X\(\/\/\)$/{ s//\1/; q; } ! 4641: /^X\(\/\).*/{ s//\1/; q; } ! 4642: s/.*/./; q'` ! 4643: done ! 4644: test ! -n "$as_dirs" || mkdir $as_dirs ! 4645: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5 ! 4646: echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;} ! 4647: { (exit 1); exit 1; }; }; } ! 4648: ! 4649: ac_builddir=. ! 4650: ! 4651: if test "$ac_dest_dir" != .; then ! 4652: ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'` ! 4653: # A "../" for each directory in $ac_dir_suffix. ! 4654: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` ! 4655: else ! 4656: ac_dir_suffix= ac_top_builddir= ! 4657: fi ! 4658: ! 4659: case $srcdir in ! 4660: .) # No --srcdir option. We are building in place. ! 4661: ac_srcdir=. ! 4662: if test -z "$ac_top_builddir"; then ! 4663: ac_top_srcdir=. ! 4664: else ! 4665: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` ! 4666: fi ;; ! 4667: [\\/]* | ?:[\\/]* ) # Absolute path. ! 4668: ac_srcdir=$srcdir$ac_dir_suffix; ! 4669: ac_top_srcdir=$srcdir ;; ! 4670: *) # Relative path. ! 4671: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ! 4672: ac_top_srcdir=$ac_top_builddir$srcdir ;; ! 4673: esac ! 4674: # Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be ! 4675: # absolute. ! 4676: ac_abs_builddir=`cd "$ac_dest_dir" && cd $ac_builddir && pwd` ! 4677: ac_abs_top_builddir=`cd "$ac_dest_dir" && cd ${ac_top_builddir}. && pwd` ! 4678: ac_abs_srcdir=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd` ! 4679: ac_abs_top_srcdir=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd` ! 4680: ! 4681: ! 4682: case $srcdir in ! 4683: [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; ! 4684: *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; ! 4685: esac ! 4686: ! 4687: # Try a symlink, then a hard link, then a copy. ! 4688: ln -s $ac_rel_source $ac_dest 2>/dev/null || ! 4689: ln $srcdir/$ac_source $ac_dest 2>/dev/null || ! 4690: cp -p $srcdir/$ac_source $ac_dest || ! 4691: { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5 ! 4692: echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;} ! 4693: { (exit 1); exit 1; }; } ! 4694: done ! 4695: _ACEOF ! 4696: ! 4697: cat >>$CONFIG_STATUS <<\_ACEOF ! 4698: ! 4699: { (exit 0); exit 0; } ! 4700: _ACEOF ! 4701: chmod +x $CONFIG_STATUS ! 4702: ac_clean_files=$ac_clean_files_save ! 4703: ! 4704: ! 4705: # configure is writing to config.log, and then calls config.status. ! 4706: # config.status does its own redirection, appending to config.log. ! 4707: # Unfortunately, on DOS this fails, as config.log is still kept open ! 4708: # by configure, so config.status won't be able to write to it; its ! 4709: # output is simply discarded. So we exec the FD to /dev/null, ! 4710: # effectively closing config.log, so it can be properly (re)opened and ! 4711: # appended to by config.status. When coming back to configure, we ! 4712: # need to make the FD available again. ! 4713: if test "$no_create" != yes; then ! 4714: ac_cs_success=: ! 4715: ac_config_status_args= ! 4716: test "$silent" = yes && ! 4717: ac_config_status_args="$ac_config_status_args --quiet" ! 4718: exec 5>/dev/null ! 4719: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false ! 4720: exec 5>>config.log ! 4721: # Use ||, not &&, to avoid exiting from the if with $? = 1, which ! 4722: # would make configure fail if this is the last instruction. ! 4723: $ac_cs_success || { (exit 1); exit 1; } ! 4724: fi ! 4725:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.