im.pidgin.pidgin: bd625d93706896fbd570aee9b3d53ceb38241a12
sadrul at pidgin.im
sadrul at pidgin.im
Fri Nov 30 23:45:44 EST 2007
-----------------------------------------------------------------
Revision: bd625d93706896fbd570aee9b3d53ceb38241a12
Ancestor: 1273d64fc47b82be9ff2bca00d14e37199bcc026
Author: sadrul at pidgin.im
Date: 2007-12-01T04:40:50
Branch: im.pidgin.pidgin
Modified files:
configure.ac
ChangeLog:
Error out when --enable-consoleui is used but finch can't be built. Fixes #3910.
-------------- next part --------------
============================================================
--- configure.ac e88769ed95e98196a354e0ad254759151fcb197b
+++ configure.ac fc47f894d8f1c37c1cbdb0aea94274510438fb00
@@ -328,7 +328,7 @@ AC_ARG_ENABLE(consoleui, [AC_HELP_STRING
enable_gtkui="$enableval", enable_gtkui="yes")
AC_ARG_ENABLE(consoleui, [AC_HELP_STRING([--disable-consoleui],
[compile without console user interface])],
- enable_consoleui=$enableval, enable_consoleui=yes)
+ [enable_consoleui=$enableval force_finch=$enableval], [enable_consoleui=yes force_finch=no])
dnl #######################################################################
dnl # Check for GTK+ 2.0 and other things used by the GTK UI
@@ -622,6 +622,14 @@ fi
fi
fi
+if test "x$force_finch" = "xyes" -a "x$enable_consoleui" != "xyes"; then
+ AC_MSG_ERROR([
+
+Finch will not be built. You need to install ncursesw (or ncurses) and its development headers.
+
+])
+fi
+
AC_SUBST(GNT_LIBS)
AC_SUBST(GNT_CFLAGS)
AM_CONDITIONAL(ENABLE_GNT, test "x$enable_consoleui" = "xyes")
More information about the Commits
mailing list