mirror of
https://github.com/postgres/postgres.git
synced 2025-05-22 00:02:02 -04:00
Add checking for strtoul. SunOS4 does not have it.
This commit is contained in:
parent
7cf952e7b4
commit
40f158da48
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 1998, PostgreSQL Global Development Group
|
# Copyright (c) 1998, PostgreSQL Global Development Group
|
||||||
#
|
#
|
||||||
# $Header: /cvsroot/pgsql/src/bin/pg_encoding/Attic/Makefile,v 1.13 2001/02/20 19:20:28 petere Exp $
|
# $Header: /cvsroot/pgsql/src/bin/pg_encoding/Attic/Makefile,v 1.14 2001/03/23 05:46:05 ishii Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -16,6 +16,13 @@ OBJS= pg_encoding.o
|
|||||||
|
|
||||||
all: submake pg_encoding
|
all: submake pg_encoding
|
||||||
|
|
||||||
|
ifdef STRTOUL
|
||||||
|
OBJS+=$(top_builddir)/src/backend/port/strtoul.o
|
||||||
|
|
||||||
|
$(top_builddir)/src/backend/port/strtoul.o:
|
||||||
|
$(MAKE) -C $(top_builddir)/src/backend/port strtoul.o
|
||||||
|
endif
|
||||||
|
|
||||||
pg_encoding: $(OBJS)
|
pg_encoding: $(OBJS)
|
||||||
$(CC) $(CFLAGS) $^ $(libpq) $(LDFLAGS) $(LIBS) -o $@
|
$(CC) $(CFLAGS) $^ $(libpq) $(LDFLAGS) $(LIBS) -o $@
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user