Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb2a0a4e

Browse files
committed
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 someof the tests earlier may be redundant but I took the safest route.D'Arcy J.M. Cain
1 parentaa1bbed commitb2a0a4e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

‎src/configure.in

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,17 @@ nextstep*) os=nextstep need_tas=no ;;
5858
exit;;
5959
esac
6060

61-
if test "X$elf" = "Xyes"
61+
# If this test fails then it is ELF for sure
62+
if echo __ELF__ | ${CC} -E - | grep -q __ELF__
6263
then
63-
ELF_SYS=true
64+
if test "X$elf" = "Xyes"
65+
then
66+
ELF_SYS=true
67+
else
68+
ELF_SYS=
69+
fi
6470
else
65-
ELF_SYS=
71+
ELF_SYS=true
6672
fi
6773

6874
if test "X$need_tas" = "Xyes"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp