]> granicus.if.org Git - php/commitdiff
MFH:- Fixed bug #48256 (Crash due to double-linking of history.o)
authorJani Taskinen <jani@php.net>
Thu, 14 May 2009 13:40:51 +0000 (13:40 +0000)
committerJani Taskinen <jani@php.net>
Thu, 14 May 2009 13:40:51 +0000 (13:40 +0000)
ext/readline/config.m4

index da1359ee9cde31e9a5d58b600ae7ae9cbd14579f..c4bb04bc77283467497af493ad75c12af023912c 100644 (file)
@@ -50,15 +50,6 @@ if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then
     -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
   ])
 
-  PHP_CHECK_LIBRARY(history, add_history,
-  [
-    PHP_ADD_LIBRARY_WITH_PATH(history, $READLINE_DIR/$PHP_LIBDIR, READLINE_SHARED_LIBADD)
-  ], [
-    AC_MSG_ERROR(history library required by readline not found)
-  ], [
-    -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
-  ])
-
   AC_DEFINE(HAVE_LIBREADLINE, 1, [ ])
 
 elif test "$PHP_LIBEDIT" != "no"; then