diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-02-16 19:27:27 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-02-16 19:27:27 (GMT) |
commit | 8ed95c00114dd3f6d9b766664c3bb56aa75f7a4f (patch) | |
tree | e103ef2bcab79e2a91260775a78616ddbc962e21 /configure.in | |
parent | 18c257c46f377066e6c863c88b95d4b85825ee44 (diff) | |
download | hdf5-8ed95c00114dd3f6d9b766664c3bb56aa75f7a4f.zip hdf5-8ed95c00114dd3f6d9b766664c3bb56aa75f7a4f.tar.gz hdf5-8ed95c00114dd3f6d9b766664c3bb56aa75f7a4f.tar.bz2 |
[svn-r10016]
Purpose:
Bug fix
Description:
modi4 dies during build with strange errors.
The root cause of these is a two-year-old hack in HDF5's libtool
script that only takes effect on IRIX.
Solution:
Edited the libtool hack (by editing ltmain.sh) to correct a bug in
the hack.
Also made sure that compiler-specific DEFAULT_LIBS are used
when linking.
Platforms tested:
sleipnir, copper, modi4, sol
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 296c955..d4dbf41 100644 --- a/configure.in +++ b/configure.in @@ -65,7 +65,7 @@ dnl Different compilers may need default libraries. They are specified in dnl the config/* files, so we put this statement here so that it'll be dnl set by the code which follows... dnl -AC_SUBST(DEFAULT_LIBS) DEFAULT_LIBS="" +DEFAULT_LIBS="" dnl ---------------------------------------------------------------------- dnl Set prefix default (install directory) to a directory in the build area. @@ -2895,6 +2895,11 @@ fi AC_SUBST([ROOT]) ROOT="`$pwd`" dnl ---------------------------------------------------------------------- +dnl Move any compiler-specific libraries into the main LIBS varaible. +dnl +LIBS="$DEFAULT_LIBS $LIBS" + +dnl ---------------------------------------------------------------------- dnl Determine the runtime libraries we may need to include in the dnl libtools command so that executables will find the correct dynamic dnl libraries. |