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

Commit9c931e0

Browse files
committed
Moved readline stuff into Makefile.global.
1 parent6ab9db7 commit9c931e0

File tree

2 files changed

+26
-48
lines changed

2 files changed

+26
-48
lines changed

‎src/Makefile.global

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.102 1997/01/26 20:21:43 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.103 1997/01/28 03:46:58 momjian Exp $
1111
#
1212
# NOTES
1313
# Essentially all Postgres make files include this file and use the
@@ -150,19 +150,35 @@ ENFORCE_ALIGNMENT= true
150150
# psql does not require the GNU readline and history libraries. Hence, we
151151
# do not compile with them by default. However, there are hooks in the
152152
# program which supports the use of GNU readline and history. Should you
153-
# decide to use them, change USE_READLINE to true and changeREADLINE_INCDIR
154-
#and READLINE_LIBDIRto reflect the location of the readline and history
155-
#headersand libraries.
153+
# decide to use them, change USE_READLINE to true and changethe other
154+
#definesto reflect the location of the readline and history headers
155+
# and libraries.
156156
#
157157
USE_READLINE= false
158158

159-
# directories for the readline and history libraries.
160-
#READLINE_INC= -I/home/tools/include
161-
#READLINE_LIB= -L/home/tools/lib -lreadline
159+
# not optional if USE_READLINE enabled
160+
#READLINE_INC+=-DHAVE_LIBREADLINE
162161

163-
# use the following if your readline has a separate history lib
164-
#HISTORY_INC= -I/home/tools/include -I/home/tools/include/readline
165-
#HISTORY_LIB= -L/home/tools/lib -lhistory
162+
# if <readline.h>, define this
163+
#READLINE_INC+=-DHAVE_READLINE_H
164+
165+
# if you have either <history.h> or <readline/history.h>
166+
#READLINE_INC+=-DHAVE_HISTORY
167+
168+
# if you have a libhistory.a
169+
#READLINE_INC+=-DHAVE_LIBHISTORY
170+
171+
# where to find includes
172+
#READLINE_INC+=-I/home/tools/include
173+
174+
# where to find library files
175+
#READLINE_LIB+= -L/home/tools/lib
176+
177+
# not optional if USE_READLINE enabled
178+
#READLINE_LIB+= -lreadline
179+
180+
# if you have a libhistory.a
181+
#READLINE_LIB+= -lhistory
166182

167183
# curses is required by readline. Ncurses has obsoleted curses, and may
168184
# in fact be what goes by the name "curses" on this system.

‎src/README.readline

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp