[LLVMbugs] [Bug 5994] New: configure might find multiple ffi.h files
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Jan 11 11:20:33 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=5994
Summary: configure might find multiple ffi.h files
Product: Build scripts
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: autoconf
AssignedTo: unassignedbugs at nondot.org
ReportedBy: skip at pobox.com
CC: llvmbugs at cs.uiuc.edu
On my mac I have DarwinPorts/MacPorts installed in /opt/local. When
configuring the Unladen Swallow project I was getting compile errors
because the configure script was finding both /usr/include/ffi/ffi.h and
/opt/local/include/ffi.h and defining both HAVE_FFI_H and HAVE_FFI_FFI_H.
I got compilation errors because (for whatever reason) the version of ffi.h
in /opt/local/include wasn't found by the compiler. In any case, had it
found both ffi.h files I probably would have gotten some other errors.
After I deactivated the libffi port in MacPorts compilation went swimmingly.
At any rate, the configure script should define at most one of HAVE_FFI_H or
HAVE_FFI_FFI_H, no matter how many it finds. (If both exist maybe it should
just be treated as a compilation error.)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list