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

Patch from Damyan Ivanov to better detect some GNU OSes

This commit is contained in:
alexpeshkoff 2010-04-16 14:24:23 +00:00
parent 6bdc35d867
commit 41aa1c6c09

View File

@ -118,7 +118,7 @@ dnl CPU_TYPE=ppc64
MAKEFILE_PREFIX=freebsd_amd64
case "$target" in
x86_64*-*-k*bsd-gnu) # Debian/kFreeBSD
PLATFORM=LINUX
PLATFORM=GENTOOFREEBSD
INSTALL_PREFIX=linux
;;
*)
@ -140,11 +140,11 @@ dnl CPU_TYPE=ppc64
SHRLIB_EXT=so
;;
*-*-freebsd*)
*-*-freebsd* | *-*-k*bsd*-gnu)
MAKEFILE_PREFIX=freebsd
case "$target" in
*-*-k*bsd-gnu) # Debian/kFreeBSD
PLATFORM=LINUX
PLATFORM=GENTOOFREEBSD
INSTALL_PREFIX=linux
;;
*)
@ -178,7 +178,7 @@ dnl CPU_TYPE=ppc64
PTHREAD_LIBS=-lpthread
;;
x86_64*-*-linux*)
x86_64*-*-linux* | x86_64*-*-gnu*)
MAKEFILE_PREFIX=linux_amd64
INSTALL_PREFIX=linux
PLATFORM=LINUX
@ -217,7 +217,7 @@ dnl CPU_TYPE=ppc64
STD_ICU=true
;;
sparc*-*-linux*)
sparc*-*-linux* | sparc*-*-gnu* | sparc*-*-k*bsd*-gnu)
MAKEFILE_PREFIX=linux_sparc32
INSTALL_PREFIX=linux
PLATFORM=LINUX
@ -275,7 +275,7 @@ dnl CPU_TYPE=ppc64
SHRLIB_EXT=so
;;
*-*-linux*)
*-*-linux* | *-*-gnu*)
MAKEFILE_PREFIX=linux_generic
INSTALL_PREFIX=linux
PLATFORM=LINUX