From 05bce260dae5db93c178061d411b46b06e0c5e11 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sat, 23 Jul 2005 15:57:38 +0000 Subject: use the DEP_{CFLAGS,LIBS} that were computed in XCLOCK_{CFLAGS,LIBS} --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d19fa92..db313a2 100644 --- a/configure.ac +++ b/configure.ac @@ -36,8 +36,6 @@ AC_CHECK_FUNCS([strlcpy]) dnl Required dependencies PKG_CHECK_MODULES(XCLOCK_X11, x11) XAW_CHECK_XPRINT_SUPPORT(XAW) -XCLOCK_CFLAGS="$XCLOCK_X11_CFLAGS $XAW_CFLAGS" -XCLOCK_LIBS="$XCLOCK_X11_LIBS $XAW_LIBS" dnl Optional dependencies AC_ARG_WITH(xft, AC_HELP_STRING([--with-xft],[Use Xft2 and Xrender for rendering (Default is YES)]),use_xft="$withval",use_xft="try") @@ -58,6 +56,9 @@ if test x$use_xkb != xno ; then AC_DEFINE([XKB],1,[Define to use XkbStdBell]) fi +XCLOCK_CFLAGS="$XCLOCK_X11_CFLAGS $XAW_CFLAGS $DEP_CFLAGS" +XCLOCK_LIBS="$XCLOCK_X11_LIBS $XAW_LIBS $DEP_LIBS" + AC_SUBST(XCLOCK_CFLAGS) AC_SUBST(XCLOCK_LIBS) -- cgit v1.2.3