From 6d7787b87860463038da9ddf4dfa393f103091ff Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 5 Nov 2011 17:58:27 +0100 Subject: Disable NFS translator and daemon compilation when Sun RPC is lacking. * Makefile (prog-subdirs): Make `nfs' and `nfsd' conditional on $(HAVE_SUN_RPC) = yes. * config.make.in (HAVE_SUN_RPC): New variable. * configure.in: Check for and `clnt_create'. * README.CVS: Document dependency on a Sun RPC implementation. --- config.make.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.make.in') diff --git a/config.make.in b/config.make.in index 986ea2ae..41452464 100644 --- a/config.make.in +++ b/config.make.in @@ -66,6 +66,9 @@ PARTED_LIBS = @PARTED_LIBS@ LIBNCURSESW = @LIBNCURSESW@ NCURSESW_INCLUDE = @NCURSESW_INCLUDE@ +# Whether Sun RPC support is available. +HAVE_SUN_RPC = @HAVE_SUN_RPC@ + # Installation tools. INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ -- cgit v1.2.3 From 05f5cc229323a61799388fbb52da84ca8cb502c9 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 20 Nov 2011 18:55:26 +0100 Subject: configure: Use modern `AC_INIT' invocation. * Makeconf (hurd-version): Move to... * config.make.in (hurd-version): ... here. Set to @PACKAGE_VERSION@. * configure.in: Change `AC_INIT' invocation to specify the package name, version number, and bug report address. --- Makeconf | 3 --- config.make.in | 3 +++ configure.in | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'config.make.in') diff --git a/Makeconf b/Makeconf index 49375fba..b6134ef4 100644 --- a/Makeconf +++ b/Makeconf @@ -35,9 +35,6 @@ # Put this first so it's the default all: -# What version of the Hurd is this? -hurd-version := 0.3 - # Figure out how to locate the parent directory from here. ifeq (.,$(dir)) .. = diff --git a/config.make.in b/config.make.in index 41452464..fe4b1e65 100644 --- a/config.make.in +++ b/config.make.in @@ -1,5 +1,8 @@ # @configure_input@ +# What version of the Hurd is this? +hurd-version := @PACKAGE_VERSION@ + # Machine architecture. machine = @host_cpu@ asm_syntax = @asm_syntax@ diff --git a/configure.in b/configure.in index 635242d2..05b959b0 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_REVISION([$Id: configure.in,v 1.38 2008/11/17 11:34:18 tschwinge Exp $]) AC_PREREQ(2.54) dnl Minimum Autoconf version required. -AC_INIT +AC_INIT([GNU Hurd], [0.3], [bug-hurd@gnu.org]) AC_CONFIG_SRCDIR([hurd/hurd_types.h]) dnl File to look for in srcdir. AC_PREFIX_DEFAULT() dnl Default to empty prefix, not /usr/local. -- cgit v1.2.3