This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix detection of {Free,Open}BSD


Hi,

configure misdetects free/openbsd if I use an ix86 host with x!=3. I had
an i686 freebsd host that wasn't correctly detected. Enclosed patch
fixes this.

Alexis.
Index: configure.ac
===================================================================
RCS file: /cvs/libffi/libffi/configure.ac,v
retrieving revision 1.27
diff -u -B -r1.27 configure.ac
--- configure.ac	16 Jun 2009 16:17:52 -0000	1.27
+++ configure.ac	23 Sep 2009 19:00:19 -0000
@@ -75,7 +75,7 @@
 	TARGET=PA_HPUX; TARGETDIR=pa
 	;;
 
-  i386-*-freebsd* | i386-*-openbsd*)
+  i?86-*-freebsd* | i?86-*-openbsd*)
 	TARGET=X86_FREEBSD; TARGETDIR=x86
 	;;
   i?86-win32* | i?86-*-cygwin* | i?86-*-mingw*)

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]