X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=acconfig.h;h=0bc0daa0122f7de20842e5ca68660d537a8741e3;hp=0aeaabc73ef7980e90031dd747af5069fa901f65;hb=745615ada539f3171f2951440b01a10af61b83b2;hpb=24f983c817d37ea3ff45942216c0622aa212346e diff --git a/acconfig.h b/acconfig.h index 0aeaabc7..0bc0daa0 100644 --- a/acconfig.h +++ b/acconfig.h @@ -37,9 +37,18 @@ * * Revisions : * $Log: acconfig.h,v $ - * Revision 1.29 2002/09/04 12:03:18 oes - * re-enable build on older setups + * Revision 1.27.2.4 2003/12/17 16:34:40 oes + * Cosmetics * + * Revision 1.27.2.3 2003/03/27 16:03:19 oes + * Another shot at Bug #707467 + * + * Revision 1.27.2.2 2003/03/21 14:39:12 oes + * Presumably fixed Bug #707467 by defining unix ifdef __unix__ + * + * Revision 1.27.2.1 2002/08/10 11:22:31 oes + * - Add two AC_DEFINEs that indicate if the pcre*.h headers + * are located in a pcre/ subdir to the include path. * * Revision 1.27 2002/04/25 19:13:57 morcego * Removed RPM release number declaration on configure.in @@ -255,16 +264,6 @@ */ #undef STATIC_PCRS -/* - * Does pcre.h need to be included as ? - */ -#undef PCRE_H_IN_SUBDIR - -/* - * Does pcreposix.h need to be included as ? - */ -#undef PCREPOSIX_H_IN_SUBDIR - /* * Allows the use of an ACL to control access to the proxy by IP address. */ @@ -396,7 +395,7 @@ #undef HAVE_GETHOSTBYADDR_R_7_ARGS #undef HAVE_GETHOSTBYADDR_R_5_ARGS -/* Define if you have gmtime_r and localtime_r with a signature +/* Defined if you have gmtime_r and localtime_r with a signature * of (struct time *, struct tm *) */ #undef HAVE_GMTIME_R @@ -406,6 +405,13 @@ */ #undef socklen_t +/* Define if pcre.h must be included as + */ +#undef PCRE_H_IN_SUBDIR + +/* Define if pcreposix.h must be included as + */ +#undef PCREPOSIX_H_IN_SUBDIR @BOTTOM@ @@ -435,6 +441,13 @@ #endif /* defined(FEATURE_PTHREAD) && defined(__BEOS__) */ +/* + * On OpenBSD and maybe also FreeBSD, gcc doesn't define the cpp + * symbol unix; it defines __unix__ and sometimes not even that: + */ +#if ( defined(__unix__) || defined(__NetBSD__) ) && !defined(unix) +#define unix 1 +#endif /* * It's too easy to accidentally use a Cygwin or MinGW32 version of config.h