Follow-up Comment #2, bug #34692 (project gnustep):

Investigated a bit more, and the problem is not exactly what I though.

Within the section of configure.ac starting at:
# Check whether Objective-C /really/ works
where the Objective-C flags are added to LIBS/CPPFLAGS, we add the "-undefined
dynamic_lookup" flag on mac os x (c.f. target.make in gnustep-make). This flag
means something along the lines of, "the linker will not generate an error if
there are undefined symbols in the code being linked, but it will be a runtime
error."

As a result, any calls to AC_CHECK_FUNC in this section will pass. (e.g.
AC_CHECK_FUNC(SomeNonExistentFunction) passes). likewise, any use of
AC_LINK_IFELSE will pass.

Not sure what we should do about this.. we could either replace all of the
AC_CHECK_FUNC and AC_LINK_IFELSE with AC_RUN_IFELSE, or else disable the
"-undefined dynamic_lookup" flag for the configure tests.

    _______________________________________________________

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

Reply via email to