Changeset e078e0 in git


Ignore:
Timestamp:
Jul 19, 2012, 11:16:24 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '96ce329119711a2b80858c8365abd29f8460bbfa')
Children:
8291becc98d3d25da37d6e9f279807097eb3f450
Parents:
91ecf187772d8c5893550eabd5abde87d2f29b9c
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-07-19 23:16:24+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-07-25 15:25:07+02:00
Message:
fixing the build system as suggested by autoreconf & fixing the fix

add: AM_PROG_AR&-Wno-extra-portability&-Werror are commented out for now due to problems with incompatible autotools :(
add: usefull autotools flags (subdir-objects silent-rules)
chg: removed some minor warnings
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r91ecf18 re078e0  
    3030emacs/lib-cmpl.el
    3131emacs/lib-temp
     32ar-lib
    3233configure
    3334config.h.in*
  • configure.ac

    r91ecf18 re078e0  
    1111
    1212AM_MAINTAINER_MODE
    13 AM_INIT_AUTOMAKE([-Wall foreign])
     13AM_INIT_AUTOMAKE([-Wall foreign subdir-objects silent-rules]) # -Wno-extra-portability -Werror
    1414
    1515dnl Check if build env is sane
     
    5151AC_PROG_INSTALL
    5252
     53# AM_PROG_AR
    5354LT_INIT
    5455   
  • factory/configure.ac

    r91ecf18 re078e0  
    2121
    2222AM_MAINTAINER_MODE
    23 AM_INIT_AUTOMAKE([-Wall foreign])
     23AM_INIT_AUTOMAKE([-Wall foreign subdir-objects silent-rules]) # -Wno-extra-portability -Werror
    2424
    2525# Add pre'prefixed config
     
    2727
    2828AC_PROG_YACC
    29 
     29# AM_PROG_AR
    3030LT_INIT
    3131
  • findexec/configure.ac

    r91ecf18 re078e0  
    77
    88AM_MAINTAINER_MODE
    9 AM_INIT_AUTOMAKE([-Wall foreign])
     9AM_INIT_AUTOMAKE([-Wall foreign subdir-objects silent-rules]) # -Wno-extra-portability -Werror
    1010
    1111dnl Check if build env is sane
     
    3232fi
    3333
    34 # Turn off shared libraries during beta-testing, since they
    35 # make the build process take too long.
    36 LT_INIT
    37 # ([shared])
    38 # LT_INIT(dlopen disable-static) # doesn't work on PowerPC!
     34AM_PROG_CC_C_O
     35# AM_PROG_AR
    3936
    40 AM_PROG_CC_C_O
    4137AC_PROG_LN_S
    4238AC_PROG_INSTALL
     
    4743AC_CHECK_FUNCS(readlink getcwd getwd setenv putenv)
    4844
    49 
    50 
    5145# Checks for typedefs, structures, and compiler characteristics.
    5246AC_C_CONST
     
    5448AC_HEADER_STDBOOL
    5549AC_TYPE_SIZE_T
     50
     51# Turn off shared libraries during beta-testing, since they
     52# make the build process take too long.
     53LT_INIT
     54# ([shared])
     55# LT_INIT(dlopen disable-static) # doesn't work on PowerPC!
    5656
    5757
  • libpolys/configure.ac

    r91ecf18 re078e0  
    77
    88AM_MAINTAINER_MODE
    9 AM_INIT_AUTOMAKE([-Wall foreign])
     9AM_INIT_AUTOMAKE([-Wall foreign subdir-objects silent-rules]) # -Wno-extra-portability -Werror
    1010
    1111dnl Check if build env is sane
     
    3232fi
    3333
     34AM_PROG_CC_C_O
     35AC_PROG_LN_S
     36AC_PROG_INSTALL
     37
     38# AM_PROG_AR
    3439# Turn off shared libraries during beta-testing, since they
    3540# make the build process take too long.
     
    3742# ([shared])
    3843# LT_INIT(dlopen disable-static) # doesn't work on PowerPC!
    39 
    40 AM_PROG_CC_C_O
    41 AC_PROG_LN_S
    42 AC_PROG_INSTALL
    4344
    4445# Checks for libraries.
  • libpolys/polys/Makefile.am

    r91ecf18 re078e0  
    4242        nc/old.gring.cc
    4343
    44 LIBPOLYSHEADERS = monomials/ring.h monomials/monomials.h \ 
     44LIBPOLYSHEADERS = monomials/ring.h monomials/monomials.h \
    4545  monomials/p_polys.h monomials/maps.h PolyEnumerator.h  prCopy.h \
    4646        nc/nc.h nc/sca.h nc/summator.h nc/ncSAFormula.h nc/ncSACache.h nc/ncSAMult.h nc/gb_hack.h \
  • omalloc/configure.ac

    r91ecf18 re078e0  
    1515
    1616AM_MAINTAINER_MODE
    17 AM_INIT_AUTOMAKE([-Wall foreign])
     17AM_INIT_AUTOMAKE([-Wall foreign subdir-objects silent-rules]) # -Wno-extra-portability -Werror
    1818
    1919# Add pre'prefixed config
     
    9999AC_PROG_INSTALL
    100100AM_PROG_CC_C_O
     101# AM_PROG_AR
    101102AC_C_CONST
    102103AC_C_INLINE
     
    166167AC_CACHE_VAL(ac_cv_pagesize,
    167168AC_TRY_RUN([#include <stdio.h>
     169#include <stdlib.h>
    168170#include "omGetPageSize.h"
    169171
     
    196198AC_CACHE_VAL(ac_cv_working_mmap,
    197199AC_TRY_RUN([
     200#include <stdlib.h>
    198201#include "omMmap.c"
    199202main()
     
    215218AC_CACHE_CHECK(whether alignment needs to be strict, ac_cv_align_need_strict,
    216219AC_TRY_RUN([
     220#include <stdlib.h>
    217221main()
    218222{
     
    285289else
    286290AC_TRY_RUN([
     291#include <stdlib.h>
    287292#include "$OM_MALLOC_HEADER"
    288293#ifdef OM_HAVE_MALLOC_SOURCE
     
    324329else
    325330AC_TRY_RUN([
     331#include <stdlib.h>
    326332#include "$OM_MALLOC_HEADER"
    327333#ifdef OM_HAVE_MALLOC_SOURCE
     
    443449AC_CACHE_VAL(ac_cv_get_return_addr_works,
    444450AC_TRY_RUN([
     451#include <stdlib.h>
    445452#include "omReturn.h"
    446453int test_return_addr()
     
    448455  char* f;
    449456  GET_RET_ADDR(f);
    450   return (int) f;
     457  return (int)(long) f;
    451458}
    452459int main()
     
    465472AC_CACHE_VAL(ac_cv_get_backtrace_works,
    466473AC_TRY_RUN([
     474#include <stdio.h>
     475#include <stdlib.h>
    467476#include "omGetBackTrace.c"
    468 #include <stdio.h>
    469477int test_backtrace()
    470478{
     
    492500AC_CACHE_VAL(ac_cv_prog_addr2line_works,
    493501AC_TRY_RUN([
     502#include <stdlib.h>
    494503#undef OM_GET_BACKTRACE_WORKS
    495504#include "omReturn.h"
  • xalloc/configure.ac

    r91ecf18 re078e0  
    55
    66AM_MAINTAINER_MODE
    7 AM_INIT_AUTOMAKE([-Wall foreign])
     7AM_INIT_AUTOMAKE([-Wall foreign subdir-objects -Werror silent-rules -Wno-extra-portability])
    88
    99AC_PROG_MAKE_SET
Note: See TracChangeset for help on using the changeset viewer.