xfs does not have connection with Wraphelp.c

This commit is contained in:
FUJISHIMA Satsuki 2002-01-06 20:33:54 +00:00
parent c715d3c12b
commit eea213ffdb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52665

View File

@ -58,28 +58,7 @@ configure () {
echo "#define InstallFSConfig $InstallFSConfig" >> $LOCALDEF
echo "#define FreeBSDBuildXfs YES" >> $LOCALDEF
# Check Wraphelp.c
WH=$WRKDIR/xc/lib/Xdmcp/Wraphelp.c
cpwh=NO
if [ -f $WH ] ; then
cpwh=SOURCE
elif [ -f $DISTDIR/xc/Wraphelp.c ] ; then
cpwh=$DISTDIR/xc/Wraphelp.c
else
echo "==> Warnning: Wraphelp.c not found, DES support NOT enabled."
fi
if [ X$cpwh != XNO -a X$cpwh != XSOURCE ]; then
tr -d '\r' < $cpwh > $WH
fi
# Copy ORIGDEF to DESTDEF
rm -f $DESTDEF
if [ $cpwh = NO ] ; then
grep -v '#define.*HasXdmAuth' $ORIGDEF >> $DESTDEF
echo "#define HasXdmAuth NO" >> $DESTDEF
else
cp -f $ORIGDEF $DESTDEF
fi
cp -f $ORIGDEF $DESTDEF
# copy generated config to host.def
cp -f $LOCALDEF $HOSTDEF