diff options
author | foobar <sniper@php.net> | 2002-01-09 02:06:32 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2002-01-09 02:06:32 +0000 |
commit | f50277f003ab2c965a678b99ee493bd77c460953 (patch) | |
tree | 880c068e447ce60dc865662d1bd9a2651f3882f7 /ext/readline | |
parent | bf60b6178f5c01b02ad135b239f30fc3bffcb8d0 (diff) | |
download | php-git-f50277f003ab2c965a678b99ee493bd77c460953.tar.gz |
whitespace
Diffstat (limited to 'ext/readline')
-rw-r--r-- | ext/readline/config.m4 | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/ext/readline/config.m4 b/ext/readline/config.m4 index 2bc8f255a2..3d7e2c70ea 100644 --- a/ext/readline/config.m4 +++ b/ext/readline/config.m4 @@ -24,22 +24,28 @@ if test "$PHP_READLINE" != "no"; then fi PHP_ADD_INCLUDE($READLINE_DIR/include) - AC_CHECK_LIB(ncurses, tgetent, [ - PHP_ADD_LIBRARY_WITH_PATH(ncurses,,READLINE_SHARED_LIBADD)],[ - AC_CHECK_LIB(termcap, tgetent, [ - PHP_ADD_LIBRARY_WITH_PATH(termcap,,READLINE_SHARED_LIBADD)]) + AC_CHECK_LIB(ncurses, tgetent, + [ + PHP_ADD_LIBRARY_WITH_PATH(ncurses,,READLINE_SHARED_LIBADD) + ],[ + AC_CHECK_LIB(termcap, tgetent, + [ + PHP_ADD_LIBRARY_WITH_PATH(termcap,,READLINE_SHARED_LIBADD) + ]) ]) - PHP_CHECK_LIBRARY(readline, readline, [ - PHP_ADD_LIBRARY_WITH_PATH(readline, $READLINE_DIR/lib, READLINE_SHARED_LIBADD) + PHP_CHECK_LIBRARY(readline, readline, + [ + PHP_ADD_LIBRARY_WITH_PATH(readline, $READLINE_DIR/lib, READLINE_SHARED_LIBADD) ], [ AC_MSG_ERROR(readline library not found) ], [ -L$READLINE_DIR/lib ]) - PHP_CHECK_LIBRARY(history, add_history, [ - PHP_ADD_LIBRARY_WITH_PATH(history, $READLINE_DIR/lib, READLINE_SHARED_LIBADD) + PHP_CHECK_LIBRARY(history, add_history, + [ + PHP_ADD_LIBRARY_WITH_PATH(history, $READLINE_DIR/lib, READLINE_SHARED_LIBADD) ], [ AC_MSG_ERROR(history library required by readline not found) ], [ @@ -64,14 +70,19 @@ if test "$PHP_LIBEDIT" != "no"; then fi PHP_ADD_INCLUDE($LIBEDIT_DIR/include) - AC_CHECK_LIB(ncurses, tgetent, [ - PHP_ADD_LIBRARY_WITH_PATH(ncurses,,READLINE__SHARED_LIBADD)],[ - AC_CHECK_LIB(termcap, tgetent, [ - PHP_ADD_LIBRARY_WITH_PATH(termcap,,READLINE_SHARED_LIBADD)]) + AC_CHECK_LIB(ncurses, tgetent, + [ + PHP_ADD_LIBRARY_WITH_PATH(ncurses,,READLINE__SHARED_LIBADD) + ],[ + AC_CHECK_LIB(termcap, tgetent, + [ + PHP_ADD_LIBRARY_WITH_PATH(termcap,,READLINE_SHARED_LIBADD) + ]) ]) - PHP_CHECK_LIBRARY(edit, readline, [ - PHP_ADD_LIBRARY_WITH_PATH(edit, $LIBEDIT_DIR/lib, READLINE_SHARED_LIBADD) + PHP_CHECK_LIBRARY(edit, readline, + [ + PHP_ADD_LIBRARY_WITH_PATH(edit, $LIBEDIT_DIR/lib, READLINE_SHARED_LIBADD) ], [ AC_MSG_ERROR(edit library required by readline not found) ], [ |