OS/2 port: update autoconf'd support for the platform.
[privoxy.git] / configure.in
index 172168d..6a578c7 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 dnl 
-dnl $Id: configure.in,v 1.13 2001/07/29 17:09:17 jongfoster Exp $
+dnl $Id: configure.in,v 1.14 2001/07/30 22:12:11 jongfoster Exp $
 dnl 
 dnl Written by and Copyright (C) 2001 the SourceForge
 dnl IJBSWA team.  http://ijbswa.sourceforge.net
@@ -28,6 +28,12 @@ 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.14  2001/07/30 22:12:11  jongfoster
+dnl Fixing Solaris build (I hope) and tidying up #defines:
+dnl - All feature #defines are now of the form FEATURE_xxx
+dnl - Permanently turned off WIN_GUI_EDIT
+dnl - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS
+dnl
 dnl Revision 1.13  2001/07/29 17:09:17  jongfoster
 dnl Major changes to build system in order to fix these bugs:
 dnl - pthreads under Linux was broken - changed -lpthread to -pthread
@@ -165,7 +171,7 @@ dnl =================================================================
 dnl AutoConf Initialization
 dnl =================================================================
 
-AC_REVISION($Revision: 1.13 $)
+AC_REVISION($Revision: 1.14 $)
 AC_INIT(jcc.c)
 AC_CONFIG_HEADER(config.h)
 
@@ -319,10 +325,10 @@ dnl =================================================================
 
 AC_CANONICAL_HOST
 
-SOLARIS_ONLY=#
+SOCKET_LIB=
 
 case "$host" in
-*-solaris*) SOLARIS_ONLY=
+*-solaris*) SOCKET_LIB=-lsocket -lnsl
             AC_DEFINE(__EXTENSIONS__)
             if test "$GCC" = "yes"; then
               # Set a GCC specific switch:
@@ -336,7 +342,18 @@ case "$host" in
 ;;
 esac
 
-AC_SUBST(SOLARIS_ONLY)
+AC_SUBST(SOCKET_LIB)
+
+dnl =================================================================
+dnl OS/2 specific
+dnl =================================================================
+
+case "$host" in
+*-os2-emx*) SOCKET_LIB=-lsocket
+;;
+esac
+
+AC_SUBST(SOCKET_LIB)
 
 dnl =================================================================
 dnl Check for standard compiler stuff
@@ -558,4 +575,3 @@ AC_SUBST(SPECIAL_CFLAGS)
 AC_SUBST(PTHREAD_LIB)
 
 AC_OUTPUT(Makefile)
-