if [ "$OPTERR" != 1 ] || case $optspec in :*) ;; *) false; esac; then
 
#!/bin/sh
#
# Copyright by The HDF Group.                                              
# All rights reserved.                                                     
#                                                                          
# This file is part of HDF5. The full HDF5 copyright notice, including     
# terms governing use, modification, and redistribution, is contained in   
# the files COPYING and Copyright.html.  COPYING can be found at the root  
# of the source code distribution tree; Copyright.html can be found at the 
# root level of an installed copy of the electronic document set and is    
# linked from the top-level documents page.  It can also be found at       
# http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have access  
# to either file, you may request a copy from help@hdfgroup.org.           
# A script to reconfigure autotools for the REST VOL.
# IMPORTANT OS X NOTE
# If you are using OS X, you will probably not have the autotools
# installed, even if you have the Xcode command-line tools.
# The easiest way to fix this is to install everything via Homebrew:
#   http://brew.sh/
# After you install the base packages, install autoconf, automake,
# and libtool.
#   brew install autoconf
#   brew install automake
#   brew install libtool
# This only takes a few minutes. Note that libtool and libtoolize will
# be glibtool and glibtoolize so as not to conflict with Apple's non-gnu
# tools. This autogen.sh script handles this for you.
# END IMPORTANT OS X NOTE
# If you want to use a particular version of the autotools, the paths
# to each tool can be overridden using the following environment
# variables:
#   HDF5_ACLOCAL
#   HDF5_AUTOHEADER
#   HDF5_AUTOMAKE
#   HDF5_AUTOCONF
#   HDF5_LIBTOOL
#   HDF5_M4
# Note that aclocal will attempt to include libtool's share/aclocal