summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* On altering CFLAGS value in configure place client flags at endIvan Maidanski2011-12-011-5/+5
| | | | | * configure.ac (CFLAGS): Always append old CFLAGS value (instead of placing it at start).
* Fix configure for mingw-w64/32.Ivan Maidanski2011-09-211-2/+8
| | | | | | | | | | | | | | * configure.ac (PICFLAG, THREADDLLIBS): Define as empty for MinGW. * configure.ac (have_pthreads): New definition (set to true unless MinGW). * configure.ac (HAVE_PTHREAD_H): New AM conditional (based on have_pthreads value). * tests/Makefile.am (test_atomic_pthreads_SOURCES, test_atomic_pthreads_CPPFLAGS, test_atomic_pthreads_LDADD): Define only if HAVE_PTHREAD_H. * tests/Makefile.am (TESTS): Don't include test_atomic_pthreads unless HAVE_PTHREAD_H. * tests/Makefile.am (check_PROGRAMS): Define to TESTS value.
* Bump libatomic_ops version to 7.3alpha1 (next major release development).Ivan Maidanski2011-09-081-1/+1
| | | | | * README: Change version to 7.3alpha1. * configure.ac (AC_INIT): Likewise.
* Do not pass -fPIC to Cygwin gcc.Ivan Maidanski2011-08-171-8/+15
| | | | * configure.ac (PICFLAG): Set to -fPIC if GCC but not Gygwin.
* Add -uninstalled pkg-config file, move them to pkgconfig/.Petter Urkedal2011-08-141-2/+8
| | | | | | * atomic_ops.pc.in -> pkgconfig/atomic_ops.pc.in: Moved. * pkgconfig/atomic_ops-uninstalled.pc.in: Added developer version. * configure.ac, Makefile.am: Update accordingly.
* Use libtool for linking but keep the libraries static.Petter Urkedal2011-08-141-2/+2
| | | | | | | | * configure.ac: Use LT_INIT([disable-shared]) instead of AC_PROG_RANLIB. Also, re-enable the m4 macro directory. * Makefile.am (ACLOCAL_AMFLAGS): Add -I m4. * m4/.keep: Create the m4 directory to avoid problems due to the above m4 flag when running autoreconf for the first time.
* Merge all Makefile.am in /src tree (to have less auto-generated filesIvan Maidanski2011-08-091-1/+1
| | | | | | | | | | | | | | in the project subdirectories). * configure.ac (AC_CONFIG_FILES): Remove src/atomic_ops/Makefile, src/atomic_ops/sysdeps/Makefile. * src/Makefile.am (SUBDIRS): Remove. * src/Makefile.am (EXTRA_DIST, privatedir, private_HEADERS): Add from src/atomic_ops/Makefile.am and src/atomic_ops/sysdeps/Makefile.am. * src/Makefile.am (generalize-small): Move from src/atomic_ops/Makefile.am. * src/atomic_ops/Makefile.am, src/atomic_ops/sysdeps/Makefile.am: Remove.
* Do not run reconf on configure. Ensure proper autoconf version.Ivan Maidanski2011-08-081-5/+4
| | | | | | | | | * configure.ac (AC_PREREQ, AM_MAINTAINER_MODE): New macro. * configure.ac (AM_INIT_AUTOMAKE): Add options. * configure.ac (AC_HEADER_STDC): Remove (as not needed). * Makefile.in, aclocal.m4, configure, doc/Makefile.in, src/Makefile.in, src/atomic_ops/Makefile.in, src/atomic_ops/sysdeps/Makefile.in, tests/Makefile.in: Regenerate.
* Show extra compiler warnings (GCC).Ivan Maidanski2011-08-081-0/+2
| | | | | * configure.ac (CFLAGS): Add -Wall -Wextra (GCC only). * configure: Regenerate.
* Add atomic_ops.pc.Ivan Maidanski2011-08-041-2/+3
| | | | | | | | * .cvsignore, .gitignore: ignore atomic_ops.pc. * atomic_ops.pc.in: new file. * Makefile.am (pkgconfigdir, pkgconfig_DATA): new items. * configure.ac (AC_CONFIG_FILES): add atomic_ops.pc. * configure, Makefile.in: Regenerate.
* 2011-06-15 Ivan Maidanski <ivmai@mail.ru>ivmai2011-07-251-1/+1
| | | | | | * include/gc_version.h, configure.ac, doc/README: Change to version 7.2alpha7. * configure: Regenerate.
* 2011-06-14 Ivan Maidanski <ivmai@mail.ru>libatomic_ops-7_2alpha6ivmai2011-07-251-1/+1
| | | | | | * include/gc_version.h, configure.ac, doc/README: Change to version 7.2alpha6. * configure: Regenerate.
* 2011-06-01 Ivan Maidanski <ivmai@mail.ru>ivmai2011-07-251-2/+21
| | | | | | | | | | | | | | | | * configure.ac (_PTHREADS): New template (used for NetBSD). * configure.ac (THREADDLLIBS): New macro. * tests/Makefile.am (test_atomic_LDADD, test_stack_LDADD, test_atomic_pthreads_LDADD, test_malloc_LDADD): Use THREADDLLIBS instead of "-lpthread". * configure: Regenerate. * Makefile.in: Ditto. * doc/Makefile.in: Ditto. * src/Makefile.in: Ditto. * src/atomic_ops/Makefile.in: Ditto. * src/atomic_ops/sysdeps/Makefile.in: Ditto. * src/config.h.in: Ditto. * tests/Makefile.in: Ditto.
* 2011-05-30 Ivan Maidanski <ivmai@mail.ru>ivmai2011-07-251-7/+9
| | | | | | | | | | | | | | | | | | | * configure.ac (PIC): Add workaround for GCC v3.4.6 which does not define the corresponding macro. * configure.ac: Don't check for GCC twice. * configure: Regenerate. * tests/test_malloc.c (DEFAULT_NTHREADS): New macro. * tests/test_malloc.c (run_one_test): Refine printed message (in case of HAVE_MMAP). * tests/test_malloc.c (main): Use DEFAULT_NTHREADS. * tests/test_stack.c (main): Cast AO_stack_pop() returned pointer. * src/atomic_ops_malloc.c (USE_MMAP_ANON, GC_MMAP_FLAGS, OPT_MAP_ANON): New macro. * src/atomic_ops_malloc.c (get_mmaped): Pass -1 (instead of 0) as file descriptor to mmap() if MAP_ANONYMOUS (same as for MAP_ANON). * src/atomic_ops_malloc.c (get_mmaped): Use USE_MMAP_ANON, GC_MMAP_FLAGS and OPT_MAP_ANON macros; reformat code; check open() returned value.
* 2009-12-04 Ivan Maidanski <ivmai@mail.ru>ivmai2011-07-251-1/+1
| | | | | | * include/gc_version.h, configure.ac, doc/README: Change to version 7.2alpha5. * configure: Regenerate.
* 2009-12-02 Ivan Maidanski <ivmai@mail.ru>libatomic_ops-7_2alpha4ivmai2011-07-251-1/+1
| | | | | * configure.ac, README: Change to version 7.2alpha4. * configure: Regenerate.
* 2009-12-01 Ivan Maidanski <ivmai@mail.ru>ivmai2011-07-251-1/+1
| | | | | | * include/gc_version.h, configure.ac, doc/README: Change to version 7.2alpha4. * configure: Regenerate.
* 2009-11-21 Ivan Maidanski <ivmai@mail.ru> (really Daniel R. Grayson)ivmai2011-07-251-3/+5
| | | | | | * configure.ac (AC_CONFIG_COMMANDS): Quote PICFLAG, CC, DEFS values. * configure: Regenerate.
* 2009-09-25 Ivan Maidanski <ivmai@mail.ru> (really Petter Urkedal)ivmai2011-07-251-1/+1
| | | | * configure.ac: Replace AC_PROG_CC with AM_PROG_CC_C_O.
* libatomic_ops-1.2 tarball importlibatomic_ops-1_2Ivan Maidanski2011-07-251-1/+1
|
* libatomic_ops-1.1 tarball importlibatomic_ops-1_1Ivan Maidanski2011-07-251-1/+1
|
* libatomic_ops-1.0 tarball importlibatomic_ops-1_0Ivan Maidanski2011-07-251-0/+66