2011-03-16 11:32:06 +00:00
|
|
|
--- a/configure.in
|
|
|
|
+++ b/configure.in
|
|
|
|
@@ -48,16 +48,16 @@ AC_ARG_ENABLE(ipv6,
|
|
|
|
[ --disable-ipv6 Do not enable IPv6],
|
|
|
|
WANTS_IPV6=$enableval, WANTS_IPV6=yes)
|
|
|
|
|
|
|
|
-if test "x$WANTS_GTK" = "xyes"; then
|
|
|
|
- AM_PATH_GTK_2_0(2.6.0, CFLAGS="$CFLAGS $GTK_CFLAGS"
|
|
|
|
- LIBS="$LIBS $GTK_LIBS -lm",
|
|
|
|
- AC_MSG_WARN(Building without GTK2 display support)
|
|
|
|
- AC_DEFINE(NO_GTK, 1, [Define if you don't have the GTK+ libraries available.])
|
|
|
|
- GTK_OBJ="")
|
|
|
|
-else
|
|
|
|
+#if test "x$WANTS_GTK" = "xyes"; then
|
|
|
|
+# AM_PATH_GTK_2_0(2.6.0, CFLAGS="$CFLAGS $GTK_CFLAGS"
|
|
|
|
+# LIBS="$LIBS $GTK_LIBS -lm",
|
|
|
|
+# AC_MSG_WARN(Building without GTK2 display support)
|
|
|
|
+# AC_DEFINE(NO_GTK, 1, [Define if you don't have the GTK+ libraries available.])
|
|
|
|
+# GTK_OBJ="")
|
|
|
|
+#else
|
2012-01-13 22:11:46 +00:00
|
|
|
AC_DEFINE(NO_GTK)
|
|
|
|
GTK_OBJ=""
|
|
|
|
-fi
|
2011-03-16 11:32:06 +00:00
|
|
|
+#fi
|
|
|
|
|
|
|
|
AC_CHECK_FUNC(socket, ,
|
|
|
|
AC_CHECK_LIB(socket, socket, , AC_MSG_ERROR(No socket library found)))
|