diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-09-07 16:19:03 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-09-07 16:19:03 +0000 |
commit | 4d68c5a04efaa418e8726c318ef9bb0232c1d221 (patch) | |
tree | 60566dd25bbb488bd810a057c2760968d93f92e6 | |
parent | 168a6f86a94138bfcb2fc8fdbcd6f404b0e082ed (diff) |
Add slackware configure improvement contributed by Antony Pavlenko
git-svn-id: file:///home/lennart/svn/public/ifplugd/trunk@130 2bf48fe7-cfc1-0310-909f-d9042e1e0fef
-rw-r--r-- | configure.ac | 10 |
1 files 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" |