From deeed62b6f9ba3262b4b0e74263f9a49a7d1f87e Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Tue, 14 Dec 1999 23:44:20 +0000 Subject: [PATCH] Make it possible to not build dselect --- ChangeLog | 5 +++++ Makefile.in | 2 +- configure.in | 14 ++++++++++---- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8a0ce917..e8dde0fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 15 00:18:30 CET 1999 Wichert Akkerman + + * Add option to disable building dselect + * Add config.sub and config.guess + Tue Dec 14 20:08:58 CET 1999 Wichert Akkerman * automake/sysconf.m4: really add the file this time diff --git a/Makefile.in b/Makefile.in index 9ab4c17f..d496a2a1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -9,7 +9,7 @@ GENFILES = version.h include Makefile.conf SUBDIRS = include lib dpkg-deb split scripts utils main \ - utils doc dselect po methods + utils doc @DSELECTDIR@ po methods all: version.h all-recursive diff --git a/configure.in b/configure.in index cd2713c8..64033abd 100644 --- a/configure.in +++ b/configure.in @@ -4,15 +4,21 @@ AC_PREREQ([2.12]) AC_INIT(include/dpkg.h.in) AC_CONFIG_HEADER(config.h) - +DSELECTDIR="dselect" +AC_ARG_WITH(dselect, +[ --with-dselect the dselect package-management frontend], +[case "$withval" in + "false" | "no" ) + DSELECTDIR="" + ;; + esac]) +AC_SUBST(DSELECTDIR) AC_CHECK_TOOL_PREFIX +AC_CANONICAL_SYSTEM AC_CHECK_TOOL(CC, gcc) AC_PROG_CC -AC_CANONICAL_SYSTEM -AC_CHECK_TOOL_PREFIX - AC_PROG_CXX AM_CONDITIONAL(HAVE_CPLUSPLUS, [test "$CXX" != ""]) -- 2.39.5