Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf00aec

Browse files
committed
If configure finds that inet_aton() is not present on this platform,
include the version from backend/port into libpq.There is a second-rate implementation of inet_aton() already presentin fe-connect.c, #ifdef'd WIN32. That ought to be removed in favorof using the better version from port/. However, since I'm not in aposition to test the WIN32 code, I will leave well enough alone forthis release...
1 parent977fad3 commitbf00aec

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎src/interfaces/libpq/Makefile.in

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1994, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.53 2000/01/19 02:59:03 petere Exp $
9+
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.54 2000/04/14 00:42:06 tgl Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -24,7 +24,7 @@ CFLAGS+= $(KRBFLAGS)
2424
endif
2525

2626
OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o\
27-
pqexpbuffer.o dllist.o pqsignal.o @SNPRINTF@
27+
pqexpbuffer.o dllist.o pqsignal.o @SNPRINTF@ @INET_ATON@
2828

2929
ifdefMULTIBYTE
3030
OBJS+= common.o wchar.o conv.o big5.o
@@ -50,6 +50,10 @@ dllist.c:$(SRCDIR)/backend/lib/dllist.c
5050
snprintf.c:$(SRCDIR)/backend/port/snprintf.c
5151
-$(LN_S)$(SRCDIR)/backend/port/snprintf.c.
5252

53+
# this only gets done if configure finds system doesn't have inet_aton()
54+
inet_aton.c:$(SRCDIR)/backend/port/inet_aton.c
55+
-$(LN_S)$(SRCDIR)/backend/port/inet_aton.c.
56+
5357
ifdefMULTIBYTE
5458
common.c:$(SRCDIR)/backend/utils/mb/common.c
5559
-$(LN_S)$(SRCDIR)/backend/utils/mb/common.c.
@@ -89,7 +93,7 @@ install-headers: libpq-fe.h libpq-int.h
8993

9094
clean: clean-shlib
9195
rm -f lib$(NAME).a$(OBJS)
92-
rm -f dllist.c snprintf.c common.c wchar.c conv.c big5.c
96+
rm -f dllist.c snprintf.cinet_aton.ccommon.c wchar.c conv.c big5.c
9397

9498
dependdep:
9599
$(CC) -MM$(CFLAGS)*.c>depend

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp