mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 11:49:01 +00:00
70 lines
2.5 KiB
Plaintext
70 lines
2.5 KiB
Plaintext
This directory conains a version of LibPCRE 4.3 that has been stripped
|
|
down to under half its original uncompressed size. So if you want
|
|
docs, tests and such, you should go to the PCRE website at
|
|
http://www.pcre.org . Here are the changes for the Nmap version:
|
|
|
|
o rm -rf doc testdata pcretest.c pcregrep.c pcredemo.c ChangeLog
|
|
|
|
o Renamed configure.in to configure.ac
|
|
|
|
o Removed RunGrepTest.in, Runtest.in
|
|
|
|
o Removed pcretest and pcregrep from the Makefile.in all target:
|
|
|
|
--- Makefile.in.old Sun Jul 20 23:00:56 2003
|
|
+++ Makefile.in Sun Jul 20 23:01:13 2003
|
|
@@ -103,7 +103,7 @@
|
|
OBJ = maketables.@OBJEXT@ get.@OBJEXT@ study.@OBJEXT@ pcre.@OBJEXT@ @POSIX_OBJ@
|
|
LOBJ = maketables.lo get.lo study.lo pcre.lo @POSIX_LOBJ@
|
|
|
|
-all: libpcre.la @POSIX_LIB@ pcretest@EXEEXT@ pcregrep@EXEEXT@ @ON_WINDOWS@ winshared
|
|
+all: libpcre.la @POSIX_LIB@ @ON_WINDOWS@ winshared
|
|
|
|
pcregrep@EXEEXT@: libpcre.la pcregrep.@OBJEXT@ @ON_WINDOWS@ winshared
|
|
$(LINK) -o pcregrep@EXEEXT@ pcregrep.@OBJEXT@ -lpcre
|
|
|
|
o Stripped down Makefile and configure.ac substantially to remove
|
|
libtool dependency (was having trouble on Mac OS X), remove Windows
|
|
stuff (Nmap uses a custom MS VC project for this), and insure it only
|
|
worries about building libpcre.a (which is now build in the libpcre
|
|
directory rather than in libpcre/.libs ).
|
|
|
|
o removed libpcre.pc.in
|
|
|
|
o Regenerated configure script by running 'aclocal; autoconf'
|
|
|
|
o Get rid of C++ wrapper, which included this step:
|
|
rm -f pcrecpp.cc pcrecpp_unittest.cc pcre_scanner.cc pcre_scanner_unittest.cc pcre_stringpiece.cc pcre_stringpiece_unittest.cc pcrecpp.h pcrecpp.h.in pcre_scanner.h pcre_stringpiece.h pcre_stringpiece.h.in
|
|
|
|
o Removed COPYING file as there is already a LICENSE file with exactly
|
|
the same contents.
|
|
|
|
o Removed pcre_ucp_findchar.c and ucptable.c
|
|
|
|
o Added this NMAP_MODIFICATIONS file
|
|
|
|
o Remove some junk that deals with dynamic linking of pcre:
|
|
--- pcre.h (revision 2947)
|
|
+++ pcre.h (working copy)
|
|
@@ -47,19 +47,8 @@
|
|
#define PCRE_DATE 15-Aug-2005
|
|
|
|
/* Win32 uses DLL by default; it needs special stuff for exported functions. */
|
|
+/* Removed some defines here as I always compile staticly */
|
|
|
|
-#ifdef _WIN32
|
|
-# ifdef PCRE_DEFINITION
|
|
-# ifdef DLL_EXPORT
|
|
-# define PCRE_DATA_SCOPE __declspec(dllexport)
|
|
-# endif
|
|
-# else
|
|
-# ifndef PCRE_STATIC
|
|
-# define PCRE_DATA_SCOPE extern __declspec(dllimport)
|
|
-# endif
|
|
-# endif
|
|
-#endif
|
|
-
|
|
/* For other operating systems, we use the standard "extern". */
|
|
|
|
#ifndef PCRE_DATA_SCOPE
|