Changeset e078e0 in git for omalloc/configure.ac


Ignore:
Timestamp:
Jul 19, 2012, 11:16:24 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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"
Note: See TracChangeset for help on using the changeset viewer.