From 4d68c5a04efaa418e8726c318ef9bb0232c1d221 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 Sep 2005 16:19:03 +0000 Subject: Add slackware configure improvement contributed by Antony Pavlenko git-svn-id: file:///home/lennart/svn/public/ifplugd/trunk@130 2bf48fe7-cfc1-0310-909f-d9042e1e0fef --- configure.ac | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 3799413..acf86b7 100644 --- a/configure.ac +++ b/configure.ac @@ -84,9 +84,13 @@ if test "x$with_initdir" = x ; then else if test -d /etc/rc.d/init.d ; then SYSINITDIR=/etc/rc.d/init.d - else - AC_MSG_ERROR([missing --with-initdir=DIR]) - fi + else + if test -e /etc/rc.d/rc.inet1 ; then + SYSINITDIR=/etc/rc.d + else + AC_MSG_ERROR([missing --with-initdir=DIR]) + fi + fi fi else SYSINITDIR="$with_initdir" -- cgit