diff options
author | reinelt <> | 2005-06-10 11:22:28 +0000 |
---|---|---|
committer | reinelt <> | 2005-06-10 11:22:28 +0000 |
commit | f1f82751d1ff30a7841eb625a7ad82cfc3aa7bc1 (patch) | |
tree | 36abaeb726aab9cc4794a5f8c4aa0f75225c85b1 /configure.in | |
parent | fe4b27a11c1c78275cf67ba27dcad12c1098e413 (diff) | |
download | lcd4linux-f1f82751d1ff30a7841eb625a7ad82cfc3aa7bc1.tar.gz |
[lcd4linux @ 2005-06-10 11:22:28 by reinelt]
double-check for X11 headers (AC_PATH_XTRA is buggy)
Diffstat (limited to '')
-rw-r--r-- | configure.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 270b71e..bfdaf0c 100644 --- a/configure.in +++ b/configure.in @@ -47,9 +47,17 @@ AC_CHECK_CURSES # Checks for X11 AC_PATH_XTRA +# double-check for X11 +if test "$no_x" != "yes"; then + AC_CHECK_HEADERS(X11/Xlib.h X11/Xutil.h, [no_x="$no_x"], [no_x="yes"]) + if test "$no_x" = "yes"; then + AC_MSG_WARN([configure thinks X11 is available while it is *not*]) + AC_MSG_WARN([maybe someone wants to fix autoconf's AC PATH XTRA]) + fi +fi # check for gd.h -AC_CHECK_HEADERS(gd/gd.h gd.h, [has_gd="true";break], [has_gd="false"]) +AC_CHECK_HEADERS(gd/gd.h gd.h, [has_gd="true"; break], [has_gd="false"]) # check for usb.h AC_CHECK_HEADERS(usb.h, [has_usb="true"], [has_usb="false"]) |