summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-04-27 14:29:58 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-04-28 10:02:25 +0200
commit2d3466412be3fb215ddedcf845abbdaf7386adcb (patch)
treeb1228fb38d709b6a49ce1d5a8671af70cece0bb3 /configure.in
parent8643fce95bb7098e065b7ea18bf409dceba2b5e9 (diff)
add --enable-lomenubar switch to configure
Diffstat (limited to 'configure.in')
-rwxr-xr-xconfigure.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 8624333bf..c1c74a5e6 100755
--- a/configure.in
+++ b/configure.in
@@ -472,6 +472,11 @@ AC_ARG_ENABLE(extra-font,
[Add extra font content.]),
,)
+AC_ARG_ENABLE(lomenubar,
+ AS_HELP_STRING([--enable-lomenubar],
+ [Enable global menu support.]),
+,)
+
dnl ===================================================================
dnl Optional Packages (--with/without-)
dnl ===================================================================
@@ -7449,6 +7454,19 @@ AC_SUBST(WITH_EXTRA_FONT)
AC_SUBST(OOOP_FONTS_PACK)
dnl ===================================================================
+dnl Test whether to build global menu support
+dnl ===================================================================
+AC_MSG_CHECKING([whether to build global menu support])
+if test "z$enable_lomenubar" = "z" -o "z$enable_lomenubar" = "zno" ; then
+ AC_MSG_RESULT([no])
+ ENABLE_LOMENUBAR="FALSE"
+else
+ AC_MSG_RESULT([yes])
+ ENABLE_LOMENUBAR="TRUE"
+fi
+AC_SUBST(ENABLE_LOMENUBAR)
+
+dnl ===================================================================
dnl Test whether to enable ActiveX embedding
dnl ===================================================================
if test "$_os" = "WINNT"; then