summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-07-13 11:46:54 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:14:44 +0200
commit3f413403e808a36bce9ab80025f49249b12814e4 (patch)
treecafe171ec3353f7116e9fbd08ca94d7f69493142 /configure
parentc2e37e43465a147202040c959165687c6289e2d5 (diff)
downloadmpv-3f413403e808a36bce9ab80025f49249b12814e4.tar.bz2
mpv-3f413403e808a36bce9ab80025f49249b12814e4.tar.xz
configure: Move PIC test out of the x86 section
It is not only required on x86. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31729 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure27
1 files changed, 15 insertions, 12 deletions
diff --git a/configure b/configure
index f29a0892e0..29455048b5 100755
--- a/configure
+++ b/configure
@@ -2515,6 +2515,21 @@ else
fi
echores $_asmalign_pot
+
+echocheck "PIC"
+pic=no
+cat > $TMPC << EOF
+int main(void) {
+#if !(defined(__PIC__) || defined(__pic__) || defined(PIC))
+#error PIC not enabled
+#endif
+ return 0;
+}
+EOF
+cc_check && pic=yes && extra_cflags="$extra_cflags -DPIC"
+echores $pic
+
+
if x86 ; then
echocheck "10 assembler operands"
ten_operands=no
@@ -2552,18 +2567,6 @@ EOF
cc_check && ebx_available=yes && def_ebx_available='#define HAVE_EBX_AVAILABLE 1'
echores $ebx_available
-echocheck "PIC"
-pic=no
-cat > $TMPC << EOF
-int main(void) {
-#if !(defined(__PIC__) || defined(__pic__) || defined(PIC))
-#error PIC not enabled
-#endif
- return 0;
-}
-EOF
-cc_check && pic=yes && extra_cflags="$extra_cflags -DPIC"
-echores $pic
echocheck "yasm"
if test -z "$YASMFLAGS" ; then