summaryrefslogtreecommitdiffhomepage
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in16
1 files changed, 11 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index 704662e..f45c764 100644
--- a/configure.in
+++ b/configure.in
@@ -41,17 +41,20 @@ esac], [readl=true])
if test x$readl = xtrue; then
AC_CHECK_LIB(ncurses, initscr, ,
- [AC_MSG_WARN(Cannot find ncurses lib) readl=false])
+ [AC_MSG_WARN(Cannot find ncurses lib)
+ readl=false])
fi
if test x$readl = xtrue; then
AC_CHECK_LIB(readline, readline, ,
- [AC_MSG_WARN(Cannot find GNU readline lib) readl=false])
+ [AC_MSG_WARN(Cannot find GNU readline lib)
+ readl=false])
fi
if test x$readl = xtrue; then
AC_CHECK_LIB(history, add_history, ,
- [AC_MSG_WARN(Cannot find GNU history lib) readl=false])
+ [AC_MSG_WARN(Cannot find GNU history lib)
+ readl=false])
dnl old versions of readline use completion_matches instead
dnl of rl_completion_matches
AC_CHECK_FUNCS(rl_completion_matches,,)
@@ -87,7 +90,9 @@ AM_CONDITIONAL(MAKE_GUILE, test x$wguile = xtrue)
dnl Check for glib
AM_PATH_GLIB(1.2.0,
- [LIBS="$LIBS $GLIB_LIBS" CFLAGS="$CFLAGS $GLIB_CFLAGS"],
+ [LIBS="$LIBS $GLIB_LIBS"
+ CFLAGS="$CFLAGS
+ $GLIB_CFLAGS"],
AC_MSG_ERROR(Cannot find GLIB), "gmodule" )
dnl Check if the gtk gui is required
@@ -103,7 +108,8 @@ dnl Check for gtk+
if test x$gui = xtrue; then
AM_PATH_GTK(1.2.0,
[LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"],
-[AC_MSG_WARN(Cannot find GTK+: the GUI shall not be built) gui=false],
+[AC_MSG_WARN(Cannot find GTK+: the GUI shall not be built)
+ gui=false],
"gmodule" )
fi