]> Dogcows Code - chaz/openbox/commitdiff
guileize
authorDana Jansens <danakj@orodu.net>
Wed, 18 Dec 2002 15:49:41 +0000 (15:49 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 18 Dec 2002 15:49:41 +0000 (15:49 +0000)
configure.ac
src/Makefile.am

index 8152ae63e1a8faa2bd0288abb52480d1ebf93edf..70b66445596f7068274c42787c223b52e4b80795 100644 (file)
@@ -185,6 +185,14 @@ CPPFLAGS=$OLDCPPFLAGS
 AC_SUBST([XFT_CFLAGS])
 AC_SUBST([XFT_LIBS])
 
+dnl Check for Guile
+GUILE_FLAGS
+if ! test "$GUILE_CFLAGS" && ! test "$GUILE_LDFLAGS"; then
+  AC_MSG_ERROR([Openbox requires the Guile language to be installed.
+See http://www.gnu.org/software/guile/ .
+])
+fi
+               
 dnl Check for XShape extension support
 AC_CHECK_LIB([Xext], [XShapeCombineShape],
   AC_MSG_CHECKING([for X11/extensions/shape.h])
@@ -289,4 +297,4 @@ AC_MSG_RESULT([Building with '$CPPFLAGS' for C++ compiler flags.])
 AC_MSG_RESULT([Building with '$LIBS' for linker flags.])
 AC_MSG_RESULT
 AC_MSG_RESULT([configure complete, now type \"make\"])
-AC_MSG_RESULT
\ No newline at end of file
+AC_MSG_RESULT
index 4e5fa83dda5761af2cd5dbe8f941ebb7ca0251a6..0210831a735f605bab2b041325ca696bc8be9b8e 100644 (file)
@@ -2,12 +2,12 @@ localedir=$(datadir)/locale
 DEFAULT_MENU=$(pkgdatadir)/menu
 DEFAULT_STYLE=$(pkgdatadir)/styles/mbdtex
 
-CPPFLAGS=$(XFT_CFLAGS) @CPPFLAGS@ \
+CPPFLAGS=$(XFT_CFLAGS) $(GUILE_CFLAGS) @CPPFLAGS@ \
 -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \
 -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \
 -DLOCALEDIR=\"$(localedir)\"
 
-LIBS=$(XFT_LIBS) @LIBS@
+LIBS=$(XFT_LIBS) $(GUILE_LDFLAGS) @LIBS@
 
 INCLUDES= -I../otk
 
This page took 0.025136 seconds and 4 git commands to generate.