mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
a6bfeb3a41
commit
dbb0e0b01d
21
configure.in
21
configure.in
@ -248,18 +248,21 @@ 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)
|
||||||
GUI_CFLAGS="$GTK_CFLAGS"
|
|
||||||
GUI_LIBS="$GTK_LIBS"
|
|
||||||
|
|
||||||
if test "x$want_imlib" = "xyes"; then
|
if test "x$GTK_LIBS" != "x"; then
|
||||||
AM_PATH_GDK_IMLIB(, [define_imlib=true])
|
GUI_CFLAGS="$GTK_CFLAGS"
|
||||||
if test x$define_imlib = xtrue; then
|
GUI_LIBS="$GTK_LIBS"
|
||||||
AC_DEFINE(HAVE_IMLIB)
|
|
||||||
GUI_CFLAGS="$GUI_CFLAGS $GDK_IMLIB_CFLAGS"
|
if test "x$want_imlib" = "xyes"; then
|
||||||
GUI_LIBS="$GDK_IMLIB_LIBS"
|
AM_PATH_GDK_IMLIB(, [define_imlib=true])
|
||||||
|
if test x$define_imlib = xtrue; then
|
||||||
|
AC_DEFINE(HAVE_IMLIB)
|
||||||
|
GUI_CFLAGS="$GUI_CFLAGS $GDK_IMLIB_CFLAGS"
|
||||||
|
GUI_LIBS="$GDK_IMLIB_LIBS"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
GUI_LIBS="$GUI_LIBS ../lib-popt/libpopt.a"
|
||||||
fi
|
fi
|
||||||
GUI_LIBS="$GUI_LIBS ../lib-popt/libpopt.a"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$GUI_LIBS" != "x"; then
|
if test "x$GUI_LIBS" != "x"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user