changeset 1537:7efb07985861 draft

Fix build for slackware.
author Roy Marples <roy@marples.name>
date Sun, 11 Jul 2010 13:33:25 +0000
parents 62486dedcf13
children a1da563a5241
files configure
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Jul 07 21:09:20 2010 +0000
+++ b/configure	Sun Jul 11 13:33:25 2010 +0000
@@ -109,6 +109,14 @@
 	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%%-*}