diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:54 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:54 +0000 |
commit | 880e9be46811db19b9346f30ba0ea22f63db59c4 (patch) | |
tree | c1d76cb3617cf425a2cc9eac86b224e1e1312115 /configure.in | |
parent | 6f4f200a22304be5352872d6e511f178434ce335 (diff) |
Brought in the GUI
Author: jgg
Date: 1998-07-26 23:11:52 GMT
Brought in the GUI
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 61460e290..a5be451b8 100644 --- a/configure.in +++ b/configure.in @@ -33,8 +33,14 @@ AC_PATH_XTRA AC_SUBST(X11LIB) X11LIB= if test "$no_x" != "yes"; then - X11LIB="-lx11" + X11LIB="-lX11" AC_DEFINE(HAVE_X11) + dnl Checks for Slang + AC_CHECK_LIB(Xpm, XpmLibraryVersion,[AC_DEFINE(HAVE_LIBXPM) XPMLIB="-lXpm"],,$X_LIBS $X_PRE_LIBS $X11LIB $X_EXTRA_LIBS) + AC_SUBST(XPMLIB) + if test "$XPMLIB" != "-lXpm"; then + AC_MSG_ERROR(failed: I need xpm if you are building for X) + fi fi dnl Checks for Slang |