]> granicus.if.org Git - postgresql/commitdiff
The configure.in file erraneous assumes that FreeBSD 1.x and 2.x have
authorBruce Momjian <bruce@momjian.us>
Wed, 16 May 2001 17:24:10 +0000 (17:24 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 16 May 2001 17:24:10 +0000 (17:24 +0000)
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

configure.in

index aba7971c3d692520fd24cd925e02b2fc6b33f1b3..287b4029a4e34c4302442b5c238b0dcf9e16fa2a 100644 (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,