diff options
| author | Petter Urkedal <paurkedal@gmail.com> | 2011-08-14 12:24:30 +0200 |
|---|---|---|
| committer | Petter Urkedal <paurkedal@gmail.com> | 2011-08-14 12:42:05 +0200 |
| commit | 77426059c293a72d8ed90c777a87bb5bf1f63f76 (patch) | |
| tree | dbc86a18ed5cf7d8464db206cc2f79ef5c0d6786 /configure.ac | |
| parent | 37bef8ee86c6ec8c995fa09ca1fa360b3c71c933 (diff) | |
| download | libatomic_ops-77426059c293a72d8ed90c777a87bb5bf1f63f76.tar.gz | |
Use libtool for linking but keep the libraries static.
* 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.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index c1dca75..9855a2f 100644 --- a/configure.ac +++ b/configure.ac @@ -4,16 +4,16 @@ AC_INIT([libatomic_ops],[7.2alpha7]) AC_PREREQ(2.64) AC_CANONICAL_TARGET([]) AC_CONFIG_SRCDIR(src/atomic_ops.c) -#AC_CONFIG_MACRO_DIR([m4]) +AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign dist-bzip2 nostdinc]) AM_MAINTAINER_MODE -AC_PROG_RANLIB AM_CONFIG_HEADER(src/config.h) # Checks for programs. AM_PROG_CC_C_O AM_PROG_AS +LT_INIT([disable-shared]) # Checks for functions. AC_FUNC_MMAP |
