summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-05-26 20:28:24 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-05-26 20:28:24 (GMT)
commit8bb58b439986c25f3fe714280566e59c47a5fef3 (patch)
tree3756d749839ffcc819119d2d2c1aae5c7f597a61
parent009a989c329919f725fb3b8900109e592150342e (diff)
downloadhdf5-8bb58b439986c25f3fe714280566e59c47a5fef3.zip
hdf5-8bb58b439986c25f3fe714280566e59c47a5fef3.tar.gz
hdf5-8bb58b439986c25f3fe714280566e59c47a5fef3.tar.bz2
[svn-r1284] Pass $AR setting to libtool. A cross-compiler (e.g., TFLOPS) would
like use a "cross-compiling ar" to create the library archive.
-rw-r--r--aclocal.m42
-rwxr-xr-xconfigure2
2 files changed, 2 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 07c2046..9525256 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -73,7 +73,7 @@ case "$host" in
esac
# Actually configure libtool. ac_aux_dir is where install-sh is found.
-CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
diff --git a/configure b/configure
index 6d7d80a..f46886f 100755
--- a/configure
+++ b/configure
@@ -1300,7 +1300,7 @@ case "$host" in
esac
# Actually configure libtool. ac_aux_dir is where install-sh is found.
-CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \