HPUX 10 patch.

This commit is contained in:
Bruce Momjian 1997-09-24 04:20:29 +00:00
parent 11b4a9689d
commit f0b9b2152e

View File

@ -1,7 +1,10 @@
HPUX_MAJOR= $(shell uname -r|sed 's/^[^.]*\.\([^.]*\).*/\1/')
# HP-UX 10 has a select() in libcurses, so we need to get the libc version first
ifeq ($(HPUX_MAJOR), 10)
LDFLAGS:= -lc $(LDFLAGS)
endif
#HPUX_VERS:= $(shell uname -r) # Does anyone use this stuff?
#HPUX_MAJOR= ${HPUX_VERS:R:E}
#HPUX_MINOR= ${HPUX_VERS:E}
#ifdef ENFORCE_ALIGNMENT #ifdef ENFORCE_ALIGNMENT
# CFLAGS+= -DNOFIXADE # CFLAGS+= -DNOFIXADE
#else #else
@ -17,10 +20,6 @@
# endif # endif
# endif # endif
#endif #endif
# HP-UX 10 has a select() in libcurses, so we need to get the libc version first
#ifeq ($(HPUX_MAJOR), 10)
# LDFLAGS:= -lc $(LDFLAGS)
#endif
%.sl: %.o %.sl: %.o
$(LD) -b -o $@ $< $(LD) -b -o $@ $<