The configure.in file erraneous assumes that FreeBSD 1.x and 2.x have

ELF capability.

While this is true to some extent, this assumption makes it impossible
to compile PostgreSQL 7.1 and 7.2devel without the --disable-shared
switch during configuration.

Trond Endrest
This commit is contained in:
Bruce Momjian 2001-05-16 17:24:10 +00:00
parent 7934c93cbe
commit 94e2d98dd6
1 changed files with 2 additions and 1 deletions

View File

@ -553,7 +553,8 @@ AC_SUBST([odbcinst_ini_dir])
# Assume system is ELF if it predefines __ELF__ as 1,
# otherwise believe host_os based default.
case $host_os in
freebsd1*|freebsd2*) elf=yes;;
freebsd1*|freebsd2*) elf=no;;
freebsd3*|freebsd4*) elf=yes;;
esac
AC_EGREP_CPP(yes,