1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-09 17:03:00 +03:00

Make sure D'Arcy's elf/configure changes get into -stable:

-------
From: "D'Arcy" "J.M." Cain <darcy@druid.net>

I didn't see any further discussion so here is, I hope, a clean fix to
configure.in to determine if a system is ELF or not.  Note that some
of the tests earlier may be redundant but I took the safest route.
This commit is contained in:
Marc G. Fournier
1999-08-02 01:33:33 +00:00
parent ff753a7775
commit 62d146bdcd
2 changed files with 416 additions and 404 deletions

808
src/configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -58,11 +58,17 @@ nextstep*) os=nextstep need_tas=no ;;
exit;;
esac
if test "X$elf" = "Xyes"
# If this test fails then it is ELF for sure
if echo __ELF__ | ${CC} -E - | grep -q __ELF__
then
ELF_SYS=true
if test "X$elf" = "Xyes"
then
ELF_SYS=true
else
ELF_SYS=
fi
else
ELF_SYS=
ELF_SYS=true
fi
if test "X$need_tas" = "Xyes"