Changeset 8c8a76 in git


Ignore:
Timestamp:
May 2, 2000, 1:53:37 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
6ba162c4f4b9c7a834f12836e2203b890cace4e4
Parents:
d76127c24c920542ed71575d5303af18eb70c1c3
Message:
* hannes: added IntegerProgramming- subdir


git-svn-id: file:///usr/local/Singular/svn/trunk@4281 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    rd76127 r8c8a76  
    608608   OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" emacs/Makefile"
    609609fi
     610if test -d "IntegerProgramming"; then
     611   OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" IntegerProgramming/Makefile"
     612fi
    610613
    611614pwd=`pwd`
    612615
    613616echo $ac_n "checking uname for singular""... $ac_c" 1>&6
    614 echo "configure:615: checking uname for singular" >&5
     617echo "configure:618: checking uname for singular" >&5
    615618if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then
    616619  echo $ac_n "(cached) $ac_c" 1>&6
     
    664667set dummy gcc; ac_word=$2
    665668echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    666 echo "configure:667: checking for $ac_word" >&5
     669echo "configure:670: checking for $ac_word" >&5
    667670if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    668671  echo $ac_n "(cached) $ac_c" 1>&6
     
    694697set dummy cc; ac_word=$2
    695698echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    696 echo "configure:697: checking for $ac_word" >&5
     699echo "configure:700: checking for $ac_word" >&5
    697700if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    698701  echo $ac_n "(cached) $ac_c" 1>&6
     
    745748set dummy cl; ac_word=$2
    746749echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    747 echo "configure:748: checking for $ac_word" >&5
     750echo "configure:751: checking for $ac_word" >&5
    748751if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    749752  echo $ac_n "(cached) $ac_c" 1>&6
     
    777780
    778781echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    779 echo "configure:780: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     782echo "configure:783: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    780783
    781784ac_ext=c
     
    788791cat > conftest.$ac_ext << EOF
    789792
    790 #line 791 "configure"
     793#line 794 "configure"
    791794#include "confdefs.h"
    792795
    793796main(){return(0);}
    794797EOF
    795 if { (eval echo configure:796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     798if { (eval echo configure:799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    796799  ac_cv_prog_cc_works=yes
    797800  # If we can't run a trivial program, we are probably using a cross compiler.
     
    819822fi
    820823echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    821 echo "configure:822: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     824echo "configure:825: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    822825echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    823826cross_compiling=$ac_cv_prog_cc_cross
    824827
    825828echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    826 echo "configure:827: checking whether we are using GNU C" >&5
     829echo "configure:830: checking whether we are using GNU C" >&5
    827830if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    828831  echo $ac_n "(cached) $ac_c" 1>&6
     
    833836#endif
    834837EOF
    835 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     838if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    836839  ac_cv_prog_gcc=yes
    837840else
     
    852855CFLAGS=
    853856echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    854 echo "configure:855: checking whether ${CC-cc} accepts -g" >&5
     857echo "configure:858: checking whether ${CC-cc} accepts -g" >&5
    855858if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    856859  echo $ac_n "(cached) $ac_c" 1>&6
     
    884887
    885888echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    886 echo "configure:887: checking how to run the C preprocessor" >&5
     889echo "configure:890: checking how to run the C preprocessor" >&5
    887890# On Suns, sometimes $CPP names a directory.
    888891if test -n "$CPP" && test -d "$CPP"; then
     
    899902  # not just through cpp.
    900903  cat > conftest.$ac_ext <<EOF
    901 #line 902 "configure"
     904#line 905 "configure"
    902905#include "confdefs.h"
    903906#include <assert.h>
     
    905908EOF
    906909ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    907 { (eval echo configure:908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     910{ (eval echo configure:911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    908911ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    909912if test -z "$ac_err"; then
     
    916919  CPP="${CC-cc} -E -traditional-cpp"
    917920  cat > conftest.$ac_ext <<EOF
    918 #line 919 "configure"
     921#line 922 "configure"
    919922#include "confdefs.h"
    920923#include <assert.h>
     
    922925EOF
    923926ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    924 { (eval echo configure:925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     927{ (eval echo configure:928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    925928ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    926929if test -z "$ac_err"; then
     
    933936  CPP="${CC-cc} -nologo -E"
    934937  cat > conftest.$ac_ext <<EOF
    935 #line 936 "configure"
     938#line 939 "configure"
    936939#include "confdefs.h"
    937940#include <assert.h>
     
    939942EOF
    940943ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    941 { (eval echo configure:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     944{ (eval echo configure:945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    942945ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    943946if test -z "$ac_err"; then
     
    994997# ./install, which can be erroneously created by make from ./install.sh.
    995998echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    996 echo "configure:997: checking for a BSD compatible install" >&5
     999echo "configure:1000: checking for a BSD compatible install" >&5
    9971000if test -z "$INSTALL"; then
    9981001if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    10471050
    10481051echo $ac_n "checking for AIX""... $ac_c" 1>&6
    1049 echo "configure:1050: checking for AIX" >&5
     1052echo "configure:1053: checking for AIX" >&5
    10501053cat > conftest.$ac_ext <<EOF
    1051 #line 1052 "configure"
     1054#line 1055 "configure"
    10521055#include "confdefs.h"
    10531056#ifdef _AIX
     
    10701073
    10711074
     1075if test "${CXXFLAGS+set}" != set; then
     1076  ac_cxxflags_set=no
     1077  CXXFLAGS="-O"
     1078fi
     1079if test "${CFLAGS+set}" != set; then
     1080  CFLAGS="-O"
     1081  ac_cflags_set=no
     1082fi
     1083
     1084# check whether CXX was set by user as env variable
     1085if test "${CXX+set}" != set; then
     1086  ac_cxx_set=no
     1087else
     1088  ac_cxx_set=yes
     1089fi
     1090for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
     1091do
     1092# Extract the first word of "$ac_prog", so it can be a program name with args.
     1093set dummy $ac_prog; ac_word=$2
     1094echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1095echo "configure:1096: checking for $ac_word" >&5
     1096if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
     1097  echo $ac_n "(cached) $ac_c" 1>&6
     1098else
     1099  if test -n "$CXX"; then
     1100  ac_cv_prog_CXX="$CXX" # Let the user override the test.
     1101else
     1102  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1103  ac_dummy="$PATH"
     1104  for ac_dir in $ac_dummy; do
     1105    test -z "$ac_dir" && ac_dir=.
     1106    if test -f $ac_dir/$ac_word; then
     1107      ac_cv_prog_CXX="$ac_prog"
     1108      break
     1109    fi
     1110  done
     1111  IFS="$ac_save_ifs"
     1112fi
     1113fi
     1114CXX="$ac_cv_prog_CXX"
     1115if test -n "$CXX"; then
     1116  echo "$ac_t""$CXX" 1>&6
     1117else
     1118  echo "$ac_t""no" 1>&6
     1119fi
     1120
     1121test -n "$CXX" && break
     1122done
     1123test -n "$CXX" || CXX="gcc"
     1124
     1125
     1126echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     1127echo "configure:1128: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1128
     1129ac_ext=C
     1130# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1131ac_cpp='$CXXCPP $CPPFLAGS'
     1132ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1133ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1134cross_compiling=$ac_cv_prog_cxx_cross
     1135
     1136cat > conftest.$ac_ext << EOF
     1137
     1138#line 1139 "configure"
     1139#include "confdefs.h"
     1140
     1141int main(){return(0);}
     1142EOF
     1143if { (eval echo configure:1144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1144  ac_cv_prog_cxx_works=yes
     1145  # If we can't run a trivial program, we are probably using a cross compiler.
     1146  if (./conftest; exit) 2>/dev/null; then
     1147    ac_cv_prog_cxx_cross=no
     1148  else
     1149    ac_cv_prog_cxx_cross=yes
     1150  fi
     1151else
     1152  echo "configure: failed program was:" >&5
     1153  cat conftest.$ac_ext >&5
     1154  ac_cv_prog_cxx_works=no
     1155fi
     1156rm -fr conftest*
     1157ac_ext=c
     1158# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1159ac_cpp='$CPP $CPPFLAGS'
     1160ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1161ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1162cross_compiling=$ac_cv_prog_cc_cross
     1163
     1164echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
     1165if test $ac_cv_prog_cxx_works = no; then
     1166  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
     1167fi
     1168echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     1169echo "configure:1170: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1170echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
     1171cross_compiling=$ac_cv_prog_cxx_cross
     1172
     1173echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
     1174echo "configure:1175: checking whether we are using GNU C++" >&5
     1175if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
     1176  echo $ac_n "(cached) $ac_c" 1>&6
     1177else
     1178  cat > conftest.C <<EOF
     1179#ifdef __GNUC__
     1180  yes;
     1181#endif
     1182EOF
     1183if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1184  ac_cv_prog_gxx=yes
     1185else
     1186  ac_cv_prog_gxx=no
     1187fi
     1188fi
     1189
     1190echo "$ac_t""$ac_cv_prog_gxx" 1>&6
     1191
     1192if test $ac_cv_prog_gxx = yes; then
     1193  GXX=yes
     1194else
     1195  GXX=
     1196fi
     1197
     1198ac_test_CXXFLAGS="${CXXFLAGS+set}"
     1199ac_save_CXXFLAGS="$CXXFLAGS"
     1200CXXFLAGS=
     1201echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
     1202echo "configure:1203: checking whether ${CXX-g++} accepts -g" >&5
     1203if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
     1204  echo $ac_n "(cached) $ac_c" 1>&6
     1205else
     1206  echo 'void f(){}' > conftest.cc
     1207if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
     1208  ac_cv_prog_cxx_g=yes
     1209else
     1210  ac_cv_prog_cxx_g=no
     1211fi
     1212rm -f conftest*
     1213
     1214fi
     1215
     1216echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
     1217if test "$ac_test_CXXFLAGS" = set; then
     1218  CXXFLAGS="$ac_save_CXXFLAGS"
     1219elif test $ac_cv_prog_cxx_g = yes; then
     1220  if test "$GXX" = yes; then
     1221    CXXFLAGS="-g -O2"
     1222  else
     1223    CXXFLAGS="-g"
     1224  fi
     1225else
     1226  if test "$GXX" = yes; then
     1227    CXXFLAGS="-O2"
     1228  else
     1229    CXXFLAGS=
     1230  fi
     1231fi
     1232
     1233
     1234# check whether the compiler accepts -pipe
     1235echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
     1236echo "configure:1237: checking whether compiler accepts -pipe" >&5
     1237temp_cflags=${CFLAGS}
     1238CFLAGS="${CFLAGS} -pipe"
     1239if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then
     1240  echo $ac_n "(cached) $ac_c" 1>&6
     1241else
     1242  cat > conftest.$ac_ext <<EOF
     1243#line 1244 "configure"
     1244#include "confdefs.h"
     1245
     1246int main() {
     1247
     1248; return 0; }
     1249EOF
     1250if { (eval echo configure:1251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1251  rm -rf conftest*
     1252  ac_cv_cxx_have_pipe=yes
     1253else
     1254  echo "configure: failed program was:" >&5
     1255  cat conftest.$ac_ext >&5
     1256  rm -rf conftest*
     1257  ac_cv_cxx_have_pipe=no
     1258fi
     1259rm -f conftest*
     1260
     1261fi
     1262
     1263echo "$ac_t""${ac_cv_cxx_have_pipe}" 1>&6
     1264CFLAGS=${temp_cflags}
     1265if test "${ac_cv_cxx_have_pipe}" != yes; then
     1266  PIPE=
     1267else
     1268  PIPE="-pipe"
     1269fi
     1270
    10721271
    10731272for ac_prog in perl5 perl
     
    10761275set dummy $ac_prog; ac_word=$2
    10771276echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1078 echo "configure:1079: checking for $ac_word" >&5
     1277echo "configure:1278: checking for $ac_word" >&5
    10791278if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
    10801279  echo $ac_n "(cached) $ac_c" 1>&6
     
    11101309set dummy $ac_prog; ac_word=$2
    11111310echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1112 echo "configure:1113: checking for $ac_word" >&5
     1311echo "configure:1312: checking for $ac_word" >&5
    11131312if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then
    11141313  echo $ac_n "(cached) $ac_c" 1>&6
     
    11441343set dummy $ac_prog; ac_word=$2
    11451344echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1146 echo "configure:1147: checking for $ac_word" >&5
     1345echo "configure:1346: checking for $ac_word" >&5
    11471346if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then
    11481347  echo $ac_n "(cached) $ac_c" 1>&6
     
    11801379set dummy $ac_prog; ac_word=$2
    11811380echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1182 echo "configure:1183: checking for $ac_word" >&5
     1381echo "configure:1382: checking for $ac_word" >&5
    11831382if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then
    11841383  echo $ac_n "(cached) $ac_c" 1>&6
     
    12131412set dummy latex2html; ac_word=$2
    12141413echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1215 echo "configure:1216: checking for $ac_word" >&5
     1414echo "configure:1415: checking for $ac_word" >&5
    12161415if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then
    12171416  echo $ac_n "(cached) $ac_c" 1>&6
     
    12401439
    12411440echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1242 echo "configure:1243: checking whether ln -s works" >&5
     1441echo "configure:1442: checking whether ln -s works" >&5
    12431442if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    12441443  echo $ac_n "(cached) $ac_c" 1>&6
     
    13031502# check for AIX
    13041503echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1305 echo "configure:1306: checking whether _AIX is defined" >&5
     1504echo "configure:1505: checking whether _AIX is defined" >&5
    13061505if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    13071506  echo $ac_n "(cached) $ac_c" 1>&6
    13081507else
    13091508  cat > conftest.$ac_ext <<EOF
    1310 #line 1311 "configure"
     1509#line 1510 "configure"
    13111510#include "confdefs.h"
    13121511#ifdef _AIX
     
    13341533
    13351534echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1336 echo "configure:1337: checking for atof in -lm" >&5
     1535echo "configure:1536: checking for atof in -lm" >&5
    13371536ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    13381537if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13421541LIBS="-lm  $LIBS"
    13431542cat > conftest.$ac_ext <<EOF
    1344 #line 1345 "configure"
     1543#line 1544 "configure"
    13451544#include "confdefs.h"
    13461545/* Override any gcc2 internal prototype to avoid an error.  */
     
    13531552; return 0; }
    13541553EOF
    1355 if { (eval echo configure:1356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1554if { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    13561555  rm -rf conftest*
    13571556  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13811580
    13821581echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
    1383 echo "configure:1384: checking for socket in -lbsd" >&5
     1582echo "configure:1583: checking for socket in -lbsd" >&5
    13841583ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    13851584if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13891588LIBS="-lbsd  $LIBS"
    13901589cat > conftest.$ac_ext <<EOF
    1391 #line 1392 "configure"
     1590#line 1591 "configure"
    13921591#include "confdefs.h"
    13931592/* Override any gcc2 internal prototype to avoid an error.  */
     
    14001599; return 0; }
    14011600EOF
    1402 if { (eval echo configure:1403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1601if { (eval echo configure:1602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14031602  rm -rf conftest*
    14041603  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14281627
    14291628echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1430 echo "configure:1431: checking for listen in -lsocket" >&5
     1629echo "configure:1630: checking for listen in -lsocket" >&5
    14311630ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    14321631if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14361635LIBS="-lsocket  $LIBS"
    14371636cat > conftest.$ac_ext <<EOF
    1438 #line 1439 "configure"
     1637#line 1638 "configure"
    14391638#include "confdefs.h"
    14401639/* Override any gcc2 internal prototype to avoid an error.  */
     
    14471646; return 0; }
    14481647EOF
    1449 if { (eval echo configure:1450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1648if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14501649  rm -rf conftest*
    14511650  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14751674
    14761675echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1477 echo "configure:1478: checking for gethostbyname in -lnsl" >&5
     1676echo "configure:1677: checking for gethostbyname in -lnsl" >&5
    14781677ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    14791678if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14831682LIBS="-lnsl  $LIBS"
    14841683cat > conftest.$ac_ext <<EOF
    1485 #line 1486 "configure"
     1684#line 1685 "configure"
    14861685#include "confdefs.h"
    14871686/* Override any gcc2 internal prototype to avoid an error.  */
     
    14941693; return 0; }
    14951694EOF
    1496 if { (eval echo configure:1497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1695if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14971696  rm -rf conftest*
    14981697  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15221721
    15231722echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    1524 echo "configure:1525: checking for main in -lgmp" >&5
     1723echo "configure:1724: checking for main in -lgmp" >&5
    15251724ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    15261725if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15301729LIBS="-lgmp  $LIBS"
    15311730cat > conftest.$ac_ext <<EOF
    1532 #line 1533 "configure"
     1731#line 1732 "configure"
    15331732#include "confdefs.h"
    15341733
     
    15371736; return 0; }
    15381737EOF
    1539 if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1738if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15401739  rm -rf conftest*
    15411740  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15651764
    15661765echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6
    1567 echo "configure:1568: checking for mpz_init in -lsmallgmp" >&5
     1766echo "configure:1767: checking for mpz_init in -lsmallgmp" >&5
    15681767ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'`
    15691768if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15731772LIBS="-lsmallgmp  $LIBS"
    15741773cat > conftest.$ac_ext <<EOF
    1575 #line 1576 "configure"
     1774#line 1775 "configure"
    15761775#include "confdefs.h"
    15771776/* Override any gcc2 internal prototype to avoid an error.  */
     
    15841783; return 0; }
    15851784EOF
    1586 if { (eval echo configure:1587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1785if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15871786  rm -rf conftest*
    15881787  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16121811
    16131812echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    1614 echo "configure:1615: checking for IMP_PutGmpInt in -lMP" >&5
     1813echo "configure:1814: checking for IMP_PutGmpInt in -lMP" >&5
    16151814ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    16161815if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16201819LIBS="-lMP  $LIBS"
    16211820cat > conftest.$ac_ext <<EOF
    1622 #line 1623 "configure"
     1821#line 1822 "configure"
    16231822#include "confdefs.h"
    16241823/* Override any gcc2 internal prototype to avoid an error.  */
     
    16311830; return 0; }
    16321831EOF
    1633 if { (eval echo configure:1634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1832if { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16341833  rm -rf conftest*
    16351834  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16591858
    16601859echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    1661 echo "configure:1662: checking for MPT_GetTree in -lMPT" >&5
     1860echo "configure:1861: checking for MPT_GetTree in -lMPT" >&5
    16621861ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    16631862if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16671866LIBS="-lMPT  $LIBS"
    16681867cat > conftest.$ac_ext <<EOF
    1669 #line 1670 "configure"
     1868#line 1869 "configure"
    16701869#include "confdefs.h"
    16711870/* Override any gcc2 internal prototype to avoid an error.  */
     
    16781877; return 0; }
    16791878EOF
    1680 if { (eval echo configure:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1879if { (eval echo configure:1880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16811880  rm -rf conftest*
    16821881  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17061905
    17071906echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    1708 echo "configure:1709: checking for atof in -lsingcf" >&5
     1907echo "configure:1908: checking for atof in -lsingcf" >&5
    17091908ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    17101909if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17141913LIBS="-lsingcf  $LIBS"
    17151914cat > conftest.$ac_ext <<EOF
    1716 #line 1717 "configure"
     1915#line 1916 "configure"
    17171916#include "confdefs.h"
    17181917/* Override any gcc2 internal prototype to avoid an error.  */
     
    17251924; return 0; }
    17261925EOF
    1727 if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1926if { (eval echo configure:1927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17281927  rm -rf conftest*
    17291928  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17531952
    17541953echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    1755 echo "configure:1756: checking for atof in -lsingfac" >&5
     1954echo "configure:1955: checking for atof in -lsingfac" >&5
    17561955ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    17571956if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17611960LIBS="-lsingfac  $LIBS"
    17621961cat > conftest.$ac_ext <<EOF
    1763 #line 1764 "configure"
     1962#line 1963 "configure"
    17641963#include "confdefs.h"
    17651964/* Override any gcc2 internal prototype to avoid an error.  */
     
    17721971; return 0; }
    17731972EOF
    1774 if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1973if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17751974  rm -rf conftest*
    17761975  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18042003ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18052004echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1806 echo "configure:1807: checking for $ac_hdr" >&5
     2005echo "configure:2006: checking for $ac_hdr" >&5
    18072006if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18082007  echo $ac_n "(cached) $ac_c" 1>&6
    18092008else
    18102009  cat > conftest.$ac_ext <<EOF
    1811 #line 1812 "configure"
     2010#line 2011 "configure"
    18122011#include "confdefs.h"
    18132012#include <$ac_hdr>
    18142013EOF
    18152014ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1816 { (eval echo configure:1817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2015{ (eval echo configure:2016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18172016ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18182017if test -z "$ac_err"; then
     
    19802179
    19812180echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6
    1982 echo "configure:1983: checking which tmp dir to use" >&5
     2181echo "configure:2182: checking which tmp dir to use" >&5
    19832182if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then
    19842183  if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1)
     
    19962195
    19972196echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6
    1998 echo "configure:1999: checking whether to configure and build gmp lib" >&5
     2197echo "configure:2198: checking whether to configure and build gmp lib" >&5
    19992198if test "$enable_gmp" != yes && test "$enable_gmp" != no; then
    20002199  if test "$ac_gmp_ok" != yes && test -d gmp; then
     
    20222221
    20232222echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6
    2024 echo "configure:2025: checking whether to configure and build smallgmp lib" >&5
     2223echo "configure:2224: checking whether to configure and build smallgmp lib" >&5
    20252224if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then
    20262225  if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \
     
    20612260
    20622261echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6
    2063 echo "configure:2064: checking whether to configure and build MP lib" >&5
     2262echo "configure:2263: checking whether to configure and build MP lib" >&5
    20642263if test "$enable_MP" != yes && test "$enable_MP" != no; then
    20652264  if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \
     
    20902289 
    20912290echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6
    2092 echo "configure:2093: checking whether to configure and build factory lib" >&5
     2291echo "configure:2292: checking whether to configure and build factory lib" >&5
    20932292if test "$enable_factory" != yes && test "$enable_factory" != no; then
    20942293  if test "$with_factory" != no && test "$ac_factory_ok" != yes && \
     
    21152314
    21162315echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6
    2117 echo "configure:2118: checking whether to configure and build libfac lib" >&5
     2316echo "configure:2317: checking whether to configure and build libfac lib" >&5
    21182317if test "$enable_libfac" != yes && test "$enable_libfac" != no; then
    21192318  if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \
     
    21452344
    21462345echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6
    2147 echo "configure:2148: checking whether to configure and build sgroup lib" >&5
     2346echo "configure:2347: checking whether to configure and build sgroup lib" >&5
    21482347if test "$enable_sgroup" = yes; then
    21492348  if test ! -d sgroup; then
     
    21652364
    21662365echo $ac_n "checking whether to build mpr and use mtrack""... $ac_c" 1>&6
    2167 echo "configure:2168: checking whether to build mpr and use mtrack" >&5
     2366echo "configure:2367: checking whether to build mpr and use mtrack" >&5
    21682367if test -d mpr && test "$ac_cv_singuname" = ix86-Linux && test "$enable_mtrack" != no; then
    21692368  echo "$ac_t""yes" 1>&6
     
    21802379
    21812380echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6
    2182 echo "configure:2183: checking whether to configure and build Singular" >&5
     2381echo "configure:2382: checking whether to configure and build Singular" >&5
    21832382if test "$enable_Singular" != yes && test "$enable_Singular" != no; then
    21842383  if test "$with_Singular" != no && test -d Singular; then
     
    22062405
    22072406echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6
    2208 echo "configure:2209: checking whether to configure and build Texinfo" >&5
     2407echo "configure:2408: checking whether to configure and build Texinfo" >&5
    22092408if test "$enable_Texinfo" != no && test -d Texinfo; then
    22102409  echo "$ac_t""yes" 1>&6
     
    22282427set dummy makeinfo; ac_word=$2
    22292428echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2230 echo "configure:2231: checking for $ac_word" >&5
     2429echo "configure:2430: checking for $ac_word" >&5
    22312430if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
    22322431  echo $ac_n "(cached) $ac_c" 1>&6
     
    22582457set dummy texi2dvi; ac_word=$2
    22592458echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2260 echo "configure:2261: checking for $ac_word" >&5
     2459echo "configure:2460: checking for $ac_word" >&5
    22612460if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then
    22622461  echo $ac_n "(cached) $ac_c" 1>&6
     
    22882487set dummy texindex; ac_word=$2
    22892488echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2290 echo "configure:2291: checking for $ac_word" >&5
     2489echo "configure:2490: checking for $ac_word" >&5
    22912490if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then
    22922491  echo $ac_n "(cached) $ac_c" 1>&6
     
    23172516fi 
    23182517
     2518# test if IntegerProgramming should be built:
     2519
     2520if test -d "IntegerProgramming"; then
     2521   BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming"
     2522fi
    23192523
    23202524echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6
    2321 echo "configure:2322: checking whether to configure and build Texi2html" >&5
     2525echo "configure:2526: checking whether to configure and build Texi2html" >&5
    23222526if test "$enable_Texi2html" != no && test -d Texi2html; then
    23232527 echo "$ac_t""yes" 1>&6
     
    23342538set dummy texi2html; ac_word=$2
    23352539echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2336 echo "configure:2337: checking for $ac_word" >&5
     2540echo "configure:2541: checking for $ac_word" >&5
    23372541if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then
    23382542  echo $ac_n "(cached) $ac_c" 1>&6
     
    23722576
    23732577echo $ac_n "checking whether to build doc""... $ac_c" 1>&6
    2374 echo "configure:2375: checking whether to build doc" >&5
     2578echo "configure:2579: checking whether to build doc" >&5
    23752579if test "$enable_doc" != no && test -d doc; then
    23762580 echo "$ac_t""yes" 1>&6
     
    23862590
    23872591echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6
    2388 echo "configure:2389: checking whether to build emacs" >&5
     2592echo "configure:2593: checking whether to build emacs" >&5
    23892593if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then
    23902594 echo "$ac_t""yes" 1>&6
     
    23982602
    23992603echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    2400 echo "configure:2401: checking which apint package to use" >&5
     2604echo "configure:2605: checking which apint package to use" >&5
    24012605if test "$with_apint" = gmp; then
    24022606  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    24222626
    24232627echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6
    2424 echo "configure:2425: checking whether to use with MP" >&5
     2628echo "configure:2629: checking whether to use with MP" >&5
    24252629if test "$with_MP" = yes; then
    24262630  if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then
     
    24412645
    24422646echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6
    2443 echo "configure:2444: checking whether to use with factory" >&5
     2647echo "configure:2648: checking whether to use with factory" >&5
    24442648if test "$with_factory" = yes; then
    24452649  if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then
     
    24602664 
    24612665echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6
    2462 echo "configure:2463: checking whether to use with libfac" >&5
     2666echo "configure:2667: checking whether to use with libfac" >&5
    24632667if test "$with_libfac" = yes; then
    24642668  if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then
     
    24802684
    24812685echo $ac_n "checking whether to use with mtrack""... $ac_c" 1>&6
    2482 echo "configure:2483: checking whether to use with mtrack" >&5
     2686echo "configure:2687: checking whether to use with mtrack" >&5
    24832687if test "$with_mtrack" != no && test "$with_mtrack" != yes; then
    24842688  if test "$enable_mtrack" = yes; then
     
    25002704
    25012705echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6
    2502 echo "configure:2503: checking whether to use with Singular" >&5
     2706echo "configure:2707: checking whether to use with Singular" >&5
    25032707if test "$with_Singular" != no && test "$with_Singular" != yes; then
    25042708  if test "$enable_Singular" = yes; then
     
    25592763 
    25602764
     2765
    25612766echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    2562 echo "configure:2563: checking whether ${MAKE-make} sets \${MAKE}" >&5
     2767echo "configure:2768: checking whether ${MAKE-make} sets \${MAKE}" >&5
    25632768set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    25642769if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    27472952s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
    27482953s%@INSTALL_DATA@%$INSTALL_DATA%g
     2954s%@CXX@%$CXX%g
     2955s%@PIPE@%$PIPE%g
    27492956s%@PERL@%$PERL%g
    27502957s%@UUDECODE@%$UUDECODE%g
  • configure.in

    rd76127 r8c8a76  
    2121if test -d "emacs"; then
    2222   OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" emacs/Makefile"
     23fi
     24if test -d "IntegerProgramming"; then
     25   OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" IntegerProgramming/Makefile"
    2326fi
    2427
     
    7881
    7982dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
    80 dnl Those are needed to check for libs and headers, later on
     83dnl compiler stuff
     84dnl is needed to check for libs and headers, later on
    8185dnl
    8286AC_PROG_CC
     
    8488AC_PROG_INSTALL
    8589AC_AIX
     90dnl we do not want to have "-g -O" for CFLAGS
     91if test "${CXXFLAGS+set}" != set; then
     92  ac_cxxflags_set=no
     93  CXXFLAGS="-O"
     94fi
     95if test "${CFLAGS+set}" != set; then
     96  CFLAGS="-O"
     97  ac_cflags_set=no
     98fi
     99
     100# check whether CXX was set by user as env variable
     101if test "${CXX+set}" != set; then
     102  ac_cxx_set=no
     103else
     104  ac_cxx_set=yes
     105fi
     106AC_PROG_CXX
     107
     108# check whether the compiler accepts -pipe
     109AC_MSG_CHECKING(whether compiler accepts -pipe)
     110temp_cflags=${CFLAGS}
     111CFLAGS="${CFLAGS} -pipe"
     112AC_CACHE_VAL(ac_cv_cxx_have_pipe,
     113AC_TRY_COMPILE(,,ac_cv_cxx_have_pipe=yes,ac_cv_cxx_have_pipe=no)
     114)
     115AC_MSG_RESULT(${ac_cv_cxx_have_pipe})
     116CFLAGS=${temp_cflags}
     117if test "${ac_cv_cxx_have_pipe}" != yes; then
     118  PIPE=
     119else
     120  PIPE="-pipe"
     121fi
     122AC_SUBST(PIPE)
    86123
    87124AC_CHECK_PROGS(PERL, perl5 perl)
     
    511548fi 
    512549
     550# test if IntegerProgramming should be built:
     551
     552if test -d "IntegerProgramming"; then
     553   BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming"
     554fi
    513555
    514556AC_MSG_CHECKING(whether to configure and build Texi2html)
     
    724766 
    725767
     768
    726769dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
    727770dnl Enough -- wrap it up
Note: See TracChangeset for help on using the changeset viewer.