Changeset d11524 in git
- Timestamp:
- Apr 14, 2011, 12:54:46 PM (13 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
- Children:
- 72015634c9aa4b237c52f66b5528b431f59c3c5c
- Parents:
- 691dbab4f58d7c8d1f15856e249e5d8a0be23d2d
- git-author:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-04-14 12:54:46+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:12:34+01:00
- Files:
-
- 1 added
- 15 deleted
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
for_Hans_with_love.sh
r691dba rd11524 14 14 TOP_DIR=$PWD 15 15 16 for d in . libpolys; do16 for d in .; do 17 17 echo "===============" 18 echo "run aclocal , autoconfin $d"18 echo "run aclocal -I $TOP_DIR/m4, autoconf, automake -a in $d" 19 19 echo "---------------" 20 20 cd $d; … … 26 26 done 27 27 28 for d in omalloc libpolys/misc libpolys/resources libpolys/reporter libpolys/coeffs; do28 for d in libpolys; do 29 29 echo "===============" 30 echo "run aclocal -I $TOP_DIR/m4, autoheader, autoconf in $d" 30 echo "run aclocal -I $TOP_DIR/m4, autotools in $d" 31 echo "---------------" 32 cd $d; 33 aclocal -I $TOP_DIR/m4 34 autotools 35 cd $TOP_DIR 36 echo 37 done 38 39 for d in omalloc libpolys/coeffs; do 40 echo "===============" 41 echo "run aclocal -I $TOP_DIR/m4, autotools in $d" 31 42 echo "---------------" 32 43 cd $d; … … 39 50 for d in libpolys/polys; do 40 51 echo "===============" 41 echo "run aclocal -I $TOP_DIR/m4 -I m4, auto header, autoconfin $d"52 echo "run aclocal -I $TOP_DIR/m4 -I m4, autotools in $d" 42 53 echo "---------------" 43 54 cd $d; -
libpolys/configure.ac
r691dba rd11524 2 2 AM_INIT_AUTOMAKE 3 3 AC_CONFIG_MACRO_DIR([../m4]) 4 AC_CONFIG_SRCDIR([reporter/reporter.h]) 5 AC_CONFIG_HEADER([config.h]) 4 6 7 # misc/auxiliary.h 8 9 # Checks for programs. 10 AC_PROG_CXX 5 11 AC_PROG_CC 6 AC_PROG_CXX 12 AC_PROG_LN_S 13 AC_PROG_INSTALL 14 AC_PROG_RANLIB 15 AM_PROG_CC_C_O 7 16 8 17 # Checks for libraries. 9 18 LB_CHECK_GMP(,,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)])) 10 19 20 # Checks for header files. 21 AC_HEADER_STDC 22 AC_CHECK_HEADERS([stdlib.h string.h unistd.h pwd.h sys/param.h limits.h]) 23 24 # Checks for typedefs, structures, and compiler characteristics. 25 AC_C_CONST 26 AC_C_INLINE 27 28 SING_CHECK_PIPE 29 30 # Checks for library functions. 31 AC_FUNC_VPRINTF 32 AC_CHECK_FUNC([vsnprintf], [AC_DEFINE([HAVE_VSNPRINTF], [1], 33 [Define if vsnprintf exists.])]) 34 # check for cpu properties 35 AC_CHECK_SIZEOF(long,4) 36 SING_CHECK_CPU 37 11 38 AC_CONFIG_FILES([Makefile]) 39 AC_CONFIG_FILES([misc/Makefile]) 40 AC_CONFIG_FILES([reporter/Makefile]) 41 AC_CONFIG_FILES([resources/Makefile]) 12 42 AC_CONFIG_FILES([tests/Makefile]) 13 AC_CONFIG_SUBDIRS([ misc reporter resourcescoeffs polys])43 AC_CONFIG_SUBDIRS([coeffs polys]) 14 44 AC_OUTPUT -
libpolys/misc/Makefile.am
r691dba rd11524 13 13 libmisc_g_a_CPPFLAGS = -DHAVE_CONFIG_H 14 14 15 INCLUDES = -I${top_srcdir} /.. -I${top_srcdir}/../.. -I${top_builddir}/..15 INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} 16 16 17 17 SOURCES = intvec.cc -
libpolys/reporter/Makefile.am
r691dba rd11524 13 13 libreporter_g_a_CPPFLAGS = -DHAVE_CONFIG_H 14 14 15 INCLUDES = -I${top_srcdir} /.. -I${top_srcdir}/../.. -I${top_builddir}/..15 INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} 16 16 17 17 SOURCES = dError.c reporter.cc -
libpolys/resources/Makefile.am
r691dba rd11524 13 13 libresources_g_a_CPPFLAGS = -DHAVE_CONFIG_H 14 14 15 INCLUDES = -I${top_srcdir} /.. -I${top_srcdir}/../.. -I${top_builddir}/..15 INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} 16 16 17 17 SOURCES = feFopen.cc feResource.cc -
m4/cpu-check.m4
r691dba rd11524 1 # -*- Autoconf -*- 2 # Process this file with autoconf to produce a configure script. 1 # Check the cpu type 3 2 4 AC_PREREQ([2.65]) 5 AC_INIT([misc], [3.1.2.sw]) 6 AM_INIT_AUTOMAKE 7 AC_CONFIG_SRCDIR([mylimits.h]) 8 AC_CONFIG_HEADERS([config.h]) 3 dnl SING_CHECK_CPU 4 dnl 5 dnl check the cpu and define EXEC_EXT and SI_CPU* 9 6 10 # Checks for programs. 11 AC_PROG_CC 12 AC_PROG_CXX 13 AC_PROG_LN_S 14 AC_PROG_INSTALL 15 AC_PROG_RANLIB 16 AM_PROG_CC_C_O 17 18 # Checks for libraries. 19 20 # Checks for header files. 21 AC_CHECK_HEADERS([limits.h]) 22 23 # Checks for typedefs, structures, and compiler characteristics. 24 AC_C_INLINE 25 7 AC_DEFUN([SING_CHECK_CPU], 8 [ 26 9 # Checks for library functions. 27 10 AC_MSG_CHECKING(CPU for singular) 28 11 29 # check for cpu properties: 30 AC_CHECK_SIZEOF(long,4) 31 32 # UNAME and PATH 12 # CPUUNAME and PATH 33 13 ac_cv_singcpuname=`uname -m` 34 14 AC_MSG_RESULT($ac_cv_singcpuname) … … 86 66 fi 87 67 88 AC_CONFIG_FILES([Makefile]) 89 AC_OUTPUT 68 # UNAME and PATH 69 AC_MSG_CHECKING(uname for Singular) 70 71 #ac_cv_singuname=`singuname.sh` 72 AC_MSG_RESULT($ac_cv_singuname) 73 if test "$ac_cv_singuname" = unknown; then 74 AC_MSG_WARN(Unknown architecture: Check singuname.sh) 75 ac_cv_singuname="unknown" 76 fi 77 AC_DEFINE_UNQUOTED(S_UNAME, "$ac_cv_singuname", Singular's own uname\, believe it or not) 78 79 ])
Note: See TracChangeset
for help on using the changeset viewer.