2007-09-05 Marek Safar <marek.safar@gmail.com>
[mono.git] / eglib / configure.ac
index 97bda04e122c6ce98fe929a92a064a308c35934f..d3919e3003aeed771ac080bafd2759123bfa27b9 100644 (file)
@@ -44,11 +44,14 @@ esac
 AC_SUBST(PATHSEP)
 AC_SUBST(SEARCHSEP)
 AC_SUBST(OS)
+AM_CONDITIONAL(PLATFORM_WIN32, test x$OS = xWIN32)
 
 AC_CHECK_SIZEOF(int)
 AC_CHECK_SIZEOF(void *)
 AC_CHECK_FUNCS(strlcpy)
 
+AC_CHECK_HEADERS(getopt.h sys/time.h sys/wait.h pwd.h)
+
 if test $ac_cv_sizeof_void_p != $ac_cv_sizeof_int; then
    GPOINTER_TO_INT="((gint)(long) (ptr))"
    GPOINTER_TO_UINT="((guint)(long) (ptr))"