Revision 8a3c8627 configure

View differences:

configure
221 221
  echo "  --disable-neon           disable neon optimizations"
222 222
  echo "  --disable-vis            disable VIS optimizations"
223 223
  echo "  --disable-yasm           disable use of yasm assembler"
224
  echo "  --enable-pic             build position-independent code"
224 225
  echo
225 226
  echo "Developer options (useful when working on FFmpeg itself):"
226 227
  echo "  --disable-debug          disable debugging symbols"
......
840 841
    mpegaudio_hp
841 842
    network
842 843
    nonfree
844
    pic
843 845
    postproc
844 846
    powerpc_perf
845 847
    rdft
......
1743 1745
        arch="alpha"
1744 1746
        enable fast_64bit
1745 1747
        check_cflags -mieee
1746
        pic=$shared
1748
        spic=$shared
1747 1749
    ;;
1748 1750
    arm|armv[4567]*l)
1749 1751
        arch="arm"
......
1756 1758
    ia64)
1757 1759
        arch="ia64"
1758 1760
        enable fast_64bit
1759
        pic=$shared
1761
        spic=$shared
1760 1762
    ;;
1761 1763
    m68k)
1762 1764
        arch="m68k"
1763 1765
    ;;
1764 1766
    mips|mipsel|IP*)
1765 1767
        arch="mips"
1766
        pic=$shared
1768
        spic=$shared
1767 1769
    ;;
1768 1770
    mips64)
1769 1771
        arch="mips"
1770 1772
        subarch="mips64"
1771 1773
        enable fast_64bit
1772
        pic=$shared
1774
        spic=$shared
1773 1775
    ;;
1774 1776
    parisc|hppa)
1775 1777
        arch="parisc"
1776
        pic=$shared
1778
        spic=$shared
1777 1779
    ;;
1778 1780
    parisc64|hppa64)
1779 1781
        arch="parisc"
1780 1782
        enable fast_64bit
1781
        pic=$shared
1783
        spic=$shared
1782 1784
    ;;
1783 1785
    "Power Macintosh"|ppc|powerpc)
1784 1786
        arch="ppc"
......
1798 1800
    ;;
1799 1801
    sparc)
1800 1802
        arch="sparc"
1801
        pic=$shared
1803
        spic=$shared
1802 1804
    ;;
1803 1805
    sun4u|sparc64)
1804 1806
        arch="sparc"
1805 1807
        subarch="sparc64"
1806 1808
        enable fast_64bit
1807
        pic=$shared
1809
        spic=$shared
1808 1810
    ;;
1809 1811
    i386|i486|i586|i686|i86pc|BePC)
1810 1812
        arch="x86"
......
1817 1819
        enable cmov
1818 1820
        enable fast_cmov
1819 1821
        enable fast_unaligned
1820
        check_cc <<EOF && enable fast_64bit && subarch="x86_64" && pic=$shared
1822
        check_cc <<EOF && enable fast_64bit && subarch="x86_64" && spic=$shared
1821 1823
        int test[sizeof(char*) - 7];
1822 1824
EOF
1823 1825
    ;;
......
1827 1829
esac
1828 1830

  
1829 1831
enable $arch $subarch
1832
enabled spic && enable pic
1830 1833

  
1831 1834
# OS specific
1832 1835
case $target_os in

Also available in: Unified diff