*** src/makefiles/Makefile.hpux.org 2011-09-20 09:30:01 -0600 --- src/makefiles/Makefile.hpux 2011-09-20 08:46:07 -0600 *************** *** 8,14 **** # Using X/Open Networking Interfaces requires to link with libxnet. # Without specifying this, bind(), getpeername() and so on don't work # correctly in the LP64 data model. ! LIBS := -lxnet $(LIBS) # Set up rpath so that the executables don't need SHLIB_PATH to be set. # (Note: --disable-rpath is a really bad idea on this platform...) --- 8,14 ---- # _HPUX_ALT_XOPEN_SOCKET_API requires linking with c library . ! LIBS := -lc $(LIBS) # Set up rpath so that the executables don't need SHLIB_PATH to be set. # (Note: --disable-rpath is a really bad idea on this platform...) *** src/template/hpux.org 2011-09-20 09:27:44 -0600 --- src/template/hpux 2011-09-20 08:50:03 -0600 *************** *** 1,6 **** # src/template/hpux ! CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED" if test "$GCC" != yes ; then CC="$CC -Ae" --- 1,6 ---- # src/template/hpux ! CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600 -D_HPUX_ALT_XOPEN_SOCKET_API" if test "$GCC" != yes ; then CC="$CC -Ae"