From 2942bf5e84a4eebf660dac3906025342a4722c18 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 7 Apr 2005 15:02:09 +0000 Subject: add X11 detection add X11 detection --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e5f7f04..950a071 100644 --- a/configure.ac +++ b/configure.ac @@ -38,5 +38,8 @@ AC_ARG_WITH([fltk-dir], AS_HELP_STRING([--with-fltk-dir=DIR], [fltk is installed AC_CHECK_HEADERS([FL/Fl.H], [], [echo "Error: FL/Fl.H not found. Try './configure --with-fltk-dir=DIR'"; exit 1;]) AC_CHECK_LIB([fltk], [open], [], [echo "Error: libfltk.so not found. Try './configure --with-fltk-dir=DIR'"; exit 1;]) +# Check for X11 +AC_CHECK_LIB([X11], [open], [], [echo "Error: libX11.so not found."; exit 1;]) + AC_CONFIG_FILES([Makefile src/Makefile]) AC_OUTPUT -- cgit v1.2.3