Commit a43141a1 authored by Kirk Webb's avatar Kirk Webb

Enable windows support by default now. This ensures exports_setup creates

samba shares.

* rc.mkelab - modify logic s.t. --disable-windows is passed to configure if
  WINSUPPORT is not set.
parent f44cd683
......@@ -32,7 +32,7 @@ ac_help="$ac_help
ac_help="$ac_help
--disable-events Disable events (requires Elvin libraries)"
ac_help="$ac_help
--enable-windows Enable Windows XP support (requires third-party software)"
--enable-windows Enable Windows XP support (default)"
ac_help="$ac_help
--enable-windowsclient Enable Windows XP client support (requires third-party software)"
ac_help="$ac_help
......@@ -1737,16 +1737,16 @@ if test "${enable_windows+set}" = set; then
fi
if test "$enable_windows" = "yes"; then
if test "$enable_windows" = "no"; then
winfiles="";
WINSUPPORT=0;
else
winfiles="os/imagezip/ntfs/GNUmakefile \
os/imagezip/ntfs/liblocale/GNUmakefile \
os/imagezip/ntfs/libntfs/GNUmakefile \
os/imagezip/fat/GNUmakefile"
optional_subdirs="$optional_subdirs";
WINSUPPORT=1;
else
winfiles="";
WINSUPPORT=0;
fi
......
......@@ -540,18 +540,18 @@ AC_SUBST(EVENTSYS)
# Off by default.
#
AC_ARG_ENABLE(windows,
[ --enable-windows Enable Windows XP support (requires third-party software)])
[ --enable-windows Enable Windows XP support (default)])
if test "$enable_windows" = "yes"; then
if test "$enable_windows" = "no"; then
winfiles="";
WINSUPPORT=0;
else
winfiles="os/imagezip/ntfs/GNUmakefile \
os/imagezip/ntfs/liblocale/GNUmakefile \
os/imagezip/ntfs/libntfs/GNUmakefile \
os/imagezip/fat/GNUmakefile"
optional_subdirs="$optional_subdirs";
WINSUPPORT=1;
else
winfiles="";
WINSUPPORT=0;
fi
AC_SUBST(WINSUPPORT)
......
......@@ -417,7 +417,7 @@ sub SetupOpsNode()
mysystem("cd ${TBDIR}/testbed/obj/testbed; ".
" ../../src/testbed/configure ".
" --with-TBDEFS=../../src/testbed/defs-elabinelab ".
($WINSUPPORT ? "--enable-windows" : ""));
($WINSUPPORT ? "" : "--disable-windows"));
#
# Create the ops node.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment