From 7ade9099396cb6eeb2de450dc3144bff4d86220b Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 11 Jul 2010 13:35:18 +0000 Subject: [PATCH] Fix build for slackware. --- configure | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 0e85ec7..ba6a7b1 100755 --- a/configure +++ b/configure @@ -97,6 +97,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%%-*} -- 1.7.1