ossp-pkg/js/configure.ac 1.15 -> 1.16
--- configure.ac 2006/07/29 09:08:15 1.15
+++ configure.ac 2006/07/30 08:00:44 1.16
@@ -47,7 +47,12 @@
AC_CHECK_MEMBERS([struct stat.st_birthtime, struct stat.st_birthtimensec],,, [#include <sys/stat.h>])
-CPPFLAGS="$CPPFLAGS -DOSSP -DXP_UNIX -DEXPORT_JS_API"
+CPPFLAGS="$CPPFLAGS -DOSSP"
+case "${host}" in
+ *mingw* | *windows* | *winnt* ) CPPFLAGS="$CPPFLAGS -DXP_WIN" ;;
+ * ) CPPFLAGS="$CPPFLAGS -DXP_UNIX" ;;
+esac
+CPPFLAGS="$CPPFLAGS -DEXPORT_JS_API"
dnl # configure option --with-version
AC_ARG_WITH([version],
|
|