Import sendmail 8.13.6
[dragonfly.git] / contrib / sendmail-8.13.6 / cf / cf / Build
1 #!/bin/sh
2
3 # Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
4 #       All rights reserved.
5 #
6 # By using this file, you agree to the terms and conditions set
7 # forth in the LICENSE file which can be found at the top level of
8 # the sendmail distribution.
9 #
10 #
11 #       $Id: Build,v 8.7 1999/03/02 02:37:12 peterh Exp $
12 #
13
14 #
15 #  A quick-and-dirty script to create cf files.
16 #
17
18 SMROOT=${SMROOT-../..}
19 BUILDTOOLS=${BUILDTOOLS-$SMROOT/devtools}
20
21 M4=`sh $BUILDTOOLS/bin/find_m4.sh`
22 ret=$?
23 if [ $ret -ne 0 ]
24 then
25         exit $ret
26 fi
27 echo "Using M4=$M4"
28
29 eval exec ${MAKE-make} M4=$M4 $*