Changeset 23673b in git
- Timestamp:
- Jun 3, 1998, 6:57:06 PM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- fb2486e0414abee2f7c84a4195d09772eb59d9a5
- Parents:
- 73e491c507b652dcbbebc5d8a3dccad425f4a323
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r73e491 r23673b 837 837 838 838 # expand prefix and pass it to subsequent configures 839 test "x$prefix" = xNONE && prefix=${ac_default_prefix}; \ 840 ac_configure_args="$ac_configure_args --prefix=${prefix}" 839 if test "x$prefix" = xNONE; then 840 prefix=${ac_default_prefix} 841 ac_configure_args="$ac_configure_args --prefix=${prefix}" 842 fi 841 843 842 844 # expand exec_prefix … … 880 882 881 883 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 882 echo "configure:88 3: checking whether _AIX is defined" >&5884 echo "configure:885: checking whether _AIX is defined" >&5 883 885 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 884 886 echo $ac_n "(cached) $ac_c" 1>&6 885 887 else 886 888 cat > conftest.$ac_ext <<EOF 887 #line 8 88"configure"889 #line 890 "configure" 888 890 #include "confdefs.h" 889 891 #ifdef _AIX … … 912 914 913 915 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 914 echo "configure:91 5: checking for atof in -lm" >&5916 echo "configure:917: checking for atof in -lm" >&5 915 917 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 916 918 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 920 922 LIBS="-lm $LIBS" 921 923 cat > conftest.$ac_ext <<EOF 922 #line 92 3"configure"924 #line 925 "configure" 923 925 #include "confdefs.h" 924 926 /* Override any gcc2 internal prototype to avoid an error. */ … … 931 933 ; return 0; } 932 934 EOF 933 if { (eval echo configure:93 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then935 if { (eval echo configure:936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 934 936 rm -rf conftest* 935 937 eval "ac_cv_lib_$ac_lib_var=yes" … … 959 961 960 962 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 961 echo "configure:96 2: checking for socket in -lbsd" >&5963 echo "configure:964: checking for socket in -lbsd" >&5 962 964 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 963 965 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 967 969 LIBS="-lbsd $LIBS" 968 970 cat > conftest.$ac_ext <<EOF 969 #line 97 0"configure"971 #line 972 "configure" 970 972 #include "confdefs.h" 971 973 /* Override any gcc2 internal prototype to avoid an error. */ … … 978 980 ; return 0; } 979 981 EOF 980 if { (eval echo configure:98 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then982 if { (eval echo configure:983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 981 983 rm -rf conftest* 982 984 eval "ac_cv_lib_$ac_lib_var=yes" … … 1006 1008 1007 1009 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1008 echo "configure:10 09: checking for listen in -lsocket" >&51010 echo "configure:1011: checking for listen in -lsocket" >&5 1009 1011 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1010 1012 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1014 1016 LIBS="-lsocket $LIBS" 1015 1017 cat > conftest.$ac_ext <<EOF 1016 #line 101 7"configure"1018 #line 1019 "configure" 1017 1019 #include "confdefs.h" 1018 1020 /* Override any gcc2 internal prototype to avoid an error. */ … … 1025 1027 ; return 0; } 1026 1028 EOF 1027 if { (eval echo configure:10 28: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1029 if { (eval echo configure:1030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1028 1030 rm -rf conftest* 1029 1031 eval "ac_cv_lib_$ac_lib_var=yes" … … 1053 1055 1054 1056 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1055 echo "configure:105 6: checking for gethostbyname in -lnsl" >&51057 echo "configure:1058: checking for gethostbyname in -lnsl" >&5 1056 1058 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1057 1059 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1061 1063 LIBS="-lnsl $LIBS" 1062 1064 cat > conftest.$ac_ext <<EOF 1063 #line 106 4"configure"1065 #line 1066 "configure" 1064 1066 #include "confdefs.h" 1065 1067 /* Override any gcc2 internal prototype to avoid an error. */ … … 1072 1074 ; return 0; } 1073 1075 EOF 1074 if { (eval echo configure:107 5: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1076 if { (eval echo configure:1077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1075 1077 rm -rf conftest* 1076 1078 eval "ac_cv_lib_$ac_lib_var=yes" … … 1100 1102 1101 1103 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 1102 echo "configure:110 3: checking for mpq_init in -lgmp" >&51104 echo "configure:1105: checking for mpq_init in -lgmp" >&5 1103 1105 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 1104 1106 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1108 1110 LIBS="-lgmp $LIBS" 1109 1111 cat > conftest.$ac_ext <<EOF 1110 #line 111 1"configure"1112 #line 1113 "configure" 1111 1113 #include "confdefs.h" 1112 1114 /* Override any gcc2 internal prototype to avoid an error. */ … … 1119 1121 ; return 0; } 1120 1122 EOF 1121 if { (eval echo configure:112 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1123 if { (eval echo configure:1124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1122 1124 rm -rf conftest* 1123 1125 eval "ac_cv_lib_$ac_lib_var=yes" … … 1147 1149 1148 1150 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 1149 echo "configure:115 0: checking for mpz_init in -lsmallgmp" >&51151 echo "configure:1152: checking for mpz_init in -lsmallgmp" >&5 1150 1152 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 1151 1153 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1155 1157 LIBS="-lsmallgmp $LIBS" 1156 1158 cat > conftest.$ac_ext <<EOF 1157 #line 11 58"configure"1159 #line 1160 "configure" 1158 1160 #include "confdefs.h" 1159 1161 /* Override any gcc2 internal prototype to avoid an error. */ … … 1166 1168 ; return 0; } 1167 1169 EOF 1168 if { (eval echo configure:11 69: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1170 if { (eval echo configure:1171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1169 1171 rm -rf conftest* 1170 1172 eval "ac_cv_lib_$ac_lib_var=yes" … … 1194 1196 1195 1197 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 1196 echo "configure:119 7: checking for IMP_PutGmpInt in -lMP" >&51198 echo "configure:1199: checking for IMP_PutGmpInt in -lMP" >&5 1197 1199 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 1198 1200 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1202 1204 LIBS="-lMP $LIBS" 1203 1205 cat > conftest.$ac_ext <<EOF 1204 #line 120 5"configure"1206 #line 1207 "configure" 1205 1207 #include "confdefs.h" 1206 1208 /* Override any gcc2 internal prototype to avoid an error. */ … … 1213 1215 ; return 0; } 1214 1216 EOF 1215 if { (eval echo configure:121 6: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1217 if { (eval echo configure:1218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1216 1218 rm -rf conftest* 1217 1219 eval "ac_cv_lib_$ac_lib_var=yes" … … 1241 1243 1242 1244 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 1243 echo "configure:124 4: checking for MPT_GetTree in -lMPT" >&51245 echo "configure:1246: checking for MPT_GetTree in -lMPT" >&5 1244 1246 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 1245 1247 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1249 1251 LIBS="-lMPT $LIBS" 1250 1252 cat > conftest.$ac_ext <<EOF 1251 #line 125 2"configure"1253 #line 1254 "configure" 1252 1254 #include "confdefs.h" 1253 1255 /* Override any gcc2 internal prototype to avoid an error. */ … … 1260 1262 ; return 0; } 1261 1263 EOF 1262 if { (eval echo configure:126 3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1264 if { (eval echo configure:1265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1263 1265 rm -rf conftest* 1264 1266 eval "ac_cv_lib_$ac_lib_var=yes" … … 1288 1290 1289 1291 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 1290 echo "configure:129 1: checking for atof in -lsingcf" >&51292 echo "configure:1293: checking for atof in -lsingcf" >&5 1291 1293 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 1292 1294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1296 1298 LIBS="-lsingcf $LIBS" 1297 1299 cat > conftest.$ac_ext <<EOF 1298 #line 1 299"configure"1300 #line 1301 "configure" 1299 1301 #include "confdefs.h" 1300 1302 /* Override any gcc2 internal prototype to avoid an error. */ … … 1307 1309 ; return 0; } 1308 1310 EOF 1309 if { (eval echo configure:131 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1311 if { (eval echo configure:1312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1310 1312 rm -rf conftest* 1311 1313 eval "ac_cv_lib_$ac_lib_var=yes" … … 1335 1337 1336 1338 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 1337 echo "configure:13 38: checking for atof in -lsingfac" >&51339 echo "configure:1340: checking for atof in -lsingfac" >&5 1338 1340 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 1339 1341 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1343 1345 LIBS="-lsingfac $LIBS" 1344 1346 cat > conftest.$ac_ext <<EOF 1345 #line 134 6"configure"1347 #line 1348 "configure" 1346 1348 #include "confdefs.h" 1347 1349 /* Override any gcc2 internal prototype to avoid an error. */ … … 1354 1356 ; return 0; } 1355 1357 EOF 1356 if { (eval echo configure:135 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1358 if { (eval echo configure:1359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1357 1359 rm -rf conftest* 1358 1360 eval "ac_cv_lib_$ac_lib_var=yes" … … 1386 1388 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1387 1389 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1388 echo "configure:13 89: checking for $ac_hdr" >&51390 echo "configure:1391: checking for $ac_hdr" >&5 1389 1391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1390 1392 echo $ac_n "(cached) $ac_c" 1>&6 1391 1393 else 1392 1394 cat > conftest.$ac_ext <<EOF 1393 #line 139 4"configure"1395 #line 1396 "configure" 1394 1396 #include "confdefs.h" 1395 1397 #include <$ac_hdr> 1396 1398 EOF 1397 1399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1398 { (eval echo configure:1 399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1400 { (eval echo configure:1401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1399 1401 ac_err=`grep -v '^ *+' conftest.out` 1400 1402 if test -z "$ac_err"; then … … 1522 1524 1523 1525 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 1524 echo "configure:152 5: checking whether to configure and build gmp lib" >&51526 echo "configure:1527: checking whether to configure and build gmp lib" >&5 1525 1527 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 1526 1528 if test "$ac_gmp_ok" != yes && test -d gmp; then … … 1546 1548 1547 1549 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6 1548 echo "configure:15 49: checking whether to configure and build smallgmp lib" >&51550 echo "configure:1551: checking whether to configure and build smallgmp lib" >&5 1549 1551 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 1550 1552 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ … … 1585 1587 1586 1588 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 1587 echo "configure:15 88: checking whether to configure and build MP lib" >&51589 echo "configure:1590: checking whether to configure and build MP lib" >&5 1588 1590 if test "$enable_MP" != yes && test "$enable_MP" != no; then 1589 1591 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ … … 1615 1617 1616 1618 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 1617 echo "configure:16 18: checking whether to configure and build factory lib" >&51619 echo "configure:1620: checking whether to configure and build factory lib" >&5 1618 1620 if test "$enable_factory" != yes && test "$enable_factory" != no; then 1619 1621 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ … … 1640 1642 1641 1643 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 1642 echo "configure:164 3: checking whether to configure and build libfac lib" >&51644 echo "configure:1645: checking whether to configure and build libfac lib" >&5 1643 1645 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 1644 1646 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 1670 1672 1671 1673 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 1672 echo "configure:167 3: checking whether to configure and build sgroup lib" >&51674 echo "configure:1675: checking whether to configure and build sgroup lib" >&5 1673 1675 if test "$enable_sgroup" != yes && test "$enable_sgroup" != no; then 1674 1676 if test "$with_sgroup" != no && test "$ac_sgroup_ok" != yes && \ … … 1701 1703 1702 1704 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 1703 echo "configure:170 4: checking whether to configure and build Singular" >&51705 echo "configure:1706: checking whether to configure and build Singular" >&5 1704 1706 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 1705 1707 if test "$with_Singular" != no && test -d Singular; then … … 1726 1728 1727 1729 echo $ac_n "checking wich apint package to use""... $ac_c" 1>&6 1728 echo "configure:17 29: checking wich apint package to use" >&51730 echo "configure:1731: checking wich apint package to use" >&5 1729 1731 if test "$with_apint" = gmp; then 1730 1732 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 1750 1752 1751 1753 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 1752 echo "configure:175 3: checking whether to use with MP" >&51754 echo "configure:1755: checking whether to use with MP" >&5 1753 1755 if test "$with_MP" = yes; then 1754 1756 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then … … 1769 1771 1770 1772 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 1771 echo "configure:177 2: checking whether to use with factory" >&51773 echo "configure:1774: checking whether to use with factory" >&5 1772 1774 if test "$with_factory" = yes; then 1773 1775 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 1788 1790 1789 1791 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 1790 echo "configure:179 1: checking whether to use with libfac" >&51792 echo "configure:1793: checking whether to use with libfac" >&5 1791 1793 if test "$with_libfac" = yes; then 1792 1794 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then … … 1808 1810 1809 1811 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 1810 echo "configure:181 1: checking whether to use with Singular" >&51812 echo "configure:1813: checking whether to use with Singular" >&5 1811 1813 if test "$with_Singular" != no && test "$with_Singular" != yes; then 1812 1814 if test "$enable_Singular" = yes; then … … 1848 1850 1849 1851 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1850 echo "configure:185 1: checking whether ${MAKE-make} sets \${MAKE}" >&51852 echo "configure:1853: checking whether ${MAKE-make} sets \${MAKE}" >&5 1851 1853 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1852 1854 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1898 1900 1899 1901 1900 trap '' 1 2 15 1902 if test "$enable_gmp" = yes; then 1903 trap '' 1 2 15 1901 1904 cat > confcache <<\EOF 1902 1905 # This file is a shell script that caches the results of configure … … 2010 2013 ac_given_srcdir=$srcdir 2011 2014 2012 trap 'rm -fr `echo "Makefile doc/Makefile " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 152015 trap 'rm -fr `echo "Makefile doc/Makefile gmp/Makefile.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 2013 2016 EOF 2014 2017 cat >> $CONFIG_STATUS <<EOF … … 2091 2094 cat >> $CONFIG_STATUS <<EOF 2092 2095 2093 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile "}2096 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile gmp/Makefile.in"} 2094 2097 EOF 2095 2098 cat >> $CONFIG_STATUS <<\EOF … … 2250 2253 fi 2251 2254 2255 else 2256 trap '' 1 2 15 2257 cat > confcache <<\EOF 2258 # This file is a shell script that caches the results of configure 2259 # tests run on this system so they can be shared between configure 2260 # scripts and configure runs. It is not useful on other systems. 2261 # If it contains results you don't want to keep, you may remove or edit it. 2262 # 2263 # By default, configure uses ./config.cache as the cache file, 2264 # creating it if it does not exist already. You can give configure 2265 # the --cache-file=FILE option to use a different cache file; that is 2266 # what configure does when it calls configure scripts in 2267 # subdirectories, so they share the cache. 2268 # Giving --cache-file=/dev/null disables caching, for debugging configure. 2269 # config.status only pays attention to the cache file if you give it the 2270 # --recheck option to rerun configure. 2271 # 2272 EOF 2273 # The following way of writing the cache mishandles newlines in values, 2274 # but we know of no workaround that is simple, portable, and efficient. 2275 # So, don't put newlines in cache variables' values. 2276 # Ultrix sh set writes to stderr and can't be redirected directly, 2277 # and sets the high bit in the cache file unless we assign to the vars. 2278 (set) 2>&1 | 2279 case `(ac_space=' '; set) 2>&1` in 2280 *ac_space=\ *) 2281 # `set' does not quote correctly, so add quotes (double-quote substitution 2282 # turns \\\\ into \\, and sed turns \\ into \). 2283 sed -n \ 2284 -e "s/'/'\\\\''/g" \ 2285 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 2286 ;; 2287 *) 2288 # `set' quotes correctly as required by POSIX, so do not add quotes. 2289 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 2290 ;; 2291 esac >> confcache 2292 if cmp -s $cache_file confcache; then 2293 : 2294 else 2295 if test -w $cache_file; then 2296 echo "updating cache $cache_file" 2297 cat confcache > $cache_file 2298 else 2299 echo "not updating unwritable cache $cache_file" 2300 fi 2301 fi 2302 rm -f confcache 2303 2304 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 2305 2306 test "x$prefix" = xNONE && prefix=$ac_default_prefix 2307 # Let make expand exec_prefix. 2308 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2309 2310 # Any assignment to VPATH causes Sun make to only execute 2311 # the first set of double-colon rules, so remove it if not needed. 2312 # If there is a colon in the path, we need to keep it. 2313 if test "x$srcdir" = x.; then 2314 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' 2315 fi 2316 2317 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 2318 2319 # Transform confdefs.h into DEFS. 2320 # Protect against shell expansion while executing Makefile rules. 2321 # Protect against Makefile macro expansion. 2322 cat > conftest.defs <<\EOF 2323 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g 2324 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g 2325 s%\[%\\&%g 2326 s%\]%\\&%g 2327 s%\$%$$%g 2328 EOF 2329 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` 2330 rm -f conftest.defs 2331 2332 2333 # Without the "./", some shells look in PATH for config.status. 2334 : ${CONFIG_STATUS=./config.status} 2335 2336 echo creating $CONFIG_STATUS 2337 rm -f $CONFIG_STATUS 2338 cat > $CONFIG_STATUS <<EOF 2339 #! /bin/sh 2340 # Generated automatically by configure. 2341 # Run this file to recreate the current configuration. 2342 # This directory was configured as follows, 2343 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 2344 # 2345 # $0 $ac_configure_args 2346 # 2347 # Compiler output produced by configure, useful for debugging 2348 # configure, is in ./config.log if it exists. 2349 2350 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 2351 for ac_option 2352 do 2353 case "\$ac_option" in 2354 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2355 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 2356 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 2357 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 2358 echo "$CONFIG_STATUS generated by autoconf version 2.12" 2359 exit 0 ;; 2360 -help | --help | --hel | --he | --h) 2361 echo "\$ac_cs_usage"; exit 0 ;; 2362 *) echo "\$ac_cs_usage"; exit 1 ;; 2363 esac 2364 done 2365 2366 ac_given_srcdir=$srcdir 2367 2368 trap 'rm -fr `echo "Makefile doc/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 2369 EOF 2370 cat >> $CONFIG_STATUS <<EOF 2371 2372 # Protect against being on the right side of a sed subst in config.status. 2373 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 2374 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 2375 $ac_vpsub 2376 $extrasub 2377 2378 CEOF 2379 EOF 2380 2381 cat >> $CONFIG_STATUS <<\EOF 2382 2383 # Split the substitutions into bite-sized pieces for seds with 2384 # small command number limits, like on Digital OSF/1 and HP-UX. 2385 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 2386 ac_file=1 # Number of current file. 2387 ac_beg=1 # First line for current file. 2388 ac_end=$ac_max_sed_cmds # Line after last line for current file. 2389 ac_more_lines=: 2390 ac_sed_cmds="" 2391 while $ac_more_lines; do 2392 if test $ac_beg -gt 1; then 2393 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 2394 else 2395 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 2396 fi 2397 if test ! -s conftest.s$ac_file; then 2398 ac_more_lines=false 2399 rm -f conftest.s$ac_file 2400 else 2401 if test -z "$ac_sed_cmds"; then 2402 ac_sed_cmds="sed -f conftest.s$ac_file" 2403 else 2404 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 2405 fi 2406 ac_file=`expr $ac_file + 1` 2407 ac_beg=$ac_end 2408 ac_end=`expr $ac_end + $ac_max_sed_cmds` 2409 fi 2410 done 2411 if test -z "$ac_sed_cmds"; then 2412 ac_sed_cmds=cat 2413 fi 2414 EOF 2415 2416 cat >> $CONFIG_STATUS <<EOF 2417 2418 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile"} 2419 EOF 2420 cat >> $CONFIG_STATUS <<\EOF 2421 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 2422 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 2423 case "$ac_file" in 2424 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 2425 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 2426 *) ac_file_in="${ac_file}.in" ;; 2427 esac 2428 2429 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 2430 2431 # Remove last slash and all that follows it. Not all systems have dirname. 2432 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 2433 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 2434 # The file is in a subdirectory. 2435 test ! -d "$ac_dir" && mkdir "$ac_dir" 2436 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" 2437 # A "../" for each directory in $ac_dir_suffix. 2438 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 2439 else 2440 ac_dir_suffix= ac_dots= 2441 fi 2442 2443 case "$ac_given_srcdir" in 2444 .) srcdir=. 2445 if test -z "$ac_dots"; then top_srcdir=. 2446 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 2447 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 2448 *) # Relative path. 2449 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" 2450 top_srcdir="$ac_dots$ac_given_srcdir" ;; 2451 esac 2452 2453 2454 echo creating "$ac_file" 2455 rm -f "$ac_file" 2456 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 2457 case "$ac_file" in 2458 *Makefile*) ac_comsub="1i\\ 2459 # $configure_input" ;; 2460 *) ac_comsub= ;; 2461 esac 2462 2463 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2464 sed -e "$ac_comsub 2465 s%@configure_input@%$configure_input%g 2466 s%@srcdir@%$srcdir%g 2467 s%@top_srcdir@%$top_srcdir%g 2468 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 2469 fi; done 2470 rm -f conftest.s* 2471 2472 EOF 2473 cat >> $CONFIG_STATUS <<EOF 2474 2475 EOF 2476 cat >> $CONFIG_STATUS <<\EOF 2477 2478 exit 0 2479 EOF 2480 chmod +x $CONFIG_STATUS 2481 rm -fr confdefs* $ac_clean_files 2482 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 2483 2484 if test "$no_recursion" != yes; then 2485 2486 # Remove --cache-file and --srcdir arguments so they do not pile up. 2487 ac_sub_configure_args= 2488 ac_prev= 2489 for ac_arg in $ac_configure_args; do 2490 if test -n "$ac_prev"; then 2491 ac_prev= 2492 continue 2493 fi 2494 case "$ac_arg" in 2495 -cache-file | --cache-file | --cache-fil | --cache-fi \ 2496 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 2497 ac_prev=cache_file ;; 2498 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 2499 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 2500 ;; 2501 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 2502 ac_prev=srcdir ;; 2503 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 2504 ;; 2505 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 2506 esac 2507 done 2508 2509 for ac_config_dir in $CONFIG_SUBDIRS; do 2510 2511 # Do not complain, so a configure script can configure whichever 2512 # parts of a large source tree are present. 2513 if test ! -d $srcdir/$ac_config_dir; then 2514 continue 2515 fi 2516 2517 echo configuring in $ac_config_dir 2518 2519 case "$srcdir" in 2520 .) ;; 2521 *) 2522 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :; 2523 else 2524 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; } 2525 fi 2526 ;; 2527 esac 2528 2529 ac_popdir=`pwd` 2530 cd $ac_config_dir 2531 2532 # A "../" for each directory in /$ac_config_dir. 2533 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` 2534 2535 case "$srcdir" in 2536 .) # No --srcdir option. We are building in place. 2537 ac_sub_srcdir=$srcdir ;; 2538 /*) # Absolute path. 2539 ac_sub_srcdir=$srcdir/$ac_config_dir ;; 2540 *) # Relative path. 2541 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; 2542 esac 2543 2544 # Check for guested configure; otherwise get Cygnus style configure. 2545 if test -f $ac_sub_srcdir/configure; then 2546 ac_sub_configure=$ac_sub_srcdir/configure 2547 elif test -f $ac_sub_srcdir/configure.in; then 2548 ac_sub_configure=$ac_configure 2549 else 2550 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2 2551 ac_sub_configure= 2552 fi 2553 2554 # The recursion is here. 2555 if test -n "$ac_sub_configure"; then 2556 2557 # Make the cache file name correct relative to the subdirectory. 2558 case "$cache_file" in 2559 /*) ac_sub_cache_file=$cache_file ;; 2560 *) # Relative path. 2561 ac_sub_cache_file="$ac_dots$cache_file" ;; 2562 esac 2563 2564 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" 2565 # The eval makes quoting arguments work. 2566 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir 2567 then : 2568 else 2569 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; } 2570 fi 2571 fi 2572 2573 cd $ac_popdir 2574 done 2575 fi 2576 2577 fi 2578 -
configure.in
r73e491 r23673b 512 512 AC_CONFIG_SUBDIRS($CONFIG_SUBDIRS) 513 513 514 AC_OUTPUT(Makefile doc/Makefile) 514 if test "$enable_gmp" = yes; then 515 AC_OUTPUT(Makefile doc/Makefile gmp/Makefile.in) 516 else 517 AC_OUTPUT(Makefile doc/Makefile) 518 fi 519
Note: See TracChangeset
for help on using the changeset viewer.