[nanny/win32: 2/75] Add win32 flag to configure
- From: Roberto Majadas <telemaco src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nanny/win32: 2/75] Add win32 flag to configure
- Date: Tue, 2 Nov 2010 18:51:07 +0000 (UTC)
commit 2d46c6ef6eeac93a07cf85b9b73ac9316a3f3f10
Author: Roberto Majadas <roberto majadas openshine com>
Date: Tue Sep 14 13:00:15 2010 +0200
Add win32 flag to configure
configure.ac | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ee1f5ab..1ab0c75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,11 @@ AC_ARG_WITH(init-scripts,
[ --with-init-scripts=[redhat/debian/suse/mandriva/None] Install init.d scripts [default=None]],,
with_init_scripts=None)
+AC_ARG_ENABLE([win32],
+ AS_HELP_STRING([--enable-win32],[Enable support for win32 (default: disabled)]),
+ [enable_win32=$enableval],
+ [enable_win32=no])
+
GNOME_DOC_INIT
dnl check for python
@@ -160,6 +165,20 @@ else
AC_MSG_ERROR([You need to have python-gtop installed])
fi
+dnl OS support
+dnl --------------------------------------------
+
+AC_MSG_CHECKING(Win32 support)
+if test x$enable_win32 = xyes ; then
+ AC_MSG_RESULT(enabled)
+else
+ AC_MSG_RESULT(disabled)
+fi
+
+AM_CONDITIONAL(NANNY_WIN32_SUPPORT, test x$enable_win32 = xyes)
+AM_CONDITIONAL(NANNY_POSIX_SUPPORT, test x$enable_win32 = xno)
+
+
dnl checking operative system
dnl --------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]