summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Taylor <rob.taylor@codethink.co.uk>2007-08-17 17:27:19 +0100
committerRob Taylor <rob.taylor@codethink.co.uk>2007-08-17 17:27:19 +0100
commit133b2c8a3458c60ee08a1c8a6a6ba238ddfd56d6 (patch)
tree3d64f4441640d14444720c5a71d236916f1bd26c
parenta3c11e4bf2999496aa21cf17dd1575f8ef95c871 (diff)
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.
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
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) ;;