From 57bc192c7678d2fea59f78f4850caf8d3bb006ed Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 12 Mar 2002 03:01:02 +0000 Subject: 2002-03-11 Roland McGrath * configure.in (--enable-boot-store-types): Grok this arg. * config.make.in (boot-store-types): New variable, set by it. * Makeconf [$(dir) != libstore] ($(boot-store-types:%=../libstore/libstore_%.a)): Make these targets depend on ../libstore/libstore.so. --- config.make.in | 1 + configure.in | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/config.make.in b/config.make.in index 0735dcac..a5e5632c 100644 --- a/config.make.in +++ b/config.make.in @@ -7,6 +7,7 @@ asm_syntax = @asm_syntax@ # Build options. build-profiled = @enable_profile@ build-static = @enable_static_progs@ +boot-store-types = @boot_store_types@ # Prefix prepended to names of machine-independent installed files. prefix = @prefix@ diff --git a/configure.in b/configure.in index ca4e0703..2b7b8f3e 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_REVISION([$Id: configure.in,v 1.28 2002/01/19 23:44:37 roland Exp $]) +AC_REVISION([$Id: configure.in,v 1.29 2002/03/12 03:01:02 roland Exp $]) AC_PREREQ(2.12) dnl Minimum Autoconf version required. AC_INIT(hurd/hurd_types.h) dnl A distinctive file to look for in srcdir. @@ -155,6 +155,16 @@ PARTED_LIBS=$LIBS LIBS=$save_LIBS AC_SUBST(PARTED_LIBS) +AC_ARG_ENABLE(boot-store-types, +[ --enable-boot-store-types=TYPES... + list of store types included in statically + linked filesystems used for booting])dnl +if test -z "$enable_boot_store_types"; then + boot_store_types='device gunzip bunzip2' + test $parted = no || boot_store_types="$boot_store_types part" +fi +AC_SUBST(boot_store_types)dnl + if test -f ./$ac_unique_file; then # Configuring in source directory; don't create any Makefiles. makefiles= -- cgit v1.2.3