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

Commit5c1f31d

Browse files
committed
Readline and Zlib now required by default. Add options --without-readline
and --without-zlib to turn them off.
1 parent563673e commit5c1f31d

File tree

9 files changed

+864
-442
lines changed

9 files changed

+864
-442
lines changed

‎config/programs.m4

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Header: /cvsroot/pgsql/config/programs.m4,v 1.9 2002/04/1016:45:24 petere Exp $
1+
# $Header: /cvsroot/pgsql/config/programs.m4,v 1.10 2002/04/1022:46:33 petere Exp $
22

33

44
# PGAC_PATH_FLEX
@@ -115,6 +115,27 @@ fi])# PGAC_CHECK_READLINE
115115

116116

117117

118+
# PGAC_VAR_RL_COMPLETION_APPEND_CHARACTER
119+
# ---------------------------------------
120+
# Readline versions < 2.1 don't have rl_completion_append_character
121+
122+
AC_DEFUN([PGAC_VAR_RL_COMPLETION_APPEND_CHARACTER],
123+
[AC_MSG_CHECKING([for rl_completion_append_character])
124+
AC_TRY_LINK([#include <stdio.h>
125+
#ifdef HAVE_READLINE_READLINE_H
126+
# include <readline/readline.h>
127+
#elif defined(HAVE_READLINE_H)
128+
# include <readline.h>
129+
#endif
130+
],
131+
[rl_completion_append_character = 'x';],
132+
[AC_MSG_RESULT(yes)
133+
AC_DEFINE(HAVE_RL_COMPLETION_APPEND_CHARACTER,1,
134+
[Define if you have rl_completion_append_character])],
135+
[AC_MSG_RESULT(no)])])# PGAC_VAR_RL_COMPLETION_APPEND_CHARACTER
136+
137+
138+
118139
# PGAC_CHECK_GETTEXT
119140
# ------------------
120141

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp