diff options
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | b4light.c | 6 | ||||
-rw-r--r-- | configure.ac | 1 |
3 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index a9b3d63..cf7459f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,7 +23,7 @@ SUBDIRS = man bin_PROGRAMS = beforelight -AM_CFLAGS = $(BEFORELIGHT_CFLAGS) $(XAW_CFLAGS) $(CWARNFLAGS) +AM_CFLAGS = $(BEFORELIGHT_CFLAGS) $(CWARNFLAGS) beforelight_LDADD = $(BEFORELIGHT_LIBS) beforelight_SOURCES = \ @@ -34,13 +34,17 @@ in this Software without prior written authorization from the X Consortium. #include <X11/Shell.h> #ifdef NOTDEF #include <X11/Xaw/Label.h> -#endif #include <X11/Xaw/Cardinals.h> +#endif #include <X11/extensions/scrnsaver.h> #include <X11/Xcms.h> #include <stdlib.h> #include <time.h> +#ifndef ZERO +# define ZERO ((Cardinal)0) +#endif + #ifdef NOTDEF static void quit (Widget w, XEvent *event, String *params, Cardinal *num_params); diff --git a/configure.ac b/configure.ac index 6276ff6..269f9eb 100644 --- a/configure.ac +++ b/configure.ac @@ -38,7 +38,6 @@ AC_CONFIG_HEADERS([config.h]) # Checks for pkg-config packages PKG_CHECK_MODULES(BEFORELIGHT, x11 xscrnsaver xt) -PKG_CHECK_MODULES(XAW, xaw7) PKG_CHECK_MODULES(APPDEFS, xt) xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` |