i*86-*-gnu* not enabled in configure.ac, which makes configure fail if you try to compile libffii on GNU.
Created attachment 8995 [details] Add i*86-*-gnu* to configure.ac Add GNU to the list of detected systems. 2005-05-30 Alfred M. Szmidt <ams@gnu.org> * configure.ac: Detect the GNU system.
When the mail lists are back up and working, could you send your patch to gcc-patches@ and java- patches@? Also I think the check for -gnu* should go after the linux as linux-gnu will match too.
Will do. Thanks.
Subject: i*86-*-gnu* not enabled in configure.ac The following fixes #21819 (I was requested to send it to gcc-patches@ and java-patches by Andrew Pinski). 2005-08-09 Alfred M. Szmidt <ams@gnu.org> * configure.ac: Detect the GNU system. --- libffi/configure.ac +++ libffi/configure.ac @@ -41,6 +41,7 @@ TARGETDIR="unknown" case "$host" in i*86-*-linux*) TARGET=X86; TARGETDIR=x86;; +i*86-*-gnu*) TARGET=X86; TARGETDIR=x86;; i*86-*-solaris*) TARGET=X86; TARGETDIR=x86;; i*86-*-beos*) TARGET=X86; TARGETDIR=x86;;
Subject: Bug 21819 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: tromey@gcc.gnu.org 2005-08-10 17:18:38 Modified files: libffi : ChangeLog configure configure.ac Log message: 2005-08-10 Alfred M. Szmidt <ams@gnu.org> PR libffi/21819: * configure: Rebuilt. * configure.ac: Handle i*86-*-gnu*. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.222.2.4&r2=1.222.2.5 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/configure.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.71&r2=1.71.10.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/configure.ac.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.9&r2=1.9.12.1
Subject: Bug 21819 CVSROOT: /cvs/gcc Module name: gcc Changes by: tromey@gcc.gnu.org 2005-08-10 17:19:03 Modified files: libffi : ChangeLog configure configure.ac Log message: 2005-08-10 Alfred M. Szmidt <ams@gnu.org> PR libffi/21819: * configure: Rebuilt. * configure.ac: Handle i*86-*-gnu*. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/ChangeLog.diff?cvsroot=gcc&r1=1.246&r2=1.247 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/configure.diff?cvsroot=gcc&r1=1.80&r2=1.81 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/configure.ac.diff?cvsroot=gcc&r1=1.16&r2=1.17
I checked in the fix.