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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs