diff options
| author | Kenichi Handa | 2005-05-11 12:16:42 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2005-05-11 12:16:42 +0000 |
| commit | a9b84515eda652c1c28664e6466ecb25cc7a9600 (patch) | |
| tree | c29530d29d2b0564b1ff727d85ec5ae16270ba9a | |
| parent | 4c452d71b683d94c6f989a7dab957eab943f2b12 (diff) | |
| download | emacs-a9b84515eda652c1c28664e6466ecb25cc7a9600.tar.gz emacs-a9b84515eda652c1c28664e6466ecb25cc7a9600.zip | |
While running cpp on junk.c, include
-DHAVE_UNIDATA in CPPFLAGS if admin/unidata/UnicodeData.txt
exists.
| -rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index e384ed68b5d..136cd510307 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -3179,6 +3179,9 @@ echo creating src/Makefile | |||
| 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 |