commit 918143578306477d547e8d19e7b29e6e2a1927d5
parent c6caacf594ca84a52a84a2e39fb2af5df50a2534
Author: conrad <conrad@9c49b5d1-7df3-0310-bce2-b7278e68f44c>
Date: Tue, 15 Jan 2008 05:41:05 +0000
re-enable autoconf checks for X11 libraries
git-svn-id: http://svn.kfish.org/xsel/trunk@204 9c49b5d1-7df3-0310-bce2-b7278e68f44c
Diffstat:
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/config.h.in b/config.h.in
@@ -15,6 +15,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
+/* Define to 1 if you have the `X11' library (-lX11). */
+#undef HAVE_LIBX11
+
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#undef HAVE_MALLOC
diff --git a/configure.ac b/configure.ac
@@ -1,6 +1,6 @@
# Process this file with autoconf to produce a configure script.
AC_INIT([xsel.c])
-AM_INIT_AUTOMAKE(xsel, 1.0.0)
+AM_INIT_AUTOMAKE(xsel, 1.0.0.svn20080115)
AC_CONFIG_SRCDIR([xsel.c])
AM_CONFIG_HEADER(config.h)
@@ -13,12 +13,12 @@ AC_PROG_MAKE_SET
# Checks for libraries.
AC_PATH_XTRA
-#AC_SUBST(X_CFLAGS)
-#AC_SUBST(X_LDFLAGS)
-#AC_SUBST(X_LIBS)
-#AC_SUBST(X_EXTRA_LIBS)
+AC_SUBST(X_CFLAGS)
+AC_SUBST(X_LDFLAGS)
+AC_SUBST(X_LIBS)
+AC_SUBST(X_EXTRA_LIBS)
-#AC_CHECK_LIB([X11], [XOpenDisplay])
+AC_CHECK_LIB([X11], [XOpenDisplay])
# Error out on compile warnings
dnl Add some useful warnings if we have gcc.