- [Daniel Johnson] I've been trying to build libcurl with clang on Darwin and
authorDaniel Stenberg <daniel@haxx.se>
Tue, 2 Mar 2010 22:02:56 +0000 (22:02 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 2 Mar 2010 22:02:56 +0000 (22:02 +0000)
commit013d5a72d47d14000c6022cdf70c1cc3275a0476
tree8213548f790942c5e490340470241bc273706fbf
parent9b2cce236fa7dac594d1337b9b83bc88debf1871
- [Daniel Johnson] I've been trying to build libcurl with clang on Darwin and
  ran into some issues with the GSSAPI tests in configure.ac. The tests first
  try to determine the include dirs and libs and set CPPFLAGS and LIBS
  accordingly. It then checks for the headers and finally sets LIBS a second
  time, causing the libs to be included twice. The first setting of LIBS seems
  redundant and should be left out, since the first part is otherwise just
  about finding headers.

  My second issue is that 'krb5-config --libs gssapi' on Darwin is less than
  useless and returns junk that, while it happens to work with gcc, causes
  clang to choke. For example, --libs returns $CFLAGS along with the libs,
  which is really retarded. Simply setting 'LIBS="$LIBS -lgssapi_krb5
  -lresolv"' on Darwin is sufficient.
CHANGES
RELEASE-NOTES
configure.ac