Mercurial > mplayer.hg
comparison configure @ 15604:5c23a21cc78c
Set stack non-executable where supported.
author | reimar |
---|---|
date | Wed, 01 Jun 2005 09:08:15 +0000 |
parents | 667c78f0fc60 |
children | 904787c80946 |
comparison
equal
deleted
inserted
replaced
15603:2d1ad16b6021 | 15604:5c23a21cc78c |
---|---|
6726 fi | 6726 fi |
6727 else | 6727 else |
6728 echores "only used for x86" | 6728 echores "only used for x86" |
6729 fi | 6729 fi |
6730 | 6730 |
6731 echocheck "compiler support for noexecstack" | |
6732 cat > $TMPC <<EOF | |
6733 int main(void) { return 0; } | |
6734 EOF | |
6735 if cc_check -Wl,-z,noexecstack ; then | |
6736 _ld_extra="-Wl,-z,noexecstack $_ld_extra" | |
6737 echores "yes" | |
6738 else | |
6739 echores "no" | |
6740 fi | |
6741 | |
6731 echocheck "ftello()" | 6742 echocheck "ftello()" |
6732 # if we don't have ftello use the osdep/ compatibility module | 6743 # if we don't have ftello use the osdep/ compatibility module |
6733 cat > $TMPC << EOF | 6744 cat > $TMPC << EOF |
6734 #include <stdio.h> | 6745 #include <stdio.h> |
6735 #include <sys/types.h> | 6746 #include <sys/types.h> |