URL:
<http://savannah.gnu.org/bugs/?34692>
Summary: if multiple libobjc's exist, the use of
AC_CHECK_FUNCS for checking functions in libobjc can give wrong results
Project: GNUstep
Submitted by: ericw
Submitted on: Sun 30 Oct 2011 06:46:44 AM GMT
Category: Base/Foundation
Severity: 2 - Minor
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I'm trying to build gnustep-base 1.23.0 on Mac OS 10.7. I am using the
macports-gcc-4.4 compiler and its objc runtime.
The AC_CHECK_FUNCS configure macros testing for functions in libobjc are
finding functions in Apple's libobjc (objc_setProperty, _Block_copy) which my
gcc libobjc doesn't have. This messes up the compilation later, because base
thinks it will be linked agains a libobjc which has these modern features, but
I end up linking it against the gcc 4.4 libobjc.
I think this can be fixed by creating test programs (like the tests in
config/config.*.m) for these features, and avoiding the use of AC_CHECK_FUNCS
for testing for functions in libobjc.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34692>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep