Changeset b46fb9 in git
- Timestamp:
- Jul 7, 2009, 1:11:08 PM (14 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- 6ca8b083892b98cc2f6836da7504ab9d4272cf90
- Parents:
- 54ed6df8d8f33c1423cacc5e38b8a47e3185c072
- Location:
- factory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/configure
r54ed6d rb46fb9 1739 1739 fi 1740 1740 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 1775 1741 1776 # 1742 1777 # - check for header files. … … 1755 1790 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1756 1791 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1757 echo "configure:17 58: checking for $ac_hdr" >&51792 echo "configure:1793: checking for $ac_hdr" >&5 1758 1793 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1759 1794 echo $ac_n "(cached) $ac_c" 1>&6 1760 1795 else 1761 1796 cat > conftest.$ac_ext <<EOF 1762 #line 17 63"configure"1797 #line 1798 "configure" 1763 1798 #include "confdefs.h" 1764 1799 #include <$ac_hdr> 1765 1800 EOF 1766 1801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1767 { (eval echo configure:1 768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1802 { (eval echo configure:1803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1768 1803 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1769 1804 if test -z "$ac_err"; then … … 1796 1831 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1797 1832 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1798 echo "configure:1 799: checking for $ac_hdr" >&51833 echo "configure:1834: checking for $ac_hdr" >&5 1799 1834 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1800 1835 echo $ac_n "(cached) $ac_c" 1>&6 1801 1836 else 1802 1837 cat > conftest.$ac_ext <<EOF 1803 #line 18 04"configure"1838 #line 1839 "configure" 1804 1839 #include "confdefs.h" 1805 1840 #include <$ac_hdr> 1806 1841 EOF 1807 1842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1808 { (eval echo configure:18 09: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1843 { (eval echo configure:1844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1809 1844 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1810 1845 if test -z "$ac_err"; then … … 1844 1879 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1845 1880 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1846 echo "configure:18 47: checking for $ac_hdr" >&51881 echo "configure:1882: checking for $ac_hdr" >&5 1847 1882 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1848 1883 echo $ac_n "(cached) $ac_c" 1>&6 1849 1884 else 1850 1885 cat > conftest.$ac_ext <<EOF 1851 #line 18 52"configure"1886 #line 1887 "configure" 1852 1887 #include "confdefs.h" 1853 1888 #include <$ac_hdr> 1854 1889 EOF 1855 1890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1856 { (eval echo configure:18 57: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1891 { (eval echo configure:1892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1857 1892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1858 1893 if test -z "$ac_err"; then … … 1885 1920 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1886 1921 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1887 echo "configure:1 888: checking for $ac_hdr" >&51922 echo "configure:1923: checking for $ac_hdr" >&5 1888 1923 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1889 1924 echo $ac_n "(cached) $ac_c" 1>&6 1890 1925 else 1891 1926 cat > conftest.$ac_ext <<EOF 1892 #line 1 893"configure"1927 #line 1928 "configure" 1893 1928 #include "confdefs.h" 1894 1929 #include <$ac_hdr> 1895 1930 EOF 1896 1931 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1897 { (eval echo configure:1 898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1932 { (eval echo configure:1933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1898 1933 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1899 1934 if test -z "$ac_err"; then … … 1927 1962 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1928 1963 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1929 echo "configure:19 30: checking for $ac_hdr" >&51964 echo "configure:1965: checking for $ac_hdr" >&5 1930 1965 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1931 1966 echo $ac_n "(cached) $ac_c" 1>&6 1932 1967 else 1933 1968 cat > conftest.$ac_ext <<EOF 1934 #line 19 35"configure"1969 #line 1970 "configure" 1935 1970 #include "confdefs.h" 1936 1971 #include <$ac_hdr> 1937 1972 EOF 1938 1973 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1939 { (eval echo configure:19 40: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1974 { (eval echo configure:1975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1940 1975 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1941 1976 if test -z "$ac_err"; then … … 1967 2002 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1968 2003 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1969 echo "configure: 1970: checking for $ac_hdr" >&52004 echo "configure:2005: checking for $ac_hdr" >&5 1970 2005 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1971 2006 echo $ac_n "(cached) $ac_c" 1>&6 1972 2007 else 1973 2008 cat > conftest.$ac_ext <<EOF 1974 #line 1975"configure"2009 #line 2010 "configure" 1975 2010 #include "confdefs.h" 1976 2011 #include <$ac_hdr> 1977 2012 EOF 1978 2013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1979 { (eval echo configure: 1980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2014 { (eval echo configure:2015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1980 2015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1981 2016 if test -z "$ac_err"; then … … 2011 2046 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2012 2047 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2013 echo "configure:20 14: checking for $ac_hdr" >&52048 echo "configure:2049: checking for $ac_hdr" >&5 2014 2049 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2015 2050 echo $ac_n "(cached) $ac_c" 1>&6 2016 2051 else 2017 2052 cat > conftest.$ac_ext <<EOF 2018 #line 20 19"configure"2053 #line 2054 "configure" 2019 2054 #include "confdefs.h" 2020 2055 #include <$ac_hdr> 2021 2056 EOF 2022 2057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2023 { (eval echo configure:20 24: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2058 { (eval echo configure:2059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2024 2059 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2025 2060 if test -z "$ac_err"; then … … 2057 2092 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2058 2093 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2059 echo "configure:20 60: checking for $ac_hdr" >&52094 echo "configure:2095: checking for $ac_hdr" >&5 2060 2095 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2061 2096 echo $ac_n "(cached) $ac_c" 1>&6 2062 2097 else 2063 2098 cat > conftest.$ac_ext <<EOF 2064 #line 2 065"configure"2099 #line 2100 "configure" 2065 2100 #include "confdefs.h" 2066 2101 #include <$ac_hdr> 2067 2102 EOF 2068 2103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2069 { (eval echo configure:2 070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2104 { (eval echo configure:2105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2070 2105 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2071 2106 if test -z "$ac_err"; then … … 2101 2136 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2102 2137 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2103 echo "configure:21 04: checking for $ac_hdr" >&52138 echo "configure:2139: checking for $ac_hdr" >&5 2104 2139 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2105 2140 echo $ac_n "(cached) $ac_c" 1>&6 2106 2141 else 2107 2142 cat > conftest.$ac_ext <<EOF 2108 #line 21 09"configure"2143 #line 2144 "configure" 2109 2144 #include "confdefs.h" 2110 2145 #include <$ac_hdr> 2111 2146 EOF 2112 2147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2113 { (eval echo configure:21 14: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2148 { (eval echo configure:2149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2114 2149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2115 2150 if test -z "$ac_err"; then … … 2165 2200 2166 2201 # font-lock-trick: ' 2167 2168 # arithmetic shift2169 echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&62170 echo "configure:2171: checking whether your compiler does arithmetic shifts" >&52171 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then2172 echo $ac_n "(cached) $ac_c" 1>&62173 else2174 LDFLAGS="-L$explicit_libdir $LDFLAGS"2175 if test "$cross_compiling" = yes; then2176 ac_cv_shift=yes2177 else2178 cat > conftest.$ac_ext <<EOF2179 #line 2180 "configure"2180 #include "confdefs.h"2181 int main() { if (-2 >> 1 == -1) return(0); else return(1); }2182 EOF2183 if { (eval echo configure:2184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2184 then2185 ac_cv_shift=yes2186 else2187 echo "configure: failed program was:" >&52188 cat conftest.$ac_ext >&52189 rm -fr conftest*2190 ac_cv_shift=no2191 fi2192 rm -fr conftest*2193 fi2194 2195 fi2196 2197 if test "x$ac_cv_shift" = xyes; then2198 echo "$ac_t""yes" 1>&62199 else2200 echo "$ac_t""no" 1>&62201 fi2202 2202 2203 2203 # -
factory/configure.in
r54ed6d rb46fb9 1 1 dnl # emacs edit mode for this file is -*- sh -*- 2 dnl # $Id: configure.in,v 1. 49 2008-08-20 12:52:32Singular Exp $2 dnl # $Id: configure.in,v 1.50 2009-07-07 11:11:08 Singular Exp $ 3 3 4 4 dnl # … … 13 13 # - initialisation. 14 14 # 15 AC_REVISION($Id: configure.in,v 1. 49 2008-08-20 12:52:32Singular Exp $)15 AC_REVISION($Id: configure.in,v 1.50 2009-07-07 11:11:08 Singular Exp $) 16 16 AC_INIT(canonicalform.cc) 17 17 AC_CONFIG_HEADER(config.h) … … 247 247 fi 248 248 249 # arithmetic shift 250 AC_MSG_CHECKING(whether your compiler does arithmetic shifts) 251 AC_CACHE_VAL(ac_cv_shift, 252 [ LDFLAGS="-L$explicit_libdir $LDFLAGS" 253 AC_TRY_RUN( 254 [ int main() { if (-2 >> 1 == -1) return(0); else return(1); } ], 255 ac_cv_shift=yes, ac_cv_shift=no, ac_cv_shift=yes) ]) 256 if test "x$ac_cv_shift" = xyes; then 257 AC_MSG_RESULT(yes) 258 else 259 AC_MSG_RESULT(no) 260 fi 261 249 262 # 250 263 # - check for header files. … … 310 323 311 324 # font-lock-trick: ' 312 313 # arithmetic shift314 AC_MSG_CHECKING(whether your compiler does arithmetic shifts)315 AC_CACHE_VAL(ac_cv_shift,316 [ LDFLAGS="-L$explicit_libdir $LDFLAGS"317 AC_TRY_RUN(318 [ int main() { if (-2 >> 1 == -1) return(0); else return(1); } ],319 ac_cv_shift=yes, ac_cv_shift=no, ac_cv_shift=yes) ])320 if test "x$ac_cv_shift" = xyes; then321 AC_MSG_RESULT(yes)322 else323 AC_MSG_RESULT(no)324 fi325 325 326 326 #
Note: See TracChangeset
for help on using the changeset viewer.