diff options
author | Diego Elio Pettenò <flameeyes@gmail.com> | 2009-05-17 15:33:33 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-02-14 01:08:13 -0500 |
commit | 663ce763ca460a5644fc03d018ad55de038967ad (patch) | |
tree | 1c9e1dafc97989bfc6dfa2898d7687f958d91ecd | |
parent | tests: start futimesat tests based on utimensat ones (diff) | |
download | sandbox-663ce763ca460a5644fc03d018ad55de038967ad.tar.gz sandbox-663ce763ca460a5644fc03d018ad55de038967ad.tar.bz2 sandbox-663ce763ca460a5644fc03d018ad55de038967ad.zip |
use libtool 2.2 macro and avoid dirty hacks
Since we're already depending on a not-yet-released automake version, we
may as well depend on the already-released libtool 2.2. This way we can
avoid the dirty trick of undefining the macros to check for CXX and F77.
Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | configure.ac | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index e85d152..a0a0a76 100644 --- a/configure.ac +++ b/configure.ac @@ -31,14 +31,7 @@ AC_PROG_EGREP AC_CHECK_PROGS([READELF], [readelf eu-readelf], [false]) AM_MISSING_PROG([AUTOM4TE], [autom4te]) -AC_ENABLE_SHARED -AC_DISABLE_STATIC -dnl Next four lines is a hack to prevent libtool checking for CXX/F77 -m4_undefine([AC_PROG_CXX]) -m4_defun([AC_PROG_CXX],[]) -m4_undefine([AC_PROG_F77]) -m4_defun([AC_PROG_F77],[]) -AC_PROG_LIBTOOL +LT_INIT([disable-static]) AC_PREFIX_DEFAULT([/usr]) |