summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2001-05-16 17:24:10 +0000
committerBruce Momjian2001-05-16 17:24:10 +0000
commit94e2d98dd68d4b7511c893527c2ef1838c8a1e96 (patch)
tree5ded244e179f80358fc62a1b4c7239bfaf292414
parent7934c93cbed4471e55924631fa92a83b4c32e395 (diff)
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
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index aba7971c3d6..287b4029a4e 100644
--- a/configure.in
+++ b/configure.in
@@ -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,