diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2003-10-26 22:49:01 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2003-10-26 22:49:01 +0000 |
commit | 1ba27c760b4a58dd56e20842993faf6f39c6001f (patch) | |
tree | 39a29d30deb094c9826476fd2b635146bf8b50f3 | |
parent | c60a693f4245d57621a6af6a00219ed24161b06d (diff) | |
download | weechat-1ba27c760b4a58dd56e20842993faf6f39c6001f.zip |
Only Curses interface is built by default
-rw-r--r-- | configure.in | 8 | ||||
-rw-r--r-- | weechat/configure.in | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/configure.in b/configure.in index b40507624..5e8fe6a5f 100644 --- a/configure.in +++ b/configure.in @@ -48,8 +48,8 @@ AC_TYPE_SIGNAL AC_CHECK_FUNCS([gethostbyname gethostname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strncasecmp strpbrk strrchr strstr uname]) AC_ARG_ENABLE(curses, [ --disable-curses Turn off Curses interface (default=auto)],,enable_curses=yes) -AC_ARG_ENABLE(gtk, [ --disable-gtk Turn off Gtk+ interface (default=auto)],,enable_gtk=yes) -AC_ARG_ENABLE(qt, [ --disable-qt Turn off Qt interface (default=auto)],,enable_qt=yes) +AC_ARG_ENABLE(gtk, [ --enable-gtk Turn on Gtk+ interface (default=no)],enable_gtk=yes,enable_gtk=no) +AC_ARG_ENABLE(qt, [ --enable-qt Turn on Qt interface (default=no)],enable_qt=yes,enable_qt=no) enable_plugins=no enable_perl=no @@ -102,6 +102,10 @@ if test "x$enable_qt" = "xyes" ; then listgui="$listgui Qt" fi +if test "x$listgui" = "x" ; then + AC_MSG_ERROR([No interface specified... Please specify at least Curses, Gtk or Qt.]) +fi + echo echo Interfaces.................... :$listgui echo diff --git a/weechat/configure.in b/weechat/configure.in index b40507624..5e8fe6a5f 100644 --- a/weechat/configure.in +++ b/weechat/configure.in @@ -48,8 +48,8 @@ AC_TYPE_SIGNAL AC_CHECK_FUNCS([gethostbyname gethostname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strncasecmp strpbrk strrchr strstr uname]) AC_ARG_ENABLE(curses, [ --disable-curses Turn off Curses interface (default=auto)],,enable_curses=yes) -AC_ARG_ENABLE(gtk, [ --disable-gtk Turn off Gtk+ interface (default=auto)],,enable_gtk=yes) -AC_ARG_ENABLE(qt, [ --disable-qt Turn off Qt interface (default=auto)],,enable_qt=yes) +AC_ARG_ENABLE(gtk, [ --enable-gtk Turn on Gtk+ interface (default=no)],enable_gtk=yes,enable_gtk=no) +AC_ARG_ENABLE(qt, [ --enable-qt Turn on Qt interface (default=no)],enable_qt=yes,enable_qt=no) enable_plugins=no enable_perl=no @@ -102,6 +102,10 @@ if test "x$enable_qt" = "xyes" ; then listgui="$listgui Qt" fi +if test "x$listgui" = "x" ; then + AC_MSG_ERROR([No interface specified... Please specify at least Curses, Gtk or Qt.]) +fi + echo echo Interfaces.................... :$listgui echo |