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:
parent
6a62f10047
commit
4836c389f6
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue