Bug 21819 - i*86-*-gnu* not enabled in configure.ac
Summary: i*86-*-gnu* not enabled in configure.ac
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libffi (show other bugs)
Version: 4.0.0
: P2 enhancement
Target Milestone: 4.0.2
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks: 21824
  Show dependency treegraph
 
Reported: 2005-05-30 14:29 UTC by Alfred M. Szmidt
Modified: 2005-08-10 17:19 UTC (History)
2 users (show)

See Also:
Host: i686-pc-gnu0.3
Target: i686-pc-gnu0.3
Build: i686-pc-gnu0.3
Known to work:
Known to fail:
Last reconfirmed: 2005-05-30 14:51:30


Attachments
Add i*86-*-gnu* to configure.ac (212 bytes, patch)
2005-05-30 14:42 UTC, Alfred M. Szmidt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred M. Szmidt 2005-05-30 14:29:25 UTC
i*86-*-gnu* not enabled in configure.ac, which makes configure fail if you try
to compile libffii on GNU.
Comment 1 Alfred M. Szmidt 2005-05-30 14:42:29 UTC
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.
Comment 2 Andrew Pinski 2005-05-30 14:51:30 UTC
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.
Comment 3 Alfred M. Szmidt 2005-05-30 14:55:12 UTC
Will do.  Thanks.
Comment 4 Alfred M. Szmidt 2005-08-09 17:45:38 UTC
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;;
Comment 5 GCC Commits 2005-08-10 17:18:47 UTC
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

Comment 6 GCC Commits 2005-08-10 17:19:14 UTC
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

Comment 7 Tom Tromey 2005-08-10 17:19:26 UTC
I checked in the fix.