diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:21 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:21 +0000 |
commit | 2c206aa41634aa41833463c41bae337e6778e226 (patch) | |
tree | 2727b2727d5ff777605cdb5f9f6344a6f757015b /configure.in | |
parent | 7c1133fe4559da6bed3bb916660f5b408ffa4705 (diff) |
Fixes for Solaris
Author: jgg
Date: 1999-12-09 21:18:01 GMT
Fixes for Solaris
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 |