* pre.in (PTHREAD_CFLAGS): New variable.
authorKen Raeburn <raeburn@mit.edu>
Sat, 19 Jun 2004 00:18:18 +0000 (00:18 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 19 Jun 2004 00:18:18 +0000 (00:18 +0000)
(ALL_CFLAGS): Include it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16491 dc483132-0cff-0310-8789-dd5450dbe970

src/config/ChangeLog
src/config/pre.in

index e302e47eab6b784e99fd51cf17736f8d145ed27a..6c23eadf0c28263b794648925b029b9fd43e2440 100644 (file)
@@ -1,5 +1,8 @@
 2004-06-18  Ken Raeburn  <raeburn@mit.edu>
 
+       * pre.in (PTHREAD_CFLAGS): New variable.
+       (ALL_CFLAGS): Include it.
+
        * win-pre.in (SLIB): New variable.
 
 2004-06-16  Ken Raeburn  <raeburn@mit.edu>
index 2bf2f155ad5d25d5bdd973ea2f1ab7057e6e29ff..9409a3ed636a173612d3e0cda05eee2627c1426b 100644 (file)
@@ -150,10 +150,13 @@ FAKELIBDIR=$(FAKEPREFIX)/lib
 # LOCALINCLUDES        set by local Makefile.in
 # CPPFLAGS     user override
 # CFLAGS       user override but starts off set by configure
+# PTHREAD_CFLAGS set by configure, not included in CFLAGS so that we
+#              don't pull the pthreads library into shared libraries
 ALL_CFLAGS = $(DEFS) $(DEFINES) $(KRB_INCLUDES) $(LOCALINCLUDES) \
-       $(CPPFLAGS) $(CFLAGS)
+       $(CPPFLAGS) $(CFLAGS) $(PTHREAD_CFLAGS)
 
 CFLAGS = @CFLAGS@
+PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
 CPPFLAGS = @CPPFLAGS@
 DEFS = @DEFS@
 CC = @CC@