From 133b2c8a3458c60ee08a1c8a6a6ba238ddfd56d6 Mon Sep 17 00:00:00 2001 From: Rob Taylor Date: Fri, 17 Aug 2007 17:27:19 +0100 Subject: add 'none' option for --with-distro configure flag Adds a 'none' option for the --with-distro configure flag, for distros that wat to handle their own in their packaging. --- configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 7d81e01..24ad0df 100644 --- a/configure.in +++ b/configure.in @@ -50,7 +50,7 @@ if test "$GCC" = "yes"; then #CPPFLAGS="$CPPFLAGS -Wall" fi -AC_ARG_WITH(distro, AC_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, gentoo, debian, or slackware])) +AC_ARG_WITH(distro, AC_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, gentoo, debian, slackware, or none])) if test "z$with_distro" = "z"; then AC_CHECK_FILE(/etc/mandrake-release,with_distro="mandrake") AC_CHECK_FILE(/etc/redhat-release,with_distro="redhat") @@ -64,6 +64,8 @@ with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' ` if test "z$with_distro" = "z"; then echo "Linux distribution autodetection failed, you must specify the distribution to target using --with-distro=DISTRO" exit 1 +elif test "z$with_distro" = "znone"; then + echo "No distro specific startup scripts will be built." else case $with_distro in redhat|gentoo|debian|slackware) ;; -- cgit v1.2.3