[nanny] Add win32 flag to configure



commit 5a836634f8bd5941446d3d6801f1928a47d03eaf
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]