From: Wichert Akkerman Date: Tue, 14 Dec 1999 23:44:20 +0000 (+0000) Subject: Make it possible to not build dselect X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deeed62b6f9ba3262b4b0e74263f9a49a7d1f87e;p=dpkg Make it possible to not build dselect --- 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" != ""])