8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:03:02 +01:00

Diego Petteno patch for Gentoo/FreBSD

This commit is contained in:
alexpeshkoff 2006-12-08 18:32:09 +00:00
parent 477094ca87
commit 330971855f

View File

@ -60,6 +60,15 @@ case "$target" in
SHRLIB_EXT=so SHRLIB_EXT=so
;; ;;
*-gentoo-freebsd*)
MAKEFILE_PREFIX=freebsd
PLATFORM=GENTOOFREEBSD
AC_DEFINE(FREEBSD, 1, [Define this if OS is FreeBSD])
LOCK_MANAGER_FLG=Y
EDITLINE_FLG=Y
SHRLIB_EXT=so
;;
*-*-freebsd*) *-*-freebsd*)
MAKEFILE_PREFIX=freebsd MAKEFILE_PREFIX=freebsd
PLATFORM=FREEBSD PLATFORM=FREEBSD
@ -603,7 +612,7 @@ case "$PLATFORM" in
AC_DEFINE(HAVE_POSIX_THREADS) AC_DEFINE(HAVE_POSIX_THREADS)
;; ;;
FREEBSD) FREEBSD|GENTOOFREEBSD)
dnl the AC_CHECK_TYPES for socklen_t doesn't include sys/socket.h dnl the AC_CHECK_TYPES for socklen_t doesn't include sys/socket.h
dnl so test for socklen_t with sys/socket.h included dnl so test for socklen_t with sys/socket.h included
AC_MSG_CHECKING(if sys/socket.h defines socklen_t) AC_MSG_CHECKING(if sys/socket.h defines socklen_t)
@ -894,7 +903,7 @@ MAKE_SRC_DIR=builds/posix
dnl EKU: handle platform specific installation and packaging dnl EKU: handle platform specific installation and packaging
case "$PLATFORM" in case "$PLATFORM" in
LINUX) LINUX|GENTOOFREEBSD)
AC_CONFIG_COMMANDS(,,[ AC_CONFIG_COMMANDS(,,[
mkdir -p gen/install/scripts mkdir -p gen/install/scripts
mkdir -p gen/install/misc mkdir -p gen/install/misc