changeset 10976:ed4dd79550d7

Recognize more architecture names.
author Bruno Haible <bruno@clisp.org>
date Fri, 26 Dec 2008 12:39:39 +0100
parents b7338e6c661f
children 6183b030f375
files ChangeLog m4/multiarch.m4
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-26  Bruno Haible  <bruno@clisp.org>
+
+	* m4/multiarch.m4 (gl_MULTIARCH): Recognize also the architecture names
+	i486, i586, i686.
+
 2008-12-26  Bruno Haible  <bruno@clisp.org>
 
 	* lib/stdlib.in.h (struct random_data): Fix indentation of comments.
--- a/m4/multiarch.m4
+++ b/m4/multiarch.m4
@@ -1,4 +1,4 @@
-# multiarch.m4 serial 1
+# multiarch.m4 serial 2
 dnl Copyright (C) 2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -38,7 +38,7 @@
      for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
        if test -n "$prev"; then
          case $word in
-           i386 | x86_64 | ppc | ppc64)
+           i?86 | x86_64 | ppc | ppc64)
              if test -z "$arch" || test "$arch" = "$word"; then
                arch="$word"
              else