mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r26270] On OS X, the autogen.sh script will first try to use glibtoolize
and then fall back to libtoolize if not found. Tested on OS X 10.10.2 (Yosemite) with Xcode 6.1.1 and autotools installed via Brew
This commit is contained in:
parent
2d760d9de6
commit
179f3b7879
@ -284,8 +284,13 @@ PATH=${AUTOCONF_DIR}:${LIBTOOL_DIR}:${M4_DIR}:${FLEX_DIR}:${BISON_DIR}:$PATH
|
||||
# Make libtoolize match the specified libtool
|
||||
case "`uname`" in
|
||||
Darwin*)
|
||||
# libtoolize on OS-X is non-gnu
|
||||
# On OS X, libtoolize could be named glibtoolize or
|
||||
# libtoolize. Try the former first, then fall back
|
||||
# to the latter if it's not found.
|
||||
HDF5_LIBTOOLIZE="${LIBTOOL_DIR}/glibtoolize"
|
||||
if [ ! -f $HDF5_LIBTOOLIZE ] ; then
|
||||
HDF5_LIBTOOLIZE="${LIBTOOL_DIR}/libtoolize"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
HDF5_LIBTOOLIZE="${LIBTOOL_DIR}/libtoolize"
|
||||
|
Loading…
Reference in New Issue
Block a user