# Note: Makefile is built automatically from Makefile.in
#
-# $Id: GNUmakefile.in,v 1.54 2002/04/03 14:54:07 oes Exp $
+# $Id: GNUmakefile.in,v 1.55 2002/04/03 19:54:29 swa Exp $
#
# Written by and Copyright (C) 2001 the SourceForge
# Privoxy team. http://www.privoxy.org/
# No REGEX (Either because dynamically linked pcreposix, or no regex at all):
REGEX_SRC =
-# GNU REGEX:
-@GNU_REGEX_ONLY@REGEX_SRC = gnu_regex.c
# PCRE REGEX:
@PCRE_REGEX_ONLY@@STATIC_PCRE_ONLY@REGEX_SRC = pcre/pcreposix.c
## end:
# $Log: GNUmakefile.in,v $
+# Revision 1.55 2002/04/03 19:54:29 swa
+# freebsd tested to work. attempt to move tarball dist target forward
+#
# Revision 1.54 2002/04/03 14:54:07 oes
# Standard clean and clobber semantics II
#
*
* Revisions :
* $Log: acconfig.h,v $
+ * Revision 1.22 2002/03/26 22:29:54 swa
+ * we have a new homepage!
+ *
* Revision 1.21 2002/03/24 14:31:08 swa
* remove more crappy files. set RPM
* release version correctly.
* If neither of these are defined then you can ony use prefix matching.
* Don't bother to change this here! Use configure instead.
*/
-#undef REGEX_GNU
#undef REGEX_PCRE
/*
-const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.23 2002/03/26 22:29:54 swa Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.24 2002/04/02 16:12:47 oes Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
*
* Revisions :
* $Log: cgisimple.c,v $
+ * Revision 1.24 2002/04/02 16:12:47 oes
+ * Fix: moving misplaced lines into #ifdef FEATURE_FORCE
+ *
* Revision 1.23 2002/03/26 22:29:54 swa
* we have a new homepage!
*
if (!err) err = map_conditional(exports, "FEATURE_TRUST", 0);
#endif /* ndef FEATURE_TRUST */
-#ifdef REGEX_GNU
- if (!err) err = map_conditional(exports, "REGEX_GNU", 1);
-#else /* ifndef REGEX_GNU */
- if (!err) err = map_conditional(exports, "REGEX_GNU", 0);
-#endif /* def REGEX_GNU */
-
#ifdef REGEX_PCRE
if (!err) err = map_conditional(exports, "REGEX_PCRE", 1);
#else /* ifndef REGEX_PCRE */
SHOW_RCS(filters_rcs)
SHOW_RCS(gateway_h_rcs)
SHOW_RCS(gateway_rcs)
-#ifdef GNU_REGEX
- SHOW_RCS(gnu_regex_h_rcs)
- SHOW_RCS(gnu_regex_rcs)
-#endif /* def GNU_REGEX */
SHOW_RCS(jbsockets_h_rcs)
SHOW_RCS(jbsockets_rcs)
SHOW_RCS(jcc_h_rcs)
*
* Revisions :
* $Log: config.h.win,v $
+ * Revision 1.19 2002/03/26 22:29:54 swa
+ * we have a new homepage!
+ *
* Revision 1.18 2002/03/24 17:08:12 jongfoster
* Version number bump
*
* If neither of these are defined then you can ony use prefix matching.
* Don't bother to change this here! Use configure instead.
*/
-/* #define REGEX_GNU 1 */
#define REGEX_PCRE 1
/*
dnl Process this file with autoconf to produce a configure script.
dnl
-dnl $Id: configure.in,v 1.54 2002/04/01 00:54:24 gliptak Exp $
+dnl $Id: configure.in,v 1.55 2002/04/03 03:54:38 gliptak Exp $
dnl
dnl Written by and Copyright (C) 2001, 2002 the SourceForge
dnl Privoxy team. http://www.privoxy.org/
dnl Temple Place - Suite 330, Boston, MA 02111-1307, USA.
dnl
dnl $Log: configure.in,v $
+dnl Revision 1.55 2002/04/03 03:54:38 gliptak
+dnl Checking pcre version
+dnl
dnl Revision 1.54 2002/04/01 00:54:24 gliptak
dnl More changes needed around regex support.
dnl
dnl AutoConf Initialization
dnl =================================================================
-AC_REVISION($Revision: 1.54 $)
+AC_REVISION($Revision: 1.55 $)
AC_INIT(jcc.c)
AC_CONFIG_HEADER([config.h])
AC_CANONICAL_HOST
AC_ARG_ENABLE(regex-matching,
[ --enable-regex-matching=pcre Use perl-compatible regex for actionsfile
pattern matching (default)
- --enable-regex-matching=gnu Use gnu style regex for actionsfile pattern
- matching (-> bigger binary)
--disable-regex-matching Don't use regex matching, compare URL
prefix instead (won't shrink birary)],
[ regex_matching=$enableval ],
fi
# Which method should be used for URL matching?
-# pcre, gnu regex or prefix matching?
+# pcre or prefix matching?
#
-if test $regex_matching = "gnu"; then
- echo "using gnu regex for URL matching"
- AC_DEFINE(REGEX_GNU)
- GNU_REGEX_ONLY=
- PCRE_REGEX_ONLY=#
-elif test $regex_matching = "pcre"; then
+if test $regex_matching = "pcre"; then
echo "using pcre regex for URL matching"
AC_DEFINE(REGEX_PCRE)
- GNU_REGEX_ONLY=#
PCRE_REGEX_ONLY=
if test $pcre_dyn = "yes"; then
LIBS="$LIBS -lpcreposix"
fi
else
echo -e "using prefix matching for URLs\nHint: This does NOT make the executable any smaller!"
- GNU_REGEX_ONLY=#
PCRE_REGEX_ONLY=#
fi
-AC_SUBST(GNU_REGEX_ONLY)
AC_SUBST(PCRE_REGEX_ONLY)
AC_SUBST(STATIC_PCRE_ONLY)
AC_SUBST(STATIC_PCRS_ONLY)
#ifndef PROJECT_H_INCLUDED
#define PROJECT_H_INCLUDED
-#define PROJECT_H_VERSION "$Id: project.h,v 1.62 2002/03/26 22:48:49 swa Exp $"
+#define PROJECT_H_VERSION "$Id: project.h,v 1.63 2002/03/31 17:19:00 jongfoster Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/project.h,v $
*
* Revisions :
* $Log: project.h,v $
+ * Revision 1.63 2002/03/31 17:19:00 jongfoster
+ * Win32 only: Enabling STRICT to fix a VC++ compile warning.
+ *
* Revision 1.62 2002/03/26 22:48:49 swa
* new homepage url
*
* and are included anyway.
*/
-#if defined(REGEX_PCRE) || defined (REGEX_GNU)
+#if defined(REGEX_PCRE)
# define REGEX
-#endif /* defined(REGEX_PCRE) || defined (REGEX_GNU) */
+#endif /* defined(REGEX_PCRE) */
#ifdef STATIC_PCRE
# include "pcre.h"
# endif
#endif /* defined(REGEX_PCRE) */
-#if defined(REGEX_GNU)
-# include "gnu_regex.h"
-#endif
-
#ifdef AMIGA
#include "amiga.h"
#endif /* def AMIGA */