Kaydet (Commit) 9229ada8 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS vcl81 (1.213.4); FILE MERGED

2007/07/30 13:46:18 rene 1.213.4.2: #i80096# no need for HEADLESS anymore
2007/07/24 12:36:22 pl 1.213.4.1: #i79953# use dbus to disable screen saver (thanks cmc)
üst 1b4f77be
...@@ -3,7 +3,7 @@ dnl * vi:set sw=3 ts=3 et: ...@@ -3,7 +3,7 @@ dnl * vi:set sw=3 ts=3 et:
dnl * dnl *
dnl * Name: configure.in dnl * Name: configure.in
dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
dnl * Date: $Date: 2007-07-31 13:09:29 $ dnl * Date: $Date: 2007-08-02 14:58:57 $
dnl * dnl *
dnl * Desc: This file serves as input for the GNU autoconf package dnl * Desc: This file serves as input for the GNU autoconf package
dnl * in order to create a configure script. dnl * in order to create a configure script.
...@@ -12,7 +12,7 @@ dnl * necessary to build OpenOffice.org ...@@ -12,7 +12,7 @@ dnl * necessary to build OpenOffice.org
dnl * dnl *
dnl * dnl *
dnl ******************************************************************/ dnl ******************************************************************/
AC_REVISION( $Revision: 1.214 $ ) AC_REVISION( $Revision: 1.215 $ )
AC_PREREQ(2.50) AC_PREREQ(2.50)
AC_INIT() AC_INIT()
echo "$@" >config.parms echo "$@" >config.parms
...@@ -189,10 +189,6 @@ AC_ARG_ENABLE(gtk, ...@@ -189,10 +189,6 @@ AC_ARG_ENABLE(gtk,
[ --disable-gtk Determines whether to use Gtk+ vclplug on platforms [ --disable-gtk Determines whether to use Gtk+ vclplug on platforms
where Gtk+ is available. where Gtk+ is available.
],,enable_gtk=yes) ],,enable_gtk=yes)
AC_ARG_ENABLE(headless,
[ --disable-headless Determines whether to use headless vclplug on
platforms where Glib is available.
],,enable_headless=yes)
AC_ARG_ENABLE(systray, AC_ARG_ENABLE(systray,
[ --disable-systray Determines whether to build the systray quickstarter. [ --disable-systray Determines whether to build the systray quickstarter.
],,enable_systray=yes) ],,enable_systray=yes)
...@@ -200,6 +196,10 @@ AC_ARG_ENABLE(cairo, ...@@ -200,6 +196,10 @@ AC_ARG_ENABLE(cairo,
[ --enable-cairo Determines whether to use Cairo canvas backend on [ --enable-cairo Determines whether to use Cairo canvas backend on
platforms where Cairo is available. platforms where Cairo is available.
],,enable_cairo=no) ],,enable_cairo=no)
AC_ARG_ENABLE(dbus,
[ --enable-dbus Determines whether to enable presentation mode
screensaver control under GNOME via DBUS
],,enable_dbus=no)
AC_ARG_ENABLE(gnome-vfs, AC_ARG_ENABLE(gnome-vfs,
[ --disable-gnome-vfs Determines whether to use the Gnome Virtual Filing [ --disable-gnome-vfs Determines whether to use the Gnome Virtual Filing
System on platforms where that VFS is available System on platforms where that VFS is available
...@@ -4626,13 +4626,6 @@ if test "x$enable_gtk" = "xyes"; then ...@@ -4626,13 +4626,6 @@ if test "x$enable_gtk" = "xyes"; then
fi fi
AC_SUBST(ENABLE_GTK) AC_SUBST(ENABLE_GTK)
ENABLE_HEADLESS=""
if test "x$enable_headless" = "xyes"; then
ENABLE_HEADLESS="TRUE"
R="$R svp"
fi
AC_SUBST(ENABLE_HEADLESS)
ENABLE_KDE="" ENABLE_KDE=""
if test "x$enable_kde" = "xyes"; then if test "x$enable_kde" = "xyes"; then
ENABLE_KDE="TRUE" ENABLE_KDE="TRUE"
...@@ -4669,6 +4662,7 @@ dnl =================================================================== ...@@ -4669,6 +4662,7 @@ dnl ===================================================================
GTK_CFLAGS="" GTK_CFLAGS=""
GTK_LIBS="" GTK_LIBS=""
ENABLE_SYSTRAY_GTK="" ENABLE_SYSTRAY_GTK=""
ENABLE_DBUS=""
if test "$test_gtk" = "yes"; then if test "$test_gtk" = "yes"; then
if test "$ENABLE_GTK" = "TRUE" ; then if test "$ENABLE_GTK" = "TRUE" ; then
...@@ -4679,13 +4673,19 @@ if test "$test_gtk" = "yes"; then ...@@ -4679,13 +4673,19 @@ if test "$test_gtk" = "yes"; then
ENABLE_SYSTRAY_GTK="TRUE" ENABLE_SYSTRAY_GTK="TRUE"
BUILD_TYPE="$BUILD_TYPE SYSTRAY_GTK" BUILD_TYPE="$BUILD_TYPE SYSTRAY_GTK"
fi fi
fi
if test "$ENABLE_HEADLESS" = "TRUE" ; then AC_MSG_CHECKING([whether to enable DBUS support])
PKG_CHECK_MODULES(GLIB, glib-2.0 ,,AC_MSG_ERROR([requirements to build the headless-plugin not met. Use --disable-headless or install the missing packages])) if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_dbus" = "yes"; then
ENABLE_DBUS="TRUE"
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES( DBUS, dbus-glib-1 >= 0.70 )
else
AC_MSG_RESULT([no])
fi
fi fi
fi fi
AC_SUBST(ENABLE_DBUS)
AC_SUBST(ENABLE_SYSTRAY_GTK) AC_SUBST(ENABLE_SYSTRAY_GTK)
AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS) AC_SUBST(GTK_LIBS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment