# HG changeset patch # User Kenichi Handa # Date 1115813802 0 # Node ID 60394801794ef8f5f290521fca4008441e15aa8a # Parent 098f05ddcc6474b0ea70abaf1114e14c8eaf040d While running cpp on junk.c, include -DHAVE_UNIDATA in CPPFLAGS if admin/unidata/UnicodeData.txt exists. diff -r 098f05ddcc64 -r 60394801794e configure.in --- 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