make lib/configure handle zsh gracefully (bug 977)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7206 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-06-24 10:08:00 +00:00
parent 5c17c617f7
commit d20f85740a
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* configure.m4: add some code to workaround zsh incompatibilities
(bug 977)
2003-04-15 Rod Pinna <rodney.pinna@uwa.edu.au>
* layouts/elsart.layout: added "Proof" environment

View File

@ -94,6 +94,16 @@ changequote(,)dnl
dnl ######### End M4 macros #############################################
# Be Bourne compatible (taken from autoconf 2.53)
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
set -o posix
fi
####some configuration variables
outfile=lyxrc.defaults
rc_entries=