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 --- AUTHORS | 1 + configure.ac | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 AUTHORS diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..ee1ae26 --- /dev/null +++ b/AUTHORS @@ -0,0 +1 @@ +Johannes Hofmann 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