disable networking on mac/win for now
authorBradley Bell <btb@icculus.org>
Fri, 14 Feb 2003 03:44:05 +0000 (03:44 +0000)
committerBradley Bell <btb@icculus.org>
Fri, 14 Feb 2003 03:44:05 +0000 (03:44 +0000)
configure.ac

index 15de539..1e38747 100644 (file)
@@ -236,6 +236,16 @@ fi
 dnl Check for network
 AC_ARG_ENABLE(network,
     [  --disable-network       Do not build network/serial support ],,)
+if test x$enable_network != xno; then
+       if test x$MACOSX = xyes; then
+               AC_MSG_WARN([OS X detected.  disabling network])
+               enable_network="no";
+       fi
+       if test x$MINGW32 = xyes; then
+               AC_MSG_WARN([MINGW detected.  disabling network])
+               enable_network="no";
+       fi
+fi
 if test x$enable_network != xno; then
     AC_DEFINE(NETWORK,,[Define if you want a network build])
     D2X_FEATURES="network ${D2X_FEATURES}"