1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

Doesn't try to build GTK UI if GTK isn't found

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@76 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 1999-11-14 12:32:49 +00:00 committed by cras
parent a6bfeb3a41
commit dbb0e0b01d

View File

@ -248,6 +248,8 @@ else
want_gnome_panel="no" want_gnome_panel="no"
AC_DEFINE(HAVE_GTK) AC_DEFINE(HAVE_GTK)
AM_PATH_GTK(1.2.0) AM_PATH_GTK(1.2.0)
if test "x$GTK_LIBS" != "x"; then
GUI_CFLAGS="$GTK_CFLAGS" GUI_CFLAGS="$GTK_CFLAGS"
GUI_LIBS="$GTK_LIBS" GUI_LIBS="$GTK_LIBS"
@ -261,6 +263,7 @@ else
fi fi
GUI_LIBS="$GUI_LIBS ../lib-popt/libpopt.a" GUI_LIBS="$GUI_LIBS ../lib-popt/libpopt.a"
fi fi
fi
if test "x$GUI_LIBS" != "x"; then if test "x$GUI_LIBS" != "x"; then
GUI_LIBS="$GUI_LIBS $HEBREW_LIBS $PROG_LIBS" GUI_LIBS="$GUI_LIBS $HEBREW_LIBS $PROG_LIBS"