From: Roy Marples Date: Sun, 11 Jul 2010 13:33:25 +0000 (+0000) Subject: Fix build for slackware. X-Git-Tag: v5.2.7~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d82f2e6b1ce84b1385c66d71aba7878ed03645a6;p=thirdparty%2Fdhcpcd.git Fix build for slackware. --- diff --git a/configure b/configure index 31ee4325..6201ba8c 100755 --- a/configure +++ b/configure @@ -109,6 +109,14 @@ if [ -z "$TARGET" ]; then TARGET=$HOST fi +# Debian and Slackware have linux in different places when dealing with +# autoconf, so we deal with that here. +if [ -z "$OS" ]; then + case "$TARGET" in + *-linux-*|linux-*|*-linux|linux) OS=linux;; + esac +fi + if [ -z "$OS" ]; then # Derive OS from cpu-manufacturer-os-kernel CPU=${TARGET%%-*}