Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/configure.in Tue May 10 02:35:10 2005 +0000 +++ b/configure.in Wed May 11 12:16:42 2005 +0000 @@ -3179,6 +3179,9 @@ sed -e '1,/start of cpp stuff/d'\ -e 's,/\*\*/#\(.*\)$,/* \1 */,' \ < Makefile.c > junk.c + if test -f ${srcdir}/admin/unidata/UnicodeData.txt; then + CPPFLAGS="$CPPFLAGS -DHAVE_UNIDATA" + fi $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c cat junk1.c junk2.c > Makefile.new