Solaris fix broke normal machines.
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:55:21 +0000 (16:55 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:55:21 +0000 (16:55 +0000)
Author: doogie
Date: 1999-12-10 02:05:08 GMT
Solaris fix broke normal machines.

configure.in

index ff8ab59..666acd8 100644 (file)
@@ -70,7 +70,7 @@ AC_SUBST(PTHREADLIB)
 
 dnl Converts the ARCH to be the same as dpkg
 AC_MSG_CHECKING(system architecture)
-archset="`awk '$1 == \"$host_cpu\" { print $2 }' $srcdir/buildlib/archtable`"
+archset="`awk \"{ if(\\\$1 == \\\"$host_cpu\\\") print $2 }\" $srcdir/buildlib/archtable`"
 if test "x$archset" = "x"; then
   AC_MSG_ERROR(failed: use --host=)
 fi