Changeset a04715 in git
- Timestamp:
- Aug 10, 1997, 7:11:35 PM (27 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- b1525cd139f88d1e1009cf0f480a9bdb6b987f9e
- Parents:
- f0bce78e775b9a9ba0ee7be9e12371b24b3fdeec
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rf0bce7 ra04715 28 28 \ 29 29 libfac char set and modp poly factorization library" 30 ac_help="$ac_help 31 \ 32 sgroup numerical semigroup computations" 30 33 ac_help="$ac_help 31 34 \ … … 692 695 #endif 693 696 EOF 694 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:69 5: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then697 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 695 698 ac_cv_prog_gcc=yes 696 699 else … … 744 747 # not just through cpp. 745 748 cat > conftest.$ac_ext <<EOF 746 #line 7 47"configure"749 #line 750 "configure" 747 750 #include "confdefs.h" 748 751 #include <assert.h> … … 750 753 EOF 751 754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 752 { (eval echo configure:75 3: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }755 { (eval echo configure:756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 753 756 ac_err=`grep -v '^ *+' conftest.out` 754 757 if test -z "$ac_err"; then … … 759 762 CPP="${CC-cc} -E -traditional-cpp" 760 763 cat > conftest.$ac_ext <<EOF 761 #line 76 2"configure"764 #line 765 "configure" 762 765 #include "confdefs.h" 763 766 #include <assert.h> … … 765 768 EOF 766 769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 767 { (eval echo configure:7 68: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }770 { (eval echo configure:771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 768 771 ac_err=`grep -v '^ *+' conftest.out` 769 772 if test -z "$ac_err"; then … … 787 790 echo $ac_n "checking for AIX""... $ac_c" 1>&6 788 791 cat > conftest.$ac_ext <<EOF 789 #line 79 0"configure"792 #line 793 "configure" 790 793 #include "confdefs.h" 791 794 #ifdef _AIX … … 847 850 else 848 851 cat > conftest.$ac_ext <<EOF 849 #line 85 0"configure"852 #line 853 "configure" 850 853 #include "confdefs.h" 851 854 #ifdef _AIX … … 881 884 LIBS="-lm $LIBS" 882 885 cat > conftest.$ac_ext <<EOF 883 #line 88 4"configure"886 #line 887 "configure" 884 887 #include "confdefs.h" 885 888 /* Override any gcc2 internal prototype to avoid an error. */ … … 891 894 ; return 0; } 892 895 EOF 893 if { (eval echo configure:89 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then896 if { (eval echo configure:897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 894 897 rm -rf conftest* 895 898 eval "ac_cv_lib_$ac_lib_var=yes" … … 923 926 LIBS="-lgmp $LIBS" 924 927 cat > conftest.$ac_ext <<EOF 925 #line 92 6"configure"928 #line 929 "configure" 926 929 #include "confdefs.h" 927 930 /* Override any gcc2 internal prototype to avoid an error. */ … … 933 936 ; return 0; } 934 937 EOF 935 if { (eval echo configure:93 6: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then938 if { (eval echo configure:939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 936 939 rm -rf conftest* 937 940 eval "ac_cv_lib_$ac_lib_var=yes" … … 965 968 LIBS="-lsmallgmp $LIBS" 966 969 cat > conftest.$ac_ext <<EOF 967 #line 9 68"configure"970 #line 971 "configure" 968 971 #include "confdefs.h" 969 972 /* Override any gcc2 internal prototype to avoid an error. */ … … 975 978 ; return 0; } 976 979 EOF 977 if { (eval echo configure:9 78: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then980 if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 978 981 rm -rf conftest* 979 982 eval "ac_cv_lib_$ac_lib_var=yes" … … 1007 1010 LIBS="-lMP $LIBS" 1008 1011 cat > conftest.$ac_ext <<EOF 1009 #line 101 0"configure"1012 #line 1013 "configure" 1010 1013 #include "confdefs.h" 1011 1014 /* Override any gcc2 internal prototype to avoid an error. */ … … 1017 1020 ; return 0; } 1018 1021 EOF 1019 if { (eval echo configure:102 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1022 if { (eval echo configure:1023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1020 1023 rm -rf conftest* 1021 1024 eval "ac_cv_lib_$ac_lib_var=yes" … … 1049 1052 LIBS="-lMPT $LIBS" 1050 1053 cat > conftest.$ac_ext <<EOF 1051 #line 105 2"configure"1054 #line 1055 "configure" 1052 1055 #include "confdefs.h" 1053 1056 /* Override any gcc2 internal prototype to avoid an error. */ … … 1059 1062 ; return 0; } 1060 1063 EOF 1061 if { (eval echo configure:106 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1064 if { (eval echo configure:1065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1062 1065 rm -rf conftest* 1063 1066 eval "ac_cv_lib_$ac_lib_var=yes" … … 1091 1094 LIBS="-lsingcf $LIBS" 1092 1095 cat > conftest.$ac_ext <<EOF 1093 #line 109 4"configure"1096 #line 1097 "configure" 1094 1097 #include "confdefs.h" 1095 1098 /* Override any gcc2 internal prototype to avoid an error. */ … … 1101 1104 ; return 0; } 1102 1105 EOF 1103 if { (eval echo configure:110 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1106 if { (eval echo configure:1107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1104 1107 rm -rf conftest* 1105 1108 eval "ac_cv_lib_$ac_lib_var=yes" … … 1133 1136 LIBS="-lsingfac $LIBS" 1134 1137 cat > conftest.$ac_ext <<EOF 1135 #line 113 6"configure"1138 #line 1139 "configure" 1136 1139 #include "confdefs.h" 1137 1140 /* Override any gcc2 internal prototype to avoid an error. */ … … 1143 1146 ; return 0; } 1144 1147 EOF 1145 if { (eval echo configure:114 6: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1148 if { (eval echo configure:1149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1146 1149 rm -rf conftest* 1147 1150 eval "ac_cv_lib_$ac_lib_var=yes" … … 1176 1179 else 1177 1180 cat > conftest.$ac_ext <<EOF 1178 #line 11 79"configure"1181 #line 1182 "configure" 1179 1182 #include "confdefs.h" 1180 1183 #include <$ac_hdr> 1181 1184 EOF 1182 1185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1183 { (eval echo configure:118 4: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1186 { (eval echo configure:1187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1184 1187 ac_err=`grep -v '^ *+' conftest.out` 1185 1188 if test -z "$ac_err"; then … … 1257 1260 if test "${enable_libfac+set}" = set; then 1258 1261 enableval="$enable_libfac" 1262 : 1263 fi 1264 1265 # Check whether --enable-sgroup or --disable-sgroup was given. 1266 if test "${enable_sgroup+set}" = set; then 1267 enableval="$enable_sgroup" 1259 1268 : 1260 1269 fi … … 1405 1414 enable_libfac=no 1406 1415 ac_configure_args="$ac_configure_args --disable-libfac" 1416 fi 1417 1418 echo $ac_n "checking whether to configure and build sgroup""... $ac_c" 1>&6 1419 if test "$enable_sgroup" != no; then 1420 enable_sgroup=yes 1421 fi 1422 1423 if test "$enable_sgroup" = yes && test -d sgroup; then 1424 if test "$ac_will_have_gmp" = yes || test "$ac_gmp_ok" = yes; then 1425 if test "$enable_MP" != no || test "$ac_MP_ok" = yes; then 1426 echo "$ac_t""yes" 1>&6 1427 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 1428 ac_configure_args="$ac_configure_args --enable-sgroup" 1429 else 1430 echo "$ac_t""no" 1>&6 1431 echo "configure: warning: Can not build sgroup without having MP" 1>&2 1432 enable_sgroup=no 1433 ac_configure_args="$ac_configure_args --disable-sgroup" 1434 fi 1435 else 1436 echo "$ac_t""no" 1>&6 1437 echo "configure: warning: Can not build sgroup without having gmp" 1>&2 1438 enable_sgroup=no 1439 ac_configure_args="$ac_configure_args --disable-sgroup" 1440 fi 1441 else 1442 echo "$ac_t""no" 1>&6 1443 if test "$enable_sgroup" = yes && test ! -d sgroup; then 1444 echo "configure: warning: Did not find sgroup subdirectory" 1>&2 1445 fi 1446 enable_sgroup=no 1447 ac_configure_args="$ac_configure_args --disable-sgroup" 1407 1448 fi 1408 1449 -
configure.in
rf0bce7 ra04715 131 131 AC_ARG_ENABLE(libfac, \ 132 132 [ libfac char set and modp poly factorization library]) 133 AC_ARG_ENABLE(sgroup, \ 134 [ sgroup numerical semigroup computations]) 133 135 AC_ARG_ENABLE(Singular, \ 134 136 [ Singular CAS for commutative algebra]) … … 262 264 fi 263 265 266 AC_MSG_CHECKING(whether to configure and build sgroup) 267 if test "$enable_sgroup" != no; then 268 enable_sgroup=yes 269 fi 270 271 if test "$enable_sgroup" = yes && test -d sgroup; then 272 if test "$ac_will_have_gmp" = yes || test "$ac_gmp_ok" = yes; then 273 if test "$enable_MP" != no || test "$ac_MP_ok" = yes; then 274 AC_MSG_RESULT(yes) 275 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 276 ac_configure_args="$ac_configure_args --enable-sgroup" 277 else 278 AC_MSG_RESULT(no) 279 AC_MSG_WARN(Can not build sgroup without having MP) 280 enable_sgroup=no 281 ac_configure_args="$ac_configure_args --disable-sgroup" 282 fi 283 else 284 AC_MSG_RESULT(no) 285 AC_MSG_WARN(Can not build sgroup without having gmp) 286 enable_sgroup=no 287 ac_configure_args="$ac_configure_args --disable-sgroup" 288 fi 289 else 290 AC_MSG_RESULT(no) 291 if test "$enable_sgroup" = yes && test ! -d sgroup; then 292 AC_MSG_WARN(Did not find sgroup subdirectory) 293 fi 294 enable_sgroup=no 295 ac_configure_args="$ac_configure_args --disable-sgroup" 296 fi 297 264 298 AC_MSG_CHECKING(whether to configure and build Singular) 265 299 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then
Note: See TracChangeset
for help on using the changeset viewer.