2 # gendef filename var=val var=val ...
4 # This script is used to generate src/include/defs.h
18 # Use $TMPDIR if defined. Default to cwd, for non-Unix systems
19 # which don't have /tmp on each drive (we are going to remove
20 # the file before we exit anyway). Put the PID in the basename,
21 # since the extension can only hold 3 characters on MS-DOS.
22 t
=${TMPDIR-.}/gro$$.tmp
24 sed -e 's/=/ /' >$t <<EOF
28 test -r $file && cmp -s $t $file ||
cp $t $file