Fixed up the problem with the "-lc_r" inclusion code.
_Really_ fixed up the problem with compiling under OpenBSD. Bumped up the version number.
This commit is contained in:
parent
3c631c6e5c
commit
607e4c4c6c
13
configure.ac
13
configure.ac
@ -1,4 +1,4 @@
|
|||||||
dnl $Id: configure.ac,v 2.10 2002-04-09 16:32:39 rjkaes Exp $
|
dnl $Id: configure.ac,v 2.11 2002-04-09 20:04:05 rjkaes Exp $
|
||||||
|
|
||||||
dnl Devlopers, please strive to achieve this order:
|
dnl Devlopers, please strive to achieve this order:
|
||||||
dnl
|
dnl
|
||||||
@ -14,7 +14,7 @@ dnl 8. System services
|
|||||||
dnl
|
dnl
|
||||||
dnl Read the Autoconf manual for details.
|
dnl Read the Autoconf manual for details.
|
||||||
|
|
||||||
AC_INIT([tinyproxy], [1.5.0pre2], [rjkaes@users.sourceforge.net])
|
AC_INIT([tinyproxy], [1.5.0pre3], [rjkaes@users.sourceforge.net])
|
||||||
AC_CONFIG_SRCDIR([src/tinyproxy.c])
|
AC_CONFIG_SRCDIR([src/tinyproxy.c])
|
||||||
AC_PREREQ(2.52)
|
AC_PREREQ(2.52)
|
||||||
|
|
||||||
@ -181,11 +181,8 @@ else
|
|||||||
AC_MSG_ERROR([You must have a POSIX compliant threading library installed])
|
AC_MSG_ERROR([You must have a POSIX compliant threading library installed])
|
||||||
fi
|
fi
|
||||||
case "$target" in
|
case "$target" in
|
||||||
*-freebsd*)
|
*-freebsd*) ;;
|
||||||
;;
|
*) LIBS="$LIBS -lc_r";;
|
||||||
*)
|
|
||||||
LIBS = "$LIBS -lc_r"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -225,7 +222,7 @@ AC_CHECK_HEADERS([sys/types.h sys/ioctl.h sys/resource.h sys/select.h \
|
|||||||
dnl OpenBSD machines don't like having malloc included (even if it's present)
|
dnl OpenBSD machines don't like having malloc included (even if it's present)
|
||||||
dnl as they expect you to use stdlib.h
|
dnl as they expect you to use stdlib.h
|
||||||
case "$target" in
|
case "$target" in
|
||||||
*openbsd*) ;;
|
*-openbsd*) ;;
|
||||||
*) AC_CHECK_HEADER(malloc.h);;
|
*) AC_CHECK_HEADER(malloc.h);;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user