summaryrefslogtreecommitdiffstats
path: root/c++/configure.in
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-01-22 20:14:46 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-01-22 20:14:46 (GMT)
commita73450e29dda4619bdb1ddb0358c6fc7ba256fbd (patch)
treee05623b5bea86fa66c721e83beebcad4924d0cdd /c++/configure.in
parent702667c9f56b01d56bab7b2bc7249855fa919030 (diff)
downloadhdf5-a73450e29dda4619bdb1ddb0358c6fc7ba256fbd.zip
hdf5-a73450e29dda4619bdb1ddb0358c6fc7ba256fbd.tar.gz
hdf5-a73450e29dda4619bdb1ddb0358c6fc7ba256fbd.tar.bz2
[svn-r4849]
Purpose: Fix fix Description: Moved Binh-Minh's fix of the lack of support for C++ in libtool by adding the DEFAULT_LIBS macro into the configure.in and config/commence.in files. Solution: Put it into the configure.in and commence.in files. Reran autoconf.
Diffstat (limited to 'c++/configure.in')
-rw-r--r--c++/configure.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/c++/configure.in b/c++/configure.in
index f44afdc..b9f4a20 100644
--- a/c++/configure.in
+++ b/c++/configure.in
@@ -1,7 +1,7 @@
dnl ----------------------------------------------------------------------
dnl Process this file with autoconf to produce configure.
dnl
-dnl Copyright (C) 2000, 2001
+dnl Copyright (C) 2000, 2001, 2002
dnl National Center for Supercomputing Applications.
dnl All rights reserved.
dnl ----------------------------------------------------------------------
@@ -91,6 +91,12 @@ case "$host_os" in
;;
esac
+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=""
+
host_config="none"
for f in $host_cpu-$host_vendor-$host_os \
$host_cpu-$host_vendor-$host_os_novers \