Author: rmeggins
Update of /cvs/dirsec/dsgw
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11649/dsgw
Modified Files:
Makefile.am aclocal.m4 configure missing install-sh
Makefile.in depcomp config.sub config.guess compile
Log Message:
add pthread lib for HP-UX
Index: Makefile.am
===================================================================
RCS file: /cvs/dirsec/dsgw/Makefile.am,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Makefile.am 31 Jan 2008 21:43:36 -0000 1.13
+++ Makefile.am 31 Jan 2008 22:48:17 -0000 1.14
@@ -69,6 +69,11 @@
noinst_PROGRAMS = propmaker
+# We need to make sure that libpthread is linked before libc on HP-UX.
+if HPUX
+AM_LDFLAGS = -lpthread
+endif
+
# this is just a dummy to make automake define
# the CXXLINK macro
if CXXLINK_REQUIRED
Index: Makefile.in
===================================================================
RCS file: /cvs/dirsec/dsgw/Makefile.in,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Makefile.in 31 Jan 2008 21:43:36 -0000 1.14
+++ Makefile.in 31 Jan 2008 22:48:17 -0000 1.15
@@ -404,6 +404,9 @@
-DINSTCONFIGDIR=\"$(instconfigdir)\" \
-DMANUALDIR=\"$(manualdir)\" -DCGIURIBASE=\"$(cgiuri)\" \
-DMANUALSUBDIR=\"$(manualsubdir)\" -DINFODIR=\"$(gwinfodir)\"
+
+# We need to make sure that libpthread is linked before libc on HP-UX.
+@HPUX_TRUE@AM_LDFLAGS = -lpthread
@CXXLINK_REQUIRED_TRUE@dummy_SOURCES = dummy.cpp
@CXXLINK_REQUIRED_TRUE@dummy_LINK = $(CXXLINK)
@CXXLINK_REQUIRED_FALSE@MYLINK = $(LINK)