diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2010-06-17 09:12:04 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2010-06-17 09:17:46 -0700 |
commit | f76fe525754c9e983443d37bd791ae84e732a345 (patch) | |
tree | bb9a02e55e782ed7b35abe4ec86a6928d2327c00 | |
parent | a465eacaf681ea34abc3eb9ffac0718df07f63ff (diff) |
Force generation of libtool script so it can be used reliably
We want to use the libtool script to determine if indirect dependencies
should be listed. LT_OUTPUT forces the script to be created immediately
so that the test can be run reliably.
This is borrowed from glib's configure.in.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -15,6 +15,7 @@ config.guess config.h config.h.in config.log +config.lt config.status config.sub configure diff --git a/configure.in b/configure.in index f798281..e58157d 100644 --- a/configure.in +++ b/configure.in @@ -7,6 +7,8 @@ AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL +dnl when using libtool 2.x create libtool early, because it's used in configure +m4_ifdef([LT_OUTPUT], [LT_OUTPUT]) AC_PROG_CC |