Changeset 769f28 in git


Ignore:
Timestamp:
May 4, 2011, 5:50:13 PM (12 years ago)
Author:
Mohamed Barakat <mohamed.barakat@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
Children:
daa55674a51a8126e258528bc2337f3cf5370b6d
Parents:
6d0563e99698a63b26dc8a73020ec11b7a1f07e0
git-author:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-05-04 17:50:13+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:34+01:00
Message:
- fixed --with-gmp in factory/configure.in to be compatible with gmp macro
- added factory to the build process
- include cf_factory.h in cf_gcd.cc
- do not generate cf_gmp.h but replace with a wrapper around gmp.h
Files:
1 added
3 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r6d0563e r769f28  
    8888omalloc/omlimits.h
    8989doc/NTL
    90 factory/cf_gmp.h
    9190factory/factory.h
    9291factory/factoryconf.h
    93 factory/gen_cf_gmp.sh
    9492ntl/include/NTL/gmp_aux.h
    9593ntl/include/NTL/mach_desc.h
  • Makefile.am

    r6d0563e r769f28  
    11ALLOC=omalloc
    22
    3 PACKAGES=$(ALLOC) libpolys
     3PACKAGES=$(ALLOC) factory libpolys
    44
    55SUBDIRS=$(PACKAGES)
  • configure.ac

    r6d0563e r769f28  
    55AC_PROG_CXX
    66AC_CONFIG_FILES([Makefile])
    7 AC_CONFIG_SUBDIRS([omalloc libpolys])
     7AC_CONFIG_SUBDIRS([omalloc factory libpolys])
    88AC_OUTPUT
  • factory/GNUmakefile.in

    r6d0563e r769f28  
    796796config.status:  configure
    797797                ./config.status --recheck
    798 
    799 # create cf_gmp.h
    800 cf_gmp.h: GNUmakefile gen_cf_gmp.template
    801         echo "#!/bin/sh" >gen_cf_gmp.sh
    802         echo "GMP_H_T=\"`g++ $(LIBCXXFLAGS) -M gen_cf_gmp.cc|grep gmp.h` \"" >>gen_cf_gmp.sh
    803         cat gen_cf_gmp.template >>gen_cf_gmp.sh
    804         $(SHELL) gen_cf_gmp.sh
  • factory/configure.in

    r6d0563e r769f28  
    4949AC_ARG_WITH(
    5050  gmp,
    51   [  --with-gmp(=<gmp_inc_path>(,<gmp_lib_path>))
     51  [  --with-gmp(=<gmp_path>)
    5252                          specify where to find gmp library.])
    5353
     
    119119                          in process, be graceful when there is no \`gmp.h'],
    120120  [ if test "x$with_Singular" = xyes && test "x$enable_gmp" != xno; then
    121       with_gmp='$(includedir)'
     121      with_gmp='$(prefix)'
    122122    fi ])
    123123
     
    128128  yes|no|"")
    129129    gmp_in_installation=no ;;
    130   '$(includedir)'|'${includedir}')
    131     gmp_in_installation=yes ;;
    132   *,*)
    133     saveIFS="$IFS"; IFS="${IFS},"
    134     set dummy $with_gmp
    135     IFS="$saveIFS"
    136     CPPFLAGS="-I$2 $CPPFLAGS"
    137     LDFLAGS="-L$3 $LDFLAGS"
    138     gmp_in_installation=no ;;
    139130  *)
    140     CPPFLAGS="-I$with_gmp $CPPFLAGS"
    141     LDFLAGS="-L$with_gmp/../lib $LDFLAGS"
     131    CPPFLAGS="-I$with_gmp/include $CPPFLAGS"
     132    LDFLAGS="-L$with_gmp/lib $LDFLAGS"
    142133    gmp_in_installation=no ;;
    143134esac
  • for_Hans_with_love.sh

    r6d0563e r769f28  
    3232done
    3333
     34for d in factory; do
     35  echo "==============="
     36  echo "run aclocal -I $TOP_DIR/m4, autoconf in $d"
     37  echo "---------------"
     38  cd $d;
     39  aclocal -I $TOP_DIR/m4
     40  autoconf
     41  cd $TOP_DIR
     42  echo
     43done
     44
    3445for d in libpolys; do
    3546  echo "==============="
Note: See TracChangeset for help on using the changeset viewer.