Commit Graph

35 Commits

Author SHA1 Message Date
Christopher Jones
c6d977dd39 Fix long-standing visual pain point: the misalignment of './configure help' text.
Whitespace changes and a couple of grammar fixes.
2013-08-06 11:06:09 -07:00
Hannes Magnusson
dc018f3d10 Fixed bug#54450 (callback function when built against libedit) 2011-09-06 15:07:24 +00:00
Johannes Schlüter
6c734a6b4c - Implement FR#53878 Interactive shell should work with shared readline extension
# This is useful w/ distributors who like to build all things shared or don't
# provide the readline extension. Or if a user pefers readline's behavior over
# libedit which might be used by the  distributor.
2011-02-19 16:04:30 +00:00
Felipe Pena
97cfc51298 - Fixed bug #50209 (Compiling with libedit cannot find readline.h)
(patch by tcallawa at redhat dot com)
2009-12-13 17:06:47 +00:00
Jani Taskinen
106f29f805 - Fixed bug #48608 (Invalid libreadline version not detected during configure) 2009-08-04 11:20:49 +00:00
Jani Taskinen
cc77639000 - Fixed bBug #48873 (Using both --with-libedit and --with-readline cause unknown option warning)
# This isn't worth of NEWS entry, it's just cosmetic
2009-08-03 11:21:44 +00:00
Jani Taskinen
936c39dea8 - Fixed bug #48256 (Crash due to double-linking of history.o) 2009-05-14 13:40:37 +00:00
foobar
a03df6fef7 fix build with libedit 2005-11-28 23:03:49 +00:00
foobar
3cdf23b830 - Fixed bug #35409 (undefined reference to 'rl_completion_matches') 2005-11-28 16:49:35 +00:00
foobar
ffa0e13a59 MFB51: fix build when --with-libedit is used 2005-11-18 15:11:14 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Joe Orton
2685ca935f Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Wez Furlong
bbd6dec20c Add support for the readline callback interface, allowing you to interleave
IO and user input.  Sample script:

<?php
dl("readline.so");

function handle_user_input($line)
{
   echo "You typed: '$line'\n";
   if ($line == 'exit')
      exit;
}

readline_callback_handler_install('type! > ', 'handle_user_input');

while (true) {
   $n = stream_select($r = array(STDIN), $w = null, $e = null, null);

   if ($n && in_array(STDIN, $r)) {
      readline_callback_read_char();
   }
}
2004-08-24 12:52:07 +00:00
Derick Rethans
0bfb0fad92 - No tabs here please 2004-08-24 12:28:46 +00:00
Wez Furlong
5ed8e63591 use dependent libs while probing for functions 2004-08-24 12:06:37 +00:00
foobar
dc080a5db6 - Always look into /usr/local before /usr
- Added breaks to make sure the preferred value is used.
2003-10-01 02:53:23 +00:00
Ilia Alshanetsky
526a3d9ce2 Always prefer user specified paths over the default /usr /usr/local.
This may fix compilation problems with on systems with multiple copies of
the same library.
2003-09-30 22:36:43 +00:00
foobar
fccbb1431b - There's no point in allowing using both --with-readline and --with-libedit
the same time. Prefer --with-readline.
- Use PHP_ADD_LIBRARY when there is no path available.
2003-02-11 03:24:30 +00:00
foobar
b9d4067001 Fix typo. 2002-08-22 00:34:07 +00:00
Sascha Schumann
283b860c58 php_new_extension 2002-03-12 16:53:19 +00:00
Edin Kadribasic
f5790b0a7c Modified the build system to make certain extensions (pcntl, ncurses,
pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional
parameter to PHP_EXTENSION macro which should be set to "cli" if
the extension only makes sense for that class of api's.
2002-01-20 02:30:18 +00:00
foobar
f50277f003 whitespace 2002-01-09 02:06:32 +00:00
Hartmut Holzgraefe
ec89317ff2 check for library existance before adding them 2002-01-04 12:27:01 +00:00
foobar
f1397d5339 Unified the configure messages. 2001-11-30 19:00:13 +00:00
foobar
93311d9301 Fixed two problems:
- CGI_BINARY was defined always thus this extension
  could be compiled with even when not building CGI binary.

- HAVE_READLINE => HAVE_LIBREADLINE (typo)
2001-08-22 10:25:24 +00:00
foobar
8a26918ed1 Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00
Stanislav Malyshev
66dafaa2c5 Libedit readline replacement support
# Comments are very welcome!
2001-01-18 11:42:09 +00:00
Sascha Schumann
92c87b1ba9 Make readline compilable as shared module 2000-05-02 04:26:48 +00:00
Sascha Schumann
b4db46606e Some white-space changes 2000-03-26 19:47:28 +00:00
Thies C. Arntzen
e1334ec9bb fix solaris compile 2000-01-07 13:30:53 +00:00
Sascha Schumann
2c99bef442 Get rid of config.h.stub. Note that you should embed a comment about
what the respective define does into the AC_DEFINE macro. I.e.

AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa Integration of -ng changes. Changes:
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
  (libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Thies C. Arntzen
ccb7e4fa03 the order *does* matter! 1999-12-07 13:11:19 +00:00
Thies C. Arntzen
185d90fe22 configure works for me (RH 6.1)
@- Added readline support. Works *only* in standalone mode! (Thies)
1999-10-14 16:53:51 +00:00
Thies C. Arntzen
1d9584c087 interface to GNU-Readline! (not yet active, autoconf needs to be done)
very neat - but only usable in standalone (command-promt) mode!
1999-10-14 15:20:40 +00:00