summaryrefslogtreecommitdiffstats
path: root/regexp/Makefile.am
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2020-04-15 07:10:08 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2020-04-15 07:10:08 +0200
commit50b320952e99ea20f9b77c6c501280fe37fd2598 (patch)
tree0215ee4665cba0a2b8853583fa978def9862eebd /regexp/Makefile.am
parentsm: Support rsaPSS verification also for CMS signatures. (diff)
downloadgnupg2-50b320952e99ea20f9b77c6c501280fe37fd2598.tar.xz
gnupg2-50b320952e99ea20f9b77c6c501280fe37fd2598.zip
regexp: Fix generation of _unicode_mapping.c.
* configure.ac (AWK_HEX_NUMBER_OPTION): Detect GNU Awk. * regexp/Makefile.am: Use AWK_HEX_NUMBER_OPTION. * regexp/parse-unidata.awk: Don't use strtonum. GnuPG-bug-id: 4915 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'regexp/Makefile.am')
-rw-r--r--regexp/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/regexp/Makefile.am b/regexp/Makefile.am
index a4e9fce0b..307aacf9d 100644
--- a/regexp/Makefile.am
+++ b/regexp/Makefile.am
@@ -34,5 +34,6 @@ BUILT_SOURCES = _unicode_mapping.c
MAINTAINERCLEANFILES = _unicode_mapping.c
_unicode_mapping.c: parse-unidata.awk UnicodeData.txt
- $(AWK) -f $(srcdir)/parse-unidata.awk $(srcdir)/UnicodeData.txt >$@
+ $(AWK) $(AWK_HEX_NUMBER_OPTION) -f $(srcdir)/parse-unidata.awk \
+ $(srcdir)/UnicodeData.txt >$@
endif