dtksh: specifically test for patch
This commit is contained in:
@@ -347,6 +347,10 @@ AC_CHECK_PROGS(GENCAT, gencat)
|
||||
if test -z "$ac_cv_prog_GENCAT"; then
|
||||
MISSING_PROGS="gencat ${MISSING_PROGS}"
|
||||
fi
|
||||
AC_CHECK_PROGS(PATCH, patch)
|
||||
if test -z "$ac_cv_prog_PATCH"; then
|
||||
MISSING_PROGS="patch ${MISSING_PROGS}"
|
||||
fi
|
||||
|
||||
dnl headers
|
||||
AC_HEADER_STDC
|
||||
|
||||
@@ -61,7 +61,7 @@ dtksh_SOURCES = init.c \
|
||||
init.c:
|
||||
cd ksh93; ./bin/package flat make CCFLAGS='$(SUIDEXECDEFINES) -g -D_std_malloc'
|
||||
cp ./ksh93/src/cmd/ksh93/sh/init.c init.c
|
||||
patch --posix init.c -i init.patch
|
||||
$(PATCH) --posix init.c -i init.patch
|
||||
./setup.sh
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user