bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34692] if multiple libobjc's exist, the use of AC_CHECK_FUNCS for


From: Eric Wasylishen
Subject: [bug #34692] if multiple libobjc's exist, the use of AC_CHECK_FUNCS for checking functions in libobjc can give wrong results
Date: Sun, 30 Oct 2011 06:46:45 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]