guileize
This commit is contained in:
parent
104ccc5786
commit
f4e2fc3274
2 changed files with 11 additions and 3 deletions
10
configure.ac
10
configure.ac
|
@ -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
|
||||
AC_MSG_RESULT
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue