Mercurial > emacs
comparison configure.in @ 90168:60394801794e
While running cpp on junk.c, include
-DHAVE_UNIDATA in CPPFLAGS if admin/unidata/UnicodeData.txt
exists.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 11 May 2005 12:16:42 +0000 |
parents | 08185296b491 |
children | f042e7c0fe20 |
comparison
equal
deleted
inserted
replaced
90167:098f05ddcc64 | 90168:60394801794e |
---|---|
3177 sed -e '/start of cpp stuff/q' \ | 3177 sed -e '/start of cpp stuff/q' \ |
3178 < Makefile.c > junk1.c | 3178 < Makefile.c > junk1.c |
3179 sed -e '1,/start of cpp stuff/d'\ | 3179 sed -e '1,/start of cpp stuff/d'\ |
3180 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \ | 3180 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \ |
3181 < Makefile.c > junk.c | 3181 < Makefile.c > junk.c |
3182 if test -f ${srcdir}/admin/unidata/UnicodeData.txt; then | |
3183 CPPFLAGS="$CPPFLAGS -DHAVE_UNIDATA" | |
3184 fi | |
3182 $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ | 3185 $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ |
3183 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c | 3186 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c |
3184 cat junk1.c junk2.c > Makefile.new | 3187 cat junk1.c junk2.c > Makefile.new |
3185 rm -f junk.c junk1.c junk2.c | 3188 rm -f junk.c junk1.c junk2.c |
3186 chmod 444 Makefile.new | 3189 chmod 444 Makefile.new |