From 2c206aa41634aa41833463c41bae337e6778e226 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:55:21 +0000 Subject: Fixes for Solaris Author: jgg Date: 1999-12-09 21:18:01 GMT Fixes for Solaris --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index f599b44aa..ff8ab5923 100644 --- a/configure.in +++ b/configure.in @@ -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 '$1 == \"$host_cpu\" { print $2 }' $srcdir/buildlib/archtable`" if test "x$archset" = "x"; then AC_MSG_ERROR(failed: use --host=) fi @@ -85,7 +85,7 @@ AC_CACHE_CHECK([for C9x integer types],c9x_ints,[ dnl Check the sizes etc. of the architecture changequote(,) -if archline="`sed -ne 's/^'$archset':[ ]\+\(.*\)/\1/gp' $srcdir/buildlib/sizetable`"; then +if archline="`grep '^$archset' | cut -f 2- -d ' '`";then changequote([,]) set $archline if test "$1" = "little"; then -- cgit v1.2.3