AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
-AC_ARG_ENABLE(pango,
- AC_HELP_STRING(
- [--disable-pango],
- [disable the pango library [[default=enabled]]]
- ),
- [enable_pango=$enableval],
- [enable_pango=yes]
-)
-
-if test "$enable_pango" = yes; then
-PKG_CHECK_MODULES([PANGO], [pango pangoxft],
- [
- AC_DEFINE(USE_PANGO, [1], [Use Pango])
- AC_SUBST(PANGO_CFLAGS)
- AC_SUBST(PANGO_LIBS)
- pango_found=yes
- ],
- pango_found=no
-)
-else
- pango_found=no
-fi
-
-PKG_CHECK_MODULES(XFT, [xft])
-AC_SUBST(XFT_CFLAGS)
-AC_SUBST(XFT_LIBS)
+PKG_CHECK_MODULES(PANGO, [pango pangoxft])
+AC_SUBST(PANGO_CFLAGS)
+AC_SUBST(PANGO_LIBS)
PKG_CHECK_MODULES(XML, [libxml-2.0])
AC_SUBST(XML_CFLAGS)
AC_ARG_ENABLE(startup-notification,
AC_HELP_STRING(
[--enable-startup-notification],
- [enable the startup notification library. [[default=disabled]]]
+ [enable the startup notification library. [[default=enabled]]]
),
[enable_sn=$enableval],
- [enable_sn=no]
+ [enable_sn=yes]
)
if test "$enable_sn" = yes; then
AC_MSG_RESULT
AC_MSG_RESULT([Compiling with these options:
- Pango... $pango_found
Startup Notification... $sn_found
Session Management... $SM
])