From cc3fadbe201c67085cff1ea62f70062ca6076361 Mon Sep 17 00:00:00 2001 From: hal9 Date: Fri, 13 Dec 2002 23:47:10 +0000 Subject: [PATCH] Add openbsd special flags per gunner at styx2002.no-ip.org --- configure.in | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 4af07a2c..70a3b707 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. dnl -dnl $Id: configure.in,v 1.84 2002/10/24 22:24:57 hal9 Exp $ +dnl $Id: configure.in,v 1.85 2002/11/27 12:40:54 oes Exp $ dnl dnl Written by and Copyright (C) 2001, 2002 the SourceForge dnl Privoxy team. http://www.privoxy.org/ @@ -28,6 +28,9 @@ dnl or write to the Free Software Foundation, Inc., 59 dnl Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl dnl $Log: configure.in,v $ +dnl Revision 1.85 2002/11/27 12:40:54 oes +dnl Fixed broken handling of pre-set CFLAGS +dnl dnl Revision 1.84 2002/10/24 22:24:57 hal9 dnl Make install: Minor clean up for variable handling. dnl @@ -430,7 +433,7 @@ dnl ================================================================= dnl AutoConf Initialization dnl ================================================================= -AC_REVISION($Revision: 1.84 $) +AC_REVISION($Revision: 1.85 $) AC_INIT(src/jcc.c) if test ! -f src/config.h.in; then echo "You need to run autoheader first. " @@ -919,6 +922,24 @@ case "$host" in ;; esac +dnl ================================================================= +dnl Mac OSX specific +dnl ================================================================= + +case "$host" in +*-apple-darwin*) SPECIAL_CFLAGS="-Dunix" +;; +esac + +dnl ================================================================= +dnl OpenBSD specific +dnl ================================================================= + +case "$host" in +*-openbsd*) SPECIAL_CFLAGS="$SPECIAL_CFLAGS -Dunix" +;; +esac + dnl ================================================================= dnl AmigaOS specific dnl ================================================================= @@ -1154,7 +1175,6 @@ if test $enableval2 = yes; then [ Deine to 1 to use PNG instead of GIF for built-in images. ]) fi - dnl pcre/pcrs is needed for CGI anyway, so dnl the choice is only between static and dnl dynamic: -- 2.39.2