OSSP CVS Repository

ossp - Difference in ossp-pkg/js/configure.ac versions 1.15 and 1.16
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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],

CVSTrac 2.0.1