summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-03-12 16:53:19 +0000
committerSascha Schumann <sas@php.net>2002-03-12 16:53:19 +0000
commit283b860c588726231efd4c4f1a2a4e65cac18eae (patch)
tree3ef8d8eb62014ee243275d98372aef1180949a3e /ext/readline
parent06473e08a525543b30259b55841621b3f8b6eea7 (diff)
downloadphp-git-283b860c588726231efd4c4f1a2a4e65cac18eae.tar.gz
php_new_extension
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/Makefile.in7
-rw-r--r--ext/readline/config.m44
2 files changed, 2 insertions, 9 deletions
diff --git a/ext/readline/Makefile.in b/ext/readline/Makefile.in
deleted file mode 100644
index 6af732d792..0000000000
--- a/ext/readline/Makefile.in
+++ /dev/null
@@ -1,7 +0,0 @@
-
-LTLIBRARY_NAME = libreadline.la
-LTLIBRARY_SOURCES = readline.c
-LTLIBRARY_SHARED_NAME = readline.la
-LTLIBRARY_SHARED_LIBADD = $(READLINE_SHARED_LIBADD)
-
-include $(top_srcdir)/build/dynlib.mk
diff --git a/ext/readline/config.m4 b/ext/readline/config.m4
index d179f82ffd..463304bcaa 100644
--- a/ext/readline/config.m4
+++ b/ext/readline/config.m4
@@ -51,7 +51,7 @@ if test "$PHP_READLINE" != "no"; then
PHP_SUBST(READLINE_SHARED_LIBADD)
AC_DEFINE(HAVE_LIBREADLINE, 1, [ ])
- PHP_EXTENSION(readline, $ext_shared, cli)
+ PHP_NEW_EXTENSION(readline, readline.c, $ext_shared, cli)
fi
if test "$PHP_LIBEDIT" != "no"; then
@@ -88,5 +88,5 @@ if test "$PHP_LIBEDIT" != "no"; then
PHP_SUBST(READLINE_SHARED_LIBADD)
AC_DEFINE(HAVE_LIBEDIT, 1, [ ])
- PHP_EXTENSION(readline, $ext_shared, cli)
+ PHP_NEW_EXTENSION(readline, readline.c, $ext_shared, cli)
fi