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
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
dnl AutoConf Initialization
dnl =================================================================
-AC_REVISION($Revision: 1.13 $)
+AC_REVISION($Revision: 1.14 $)
AC_INIT(jcc.c)
AC_CONFIG_HEADER(config.h)
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:
;;
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
AC_SUBST(PTHREAD_LIB)
AC_OUTPUT(Makefile)
-