Changeset 3aea08 in git


Ignore:
Timestamp:
Sep 13, 2011, 8:56:25 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '2234726c50d679d6664181a5c72f75a6fd64a787')
Children:
86b7aca42daec7197ed82f8a2fe137fe4c04bc18
Parents:
7fbb01c98614caf3b33d1a020c7835fa4a986cf3
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-13 20:56:25+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:46+01:00
Message:
ADD: automake support for kernel/ (Makefile.am)
ADD: libtool is going to be used for building kernel tests
ADD: main configure.ac now provides the needed flags for building kernel tests
Files:
1 added
2 edited
2 moved

Legend:

Unmodified
Added
Removed
  • configure.ac

    r7fbb01 r3aea08  
    11AC_INIT([singular], [3.1.2.sw])
    22
     3AC_CONFIG_MACRO_DIR([m4])
    34AC_CONFIG_AUX_DIR([.])
     5
     6AC_CONFIG_SRCDIR([Singular/tesths.cc])
     7
     8AC_CONFIG_HEADER([config.h])
    49
    510AM_MAINTAINER_MODE
    611AM_INIT_AUTOMAKE
     12
     13
     14dnl Check if build env is sane
     15AM_SANITY_CHECK
     16
     17LT_INIT(dlopen disable-static)
     18
    719AC_PROG_CC
    820AC_PROG_CXX
    921AM_PROG_CC_C_O
    10 AC_PROG_RANLIB
     22AC_PROG_LN_S
     23AC_PROG_INSTALL
     24# AC_PROG_RANLIB
    1125
    12 SING_CHECK_FACTORY
    1326# Checks for libraries.
    1427LB_CHECK_GMP(3.1.1,,AC_MSG_ERROR([Unable to find GMP on your machine: please use --with-gmp=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)]))
    1528LB_CHECK_NTL(5.0,,AC_MSG_WARN([Unable to find NTL (which is strongly recommended) on your machine: please use --with-ntl=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)]))
    1629
     30AC_FUNC_ERROR_AT_LINE
     31AC_FUNC_MALLOC
     32
     33SING_CHECK_PIPE
     34
     35# check for cpu properties
     36AC_CHECK_SIZEOF(long,4)
     37SING_CHECK_CPU
     38
     39#check for host:
     40AC_CANONICAL_HOST
     41case $host_os in
     42  *cygwin* ) LIBPREFIX="-Xlinker -Bdynamic";;
     43  * ) LIBPREFIX="";;
     44esac
     45
     46
     47SING_CHECK_P_PROCS
     48SING_CHECK_FACTORY
    1749
    1850### the following is needed due to the use of om_sing_opt_show_mem in misc_ip.cc...
     
    2860
    2961AC_CONFIG_FILES([Makefile])
     62AC_CONFIG_FILES([kernel/Makefile])
    3063AC_CONFIG_FILES([numeric/Makefile])
    3164
  • for_Hans_with_love.sh

    r7fbb01 r3aea08  
    99TOP_DIR=$PWD
    1010
    11 for d in .; do
     11for d in . libpolys; do
    1212  echo "==============="
    13   echo "run aclocal -I $TOP_DIR/m4, autoconf, automake -a in $d"
     13  echo "run libtoolize --force, aclocal -I $TOP_DIR/m4, autoconf, automake -a in $d"
    1414  echo "---------------"
    1515  cd $d;
     16  libtoolize --force
    1617  aclocal -I $TOP_DIR/m4
    17   autoconf
    18   automake -a
     18  autotools
    1919  cd $TOP_DIR
    2020  echo
    2121done
    2222
    23 for d in omalloc; do
     23for d in omalloc factory; do
    2424  echo "==============="
    2525  echo "run aclocal -I $TOP_DIR/m4, autotools in $d"
     
    3131  echo
    3232done
    33 
    34 for d in factory; do
    35   echo "==============="
    36   echo "run aclocal -I $TOP_DIR/m4, autotools in $d"
    37   echo "---------------"
    38   cd $d;
    39   aclocal -I $TOP_DIR/m4
    40   autotools
    41   cd $TOP_DIR
    42   echo
    43 done
    44 
    45 for d in libpolys; do
    46   echo "==============="
    47   echo "run libtoolize --force, aclocal -I $TOP_DIR/m4, autotools in $d"
    48   echo "---------------"
    49   cd $d;
    50   libtoolize --force
    51   aclocal -I $TOP_DIR/m4
    52   autoheader
    53   autotools
    54   cd $TOP_DIR
    55   echo
    56 done
    57 
  • kernel/makefile.SAVE

    r7fbb01 r3aea08  
    8585    linearAlgebra.cc nc.cc preimage.cc
    8686   
    87 CXXSOURCES2     = SingularBuilder.cpp
     87# CXXSOURCES2   = SingularBuilder.cpp
    8888
    8989#    numbers.cc polys.cc p_polys.cc polys0.cc polys1.cc polys-impl.cc \
Note: See TracChangeset for help on using the changeset viewer.