diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-09-25 17:35:08 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-09-25 17:35:08 (GMT) |
commit | ae6fba41fc0f8882011324cc15cd70866fcde431 (patch) | |
tree | ad5ecdffe88765280a78d6feb6ae10dc1f2e23cf /configure.in | |
parent | 2eae09de84219a7b8c046fa53fb9ec163ec493ba (diff) | |
download | hdf5-ae6fba41fc0f8882011324cc15cd70866fcde431.zip hdf5-ae6fba41fc0f8882011324cc15cd70866fcde431.tar.gz hdf5-ae6fba41fc0f8882011324cc15cd70866fcde431.tar.bz2 |
[svn-r2591] Purpose:
Libtool bug
Description:
The AR macro wasn't being propagated to the libtool file
correctly. When libtool was being generated, it wasn't
recoginizing the AR that was set in the configure script.
Solution:
export the AR macro after it's set.
Platforms tested:
Linux
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/configure.in b/configure.in index a3e6156..19728ec 100644 --- a/configure.in +++ b/configure.in @@ -160,10 +160,6 @@ fi dnl Run configure in the subdirectories if specified AC_CONFIG_SUBDIRS(${config_dirs}) -AC_PROG_MAKE_SET -AC_PROG_INSTALL -AM_PROG_LIBTOOL - dnl ---------------------------------------------------------------------- dnl If we should build only static executables dnl @@ -181,11 +177,23 @@ else fi AC_SUBST(LT_STATIC_EXEC) -if test "X$AR" = "X"; then +dnl ---------------------------------------------------------------------- +dnl Check which archiving tool to use. This needs to be done before +dnl the AM_PROG_LIBTOOL macro. +dnl +if test -z "$AR"; then AC_CHECK_PROGS(AR,ar xar,:,$PATH) fi AC_SUBST(AR) +dnl Export the AR macro so that it will be placed in the libtool file +dnl correctly. +export AR + +AC_PROG_MAKE_SET +AC_PROG_INSTALL +AM_PROG_LIBTOOL + AC_MSG_CHECKING(make) AC_SUBST_FILE(DEPEND) if test "`${MAKE-make} --version -f /dev/null 2>/dev/null |\ |