--- Gnu-Mach/configure 2020/09/02 04:47:13 1.1.1.6 +++ Gnu-Mach/configure 2020/09/02 04:53:53 1.1.1.9 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for GNU Mach 1.5. +# Generated by GNU Autoconf 2.69 for GNU Mach 1.8. # # Report bugs to . # @@ -579,8 +579,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='GNU Mach' PACKAGE_TARNAME='gnumach' -PACKAGE_VERSION='1.5' -PACKAGE_STRING='GNU Mach 1.5' +PACKAGE_VERSION='1.8' +PACKAGE_STRING='GNU Mach 1.8' PACKAGE_BUGREPORT='bug-hurd@gnu.org' PACKAGE_URL='' @@ -793,6 +793,7 @@ enable_kmsg_FALSE enable_kmsg_TRUE enable_kdb_FALSE enable_kdb_TRUE +_START_MAP enable_pae_FALSE enable_pae_TRUE enable_lpr_FALSE @@ -897,6 +898,7 @@ infodir docdir oldincludedir includedir +runstatedir localstatedir sharedstatedir sysconfdir @@ -929,6 +931,9 @@ enable_pv_descriptors enable_ring1 enable_lpr enable_pae +with__START_MAP +enable_kernsample +enable_assert enable_kdb enable_kmsg enable_floppy @@ -1082,6 +1087,7 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' +runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -1334,6 +1340,15 @@ do | -silent | --silent | --silen | --sile | --sil) silent=yes ;; + -runstatedir | --runstatedir | --runstatedi | --runstated \ + | --runstate | --runstat | --runsta | --runst | --runs \ + | --run | --ru | --r) + ac_prev=runstatedir ;; + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ + | --run=* | --ru=* | --r=*) + runstatedir=$ac_optarg ;; + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1471,7 +1486,7 @@ fi for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir + libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1584,7 +1599,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures GNU Mach 1.5 to adapt to many kinds of systems. +\`configure' configures GNU Mach 1.8 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1624,6 +1639,7 @@ Fine tuning of the installation director --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -1654,7 +1670,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GNU Mach 1.5:";; + short | recursive ) echo "Configuration of GNU Mach 1.8:";; esac cat <<\_ACEOF @@ -1688,6 +1704,8 @@ Optional Features: --enable-lpr lpr device; on ix86-at enabled by default --enable-pae PAE support (ix86-only); on ix86-at disabled by default, on ix86-xen enabled by default + --enable-kernsample enable sampling kernel + --disable-assert turn off assertions --enable-kdb enable use of in-kernel debugger --disable-kmsg disable use of kmsg device --enable-floppy Linux device driver for PC floppy; on ix86-at @@ -1923,6 +1941,12 @@ Optional Features: Wireless adapters (Orinoco); on ix86-at enabled by default +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-_START_MAP=0x1000000 + specify kernel mapping start address + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -2002,7 +2026,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -GNU Mach configure 1.5 +GNU Mach configure 1.8 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2094,7 +2118,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by GNU Mach $as_me 1.5, which was +It was created by GNU Mach $as_me 1.8, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2474,7 +2498,7 @@ ac_configure="$SHELL $ac_aux_dir/configu -am__api_version='1.14' +am__api_version='1.15' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or @@ -2666,7 +2690,7 @@ else $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi -if test x"${install_sh}" != xset; then +if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; @@ -2960,7 +2984,7 @@ fi # Define the identity of the package. PACKAGE='gnumach' - VERSION='1.5' + VERSION='1.8' # Some tools Automake needs. @@ -2985,8 +3009,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}ma # mkdir_p='$(MKDIR_P)' -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' @@ -6240,6 +6264,12 @@ _ACEOF # Options. # +# The immediate console, useful for debugging early system +# initialization. Disabled by default. + +$as_echo "#define ENABLE_IMMEDIATE_CONSOLE 0" >>confdefs.h + + # Check whether --enable-lpr was given. if test "${enable_lpr+set}" = set; then : enableval=$enable_lpr; @@ -6321,6 +6351,16 @@ fi fi +# Check whether --with-_START_MAP was given. +if test "${with__START_MAP+set}" = set; then : + withval=$with__START_MAP; _START_MAP="$withval" +else + _START_MAP=0x1000000 +fi + + + + # General options. @@ -6408,7 +6448,7 @@ $as_echo "#define MACH_IPC_DEBUG 1" >>co $as_echo "#define MACH_IPC_TEST 0" >>confdefs.h -# Sanity-check simple locking. +# Sanity-check locking. $as_echo "#define MACH_LDEBUG 0" >>confdefs.h @@ -6443,6 +6483,22 @@ $as_echo "#define MACH_PAGEMAP 1" >>conf $as_echo "#define MACH_PCSAMPLE 1" >>confdefs.h +# Sample kernel too. +# Check whether --enable-kernsample was given. +if test "${enable_kernsample+set}" = set; then : + enableval=$enable_kernsample; +fi + +if [ x"$enable_kernsample" = xyes ]; then + +$as_echo "#define MACH_KERNSAMPLE 1" >>confdefs.h + +else + +$as_echo "#define MACH_KERNSAMPLE 0" >>confdefs.h + +fi + # TTD Remote Kernel Debugging. $as_echo "#define MACH_TTD 0" >>confdefs.h @@ -6470,7 +6526,7 @@ $as_echo "#define STAT_TIME 1" >>confdef # Kernel tracing. -$as_echo "#define XPR_DEBUG 1" >>confdefs.h +$as_echo "#define XPR_DEBUG 0" >>confdefs.h # Slab allocator debugging facilities. @@ -6487,6 +6543,29 @@ $as_echo "#define SLAB_USE_CPU_POOLS 0" # Options. # + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5 +$as_echo_n "checking whether to enable assertions... " >&6; } + # Check whether --enable-assert was given. +if test "${enable_assert+set}" = set; then : + enableval=$enable_assert; ac_enable_assert=$enableval + if test "x$enableval" = xno; then : + +$as_echo "#define NDEBUG 1" >>confdefs.h + +elif test "x$enableval" != xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5 +$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;} + ac_enable_assert=yes +fi +else + ac_enable_assert=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5 +$as_echo "$ac_enable_assert" >&6; } + + # Check whether --enable-kdb was given. if test "${enable_kdb+set}" = set; then : enableval=$enable_kdb; @@ -6556,7 +6635,7 @@ fi # `${file}' and `$file' have different meanings here with respect to having the # files in the referenced directory considered for `make dist' or not. See # . -ac_config_links="$ac_config_links machine:$systype/$systype mach/machine:$systype/include/mach/$systype" +ac_config_links="$ac_config_links machine:$srcdir/$systype/$systype mach/machine:$systype/include/mach/$systype" @@ -12110,7 +12189,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by GNU Mach $as_me 1.5, which was +This file was extended by GNU Mach $as_me 1.8, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -12181,7 +12260,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -GNU Mach config.status 1.5 +GNU Mach config.status 1.8 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -12312,7 +12391,7 @@ do case $ac_config_target in "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "tests/test-mbchk") CONFIG_FILES="$CONFIG_FILES tests/test-mbchk" ;; - "machine") CONFIG_LINKS="$CONFIG_LINKS machine:$systype/$systype" ;; + "machine") CONFIG_LINKS="$CONFIG_LINKS machine:$srcdir/$systype/$systype" ;; "mach/machine") CONFIG_LINKS="$CONFIG_LINKS mach/machine:$systype/include/mach/$systype" ;; "linux/src/include/asm") CONFIG_LINKS="$CONFIG_LINKS linux/src/include/asm:linux/src/include/asm-$systype" ;; "linux/dev/include/asm") CONFIG_LINKS="$CONFIG_LINKS linux/dev/include/asm:linux/dev/include/asm-$systype" ;;