summaryrefslogtreecommitdiff
path: root/regex
diff options
context:
space:
mode:
Diffstat (limited to 'regex')
-rw-r--r--regex/.cvsignore5
-rw-r--r--[-rwxr-xr-x]regex/CMakeLists.txt7
-rw-r--r--regex/Makefile.am3
-rwxr-xr-xregex/make-ccc3
-rw-r--r--regex/regex2.h4
5 files changed, 2 insertions, 20 deletions
diff --git a/regex/.cvsignore b/regex/.cvsignore
deleted file mode 100644
index a9cd65d8ba0..00000000000
--- a/regex/.cvsignore
+++ /dev/null
@@ -1,5 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-re
diff --git a/regex/CMakeLists.txt b/regex/CMakeLists.txt
index 2e3b18c7bb0..02132eefaad 100755..100644
--- a/regex/CMakeLists.txt
+++ b/regex/CMakeLists.txt
@@ -13,13 +13,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG -DSAFEMALLOC -DSAFE_MUTEX")
-SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -DSAFEMALLOC -DSAFE_MUTEX")
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
SET(REGEX_SOURCES regcomp.c regerror.c regexec.c regfree.c reginit.c)
-
-IF(NOT SOURCE_SUBLIBS)
- ADD_LIBRARY(regex ${REGEX_SOURCES})
-ENDIF(NOT SOURCE_SUBLIBS)
+ADD_CONVENIENCE_LIBRARY(regex ${REGEX_SOURCES})
diff --git a/regex/Makefile.am b/regex/Makefile.am
index e2304ff7309..0fd62a777f6 100644
--- a/regex/Makefile.am
+++ b/regex/Makefile.am
@@ -31,6 +31,3 @@ test: re tests
./re < tests
./re -el < tests
./re -er < tests
-
-# Don't update the files from bitkeeper
-%::SCCS/s.%
diff --git a/regex/make-ccc b/regex/make-ccc
deleted file mode 100755
index 561c5a9bddc..00000000000
--- a/regex/make-ccc
+++ /dev/null
@@ -1,3 +0,0 @@
-ccc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -O -DDBUG_OFF -fast -O3 -c regerror.c regcomp.c regexec.c regfree.c reginit.c
-rm libregex.a
-ar -cr libregex.a regerror.o
diff --git a/regex/regex2.h b/regex/regex2.h
index bba54ea2054..2ab32c62da8 100644
--- a/regex/regex2.h
+++ b/regex/regex2.h
@@ -83,9 +83,7 @@ typedef long sopno;
* a string of multi-character elements, and decide the size of the
* vectors at run time.
*/
-#ifdef __WIN__
-typedef unsigned char uch ;
-#endif
+
typedef struct {
uch *ptr; /* -> uch [csetsize] */