[balsa] Allow configure --enable-touch-ui=no and --disable-touch-ui
- From: Peter Bloomfield <PeterB src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [balsa] Allow configure --enable-touch-ui=no and --disable-touch-ui
- Date: Fri, 1 Jan 2010 15:52:06 +0000 (UTC)
commit a8d010ac429b145eff6c75f6be904686a5df2a91
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Fri Jan 1 10:51:59 2010 -0500
Allow configure --enable-touch-ui=no and --disable-touch-ui
ChangeLog | 5 +++++
configure.in | 17 ++++++++++++++---
2 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 955b03f..0a9301d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-01 Peter Bloomfield
+
+ * configure.in: Allow configure --enable-touch-ui=no and
+ --disable-touch-ui.
+
2010-01-01 Pawel Salek
* libbalsa/send.c: Fix bug 605807.
diff --git a/configure.in b/configure.in
index d8bd8d1..8789b61 100644
--- a/configure.in
+++ b/configure.in
@@ -209,9 +209,9 @@ dnl Enable touchscreen optimized UI?
dnl ##########################################################################
AC_ARG_ENABLE(touch-ui,
- AC_HELP_STRING([--enable-touch-ui],
- [Enable Touchscreen UI mode (default=no)]),
- [AC_DEFINE(ENABLE_TOUCH_UI,1,[Defined when touchscreen optimized UI is to be enabled.])])
+ AC_HELP_STRING([--enable-touch-ui],
+ [Enable Touchscreen UI mode (default=no)]),
+ [enable_touch_ui="$enableval"],[enable_touch_ui=no])
dnl #####################################################################
dnl 3. Programs: compilers and their options.
@@ -821,6 +821,16 @@ else
AC_MSG_RESULT([no])
fi
+# Touch UI configuration
+#
+AC_MSG_CHECKING([whether to configure for Touch UI])
+if test x$enable_touch_ui != xno; then
+ AC_DEFINE(ENABLE_TOUCH_UI,1,[Defined when touchscreen optimized UI is to be enabled.])
+ AC_MSG_RESULT([yes])
+else
+ AC_MSG_RESULT([no])
+fi
+
dnl #####################################################################
dnl 5. Headers.
dnl #####################################################################
@@ -1017,6 +1027,7 @@ echo " Use Libnotify: $with_libnotify"
echo " Use GtkSourceView: $with_gtksourceview"
echo " Use Compface: $with_compface"
echo " Install extra MIME icons: $install_mimeicons"
+echo " Configure for Touch UI: $enable_touch_ui"
dnl echo " Use SASL: $need_sasl"
echo ""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]