comparison configure.ac @ 31311:02b0fbc627c0

merge of '385542a8270ac30d2121b533494264a28cd04423' and '99c20d86165b24daadeb247977bbb6d4b80b94bf'
author Mark Doliner <mark@kingant.net>
date Mon, 07 Mar 2011 06:43:26 +0000
parents e81c1e7ed278
children 18ca4a90842f
comparison
equal deleted inserted replaced
31310:5fa13ec086e0 31311:02b0fbc627c0
535 dnl # Check for X11 to allow the gestures plugin 535 dnl # Check for X11 to allow the gestures plugin
536 dnl ####################################################################### 536 dnl #######################################################################
537 if test "x$enable_gestures" = "xyes"; then 537 if test "x$enable_gestures" = "xyes"; then
538 if test "x$with_x" = "xno" ; then 538 if test "x$with_x" = "xno" ; then
539 enable_gestures=no 539 enable_gestures=no
540 fi
541 fi
542
543 dnl #######################################################################
544 dnl # Check for startup notification
545 dnl #######################################################################
546 if test "x$enable_startup_notification" = "xyes"; then
547 PKG_CHECK_MODULES(STARTUP_NOTIFICATION, [libstartup-notification-1.0 >= 0.5], , [
548 AC_MSG_RESULT(no)
549 enable_startup_notification="no"
550 if test "x$force_deps" = "xyes" ; then
551 AC_MSG_ERROR([
552 Startup notification development headers not found.
553 Use --disable-startup-notification if you do not need it.
554 ])
555 fi])
556
557 if test "x$enable_startup_notification" = "xyes"; then
558 AC_DEFINE(HAVE_STARTUP_NOTIFICATION, 1, [Define if we're using libstartup-notification.])
559 AC_SUBST(STARTUP_NOTIFICATION_CFLAGS)
560 AC_SUBST(STARTUP_NOTIFICATION_LIBS)
561 fi 540 fi
562 fi 541 fi
563 542
564 dnl ####################################################################### 543 dnl #######################################################################
565 dnl # Check for GtkSpell 544 dnl # Check for GtkSpell