changeset 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 098f05ddcc64
children 2502e55a3570
files configure.in
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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