xsel

Program for manipulating the X clipboard
git clone https://git.sinitax.com/kfish/xsel
Log | Files | Refs | README | LICENSE | sfeed.txt

commit d4ce48ed3cd851fcf7dadc2346a5627d90b498c8
parent 583f1a441c93686b99e82d8be621f5f06b669e31
Author: conrad <conrad@9c49b5d1-7df3-0310-bce2-b7278e68f44c>
Date:   Tue,  9 Mar 2010 01:29:50 +0000

error out if libX11 is not present

git-svn-id: http://svn.kfish.org/xsel/trunk@281 9c49b5d1-7df3-0310-bce2-b7278e68f44c

Diffstat:
Mconfigure.ac | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac @@ -18,7 +18,10 @@ AC_SUBST(X_LDFLAGS) AC_SUBST(X_LIBS) AC_SUBST(X_EXTRA_LIBS) -AC_CHECK_LIB([X11], [XOpenDisplay]) +AC_CHECK_LIB([X11], [XOpenDisplay], HAVE_X11="yes", HAVE_X11="no") +if test "x$HAVE_X11" = "xno" ; then + AC_MSG_ERROR([libX11 is required]) +fi # Error out on compile warnings dnl Add some useful warnings if we have gcc.