Buglet #1: fix the line endings (Win32->Unix) on the *correct* version of configure.ac...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10274 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-07-17 11:43:33 +00:00
parent f7fcd023fd
commit 8a989fdc68

View File

@ -242,12 +242,13 @@ build_lyx()
# Check the line endings of configure.ac
# The configure script will be unable to create config.h if it
# contains Win32-style line endings.
rm -f ${LYX_DIR}/configure.ac
sed 's/
$//' ${LYX_DIR}/configure.ac > configure.ac.$$
cmp -s ${LYX_DIR}/configure.ac configure.ac.$$ && {
$//' ${LYX_DIR}/config/configure.ac > configure.ac.$$
cmp -s ${LYX_DIR}/config/configure.ac configure.ac.$$ && {
rm -f configure.ac.$$
} || {
mv -f configure.ac.$$ ${LYX_DIR}/configure.ac
mv -f configure.ac.$$ ${LYX_DIR}/config/configure.ac
echo 'configure.ac has Win32-style line endings. Corrected' >&2
}