1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtksh: specifically test for patch

This commit is contained in:
Chase 2021-01-31 11:12:30 -06:00 committed by Jon Trulson
parent 6a62f10047
commit 4836c389f6
2 changed files with 5 additions and 1 deletions

View file

@ -347,6 +347,10 @@ AC_CHECK_PROGS(GENCAT, gencat)
if test -z "$ac_cv_prog_GENCAT"; then if test -z "$ac_cv_prog_GENCAT"; then
MISSING_PROGS="gencat ${MISSING_PROGS}" MISSING_PROGS="gencat ${MISSING_PROGS}"
fi fi
AC_CHECK_PROGS(PATCH, patch)
if test -z "$ac_cv_prog_PATCH"; then
MISSING_PROGS="patch ${MISSING_PROGS}"
fi
dnl headers dnl headers
AC_HEADER_STDC AC_HEADER_STDC

View file

@ -61,7 +61,7 @@ dtksh_SOURCES = init.c \
init.c: init.c:
cd ksh93; ./bin/package flat make CCFLAGS='$(SUIDEXECDEFINES) -g -D_std_malloc' cd ksh93; ./bin/package flat make CCFLAGS='$(SUIDEXECDEFINES) -g -D_std_malloc'
cp ./ksh93/src/cmd/ksh93/sh/init.c init.c 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 ./setup.sh