mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
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. D'Arcy J.M. Cain
This commit is contained in:
parent
aa1bbed7da
commit
b2a0a4e8f5
@ -58,11 +58,17 @@ nextstep*) os=nextstep need_tas=no ;;
|
|||||||
exit;;
|
exit;;
|
||||||
esac
|
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
|
then
|
||||||
ELF_SYS=true
|
if test "X$elf" = "Xyes"
|
||||||
|
then
|
||||||
|
ELF_SYS=true
|
||||||
|
else
|
||||||
|
ELF_SYS=
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
ELF_SYS=
|
ELF_SYS=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "X$need_tas" = "Xyes"
|
if test "X$need_tas" = "Xyes"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user