Changeset 1bc850 in git for factory/configure
- Timestamp:
- Jul 8, 2009, 12:35:10 PM (15 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 6c359fedc4e4c176b05276f1ca51b65294a14b31
- Parents:
- 4d10648d5056326751bd51ace1aada9cd81a993f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/configure
r4d1064 r1bc850 1740 1740 1741 1741 # arithmetic shift 1742 echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6 1743 echo "configure:1744: checking whether your compiler does arithmetic shifts" >&5 1744 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 1745 echo $ac_n "(cached) $ac_c" 1>&6 1746 else 1747 LDFLAGS="-L$explicit_libdir $LDFLAGS" 1748 if test "$cross_compiling" = yes; then 1749 ac_cv_shift=yes 1750 else 1751 cat > conftest.$ac_ext <<EOF 1752 #line 1753 "configure" 1753 #include "confdefs.h" 1754 int main() { if (-2 >> 1 == -1) return(0); else return(1); } 1755 EOF 1756 if { (eval echo configure:1757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1757 then 1758 ac_cv_shift=yes 1759 else 1760 echo "configure: failed program was:" >&5 1761 cat conftest.$ac_ext >&5 1762 rm -fr conftest* 1763 ac_cv_shift=no 1764 fi 1765 rm -fr conftest* 1766 fi 1767 1768 fi 1769 1770 if test "x$ac_cv_shift" = xyes; then 1771 echo "$ac_t""yes" 1>&6 1772 else 1773 echo "$ac_t""no" 1>&6 1774 fi 1742 #AC_MSG_CHECKING(whether your compiler does arithmetic shifts) 1743 #AC_CACHE_VAL(ac_cv_shift, 1744 # [ LDFLAGS="-L$explicit_libdir $LDFLAGS" 1745 # AC_TRY_RUN( 1746 # [ int main() { if (-2 >> 1 == -1) return(0); else return(1); } ], 1747 # ac_cv_shift=yes, ac_cv_shift=no, ac_cv_shift=yes) ]) 1748 #if test "x$ac_cv_shift" = xyes; then 1749 # AC_MSG_RESULT(yes) 1750 #else 1751 # AC_MSG_RESULT(no) 1752 #fi 1775 1753 1776 1754 # … … 1790 1768 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1791 1769 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1792 echo "configure:17 93: checking for $ac_hdr" >&51770 echo "configure:1771: checking for $ac_hdr" >&5 1793 1771 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1794 1772 echo $ac_n "(cached) $ac_c" 1>&6 1795 1773 else 1796 1774 cat > conftest.$ac_ext <<EOF 1797 #line 17 98"configure"1775 #line 1776 "configure" 1798 1776 #include "confdefs.h" 1799 1777 #include <$ac_hdr> 1800 1778 EOF 1801 1779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1802 { (eval echo configure:1 803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1780 { (eval echo configure:1781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1803 1781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1804 1782 if test -z "$ac_err"; then … … 1831 1809 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1832 1810 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1833 echo "configure:18 34: checking for $ac_hdr" >&51811 echo "configure:1812: checking for $ac_hdr" >&5 1834 1812 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1835 1813 echo $ac_n "(cached) $ac_c" 1>&6 1836 1814 else 1837 1815 cat > conftest.$ac_ext <<EOF 1838 #line 18 39"configure"1816 #line 1817 "configure" 1839 1817 #include "confdefs.h" 1840 1818 #include <$ac_hdr> 1841 1819 EOF 1842 1820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1843 { (eval echo configure:18 44: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1821 { (eval echo configure:1822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1844 1822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1845 1823 if test -z "$ac_err"; then … … 1879 1857 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1880 1858 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1881 echo "configure:18 82: checking for $ac_hdr" >&51859 echo "configure:1860: checking for $ac_hdr" >&5 1882 1860 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1883 1861 echo $ac_n "(cached) $ac_c" 1>&6 1884 1862 else 1885 1863 cat > conftest.$ac_ext <<EOF 1886 #line 18 87"configure"1864 #line 1865 "configure" 1887 1865 #include "confdefs.h" 1888 1866 #include <$ac_hdr> 1889 1867 EOF 1890 1868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1891 { (eval echo configure:18 92: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1869 { (eval echo configure:1870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1892 1870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1893 1871 if test -z "$ac_err"; then … … 1920 1898 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1921 1899 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1922 echo "configure:19 23: checking for $ac_hdr" >&51900 echo "configure:1901: checking for $ac_hdr" >&5 1923 1901 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1924 1902 echo $ac_n "(cached) $ac_c" 1>&6 1925 1903 else 1926 1904 cat > conftest.$ac_ext <<EOF 1927 #line 19 28"configure"1905 #line 1906 "configure" 1928 1906 #include "confdefs.h" 1929 1907 #include <$ac_hdr> 1930 1908 EOF 1931 1909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1932 { (eval echo configure:19 33: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1910 { (eval echo configure:1911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1933 1911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1934 1912 if test -z "$ac_err"; then … … 1962 1940 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1963 1941 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1964 echo "configure:19 65: checking for $ac_hdr" >&51942 echo "configure:1943: checking for $ac_hdr" >&5 1965 1943 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1966 1944 echo $ac_n "(cached) $ac_c" 1>&6 1967 1945 else 1968 1946 cat > conftest.$ac_ext <<EOF 1969 #line 19 70"configure"1947 #line 1948 "configure" 1970 1948 #include "confdefs.h" 1971 1949 #include <$ac_hdr> 1972 1950 EOF 1973 1951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1974 { (eval echo configure:19 75: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1952 { (eval echo configure:1953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1975 1953 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1976 1954 if test -z "$ac_err"; then … … 2002 1980 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2003 1981 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2004 echo "configure: 2005: checking for $ac_hdr" >&51982 echo "configure:1983: checking for $ac_hdr" >&5 2005 1983 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2006 1984 echo $ac_n "(cached) $ac_c" 1>&6 2007 1985 else 2008 1986 cat > conftest.$ac_ext <<EOF 2009 #line 2010"configure"1987 #line 1988 "configure" 2010 1988 #include "confdefs.h" 2011 1989 #include <$ac_hdr> 2012 1990 EOF 2013 1991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2014 { (eval echo configure: 2015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1992 { (eval echo configure:1993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2015 1993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2016 1994 if test -z "$ac_err"; then … … 2046 2024 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2047 2025 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2048 echo "configure:20 49: checking for $ac_hdr" >&52026 echo "configure:2027: checking for $ac_hdr" >&5 2049 2027 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2050 2028 echo $ac_n "(cached) $ac_c" 1>&6 2051 2029 else 2052 2030 cat > conftest.$ac_ext <<EOF 2053 #line 20 54"configure"2031 #line 2032 "configure" 2054 2032 #include "confdefs.h" 2055 2033 #include <$ac_hdr> 2056 2034 EOF 2057 2035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2058 { (eval echo configure:20 59: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2036 { (eval echo configure:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2059 2037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2060 2038 if test -z "$ac_err"; then … … 2092 2070 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2093 2071 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2094 echo "configure:20 95: checking for $ac_hdr" >&52072 echo "configure:2073: checking for $ac_hdr" >&5 2095 2073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2096 2074 echo $ac_n "(cached) $ac_c" 1>&6 2097 2075 else 2098 2076 cat > conftest.$ac_ext <<EOF 2099 #line 2 100"configure"2077 #line 2078 "configure" 2100 2078 #include "confdefs.h" 2101 2079 #include <$ac_hdr> 2102 2080 EOF 2103 2081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2104 { (eval echo configure:2 105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2082 { (eval echo configure:2083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2105 2083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2106 2084 if test -z "$ac_err"; then … … 2136 2114 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2137 2115 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2138 echo "configure:21 39: checking for $ac_hdr" >&52116 echo "configure:2117: checking for $ac_hdr" >&5 2139 2117 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2140 2118 echo $ac_n "(cached) $ac_c" 1>&6 2141 2119 else 2142 2120 cat > conftest.$ac_ext <<EOF 2143 #line 21 44"configure"2121 #line 2122 "configure" 2144 2122 #include "confdefs.h" 2145 2123 #include <$ac_hdr> 2146 2124 EOF 2147 2125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2148 { (eval echo configure:21 49: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2126 { (eval echo configure:2127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2149 2127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2150 2128 if test -z "$ac_err"; then … … 2263 2241 # check whether CXX accepts -fno-rtti 2264 2242 echo $ac_n "checking whether gcc accepts -fno-rtti""... $ac_c" 1>&6 2265 echo "configure:22 66: checking whether gcc accepts -fno-rtti" >&52243 echo "configure:2244: checking whether gcc accepts -fno-rtti" >&5 2266 2244 tmp_flags=${CXXFLAGS} 2267 2245 CXXFLAGS="${CXXFLAGS} -fno-rtti" … … 2270 2248 else 2271 2249 cat > conftest.$ac_ext <<EOF 2272 #line 22 73"configure"2250 #line 2251 "configure" 2273 2251 #include "confdefs.h" 2274 2252 … … 2277 2255 ; return 0; } 2278 2256 EOF 2279 if { (eval echo configure:22 80: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2257 if { (eval echo configure:2258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2280 2258 rm -rf conftest* 2281 2259 ac_cv_cxx_have_rtti=yes … … 2297 2275 2298 2276 echo $ac_n "checking whether gcc accepts -fno-exceptions""... $ac_c" 1>&6 2299 echo "configure:2 300: checking whether gcc accepts -fno-exceptions" >&52277 echo "configure:2278: checking whether gcc accepts -fno-exceptions" >&5 2300 2278 tmp_flags=${CXXFLAGS} 2301 2279 CXXFLAGS="${CXXFLAGS} -fno-exceptions" … … 2304 2282 else 2305 2283 cat > conftest.$ac_ext <<EOF 2306 #line 2 307"configure"2284 #line 2285 "configure" 2307 2285 #include "confdefs.h" 2308 2286 … … 2311 2289 ; return 0; } 2312 2290 EOF 2313 if { (eval echo configure:2 314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2291 if { (eval echo configure:2292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2314 2292 rm -rf conftest* 2315 2293 ac_cv_cxx_have_exceptions=yes … … 2362 2340 2363 2341 # arithmetic shift 2364 if test "x$ac_cv_shift" = xyes; then 2365 cat >> confdefs.h <<\EOF 2366 #define HAS_ARITHMETIC_SHIFT 1 2367 EOF 2368 2369 fi 2342 #if test "x$ac_cv_shift" = xyes; then 2343 # AC_DEFINE(HAS_ARITHMETIC_SHIFT) 2344 #fi 2370 2345 2371 2346 # gmp-stuff. we must not set these flags before the tests … … 2379 2354 2380 2355 echo $ac_n "checking whether to use omalloc""... $ac_c" 1>&6 2381 echo "configure:23 82: checking whether to use omalloc" >&52356 echo "configure:2357: checking whether to use omalloc" >&5 2382 2357 2383 2358 if test "$with_omalloc" = yes; then
Note: See TracChangeset
for help on using the changeset viewer.