Debian Codegraph @

debian/patches/debianization-regex.patch

raw
1 use regex functions from glibc
2 --- a/AutoConf/makefile.in
3 +++ b/AutoConf/makefile.in
4 @@ -226,17 +226,12 @@
5 # GNU Regular Expression Library support.
6 # First of all the (sub)directory containing the
7 # necessary files (excluding trailing slash).
8 -#
9 -# This directory is contained in the BibTool distribution.
10 -# I have tried newer versions of this library without
11 -# positive results. (Try it if you don't believe me:-)
12 -#
13 -REGEX_DIR = regex-0.12
14 -#
15 +#
16 +# Debian package uses regex function from glibc:
17
18 -REGEX_DEF = -DREGEX -I$(REGEX_DIR) -I..
19 -
20 -REGEX = regex$(OBJ)
21 +REGEX_DIR =
22 +REGEX_DEF = -DREGEX
23 +REGEX=
24
25 # -------------------------------------------------------
26 # Kpathsea Library support.
27 --- a/configure.ac
28 +++ b/configure.ac
29 @@ -48,9 +48,9 @@
30
31 dnl ---------------------------------------------------------------------------
32 dnl for regexp
33 -AC_AIX
34 -AC_ISC_POSIX
35 -AC_MINIX
36 +dnl AC_AIX
37 +dnl AC_ISC_POSIX
38 +dnl AC_MINIX
39
40 dnl ---------------------------------------------------------------------------
41 dnl Checks for libraries.
42 @@ -141,7 +141,8 @@
43
44 dnl AC_CONFIG_SUBDIRS(BibTcl)
45
46 -AC_CONFIG_HEADER(include/bibtool/config.h:AutoConf/config.h.in regex-0.12/config.h:AutoConf/reconfig.h.in)
47 +AC_CONFIG_HEADER(include/bibtool/config.h:AutoConf/config.h.in)
48 +dnl AC_CONFIG_HEADER(regex-0.12/config.h:AutoConf/reconfig.h.in)
49
50 AC_OUTPUT(makefile:AutoConf/makefile.in)
51 dnl ---------------------------------------------------------------------------