[DebianGIS-dev] r1125 - in packages/libhdf4/trunk: . config debian hdf hdf/fmpool hdf/src hdf/src/fort_ps hdf/test hdf/test/fort_ps hdf/util hdf/util/testfiles man mfhdf mfhdf/c++ mfhdf/dumper mfhdf/dumper/testfiles mfhdf/fortran mfhdf/fortran/config mfhdf/fortran/fort_ps mfhdf/fortran/msoft mfhdf/fortran/vms mfhdf/libsrc mfhdf/libsrc/config mfhdf/ncdump mfhdf/ncgen mfhdf/nctest mfhdf/port mfhdf/xdr release_notes

frankie at alioth.debian.org frankie at alioth.debian.org
Fri Sep 28 21:58:17 UTC 2007


Author: frankie
Date: 2007-09-28 21:58:13 +0000 (Fri, 28 Sep 2007)
New Revision: 1125

Added:
   packages/libhdf4/trunk/INSTALL_WINDOWS.txt
   packages/libhdf4/trunk/MANIFEST
   packages/libhdf4/trunk/Makefile.am
   packages/libhdf4/trunk/aclocal.m4
   packages/libhdf4/trunk/bin/
   packages/libhdf4/trunk/config/BlankForm
   packages/libhdf4/trunk/config/freebsd
   packages/libhdf4/trunk/config/hpux11.00
   packages/libhdf4/trunk/config/ia64-linux-gnu
   packages/libhdf4/trunk/config/irix6.x
   packages/libhdf4/trunk/config/linux-gnu
   packages/libhdf4/trunk/config/osf5.x
   packages/libhdf4/trunk/config/powerpc-apple
   packages/libhdf4/trunk/config/powerpc-ibm-aix5.x
   packages/libhdf4/trunk/config/solaris2.x
   packages/libhdf4/trunk/config/sv1-cray
   packages/libhdf4/trunk/config/unicos10.0.X
   packages/libhdf4/trunk/config/unicosmk2.0.6.X
   packages/libhdf4/trunk/configure.ac
   packages/libhdf4/trunk/hdf/COPYING
   packages/libhdf4/trunk/hdf/COPYRIGHT
   packages/libhdf4/trunk/hdf/Makefile.am
   packages/libhdf4/trunk/hdf/README.33r4
   packages/libhdf4/trunk/hdf/src/INSTALL
   packages/libhdf4/trunk/hdf/src/Makefile.am
   packages/libhdf4/trunk/hdf/src/cszip.c
   packages/libhdf4/trunk/hdf/src/cszip.h
   packages/libhdf4/trunk/hdf/src/h4config.h.in
   packages/libhdf4/trunk/hdf/test/MAKECOM.OLD
   packages/libhdf4/trunk/hdf/test/Makefile.am
   packages/libhdf4/trunk/hdf/test/tdupimgs.c
   packages/libhdf4/trunk/hdf/test/tszip.c
   packages/libhdf4/trunk/hdf/util/Makefile.am
   packages/libhdf4/trunk/hdf/util/README.fp2hdf
   packages/libhdf4/trunk/hdf/util/README.fp2hdf.test
   packages/libhdf4/trunk/hdf/util/fp2hdf.test
   packages/libhdf4/trunk/hdf/util/h4cc.in
   packages/libhdf4/trunk/hdf/util/h4fc.in
   packages/libhdf4/trunk/hdf/util/h4redeploy.in
   packages/libhdf4/trunk/hdf/util/testfiles/fp2hdf/
   packages/libhdf4/trunk/hdf/util/testfiles/head.r24.gz
   packages/libhdf4/trunk/hdf/util/testfiles/head.r8.gz
   packages/libhdf4/trunk/hdf/util/testutil.sh.in
   packages/libhdf4/trunk/man/Makefile.am
   packages/libhdf4/trunk/mfhdf/Makefile.am
   packages/libhdf4/trunk/mfhdf/README.HDF.33
   packages/libhdf4/trunk/mfhdf/dumper/Makefile.am
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/Example6.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/Image_with_Palette.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/LongDataset.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/ctxtr2r.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/dumpgr-19.out
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/dumpsds-10.out
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/dumpsds-11.out
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/grtdfi322.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/grtdfui162.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/grtdfui82.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/grtdfui83.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/grtdfui84.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/star.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/swf32.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/swf32_fileattr.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/swi16.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/swi8.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/tdata.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/tdf24.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/tdfr8f.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/test.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/tvattr.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/tvset.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testhdp.sh.in
   packages/libhdf4/trunk/mfhdf/fortran/Makefile.am
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-apple.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-solaris64.f
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-apple.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-solaris64.c
   packages/libhdf4/trunk/mfhdf/fortran/config/netcdf-apple.inc
   packages/libhdf4/trunk/mfhdf/fortran/config/netcdf-solaris64.inc
   packages/libhdf4/trunk/mfhdf/fortran/test_nc.cdl
   packages/libhdf4/trunk/mfhdf/fortran/test_nc.nc
   packages/libhdf4/trunk/mfhdf/hdfimport/
   packages/libhdf4/trunk/mfhdf/hdiff/
   packages/libhdf4/trunk/mfhdf/hrepack/
   packages/libhdf4/trunk/mfhdf/libsrc/Makefile.am
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-apple.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-solaris64.h
   packages/libhdf4/trunk/mfhdf/libsrc/hdftest.h
   packages/libhdf4/trunk/mfhdf/libsrc/temptySDSs.c
   packages/libhdf4/trunk/mfhdf/libsrc/tidtypes.c
   packages/libhdf4/trunk/mfhdf/libsrc/trank0.c
   packages/libhdf4/trunk/mfhdf/libsrc/tsd.c
   packages/libhdf4/trunk/mfhdf/libsrc/tszip.c
   packages/libhdf4/trunk/mfhdf/ncdump/Makefile.am
   packages/libhdf4/trunk/mfhdf/ncgen/Makefile.am
   packages/libhdf4/trunk/mfhdf/nctest/Makefile.am
   packages/libhdf4/trunk/mfhdf/nctest/test_unlim.cdl
   packages/libhdf4/trunk/mfhdf/nctest/test_unlim.nc
   packages/libhdf4/trunk/mfhdf/nctest/varget_unlim.c
   packages/libhdf4/trunk/mfhdf/port/Makefile.am
   packages/libhdf4/trunk/mfhdf/xdr/Makefile.am
   packages/libhdf4/trunk/release_notes/HISTORY.txt
   packages/libhdf4/trunk/release_notes/RELEASE.txt
   packages/libhdf4/trunk/release_notes/misc_docs.txt
Removed:
   packages/libhdf4/trunk/config.guess
   packages/libhdf4/trunk/config.sub
   packages/libhdf4/trunk/config/mh-aix
   packages/libhdf4/trunk/config/mh-alpha
   packages/libhdf4/trunk/config/mh-decstation
   packages/libhdf4/trunk/config/mh-fbsd
   packages/libhdf4/trunk/config/mh-fujivp
   packages/libhdf4/trunk/config/mh-hpux
   packages/libhdf4/trunk/config/mh-hpux11
   packages/libhdf4/trunk/config/mh-ia64
   packages/libhdf4/trunk/config/mh-irix32
   packages/libhdf4/trunk/config/mh-irix5
   packages/libhdf4/trunk/config/mh-irix6
   packages/libhdf4/trunk/config/mh-linux
   packages/libhdf4/trunk/config/mh-mac
   packages/libhdf4/trunk/config/mh-solaris
   packages/libhdf4/trunk/config/mh-solarisx86
   packages/libhdf4/trunk/config/mh-sun
   packages/libhdf4/trunk/config/mh-t3e
   packages/libhdf4/trunk/config/mh-unicos
   packages/libhdf4/trunk/configure.in
   packages/libhdf4/trunk/hdf/MAKE.COM
   packages/libhdf4/trunk/hdf/build.inc
   packages/libhdf4/trunk/hdf/jpeg/
   packages/libhdf4/trunk/hdf/pablo/
   packages/libhdf4/trunk/hdf/util/testfiles/head.r24.Z
   packages/libhdf4/trunk/hdf/util/testfiles/head.r8.Z
   packages/libhdf4/trunk/hdf/util/testutil.sh
   packages/libhdf4/trunk/hdf/zlib/
   packages/libhdf4/trunk/install-sh
   packages/libhdf4/trunk/mfhdf/Makefile.in_orig
   packages/libhdf4/trunk/mfhdf/aclocal.m4
   packages/libhdf4/trunk/mfhdf/configure
   packages/libhdf4/trunk/mfhdf/configure.in
   packages/libhdf4/trunk/mfhdf/doc/
   packages/libhdf4/trunk/mfhdf/dumper/Example6.hdf
   packages/libhdf4/trunk/mfhdf/dumper/Image_with_Palette.hdf
   packages/libhdf4/trunk/mfhdf/dumper/LongDataset.hdf
   packages/libhdf4/trunk/mfhdf/dumper/Makefile.in_orig
   packages/libhdf4/trunk/mfhdf/dumper/ctxtr2r.hdf
   packages/libhdf4/trunk/mfhdf/dumper/depend
   packages/libhdf4/trunk/mfhdf/dumper/grtdfi322.hdf
   packages/libhdf4/trunk/mfhdf/dumper/grtdfui162.hdf
   packages/libhdf4/trunk/mfhdf/dumper/grtdfui82.hdf
   packages/libhdf4/trunk/mfhdf/dumper/grtdfui83.hdf
   packages/libhdf4/trunk/mfhdf/dumper/grtdfui84.hdf
   packages/libhdf4/trunk/mfhdf/dumper/star.hdf
   packages/libhdf4/trunk/mfhdf/dumper/swf32.hdf
   packages/libhdf4/trunk/mfhdf/dumper/swf32_fileattr.hdf
   packages/libhdf4/trunk/mfhdf/dumper/swi16.hdf
   packages/libhdf4/trunk/mfhdf/dumper/swi8.hdf
   packages/libhdf4/trunk/mfhdf/dumper/tdata.hdf
   packages/libhdf4/trunk/mfhdf/dumper/tdf24.hdf
   packages/libhdf4/trunk/mfhdf/dumper/tdfr8f.hdf
   packages/libhdf4/trunk/mfhdf/dumper/test.hdf
   packages/libhdf4/trunk/mfhdf/dumper/testhdp.sh
   packages/libhdf4/trunk/mfhdf/dumper/tvattr.hdf
   packages/libhdf4/trunk/mfhdf/dumper/tvset.hdf
   packages/libhdf4/trunk/mfhdf/fortran/Makefile.in_orig
   packages/libhdf4/trunk/mfhdf/libsrc/Makefile.in_orig
   packages/libhdf4/trunk/mfhdf/ncdump/Makefile.in_orig
   packages/libhdf4/trunk/mfhdf/ncgen/Makefile.in_orig
   packages/libhdf4/trunk/mfhdf/nctest/Makefile.in_orig
   packages/libhdf4/trunk/mfhdf/pablo/
   packages/libhdf4/trunk/mfhdf/port/Makefile.in_orig
   packages/libhdf4/trunk/mfhdf/xdr/Makefile.in_orig
   packages/libhdf4/trunk/mkinstalldirs
   packages/libhdf4/trunk/release_notes/ABOUT_4.1r4
   packages/libhdf4/trunk/release_notes/compile.txt
Modified:
   packages/libhdf4/trunk/COPYING
   packages/libhdf4/trunk/INSTALL
   packages/libhdf4/trunk/Makefile.in
   packages/libhdf4/trunk/README
   packages/libhdf4/trunk/Win32.nofortran.zip
   packages/libhdf4/trunk/Win32.zip
   packages/libhdf4/trunk/configure
   packages/libhdf4/trunk/debian/changelog
   packages/libhdf4/trunk/debian/control
   packages/libhdf4/trunk/hdf/Makefile.in
   packages/libhdf4/trunk/hdf/fmpool/Makefile.in
   packages/libhdf4/trunk/hdf/src/Makefile.in
   packages/libhdf4/trunk/hdf/src/atom.c
   packages/libhdf4/trunk/hdf/src/df24.c
   packages/libhdf4/trunk/hdf/src/dfan.c
   packages/libhdf4/trunk/hdf/src/dfan.h
   packages/libhdf4/trunk/hdf/src/dffunc.inc
   packages/libhdf4/trunk/hdf/src/dfp.c
   packages/libhdf4/trunk/hdf/src/dfr8.c
   packages/libhdf4/trunk/hdf/src/dfsd.c
   packages/libhdf4/trunk/hdf/src/dynarray.c
   packages/libhdf4/trunk/hdf/src/fort_ps/herrpf.c
   packages/libhdf4/trunk/hdf/src/fort_ps/herrpff.f
   packages/libhdf4/trunk/hdf/src/fort_ps/hfilepf.c
   packages/libhdf4/trunk/hdf/src/fort_ps/hfilepff.f
   packages/libhdf4/trunk/hdf/src/fort_ps/hprotop.h
   packages/libhdf4/trunk/hdf/src/fort_ps/mfgrpf.c
   packages/libhdf4/trunk/hdf/src/fort_ps/mfgrpff.f
   packages/libhdf4/trunk/hdf/src/fort_ps/vgpf.c
   packages/libhdf4/trunk/hdf/src/fort_ps/vgpff.f
   packages/libhdf4/trunk/hdf/src/hbitio.c
   packages/libhdf4/trunk/hdf/src/hblocks.c
   packages/libhdf4/trunk/hdf/src/hbuffer.c
   packages/libhdf4/trunk/hdf/src/hchunks.c
   packages/libhdf4/trunk/hdf/src/hchunks.h
   packages/libhdf4/trunk/hdf/src/hcomp.c
   packages/libhdf4/trunk/hdf/src/hcomp.h
   packages/libhdf4/trunk/hdf/src/hcompi.h
   packages/libhdf4/trunk/hdf/src/hcompri.c
   packages/libhdf4/trunk/hdf/src/hconv.h
   packages/libhdf4/trunk/hdf/src/hdf.h
   packages/libhdf4/trunk/hdf/src/hdfi.h
   packages/libhdf4/trunk/hdf/src/herr.c
   packages/libhdf4/trunk/hdf/src/herr.h
   packages/libhdf4/trunk/hdf/src/herrf.c
   packages/libhdf4/trunk/hdf/src/hextelt.c
   packages/libhdf4/trunk/hdf/src/hfile.c
   packages/libhdf4/trunk/hdf/src/hfile.h
   packages/libhdf4/trunk/hdf/src/hfiledd.c
   packages/libhdf4/trunk/hdf/src/hfileff.f
   packages/libhdf4/trunk/hdf/src/hlimits.h
   packages/libhdf4/trunk/hdf/src/hproto.h
   packages/libhdf4/trunk/hdf/src/linklist.c
   packages/libhdf4/trunk/hdf/src/mcache.c
   packages/libhdf4/trunk/hdf/src/mfan.c
   packages/libhdf4/trunk/hdf/src/mfgr.c
   packages/libhdf4/trunk/hdf/src/mfgr.h
   packages/libhdf4/trunk/hdf/src/mfgrf.c
   packages/libhdf4/trunk/hdf/src/mfgrff.f
   packages/libhdf4/trunk/hdf/src/src.inc
   packages/libhdf4/trunk/hdf/src/trace.h
   packages/libhdf4/trunk/hdf/src/vattr.c
   packages/libhdf4/trunk/hdf/src/vg.c
   packages/libhdf4/trunk/hdf/src/vgf.c
   packages/libhdf4/trunk/hdf/src/vgff.f
   packages/libhdf4/trunk/hdf/src/vgp.c
   packages/libhdf4/trunk/hdf/src/vhi.c
   packages/libhdf4/trunk/hdf/src/vio.c
   packages/libhdf4/trunk/hdf/src/vrw.c
   packages/libhdf4/trunk/hdf/src/vsfld.c
   packages/libhdf4/trunk/hdf/test/Makefile.in
   packages/libhdf4/trunk/hdf/test/an.c
   packages/libhdf4/trunk/hdf/test/bitio.c
   packages/libhdf4/trunk/hdf/test/extelt.c
   packages/libhdf4/trunk/hdf/test/forsupf.c
   packages/libhdf4/trunk/hdf/test/forsupff.f
   packages/libhdf4/trunk/hdf/test/fort_ps/forsupffp.f
   packages/libhdf4/trunk/hdf/test/fort_ps/fortest.arg
   packages/libhdf4/trunk/hdf/test/fort_ps/fortestFp.f
   packages/libhdf4/trunk/hdf/test/fort_ps/manpf.f
   packages/libhdf4/trunk/hdf/test/fortest.c
   packages/libhdf4/trunk/hdf/test/fortest.h
   packages/libhdf4/trunk/hdf/test/fortestF.f
   packages/libhdf4/trunk/hdf/test/litend.c
   packages/libhdf4/trunk/hdf/test/manf.f
   packages/libhdf4/trunk/hdf/test/mgr.c
   packages/libhdf4/trunk/hdf/test/mgrf.f
   packages/libhdf4/trunk/hdf/test/nbit.c
   packages/libhdf4/trunk/hdf/test/t24f.f
   packages/libhdf4/trunk/hdf/test/testhdf.c
   packages/libhdf4/trunk/hdf/test/tproto.h
   packages/libhdf4/trunk/hdf/test/tvattr.c
   packages/libhdf4/trunk/hdf/test/tvattrf.f
   packages/libhdf4/trunk/hdf/test/tvset.c
   packages/libhdf4/trunk/hdf/test/tvsetf.f
   packages/libhdf4/trunk/hdf/util/Makefile.in
   packages/libhdf4/trunk/hdf/util/fp2hdf.c
   packages/libhdf4/trunk/hdf/util/fptest.c
   packages/libhdf4/trunk/hdf/util/gif2mem.c
   packages/libhdf4/trunk/hdf/util/hdf2gif.c
   packages/libhdf4/trunk/hdf/util/hdfcomp.c
   packages/libhdf4/trunk/hdf/util/hdfpack.c
   packages/libhdf4/trunk/hdf/util/vshow.c
   packages/libhdf4/trunk/man/Makefile.in
   packages/libhdf4/trunk/mfhdf/Makefile.in
   packages/libhdf4/trunk/mfhdf/c++/ncvalues.cc
   packages/libhdf4/trunk/mfhdf/c++/ncvalues.hh
   packages/libhdf4/trunk/mfhdf/c++/netcdf.cc
   packages/libhdf4/trunk/mfhdf/c++/netcdf.hh
   packages/libhdf4/trunk/mfhdf/dumper/Makefile.in
   packages/libhdf4/trunk/mfhdf/dumper/TEST.COM
   packages/libhdf4/trunk/mfhdf/dumper/hdp.c
   packages/libhdf4/trunk/mfhdf/dumper/hdp.h
   packages/libhdf4/trunk/mfhdf/dumper/hdp_dump.c
   packages/libhdf4/trunk/mfhdf/dumper/hdp_gr.c
   packages/libhdf4/trunk/mfhdf/dumper/hdp_list.c
   packages/libhdf4/trunk/mfhdf/dumper/hdp_sds.c
   packages/libhdf4/trunk/mfhdf/dumper/hdp_vd.c
   packages/libhdf4/trunk/mfhdf/dumper/hdp_vg.c
   packages/libhdf4/trunk/mfhdf/dumper/show.c
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/dumpgr-13.out
   packages/libhdf4/trunk/mfhdf/dumper/testfiles/dumpgr-15.out
   packages/libhdf4/trunk/mfhdf/fortran/Makefile.in
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-aix.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-alpha.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-convex.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-dec.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-fbsd.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-fujivp.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-hpux.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-ia64.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-irix32.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-irix4.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-irix5.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-irix6.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-linux.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-mac.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-solaris.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-solarisx86.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-sun.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-t3e.f
   packages/libhdf4/trunk/mfhdf/fortran/config/ftest-unicos.f
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-aix.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-alpha.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-convex.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-dec.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-fbsd.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-fujivp.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-hpux.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-ia64.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-irix32.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-irix4.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-irix5.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-irix6.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-linux.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-mac.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-solaris.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-solarisx86.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-sun.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-t3e.c
   packages/libhdf4/trunk/mfhdf/fortran/config/jackets-unicos.c
   packages/libhdf4/trunk/mfhdf/fortran/fort_ps/hdftestp.f
   packages/libhdf4/trunk/mfhdf/fortran/fort_ps/mfsdpf.c
   packages/libhdf4/trunk/mfhdf/fortran/fort_ps/mfsdpff.f
   packages/libhdf4/trunk/mfhdf/fortran/hdftest.f
   packages/libhdf4/trunk/mfhdf/fortran/mfsdf.c
   packages/libhdf4/trunk/mfhdf/fortran/mfsdff.f
   packages/libhdf4/trunk/mfhdf/fortran/msoft/ftest.for
   packages/libhdf4/trunk/mfhdf/fortran/msoft/jackets.c
   packages/libhdf4/trunk/mfhdf/fortran/vms/ftest.for
   packages/libhdf4/trunk/mfhdf/fortran/vms/ftest.m4
   packages/libhdf4/trunk/mfhdf/fortran/vms/jackets.c
   packages/libhdf4/trunk/mfhdf/libsrc/Makefile.in
   packages/libhdf4/trunk/mfhdf/libsrc/array.c
   packages/libhdf4/trunk/mfhdf/libsrc/cdf.c
   packages/libhdf4/trunk/mfhdf/libsrc/cdftest.c
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-aix.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-alpha.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-convex.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-dec.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-fbsd.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-fujivp.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-hpux.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-ia64.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-irix32.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-irix4.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-irix5.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-irix6.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-linux.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-mac.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-solaris.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-solarisx86.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-sun.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-t3e.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-unicos.h
   packages/libhdf4/trunk/mfhdf/libsrc/config/netcdf-vms.h
   packages/libhdf4/trunk/mfhdf/libsrc/hdf2netcdf.h
   packages/libhdf4/trunk/mfhdf/libsrc/hdftest.c
   packages/libhdf4/trunk/mfhdf/libsrc/mfhdf.h
   packages/libhdf4/trunk/mfhdf/libsrc/mfsd.c
   packages/libhdf4/trunk/mfhdf/libsrc/netcdf.h.in
   packages/libhdf4/trunk/mfhdf/libsrc/putget.c
   packages/libhdf4/trunk/mfhdf/libsrc/var.c
   packages/libhdf4/trunk/mfhdf/libsrc/xdrposix.c
   packages/libhdf4/trunk/mfhdf/ncdump/Makefile.in
   packages/libhdf4/trunk/mfhdf/ncdump/ncdump.c
   packages/libhdf4/trunk/mfhdf/ncgen/Makefile.in
   packages/libhdf4/trunk/mfhdf/ncgen/make.com
   packages/libhdf4/trunk/mfhdf/ncgen/ncgen.l
   packages/libhdf4/trunk/mfhdf/nctest/Makefile.in
   packages/libhdf4/trunk/mfhdf/nctest/driver.c
   packages/libhdf4/trunk/mfhdf/nctest/slabs.c
   packages/libhdf4/trunk/mfhdf/nctest/tests.h
   packages/libhdf4/trunk/mfhdf/port/Makefile.in
   packages/libhdf4/trunk/mfhdf/xdr/Makefile.in
   packages/libhdf4/trunk/release_notes/bugs_fixed.txt
Log:
Moving to new upstream version


Modified: packages/libhdf4/trunk/COPYING
===================================================================
--- packages/libhdf4/trunk/COPYING	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/COPYING	2007-09-28 21:58:13 UTC (rev 1125)
@@ -3,7 +3,7 @@
 Copyright Notice and Statement for NCSA Hierarchical Data Format (HDF) 
 Software Library and Utilities
 
-Copyright 1988-2000 The Board of Trustees of the University of Illinois
+Copyright 1988-2005 The Board of Trustees of the University of Illinois
 
 All rights reserved.
 

Modified: packages/libhdf4/trunk/INSTALL
===================================================================
--- packages/libhdf4/trunk/INSTALL	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/INSTALL	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,1176 +1,158 @@
-***************************************************************************
-  CONTENTS
-  --------
 
-  1. Obtaining the latest version
+    Installation instructions for HDF4.2r1 on UNIX and MacOSX platforms
+    ====================================================================
+                          February 2005
 
-  2. Installing HDF
-  2.1 Supported Platforms
-  2.2 Third Party Software Requirements
-  2.3 System Requirements
 
-  2.4 General Configuration/Installation - Unix
-  2.4.1 Overview
-  2.4.2 Layout of configuration files
+CONTENTS
 
-  2.4.3 Changing default values(CC,CFLAGS,..) and Setting Options
-  2.4.3.1 Changing default values(CC,CFLAGS,..)
-  2.4.3.2 Using HDF/MFHDF libraries w/ original netCDF library
-  2.4.3.3 Setting other Options
+0. Third Party Software Requirements
+1. Optional SZIP compression Library
+2. HDF4 Source code and precompiled binaries 
+3. UNIX and MacOSX configuration and build
+4. Using HDF/MFHDF libraries w/ original netCDF library
 
-  2.4.4 Running configure
-  2.4.5 Dealing with Configure Problems
-  2.4.6 Compiling, Testing and Installing
 
-  2.5 Platform-specific Notes
-  2.5.1 Solaris on Sparc
-  2.5.2 Solaris on INTEL(x86)
-  2.5.3 OpenVMS AXP on DEC Alpha
-  2.5.4 Windows 98/NT/2000
-  2.5.5 Macintosh OS - Power PC    ** Not Supported **
-  2.5.6 Exemplar 
-  2.5.7 SP2 Single node
-  2.5.8 T3E Single node
-  2.5.9a SGI IRIX 6.x
-  2.5.9b SGI IRIX64
-  2.5.10 DEC Alpha
+0. Third Party Software Requirements
+   =================================
 
-  2.6 Pablo Instrumentation
-  2.7 File Cache(Beta release)
-  2.8 Installation Location
-  2.9 Specifying the System Type
-  2.10 Configure Options 
+   x JPEG distribution release 6b(libjpeg.a). The "official" site
+     for this is ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
 
-  3. Man pages
+   x ZLIB 1.1.4(libz.a) Source code and binaries may be downloaded from
+     http://www.gzip.org/ or from the NCSA ftp server  
+     ftp://hdf.ncsa.uiuc.edu/lib-external/gzip/
+     Newest ZLIB 1.2 may also be used.
 
-  4. Release Notes
 
-  5. Documentation
+1. Optional SZIP compression Library
+   ==================================
 
-  6. FAQ
+   x HDF4.2r1 may be configured to use the SZIP compression Library.
+     For more information about the SZIP library, see
 
-  7. Java Products
+               http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/ 
 
-  8. HELP
+     The SZIP compression library is free for non-commercial use; 
+     see http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/Commercial_szip.html
+     for information regarding commercial use.
+     
+2. HDF4 Source code and precompiled binaries
+   ==========================================
+     HDF provides "tar source ball" and precompiled binaries from 
+     the NCSA ftp server (ftp.ncsa.uiuc.edu) in the directories:
 
-*****************************************************************************
+         ftp://hdf.ncsa.uiuc.edu/HDF/HDF_Current/src
+         ftp://hdf.ncsa.uiuc.edu/HDF/HDF_Current/bin 
 
-1. Obtaining the latest version
-   ============================
+   IMPORTANT:
+   ==========
+   HDF4 prebuilt binaries come with the SZIP compression. In order to use
+   the binaries install SZIP Library on your system. You may download SZIP
+   precompiled binaries from 
+         http://hdf.ncsa.uiuc.edu/doc_resource/SZIP
 
-    The most recent version of the distribution can be obtained from
-    the NCSA ftp archive site at:
 
-       ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF_Current/
+3. UNIX and MacOSX configuration and build
+   =======================================
 
-    The HDF home page is at:   
-       http://hdf.ncsa.uiuc.edu/ 
+   0)  The HDF4.2r1 Library was tested on the following platforms
 
-    The distribution can be downloaded from the HDF Home page at:
-       http://hdf.ncsa.uiuc.edu/obtain.html
-    
+       AIX 5.1, 5.2 (32 and 64-bit versions)
+       SunOs 5.7 (32 and 64-bit versions) 
+       SunOS 5.8 (32 and 64-bit versions) 
+       SunOS 5.9 (32 and 64-bit versions) 
+       HPUX 11.00
+       Linux 2.4 
+       IRIX64-6.5 (32 and 64-bit versions)
+       MacOSX
+       Crays SV1 and T90
+       True64 (OSF1 V5.1)
+       Windows 2000 and XP
+       FeeBSD
+       IA32 and IA64
+       Altix
+       AMD Opteron
 
-2. Installing HDF	
-   ==============
-
-    For compiling and installing the HDF libraries, tests and
-    utilities on a system, please follow these instructions. 
-
-2.1 Supported Platforms
-    ===================
-
-    For PLATFORM specific NOTES see Section 2.5 called
-    'Platform-specific Notes'.
-
-
-  Platform(OS)                    C-Compiler       Fortran-Compiler   
-  ------------                    ----------       ---------------- 
-  Sun4(Solaris 2.7)               WorkShop         WorkShop Compilers 5.0
-                                  Compilers C 5.0  FORTRAN 77 5.0         
-  Sun4(Solaris 2.6)               WorkShop         WorkShop Compilers 5.0
-                                  Compilers C 5.0  FORTRAN 77 5.0             
-  SGI-Indy(IRIX v6.5)             CC 7.30          f77 7.30
-  SGI-Origin(IRIX64 v6.5-n32)     CC 7.3.1m        f77 7.3.1m 
-  SGI-Origin(IRIX64 v6.5-64)      CC 7.3.1m        f77 7.3.1m    
-  HP9000/755(HP-UX B.11.00)       CC A.11.00.13    f77 B.11.00.01
-  Exemplar(HP-UX B.10.01)         CC V2.0          f77 V1.2.6
-  Cray J90 (bob.1 10.0.0.7)       CC 6.3.0.2       Cray Fortran 3.4.0.1.0 
-  IBM SP (single node, v4.3)      XLC 5.0.1.0      f77 07.01.0000.0002 
-  DEC Alpha/Digital Unix v4.0     DEC C v5.2-040   Digital Fortran v4.1-92 
-  DEC Alpha/OpenVMS AXP v7.1      DEC C v5.6-003   Digital Fortran 77 X7.1-156  
-  IBM PC - Intel Pentium
-       Solarisx86 (2.5.1)         GCC 2.7.2          -                
-       Linux      (2.2.16)        GCC 2.95.2       g77  0.5.25    
-       FreeBSD    (4.1.1)         GCC 2.95.2       GNU f77 V0.5.25
-  Windows NT/98/2000              MSVC++ 6.0       DEC Visual Fortran 6.0
-  T3E (sn6711 2.0.539b)           Cray CC 6.3.0.2  Cray Fortran 3.4.0.1.0
-
-
-  NOTE:  Platforms listed with compiler information entered, are 
-  platforms that HDF was tested on and for which we provide 
-  pre-compiled binaries.  
-
- 
-2.2  Third Party Software Requirements:
-     ==================================
-
-     1. IJPEG distribution release 6b(libjpeg.a). The "official" site
-        for this is ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
-
-     2. ZLIB 1.1.3(libz.a) distribution.
-
-     Both of these distributions are included with this distribution
-     in 'hdf/jpeg' and 'hdf/zlib'. The HDF/mfhdf base distribution
-     is known to work with these versions only.
-
-2.3 System Requirements
-    ===================
-
-    To build HDF from source, you need:
-
-      * an ANSI C compiler. The native ANSI compilers on the above 
-        platforms are supported. On platforms where no ANSI compiler
-        was available the free GNU ANSI compiler GCC was used.
-
-      * a Fortran 77 compiler (F90 on Crays) if you want Fortran support. 
-        See above table for platforms where Fortran is supported. You 
-        can compile both libraries without Fortran support by setting 
-        the Fortran compiler variable 'FC = NONE' in the respective
-        makefile fragment(mh-<os>) found in the top-level 'config'
-        directory: 
-
-                $(toplevel)/config/mh-<os>.
-
-        See below for further details of configuration and installation.
-        
-
-2.4 General Configuration/Installation - Unix
-    =========================================
-
-    2.4.1 Overview
-    --------------        
-    In this distribution there are two types of 'configure'
-    scripts. One is the Cygnus 'configure' script and the other is the
-    'configure' script created by the GNU autoconf package. The Cygnus
-    'configure' script is used at the top level to configure the overall
-    distribution and the HDF/MFHDF/IJPEG/ZLIB libraries. The GNU 'configure' 
-    script is used by the netCDF/IJPEG distributions to configure themselves. 
-    However, these gnu configure scripts are not used in configuring this 
-    distribution.
- 
-    The Cygnus 'configure' script attempts to guess the correct
-    platform you are configuring the distribution for by calling the shell
-    script 'config.guess'. It outputs a unique string based on information
-    obtained from the UNIX command 'uname' consisting of CPU-VENDOR-OS
-    e.g. 'hppa1.1-hp-hpux9.03' for an  HP9000/735 running HPUX-9.03.
-
-    2.4.2 Layout of configuration files
-    -----------------------------------
-    The following shows the layout of the files used in the configuration
-    of the HDF distribution.
-
-    NOTE: The $(toplevel)/mfhdf/CUSTOMIZE and 
-          $(toplevel)/mfhdf/configure(autoconf) files are no longer used 
-          in the configuration of the distribution.
-  
-    $(toplevel)/Makefile.in
-                config.guess
-                config.sub
-                configure (cygnus)
-                configure.in (cygnus)
-                config/mh-hpux, mh-sun,.....(host makefile fragments)
-
-                man/Makefile.in
-
-                mfhdf/CUSTOMIZE(not used)
-                mfhdf/configure(autoconf - not used)
-                mfhdf/libsrc/config/netcdf-aix.h,...  -> copied to netcdf.h
-                mfhdf/fortran/config/ftest-aix.f,...  -> copied to ftest.f
-                mfhdf/fortran/config/jackets-aix.c,.. -> copied to jackets.c
-                mfhdf/fortran/config/netcdf-aix.inc,..-> copied to netcdf.inc
-
-                hdf/Makefile.in
-                hdf/src/Makefile.in
-                hdf/test/Makefile.in
-                hdf/util/Makefile.in
-                hdf/zlib/Makefile.in
-                hdf/pablo/Makefile.in
-
-                hdf/jpeg/configure.in (cygnus)
-                hdf/jpeg/Makefile.in
-                hdf/jpeg/configure.gnu(autoconf - not used)
-                hdf/jpeg/config/mh-hpux, mh-sun,... (host makefile fragments)
-                hdf/jpeg/config/jhpux.h, jsun.h,...   -> copied to jconfig.h
-
-                hdf/fmpool/configure, configure.in config.guess, config.sub,
-                           Makefile.in (all cygnus)
-                hdf/fmpool/config/mh-hpux, mh-sun,...(host makefile fragments)
-                hdf/fmpool/config/fmpsolaris.h,...    -> copied to fmpconf.h
-
-    2.4.3 Changing default values(CC,CFLAGS,..) and Setting Options
-    ---------------------------------------------------------------
-    To change any of the default values or set any of the options 
-    edit the makefile fragment: 
-
-             $(toplevel)/config/mh-<os>
-
-    for your particular operating system. After changing the values you must 
-    re-run the top-level 'configure' script. Make sure you start from
-    a clean distribution if you are rebuilding after a previous make
-    (i.e. 'make distclean') before re-running 'configure'.
-
-      2.4.3.1 Changing default values(CC,CFLAGS,..)
-      ********************************************
-      To change any of the default values for CC, FC, CFLAGS, FFLAGS,..etc
-      edit the top part of the makefile fragment: $(toplevel)/config/mh-<os>
-      It is also a good idea to look at the other system variables to make sure 
-      they are set correctly for your system.
-
-      2.4.3.2 Using HDF/MFHDF libraries w/ original netCDF library
-      ************************************************************
-      To use the HDF/MFHDF libraries(libdf.a, libmfhdf.a) with the
-      original netCDF library(libnetcdf.a) the HDF/MFHDF distribution
-      must be compiled with the option '-DHAVE_NETCDF'. This will
-      rename the HDF version of the C-interface(ncxxx) of the netCDF API
-      to sd_ncxxx to avoid clashing with the original netCDF API from
-      libnetcdf.a. Currently there is no support for renaming the 
-      netCDF Fortran interface stubs. As such the HDF/MFHDF distribution 
-      must be compiled without fortran support. HDF Users can still access
-      HDF/netCDF files through the SDxxx interface but not through the
-      ncxxx interface unless the renamed interface is used(sd_ncxxx).
-
-      2.4.3.3 Setting other Options
-      *****************************
-      The makefile fragment must also be modified to enable the features 
-      mentioned in sections 2.6) and 2.7) below.
-
-    2.4.4 Running configure
-    -----------------------
-    To build both of the libraries contained in this directory,
-    run the ``configure'' script in $(toplevel), e.g.:
-
-	./configure -v --prefix=/usr/local/hdf
-
-    If you're using `csh' on an old version of System V, you might need 
-    to type `sh ./configure -v --prefix=/usr/local/hdf' instead to prevent 
-    `csh' from trying to execute `configure' itself.
-
-    This will configure the distribution to install the libraries, utilities,
-    include and man files in '/usr/local/hdf/lib','/usr/local/hdf/bin',
-    '/usr/local/hdf/include' and '/usr/local/hdf/man' respectively. The
-    default 'prefix' is '/usr/local'. It is advisable to use something
-    like the above to avoid overwriting say another 'libjpeg.a' that might be
-    installed in '/usr/local/lib'. The '-v' option is for verbose output.
-
-    Note that both 'libz.a' and 'libjpeg.a' and their respective
-    include files are installed along with the base HDF(libdf.a) 
-    and netCDF(libmfhdf.a) libraries.
-
-    If the configure script can't determine your type of computer
-    then it probably is a platfrom that is no longer supported.
-    If you want to be adventurous see the section 'Dealing with
-    Configure Problems' below. Otherwise send an email to 
-    'hdfhelp at ncsa.uiuc.edu' for further help. 
-
-    2.4.5 Dealing with Configure Problems
-    *************************************
-    If you want to be adventurous you can try the following.
-
-    Configure basically calls either of the two shell scripts 'config.guess' 
-    or 'config.sub' depending upon whether a target platform was supplied 
-    on the command line to configure. If you don't provide a target on
-    the command line configure calls 'config.guess' to guess what platfrom
-    it is configuring for. The shell script 'config.guess' uses the unix
-    command 'uname' to figure out the CPU, vendor, and OS of the
-    platform. If you do provide a target on the command line, configure
-    calls the shell script 'config.sub' to build the triplet specifying
-    CPU, vendor, and OS from the full or partial target provided.
-
-    If the configure script can't determine your type of computer, give it
-    a general name that the computer is generally referred to as an argument, 
-    for instance './configure sun4'.  You can use the script 'config.sub' 
-    to test whether a general name is recognized; if it is, config.sub 
-    translates it to a triplet specifying CPU, vendor, and OS.
-    (e.g hppa1.1-hp-hpux9.03 for an HP900/735 running HPUX9.03).
-
-    If this still fails all is not lost. All the configure script really
-    needs is one of the supported targets mentioned above(except NT).
-    If you think your platform is close to one of the above platforms
-    mentioned in the 'Supported Platforms' sections you can pass configure
-    this target and it will configure the distribution for that target.
-
-    For possible mappings you will need to look inside the shell script
-    'config.sub' and look at the partial to full mappings and pick one
-    that satisfies the triplet mappings found in 'configure.in' below
-    the section "# per-host:'. Note that if you try a mapping and it
-    does not work this means that 'config.sub' needs to be edited to
-    provide the proper mapping from your target to a full mapping that
-    is supported. 
-
-    There are currently NO instructions for porting the distribution to a 
-    new platform.
-
-    2.4.6 Compiling, Testing and Installing
-    ---------------------------------------
-    To compile the library and utilities type:
-
-        make 
-
-    To find out the available make targets type:
-
-        make help
-
-    To test the libraries and utilities type:
-
-        make test 
-
-    It is a good idea to save the output of the tests and view it later 
-    for errors.
-    e.g. 
-
-        make test >& make.test.out
-
-    To install the libraries, utilities, includes and man pages type: e.g.
-
-        make install
-
-2.5 Platform-specific Notes
-    ========================
-
-
-    2.5.1 Solaris on Sparc
-    ----------------------
-    The distribution has been compiled/tested with the native
-    ANSI-C compiler and native fortran compiler. The binary 
-    distribution was compiled using the native compilers.
-
-    When compiling your programs on Solaris, you must include the 
-    the nsl library, to resolve calls to the xdr* routines.
-    For example,
-
-      cc -Xc -xO2 -o <your program> <your program>.c  \
-         -I<path for hdf include directory>\
-         -L<path for hdf libraries> -lmfhdf -ldf -ljpeg -lz \
-         -L/usr/lib -lnsl
-
-
-    2.5.2 Solaris on INTEL(x86)
-    ---------------------------
-
-    The distribution has been compiled/tested with GCC 2.7.2 with
-    *NO* FORTRAN support.
-
-    When compiling your programs on Solaris_x86, you must include the 
-    the nsl library, to resolve calls to the xdr* routines.
-    For example,
-
-       gcc -ansi -O -o <your program> <your program>.c \
-           -I<path for hdf include directory> \
-           -L<path for hdf libraries> -lmfhdf -ldf -ljpeg -lz  \
-           -L/usr/lib -lnsl
-
-    2.5.3 OpenVMS AXP on DEC Alpha
-    ------------------------------
-   
-   To build the HDF Library on Alpha OpenVMS systems use
-    MAKEVMS.COM file in the top level directory of the VMS Library source.
-                                                       -------------------
-
-    To build the library in interactive mode run
-
-    @MAKEVMS.COM
-
-    To build the library in the background:
-
-    1. Check that the first command in MAKEVMS.COM sets default directory
-       to the top level directory in the HDF Library source tree (just
-       edit the first command line:  $  set def.... ).
-
-    2. Submit MAKEVMS.COM to the appropriate batch queue on your system
-       For example:
-
-    $ submit/log=buildhdf.log/noprint/notify/restart/que=batch$queue MAKEVMS.COM
-
-
-    MAKEVMS.COM file
-
-    1.  Creates three directories in the top level directory:
-        [...tophdf.include]
-        [...tophdf.bin]
-        [...tophdf.lib]
-
-    2.  Builds four libraries LIBJPEG.OLB, LIBZ.OLB, DF.OLB, and MFHDF.OLB,
-        and copies them into the [...tophdf.bin] directory.
-
-    3.  Builds the HDF utilities and copies them into the [...tophdf.bin]
-        directory.
-
-    4.  Copies the header files to the [...tophdf.include] directory.
-
-    5.  Runs the library tests after building each library and the tests for the
-
-        ncdump, ncgen and hdp utilities.
-
-    We recommend building the library in background and then checking log file
-    for test results. Output of the hdp test is written to the
-    [...tophdf.mfhdf.dumper]hdp.out file.
-
-    See MAKEVMS.COM for more information.
-
-    NOTE: If you are building from UNIX source perform the following steps
-          before you run MAKEVMS.COM:
-
-          1. Make sure that files in the directory [.mfhdf.fortran.vms] are
-             up to date.
-          2. In the directory [.hdf.test] change the files
-             forsupff.f
-             tsdmmsf.f
-             tsdnmmsf.f
-             tsdntf.f
-             tsdnnt.f
-             tvsetf.f
-             slabwf.f
-                      following the instructions given in the comments,
-             which start with 'For VMS', in these files.
-
-
-    2.5.4 Windows 98/NT/2000
-    ------------------------
-
-      Install HDF4.1 Release 4 on Windows NT, Windows 2000 and Windows 98
-
-The instructions which follow assume that you will be using one of 
-the 'zip' files that we provide, either the binary code release
-(HDF41r4.zip) or the source code release (HDF41r4s.zip).
-
-In building HDF from source code you may select between 
-two build environment options ( with Fortran or without Fortran support
-depending on your application and environment needs ).  
-
-The following sections discuss in details installation procedures. 
-
-
-Building from Binary Code Release (HDF41r4.zip)
-===============================================
-To install the HDFand MFHDF libraries and utilities, 
-it is assumed that you have done the following:
+       For more information, see the release_notes/RELEASE.txt file, "Platforms
+       tested" section.
       
-
-      1. Create a directory structure to unpack the library. For 
-      example: 
-
-	    c:\					(any drive)
-           MyHDFstuff\				(any folder name)
-
-      2. Copy the binary archive (HDF41r4.zip) 
-      to that directory 
-      and unpack it by running WinZip on HDF41r4.zip (the binary archive).
-      This should create a directory called 'HDF41r4' which 
-      contains the following files and directories.
-
-            c:\MyHDFstuff\HDF41r4\lib             ( Single-threaded static
-                                                    versions of HDF and MFHDF
-                                                    libraries  with Fortran
-                                                    or without Fortran support )
-            c:\MyHDFstuff\HDF41r4\dlllib          ( Multi-threaded DLL import
-                                                    HDF and MFHDF  libraries 
-                                                    and DLL files with Fortran
-                                                    or no Fortran support )
-            c:\MyHDFstuff\HDF41r4\include         ( include files )
-            c:\MyHDFstuff\HDF41r4\bin             ( utilities )
-            c:\MyHDFstuff\HDF41r4\release_notes   ( release notes )
-            c:\MyHDFstuff\HDF41r4\install_NT_98   ( this file)
-
-      
-      3. If you are building an application that uses the HDF libraries 
-         the following locations will need to be specified for locating
-         header files and linking in the HDF libraries:
+   Before you start:
  
-            C:\MyHDFstuff\HDF41r4\lib or C:\MyHDFstuff\HDF41r4\dlllib
-            C:\MyHDFstuff\HDF41r4\include
+   1)  Make sure that the ZLIB and JPEG Libraries are installed on your
+       system.
+   2)  Optional: install the SZIP version 2.0 Library. 
+   3)  Extract the source from the hdf4.2r1.tar file and change
+       directory to hdf4.2r1
 
+   To Configure:
 
+   4)  Use the configure command in the top level HDF4 directory hdf4.2r1
 
-Note: The ws2_32.lib needs to linked with your executable if using the static 
-      mfhdf library.  The ws2_32.lib can be found in your Microsoft Visual C++
-      directory under the lib folder.
+       ./configure --with-zlib=/path_to_ZLIB_install_directory 
+                   --with-jpeg=/path_to_JPEG_install_directory 
+                   <--with-szlib=/path_to_SZIP_install_directory>
+                   --prefix=/path_to_HDF4_install_directory
 
+       * Please note that when szlib option is not used, SZIP Library will not
+         be configured in and SZIP compression will not be enabled.
+       * If your system has ZLIB and/or JPEG libraries installed under a
+         system library directory (such as /usr/lib), configure will
+         automatically find the library. In this case, the corresponding
+         configure flag may be ommitted.
+       * Note that --prefix defines where the installation path is.
+         The default is set as <hdf4_build_directory>/NewHDF 
 
-Building from Source Code Release (HDF41r4s.zip)
-================================================
+    To Build and Test:
 
-STEP I:  Preconditions
+    5)  To build the library
 
-To build the HDF and MFHDF libraries ( single-threaded static or
-multi-threaded DLL import libraries) and utilities, 
-it is assumed that you have done the following:
-      
-      1. Installed MicroSoft Developer Studio, and Visual C++ 6.0.
-         Visual Fortran 6.0 is needed if you are going to build the
-         full HDF Library with Fortran support.
+        gmake >& gmake.out
 
-      2. Set up a directory structure to unpack the library. For 
-      example: 
+    6)  To build and run the tests
 
-	    c:\					(any drive)
-           MyHDFstuff\				(any folder name)
+        gmake check >& check.out
 
-      3. Copy the source distribution archive to that directory 
-      and unpack it using the appropriate archiver options to
-      create a directory  hierarchy.
-         
-      Run WinZip on HDF41r4s.zip (the entire source tree).
-      This should create a directory called 'HDF41r4' which 
-      contains several files and directories.
-      
-Note: If you are building from the UNIX source code, then you will
-      need to replace the jconfig.h and netcdf.h file as follows
-      ( this assumes that the HDF Library tree resides 
-      under HDF41r4 directory ):
- 
-      copy C:\MyHDFstuff\HDF41r4\hdf\jpeg\config\jwin32.h
-                                 C:\MyHDFstuff\HDF41r4\hdf\jpeg\jconfig.h
-      copy C:\MyHDFstuff\HDF41r4\mfhdf\libsrc\win32cdf.h
-                                 C:\MyHDFstuff\HDF41r4\mfhdf\libsrc\netcdf.h
+    To Install:
 
-You do not need to do this if you are using the HDF41r4s.zip file! 
+    7)  To install the HDF4 library and tools
 
-STEP II: Select Installation type and Build.
+        gmake install
 
-You may select one of 2 ways to build the HDF libraries and 
-utilities, depending on your environment and application needs.
-
-Option I, (select Win32.nofortran.zip)
-This is the "NOFORTRAN" configuration : It builds debug and release single-threaded
-and multi-threaded versions of the HDF libraries, tests, and utilities. 
-There is no Fortran support.
-
-
-Option II, (select Win32.zip)
-This is "WITH FORTRAN support" configuration : it is the same as above but with
-Fortran support. 
-
-
-
-STEP III: Building the Libraries, tests and utilities.
-Note that the instructions are the same for both Options I and II. 
-
-
-	1. Unpack Win32.nofortran.zip or Win32.zip in 
-           directory HDF41r4\. 
-         
-        2. Invoke Microsoft Visial C++ 6.0, go to "File" and select
-           the "Open Workspace" option. 
-           Then open the c:\myHDFstuff\HDF41r4\all.dsw workspace. 
-
-        3. Select "Build", then Select "Set Active Configuration".
-
-           On Windows platform select as the active configuration
-
-           "all -- Win32 Debug" to build debug versions of single-threaded
-                                static libraries, tests and utilities and
-                                multi-threaded libraries and tests.
-            or
+    8)  By default the current configuration uses vendor compilers; to use
+        another compiler run the following commands before running
+        configure: 
  
-           "all -- Win32 Release" to build release versions of single-threaded
-                                static libraries, tests and utilities and
-                                multi-threaded libraries and tests.
-
-
-           Select "Build" and "Build all.exe" to
-           build the corresponding version of the HDF41r4 library.
-           If you are building from the Win32.zip archive, 
-           you will see that the Digital Visual Fortran compiler is invoked
-           by the Visual C++ Development environment in compiling the fortran code.
-
-           NOTE: "all" is a dummy target. You will get a link error when   
-           "all.exe." is built : 
-                 LINK: error LNK2001: unresolved external symbol _WinMainCRTStartup.....
-                 all.exe - 2 error(s), ....
-
-           Warning messages can be ignored. The "all.exe" is never created, 
-           so it is OK.
-
-           When the debug build is done the directories listed 
-           below will contain the following files:
-
-           c:\MyHDFstuff\HDF41r4\Windows\bin\debug - 
-
-             utilities, statically linked with the single-threaded libraries.
-
-           c:\MyHDFstuff\HDF41r4\Windows\lib\debug\singlethreaded -
-
-              HD414d.lib - HDF static library (inludes JPEG and GZIP libraries) 
-              HM414d.lib - MFHDF static library
-
-           c:\MyHDFstuff\HDF41r4\Windows\lib\debug\multithreaded -
-
-              HD414md.lib - HDF multi-threaded DLL import library 
-                            (inludes JPEG and GZIP libraries)
-              HM414md.lib - MFHDF multi-threaded DLL import library 
-
-           c:\MyHDFstuff\HDF41r4\Windows\DLL\debug
-
-               HD414md.DLL - HDF DLL
-               HM414md.DLL - MFHDF DLL
-
-           When the release build is done the directories listed
-           below will contain the following files:
+        setenv CC   "foo -flags"
+        setenv F77  "fffoo -flags"
  
-           c:\MyHDFstuff\HDF41r4\Windows\bin\release - 
- 
-             utilities, statically linked with the single-threaded libraries.
- 
-           c:\MyHDFstuff\HDF41r4\Windows\lib\release\singlethreaded - 
- 
-              HD414.lib - HDF static library (inludes JPEG and GZIP libraries)
-              HM414.lib - MFHDF static library
+        See the configure help page (configure --help) for a list of
+        environment variables that have an affect on building the
+        library.
 
-           c:\MyHDFstuff\HDF41r4\Windows\lib\release\multithreaded - 
- 
-              HD414m.lib - HDF multi-threaded DLL import library 
-                            (inludes JPEG and GZIP libraries)
-              HM414m.lib - MFHDF multi-threaded DLL import library
- 
-           c:\MyHDFstuff\HDF41r4\Windows\DLL\release 
+    9)  You may build HDF4 in a directory other than hdf4.2r1 by
+        using the "srcdir" option. Simply create a build directory and
+        type:
 
-               HD414m.DLL - HDF DLL
-               HM414m.DLL - MFHDF DLL
+        <path_to_hdf4.2r1>/configure ...
 
-
-Note: The ws2_32.lib needs to linked with your executable if using the static 
-      mfhdf library.  The ws2_32.lib can be found in your Microsoft Visual C++
-      directory under the lib folder.
-
-		
-STEP IV:   TESTING THE BUILD
-
-       In a command prompt window run the test batch file which
-       resides in the HDF41r4 directory to make sure that the libraries
-       were built correctly.
-
-       Set the path to include the DLL files or copy the files to the system
-       directory.
-
-       Then run Win32debugtst.bat to test debug version or
-       Win32releasetst.bat to test release version.  
-        
-
-STEP V:  INSTALLATION
-
-       In the command prompt window run the install_debug.bat file to install
-       the debug version. This file will create four directories under 
-       the HDF41r4 directory and copy over corresponding files:
-
-           bindbg     - utilties 
-           libdbg     - static libraries
-           dlllibdbg  - multi-threaded libraries and DLLs
-           include    - include files 
-
-       In the command prompt window run install_release.bat file to install 
-       release version. This file will create four directories under HDF41r4 
-       directory and copy corresponding files: 
+        where "..." are your configuration options.
  
-           bin     - utilties 
-           lib     - static libraries 
-           dlllib  - multi-threaded libraries and DLLs 
-           include - include files
- 
-Note:  There is an error in the debug version of the hdp tool.  It will show an
-       alert box with the error and 3 buttons.  This is a known problem.  The release
-       version is fine.
+4. Using HDF/MFHDF libraries w/ original netCDF library 
+   ====================================================
 
-STEP VI:  
+        To use the HDF/MFHDF libraries(libdf.a, libmfhdf.a) with the
+        original netCDF library(libnetcdf.a) the HDF/MFHDF distribution
+        must be compiled with the option '-DHAVE_NETCDF'. This will
+        rename the HDF version of the C-interface(ncxxx) of the netCDF API
+        to sd_ncxxx to avoid clashing with the original netCDF API from
+        libnetcdf.a. Currently there is no support for renaming the 
+        netCDF Fortran interface stubs. As such the HDF/MFHDF distribution 
+        must be compiled without fortran support. HDF Users can still access
+        HDF/netCDF files through the SDxxx interface but not through the
+        ncxxx interface unless the renamed interface is used(sd_ncxxx).
 
-BUILDING AN APPLICATION USING THE HDF LIBRARY - SOME HELPFUL POINTERS
-=====================================================================
 
-If you are building an application that uses the HDF library 
-the following locations will need to be specified for locating
-header files and linking in the HDF libraries:
- 
-            <top-level HDF directory>\lib
-            <top-level HDF directory>\dlllib
-            <top-level HDF directory>\include
 
-where <top-level HDF directory> may be C:\myHDFstuff\dev or C:\MyHDFstuff\HDF41r4\
+   Report all problems to hdfhelp at ncsa.uiuc.edu
 
-
-Using Microsoft Visual C++ version 6.x:
-
-Under Tools->Options, select the folder, Directories:
-   Under "Show directories for", select "Include files".
-   Add the following directories:
-      C:<path to HDF includes>\include  
-
-Under "Show directories for", select "Library files":
-   Add the following directories:
-      C:<path to HDF libs>\lib        
-
-Under Project->Settings, select folder, Link:
-   Add the following libraries to the beginning of the list of
-   Object/Library Modules:
-         HD414.lib HM414.lib (single-threaded release version)
-         HD414d.lib HM414d.lib (single-threaded debug version)
-
-         HD414m.lib HM414m.lib (multi-threaded release version)
-         HD414md.lib HM414md.lib (multi-threaded debug version)
-
-
-MORE HELPFUL POINTERS
-=====================
-(as described in terms of installing the  nofortran configuration)
-
-Here are some notes that may be of help if you are not familiar
-with using the Visual C++ Development Environment.
-
-Project name and location issues: 
-         The files in Win32.zip  and Win32.nofortran.zip must end up 
-         in the HDF41r4\ directory installed by HDF41r4s.zip
-
-         If you must install all.dsw and all.dsp in 
-         another directory, relative to HDF41r4\ , you will be asked to
-	 locate the above 5 sub-project files, when you open the
-	 project all.dsw.
-	 
-	 If you want to rename all (the entire project),
-	 you will need to modify two files
-	 all.dsw and all.dsp as text
-	 (contrary to the explicit warnings in the files).
-
-	 You can also modify all.dsw and all.dsp
-	 as text, to allow these 2 files to be installed
-	 in another directory.
-
-
-
-  Settings... details:
-  If you create your own project, the necessary settings can be
-  read from the all.dsp file(as text), or from the
-  Project Settings in the Developer Studio project settings 
-dialog.
-
-    Project
-	  Settings
-	      C/C++
-		  Category
-		     PreProcessor
-			 Code Generation
-			    Use run-time Library
-				   These are all set to use 
-                                      Single-Threaded
-				   or Single-Threaded debug
-                                   or Multi-Threaded
-                                   or Multi-Threaded debug
-
-
-
-
-
-    2.5.5 Macintosh OS - Power PC - 
-    -------------------------------
-    **** NOT SUPPORTED WITH HDF 4.1r4 ****
-
-    The distribution was compiled/tested with MetroWerks Codewarrior(CW Pro1).
-    Only the base libraries {jpeg.PPC.lib, z.PPC.lib, hdflib.PPC.lib,
-    xdr.PPC.lib and mfhdf.PPC.lib} were compiled and tested on the
-    PowerPC without Fortran support.
-
-    *NO* Fortran support is included in this distribution.
-
-    Codewarrior Projects can be found with this distribution.
-    They have been run through the Macintosh BinHex utility program. 
-    You need to compile the libraries before you can compile the test 
-    programs 'testhdf', 'xdrtest', 'cdftest', 'hdftest' and  'nctest'.
-
-    2.5.5.1 Special Notes
-    *********************
-    1. The test programs are SIOUX applications.
-    
-    2. When testing 'testhdf' in the 'hdf/test' directory make sure
-       that a directory called 'testdir' exists in 'hdf/test'.
-       This directory is used in the external element test.
-
-    3. You need at least 8MB of memory to run most of the test programs.
- 
-    4. Distribution also contains projects files to build utilities,
-       but utilities were not tested.
-
-    2.5.5.2 Building the Distribution
-    *********************************
-    The distribution  and tests need to be built in the order specified below.
-    Codewarrior Projects with the targets for Power PC and 68K can be 
-    found in the following directories:
- 
-    $(toplevel)/
-                hdf/zlib/zlib.project.hqx
-
-                hdf/jpeg/jpeglib.project.hqx
-
-                hdf/src/hdflib.project.hqx
-
-                hdf/test/testhdf.project.hqx
-
-                hdf/test/testdir(need to create this if it does not exist)
-    
-                mfhdf/xdr/xdrlib.project.hqx
-                mfhdf/xdr/xdrtest.project.hqx
-
-                mfhdf/libsrc/mfhdflib.project.hqx
-                             cdftest.project.hqx
-                             hdftest.project.hqx
-
-                mfhdf/nctest/nctest.project.hqx
-
-    Note that only the PPC version of the libraries and tests are supported.
-
-    2.5.5.3 Testing the Distribution
-    ********************************
-    Run the tests in the following order:
-      
-       1. hdf/test/testhdf
-          Note:
-           When testing 'testhdf' in the 'hdf/test' directory make sure
-           that a directory called 'testdir' exists in the 'hdf/test'.
-           This directory is used in the external element test.
-
-       2. mfhdf/xdr/xdrtest
-           After running this test compare the output to that shown in
-           the file mfhdf/xdr/testout.sav
-
-       3. mfhdf/libsrc/hdftest
-           After running this test compare the output to that shown in
-           the file mfhdf/libsrc/hdfout.sav
-
-       4. mfhdf/libsrc/cdftest
-           After running this test compare the output to that shown in
-           the file mfhdf/libsrc/testout.sav
-
-       5. mfhdf/nctest/nctest
-
-    2.5.5.4 Building utilities  
-    ********************************
-
-    Codewarrior Projects for utilities can be found in the following
-    directories:
- 
-           
-    $(toplevel)/
-                mfhdf/dumper/hdp/hdp.project.hqx
-
-                hdf/util/fp2hdf/fp2hdf.project.hqx
-                         hdf24to8/hdf24to8.project.hqx
-                         hdfcomp/hdfcomp.project.hqx
-                         hdfed/hdfed.project.hqx
-                         hdfls/hdfls.project.hqx
-                         hdfls/hdfls.project.hqx
-                         hdfpack/hdfpack.project.hqx
-                         hdftoPal/hdftopal.project.hqx
-                         hdftoR8/hdftoR8.project.hqx
-                         vshow/vshow.project.hqx
-                         PalToHDF/PalToHDF.project.hqx
-                         R8ToHDF/R8ToHDF.project.hqx 
-                         RISToHDF/RISToHDF.project.hqx
-
-    2.5.6 Exemplar
-    --------------
-    HP Exemplar (Convex) machines running version 10.x of HP-UX are now only
-    able to be configured for HP-UX.  If you are running an Exemplar with an
-    earlier version of the software, you must configure the machine as
-    follows:
-
-        ./configure -v --host=c2-convex-bsd
-
-    Otherwise, the machine will be configured for HP-UX.
-        
-
-    2.5.7 SP2 Single node
-    ----------------------
-    HDF has been compiled and tested to run in a single node of the
-    SP2 system.  You can make the library the same way you would on an
-    AIX system.  To use it in the parallel processing environment, we
-    advise you to execute the HDF code in only one designated process
-    since HDF code does not support concurrent access to the same file.
-
-
-    2.5.8 T3E Single node
-    ---------------------
-    HDF has been compiled and tested to run in a single node of the
-    T3E system.  It is compiled with the '-X m' to produce malleable
-    code which can be executed with multiple processing elements (PEs).
-    The code has not been tested run with multiple PEs.  To use it in
-    the parallel processing environment, we advise you to execute the
-    HDF code in only one designated process since HDF code does not
-    support concurrent access to the same file.
-
-
-    NOTE: HDF is compiled with the f90 compiler starting release 4.1r2.
-    Cray has phased out the cf77 compiler.  The f90 compiler issues
-    numerous warnings during the compiling of the Fortran API test
-    programs.  They can be safely ignored.  One warning is about the
-    unsupported DOUBLE PRECISION being replaced by REAL.  That works fine
-    for the purpose of the test programs since T3E REAL is 8 bytes in
-    size which is the same size as DOUBLE PRECISION in other machines.
-    Another warning is by the loader complaining about many SYMBOLS
-    referenced but not defined.  Those SYMBOLS are actually HDF Fortran
-    function names declared in dffunc.inc file and they are not used in
-    the testing.
-
-
-    2.5.9a SGI IRIX 6.x
-    -------------------
-    IRIX is the traditional SGI 32-bit OS.  Starting in version 6.x,
-    it supports two classes of 32 bit compilers, the old 32 (-o32)
-    and the new 32-bits (-n32).  SGI is phasing out the -o32 compilers.
-    Continued maintenance is available on the -n32 class of compilers only.
-    The HDF library configures to use the -n32 class of C and F77 compilers.
-    If you want to use different compiler options, you need to edit
-    config/mh-irix32 and then run configure.  Consult the section
-    of "General Configuration/Installation" for more information.
-
-
-    2.5.9b SGI IRIX64
-    -----------------
-    IRIX64 supports multiple combinations of ABI (-64, -n32, -o32) and
-    instruction sets (-mips2, -mips3, -mips4).  Previous HDF
-    library releases had hard coded the MIPS settings by guessing what
-    might be the most reasonable combination.  This release no longer
-    sets the MIPS option but leaves it up to the local or user's
-    default.  The configure still generates -64 code by default on
-    an IRIX64 system.  If -n32 code is desired, one may override it
-    by specifying 'irix6_32' during the configure step.
-
-    Configure command	    Code produced
-    -----------------	    -------------
-    ./configure                 -64
-    ./configure irix6_32        -n32
-
-    If you want to use different compiler options, you need to edit
-    config/mh-irix6 (for just configure) or config/mh-irix32 (for
-    configure irix6_32) and then run configure.  Consult the section
-    of "General Configuration/Installation" for more information.
-
-
-    2.5.10 DEC Alpha
-    ----------------
-    The distribution has been compiled/tested with the native Digital 
-    Unix C and FORTRAN compilers.
-
-    During the testing of the library the test 'mfhdf/libsrc/hdftest' 
-    will report "Unaligned access ..." messages which can be ignored.
-
-
-2.6 Pablo Instrumentation
-    =====================
-
-    This version of the distribution has support to create an instrumented 
-    version of the HDF libraries(libdf-inst.a and libmfhdf-inst.a). This 
-    library along with the Pablo performance data capture libraries can be 
-    used to gather data about I/O behavior and procedure execution times.  
-    Version 5.1 or higher of the trace library is required.
-
-    More detailed documentation on how to use the instrumented version of
-    the HDF library with Pablo can be found in the Pablo directory: 
-
-       $(toplevel)/hdf/pablo 
-
-    See the provided '$(toplevel)/hdf/pablo/README.Pablo' and the PostScript 
-    file '$(toplevel)/hdf/pablo/Pablo.ps' or Microsoft Word Document file
-    '$(toplevel)/hdf/pablo/Pablo.doc' or the PDF document file
-    /$(toplevel)/hdf/pablo/Pablo.pdf'.  
-
-    In this version both an instrumented version of the core HDF library 
-    libdf.a and the library libmfhdf.a can be created.  Current interfaces 
-    supported are ANxx, GRxx, DFSDxx, DFANxx, DFPxx, DFR8xx, DF24xx, Hxx, 
-    SDxx, Vxx, and VSxx.
-
-    To enable the creation of an instrumented library the following section
-    in the makefile fragment($(toplevel)/config/mh-<os>) must be uncommented 
-    and set.
-
-    # ------------ Macros for Pablo Instrumentation  --------------------
-    # Uncomment the following lines to create a Pablo Instrumentation
-    # version of the HDF core library called 'libdf-inst.a'
-    # See the documentation in the directory 'hdf/pablo' for further 
-    # information about Pablo and what platforms it is supported on
-    # before enabling. 
-    # You need to set 'PABLO_INCDIR' to the Pablo distribution 
-    # include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-    #PABLO_FLAGS  = -DHAVE_PABLO
-    #PABLO_INCDIR = /usr/local/include/pablo-5.1
-    #PABLO_INCLUDE = -I$(PABLO_INCDIR)
-    After setting these values you must re-run the toplevel 'configure' script.
-    Make sure that you start from a clean re-build(i.e. 'make clean') after
-    re-running the toplevel 'configure' script and then run 'make'.
-    Details on running configure can be found above in the section
-    'General Configuration/Installation - Unix'.
-
-2.7 File Cache(Beta release)
-    =================================
-    This version of the distribution has preliminary support for file caching.
-
-*NOTE*: This version is NOT officially supported on all platforms
-        and has not been extensively tested. As such it is provided as is.
-        It will be supported officially in a later release.
-
-    The file cache allows the file to be mapped to user memory on 
-    a per page basis i.e a memory pool of the file. With regards to the 
-    file system, page sizes can be allocated based on the file system 
-    page-size or if the user wants in some multiple of the file system 
-    page-size. This allows for fewer pages to be managed along with 
-    accommodating the users file usage pattern.
-
-    The current version supports setting the page-size and number of pages
-    in the memory pool through user C-routines(Fortran will be added in a 
-    future release). The default is 8192 bytes for page-size and 1 for number 
-    of pages in the pool.
-
-    Routines:(The names may change in the future...)
-    -------------------------------------------------
-    Hmpset(int pagesize, int maxcache, int flags)
-    --------------------------------------------
-    o  Set the pagesize and maximum number of pages to cache on the next
-       open/create of a file. A pagesize that is a power of 2 is recommended.
-       'pagesize' must be greater than MIN_PAGESIZE(512) bytes and 
-       'maxcache' must be greater than or equal to 1. Valid values
-       for both arguments are required when using this call.
-
-       The values set here only affect the next open/creation of a file and
-       do not change a particular file's paging behavior after it has been
-       opened or created. This may change in a later release.
-
-       Use flags argument of 'MP_PAGEALL' if the whole file is to be cached
-       in memory otherwise pass in zero. In this case the value for 'maxcache'
-       is ignored. You must pass in a valid value for 'pagesize' when
-       using the flag 'MP_PAGEALL'. 
- 
-    Hmpget(int *pagesize, int *maxcache, int flags)
-    ----------------------------------------------
-    o   This gets the last pagesize and maximum number of pages cached for
-        the last open/create of a file. The 'flags' variable is not used.
-    
-    In this version a new file memory pool is created for every file that is
-    created/opened and can not be shared. Future versions will allow sharing 
-    of the file memory pool with other threads/processes.
-
-    To enable the creation of a library using page caching the following 
-    section in the makefile fragment($(toplevel)/config/mh-<os>) must be 
-    uncommented and set.
-
-    # ------------ Macros for Shared Memory File Buffer Pool(fmpool) ------
-    # Uncomment the following lines to enable shared memory file buffer pool
-    # version of the HDF core library libdf.a. Please read the
-    # documentation before enabling this feature.
-    #FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-    After setting these values you must re-run the toplevel 'configure' script.
-    Make sure that you start from a clean re-build(i.e. 'make clean') after
-    re-running the toplevel 'configure' script and then run 'make'.
-    Details on running configure can be found above in the section
-    'General Configuration/Installation - Unix'.
-
-    The file caching version of libdf.a is automatically tested
-    when the regular HDF and netCDF tests are run. The page caching
-    version has been tested only on a few UNIX platforms and is NOT
-    available for the Macintosh ,IBM-PC(Windows NT/95) or VMS.
-
-2.8 Installation Location
-    =====================
-
-    By default, `make install' will install the HDF/mfhdf files in
-    `$(toplevel)/NewHDF/bin', '$(toplevel)/NewHDF/lib', etc.  You may
-    then copy the files to the appropriate directories on your system.
-    If you prefer, you can specify the directory so that `make install'
-    will install the files directly in it.  This is done by giving
-    `configure' the option `--prefix=PATH'.
-
-    eg.  ./configure -v --prefix=/usr/local/hdf
-
-    This will configure the distribution to install the libraries,
-    utilities, include and man files in '/usr/local/hdf/lib',
-    '/usr/local/hdf/bin', '/usr/local/hdf/include' and
-    '/usr/local/hdf/man' respectively.
-
-2.9 Specifying the System Type
-    ==========================
-
-    There may be some features `configure' can not figure out
-    automatically, but needs to determine by the type of host HDF/mfhdf
-    will run on.  Usually `configure' can figure that out, but if it prints
-    a message saying it can not guess the host type, give it the
-    `--host=TYPE' option.  TYPE can either be a short name for the system
-    type, such as `sun4', or a canonical name with three fields:
-
-         CPU-COMPANY-SYSTEM
-
-    e.g. hppa1.1-hp-hpux9.03
-
-    See the file `config.sub' for the possible values of each field.
-
-
-2.10 Configure Options 
-    ==================
-
-    Usage: configure [OPTIONS] [HOST]
-
-    Where HOST and TARGET are something like "sparc-sunos", "mips-sgi-irix5",etc.
-
-    `configure' recognizes the following options to control how it
-    operates. 
-
-    NOTE: not all options are currently supported by this
-          distribution. The following are the only ones supported.
-
-    `--help'
-         Print a summary of the options to `configure', and exit.
-
-     `--prefix=MYDIR`          install into MYDIR [$(toplevel)/NewHDF]
-
-
-3. Man pages
-   =============
-
-    Man pages can be found in:
-
-         $(toplevel)/man
-
-4. Release notes
-   =============
-    The files in sub-directory $(toplevel)/release_notes are detailed 
-    descriptions for the new features and changes in this release.
-    They can be used as supplemental documentation. These files are also 
-    available on the NCSA ftp server (ftp.ncsa.uiuc.edu) in:
- 
-         /HDF/HDF/HDF_Current/release_notes/.
-
-5. Documentation
-   =============
-
-   The HDF documentation can be found on the NCSA ftp server
-   in the directory /HDF/HDF/Documentation/.  The
-   HDF home page is at:
-
-      http://hdf.ncsa.uiuc.edu/
-
-6. FAQ
-   ===
-   An FAQ is available on our ftp server, as well as at:
-      http://hdf.ncsa.uiuc.edu/HDF-FAQ.html 
-   
-
-7. HDF Java Products
-   =================
-   The HDF Java Interface and Java HDF Viewer are built 
-   separately after the library.  See:
-      http://hdf.ncsa.uiuc.edu/java-hdf-html/ 
-
-
-8. HELP
-   ====
-   If you have any questions or comments, or would like to be
-   added to or removed from our hdfnews email list, contact us
-   at:
-
-      hdfhelp at ncsa.uiuc.edu
-
-

Copied: packages/libhdf4/trunk/INSTALL_WINDOWS.txt (from rev 832, packages/libhdf4/branches/upstream/current/INSTALL_WINDOWS.txt)
===================================================================
--- packages/libhdf4/trunk/INSTALL_WINDOWS.txt	                        (rev 0)
+++ packages/libhdf4/trunk/INSTALL_WINDOWS.txt	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,1159 @@
+      Installation Instructions for HDF4.2r1 on Windows 2000/XP
+========================================================================
+
+The instructions which follow assume that you will be using the HDF4
+source code archive from HDF website (http://hdf.ncsa.uiuc.edu).
+
+In building HDF4 from source code you may select between two build
+environment options ( with Fortran or without Fortran).  
+
+***************************WARNINGS*************************************
+Please read CAREFULLY about the following preconditions first.
+
+Preconditions
+
+To build the HDF4 and MFHDF libraries ( single-threaded static or
+multi-threaded DLL) and utilities, it is assumed that you have done
+the following:
+      
+   1. Installed MicroSoft Visual Studio or Intel C compiler and WinZip.
+
+      1.1 Installed DEC Visual Fortran compiler(6.0 or higher version)
+          or Intel Fortran compiler if you want to build the full HDF4
+          library with Fortran support.
+
+   2. Set up a directory structure to unpack the source code archive.
+      For example: 
+
+         c:\                             (any drive)
+         MyHDFstuff\                     (any folder name)
+
+   3. Download the HDF4.2r1 source code archive HDF4.2r1.tar.gz from
+      ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF_Current/src/ and use WinZip
+      to extract HDF4 source code into c:\MyHDFstuff.  This creates a 
+      directory called 'HDF4.2r1' under MyHDFstuff which contains 
+      several files and directories.  Rename "HDF4.2r1" to "HDF42r1".  
+
+   4. HDF4 provides options to do in-memory compress within HDF4
+      library.  Currently, three external compression libraries ZLIB,
+      JPEG, and SZIP can be used with HDF4.
+
+      4.1 HDF4 uses Zlib version 1.2.2 for compression.  To use Zlib
+          library, you have to install your own Zlib DLL library or go
+          to ftp://hdf.ncsa.uiuc.edu/lib-external/zlib/bin/windows 
+          to download the Zlib library.
+
+          Zlib compression feature inside HDF4 is required.
+
+          Note: Zlib 1.2.2 DLL library can also be downloaded from
+          http://www.zlib.net/zlib122-dll.zip
+      
+      4.2 HDF4 uses JPEG release 6b for compression.  To use JPEG
+          library, you have to install your own JPEG library or go to
+          ftp://hdf.ncsa.uiuc.edu/lib-external/jpeg/bin to download
+          the JPEG library archive file jpeg-6b.exe.
+
+          JPEG compression feature inside HDF4 is required.
+
+      4.3 HDF4 uses Szip version 2.0 for compression. To use Szip
+          library, you can download Szip source codes and binaries
+          from ftp://hdf.ncsa.uiuc.edu/szip/2.0/bin/windows/
+
+          Please note that Szip is not a totally open-source free
+          software.  For licensing issue of Szip, please check 
+          "Licensing terms" at
+          http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/index.html.
+
+          Szip compression feature inside HDF4 is optional. 
+      
+   5. Define the following environment variables: 
+
+          HDF4_EXT_ZLIB
+          HDF4_EXT_JPEG
+          HDF4_EXT_SZIP
+      
+      In this section, Szip compression software is assumed to be used.
+      Please read section VI as well as this section if you do not
+      want to use Szip compression feature inside HDF4.
+      
+      To define these environment variables:
+      
+      Click "Start", click "Control Panel", and then double-click
+      "System".  On the "Advanced" tab, click "Environment Variables".
+      
+      If you are logged on as administrator to the local computer AND
+      want to let all other users use these three environment variables,
+      click "New" under "System Variables" box; otherwise, click "New"
+      under "User Variables" box.
+      
+      In the New Variable window, set "Variable name" as HDF4_EXT_ZLIB
+      and "Variable value" as zdll.lib, then click OK.
+      
+      Similarly, you can set:
+
+      HDF4_EXT_JPEG environment variable as libjpeg.lib
+      HDF4_EXT_SZIP environment variable as szlibdll.lib
+
+      Notes:
+
+         a. You might have to close and reopen running programs for the
+            new environment variable settings to take effect. 
+
+         b. c:\zlib122\zlib1.dll and c:\szlib\dll\szlibdll.dll should
+            be copied into the location that the application can find,
+            one suggestion is to use the c:\WINNT\system or
+            c:\WINDOWS\system
+      
+   6. Set up paths for external libraries and headers
+ 
+      Invoke Microsoft Visual C++ and go to "Tools" and select
+      "Options", find "Directories";
+      
+      6.1 Find the box "Show directories for", choose "Include files",
+          If you cannot find your Zlib, JPEG, and Szip header path
+          (for example, c:\zlib122\include, c:\jpeg-6b, 
+          c:\szip\include) from the directory list, add the header
+          path (c:\zlib122\include, c:\jpeg-6b, c:\szip\include) to
+          the included directories.
+      
+      6.2 Find the box "Show directories for", choose "Library files",
+          If you cannot find your Zlib, JPEG, and Szip library path
+          (for example, c:\zlib122\lib, c:\jpeg-6b, c:\szip\dll)
+          from the directory list, add the library path
+          (c:\zlib122\lib, c:\jpeg-6b, c:\szip\dll) to the library
+          directories.
+
+************************************************************************
+
+The following sections discuss installation procedures in detail:
+
+   Section I:    Build and Test HDF4 Libraries and Utilities
+   Section II:   Build an Application Using the HDF4 Library
+   Section III:  Build HDF4 in VS 7.0(.NET)
+   Section IV:   Build HDF4 with Intel Compiler
+   Section V:    Some Helpful Pointers
+   Section VI:   Disable Szip Compression Feature inside HDF4
+   Section VII:  Build and Test HDF4 Library on the Command Line
+   Section VIII: Build HDF4 Multithreaded Static Library
+
+************************************************************************
+
+      
+Section I: Build and Test HDF4 Libraries and Utilities
+======================================================================
+
+Step 1: Select Installation Type
+
+You may select one of 2 ways to build the HDF4 libraries and utilities,
+depending on your environment and application needs.
+
+Option A, (select Win32.nofortran.zip)
+This is the "NOFORTRAN" configuration: it builds debug and release
+single-threaded and multi-threaded DLL versions of the HDF libraries,
+tests, and utilities.  There is no Fortran support.
+
+Option B, (select Win32.zip)
+This is "WITH FORTRAN SUPPORT" configuration: it is the same as above
+but with Fortran support. 
+
+
+Step 2: Build HDF4 Libraries and Utilities
+
+Notes:
+
+   a. The instructions are the same for both options A and B.
+
+   b. These instructions are written for MicroSoft Visual Studio 6.0
+      and DEC Visual Fortran users.  For .NET users, please also read
+      section III.  For Intel compiler users, please aslo read
+      section IV. 
+
+   c. For Microsoft Visual C++ 6.0 and DEC Visual Fortran 6.0(or
+      higher versions) users, we support building HDF4 libraries and
+      utilities from the HDF4 source code archive on command line.
+      To build HDF4 on the command line, please read section VII.
+
+   d. To build HDF4 Multithreaded static library, please read
+      section VIII.
+
+Building Instructions:
+
+   1. Unpack Win32.nofortran.zip or Win32.zip in directory HDF42r1\. 
+
+      Note: Please select "Yes to All" when you are asked to confirm
+            file overwrite by WinZip.
+
+   2. Invoke Microsoft Visual C++ 6.0, go to "File" and select the
+      "Open Workspace" option. 
+
+      Then open the c:\MyHDFstuff\HDF42r1\all.dsw workspace. 
+
+   3. Select "Build", then Select "Set Active Configuration".
+
+      On Windows platform select as the active configuration
+
+         "all -- Win32 Debug" to build debug versions of
+                              single-threaded static libraries, tests
+                              and utilities and multi-threaded libraries
+                              and tests.
+         or
+ 
+         "all -- Win32 Release" to build release versions of
+                                single-threaded static libraries, tests
+                                and utilities and multi-threaded
+                                libraries and tests.
+
+      Select "Build" and "Build all.exe" to build the corresponding
+      version of the HDF42r1 library.
+
+      You should see 0 error at the end of building.
+
+      Warning messages can be ignored.
+
+      When the debug build is done the directories listed below will
+      contain the following files:
+
+         c:\MyHDFstuff\HDF42r1\windows\lib\debug\singlethreaded -
+
+            hd421d.lib - HDF static library 
+            hm421d.lib - MFHDF static library
+
+         c:\MyHDFstuff\HDF42r1\windows\lib\debug\multithreaded -
+
+            hd421md.lib - HDF multi-threaded DLL export library 
+            hm421md.lib - MFHDF multi-threaded DLL export library 
+
+         c:\MyHDFstuff\HDF42r1\windows\dll\debug
+
+            hd421md.dll - HDF DLL
+            hm421md.dll - MFHDF DLL
+
+         c:\MyHDFstuff\HDF42r1\windows\bin\debug - 
+
+            utilities, statically linked with the single-threaded
+            libraries.
+
+      When the release build is done the directories listed below will
+      contain the following files:
+
+         c:\MyHDFstuff\HDF42r1\windows\lib\release\singlethreaded - 
+ 
+            hd421.lib - HDF static library 
+            hm421.lib - MFHDF static library
+
+         c:\MyHDFstuff\HDF42r1\windows\lib\release\multithreaded - 
+ 
+            hd421m.lib - HDF multi-threaded DLL export library 
+            hm421m.lib - MFHDF multi-threaded DLL export library
+ 
+         c:\MyHDFstuff\HDF42r1\windows\dll\release 
+
+            hd421m.dll - HDF DLL
+            hm421m.dll - MFHDF DLL
+ 
+         c:\MyHDFstuff\HDF42r1\Windows\bin\release - 
+ 
+            utilities, statically linked with the single-threaded
+            libraries.
+ 
+Note: The ws2_32.lib needs to be linked with your executable if using
+      the static mfhdf library.  The ws2_32.lib can be found in your
+      Microsoft Visual C++ directory under the lib folder.
+
+		
+Step 3: Test HDF4 Libraries and Utilities
+
+HDF4 libraries and utilities should be tested to make sure that they
+were built correctly.
+
+We provide 2 options for users to test HDF4 libraries and utilities.  
+
+   Option 1: Automatic testings
+
+   HDF4 comes with various test suites, all of which can be tested
+   with hdf4check.bat batch file in c:\MyHDFstuff\HDF42r1\ directory.
+
+   Invoke a command prompt window and run hdf4check.bat.
+
+   Test results are saved in:
+
+      c:\MyHDFstuff\HDF42r1\check_results.txt.
+
+   Use either Notepad or WordPad or whatever other windows word
+   processor to check the results.  You should not find any FAILED
+   marks in check_results.txt.
+
+   Option 2: Step-by-step HDF4 libraries and utilities testings
+
+   You can also test debug and release versions of HDF4 libraries
+   and utilities separately.
+
+   DLLs listed below should be placed into the Windows system directory.
+   A batch file named install_dll.bat is included in
+   c:\MyHDFstuff\HDF42r1 directory.  Run this batch file and the
+   following HDF4 DLLs will be copied to the system directory.
+
+      HDF42r1\windows\dll\release\hd421m.dll
+      HDF42r1\windows\dll\release\hm421m.dll
+      HDF42r1\windows\dll\debug\hd421md.dll
+      HDF42r1\windows\dll\debug\hm421md.dll
+
+   Then run Win32debugtst.bat to test debug version or
+   Win32releasetst.bat to test release version.  
+
+   We strongly suggest you to redirect your testing results into an
+   output file so that you can easily check the testing results.  You
+   may use either Notepad or WordPad or whatever other windows word
+   processor to check the results.  You should not find any FAILED
+   marks in your output files.
+        
+
+Step 4: ncgen -c test (Optional)
+
+ncgen is a netCDF utility that converts a CDL description of a netCDF
+file into an HDF file, or that generates the C or Fortran source
+code required to create a netCDF file.
+
+HDF4 includes "ncgen -c test" to test whether ncgen can generate the
+C source code required to create a netCDF file.
+
+Note:
+     Currently, ncgen can not generate the Fortran source code
+     required to create a netCDF file by HDF4 on Windows.
+  
+     So "ncgen -f test" is not supported by HDF4 on Windows.
+ 
+ncgen project should have been built in step 2 before you can run
+"ncgen -c test" on Windows.
+
+Follow the instructions below to run "ncgen -c test" on Windows.
+
+   1. Open all.dsw Workspace
+
+      Invoke Microsoft Visual C++ 6.0, go to "File" and select the
+      "Open Workspace" option. 
+
+      Then open the c:\MyHDFstuff\HDF42r1\all.dsw workspace. 
+
+   2. Manually generate test0.c
+
+      A batch file named ctest0_gen.bat under c:\MyHDFstuff\HDF42r1\
+      directory is provided to create the C source code test0.c.
+
+      ctest0_gen.bat has 2 options:
+
+         ctest0_gen debug    -- generate test0.c with debug ncgen 
+
+         ctest0_gen release  -- generate test0.c with release ncgen
+
+      Invoke a command prompt windows and run ctest0_gen.bat with
+      appropriate options, you should get test0.c under
+      c:\MyHDFstuff\HDF42r1\mfhdf directory.
+
+   Note: We suggest that users should use the test0.c generated by
+         debug version ncgen (by running ctest0_gen debug) to build
+         the debug version ctest0.exe.
+
+         Similarly, test0.c generated by release version ncgen (by
+         running ctest0_gen release) should be used to build the
+         release version ctest0.exe.
+
+   3. Build ctest0.exe
+
+      Select "Build", then Select "Set Active Configuration".
+
+      On Windows platform select as the active configuration
+
+         "ctest0 -- Win32 Debug" to build debug versions ctest0
+
+         or
+ 
+         "ctest0 -- Win32 Release" to build release versions of ctest0
+
+
+      Select "Build ctest0.exe" to build the corresponding version of
+      ctest0.exe.
+
+      You should see 0 error at the end of building.
+
+      Warning messages can be ignored.
+
+      When the debug build is done the directories listed below will
+      contain the following files:
+
+         c:\MyHDFstuff\HDF42r1\windows\bin\debug
+
+               ctest0.exe - Debug version
+
+         c:\MyHDFstuff\HDF42r1\windows\bin\debug
+
+               ctest0.exe - Release version
+
+   4. Run ncgen -c Test
+
+      A batch file named ncgen_ctest.bat under c:\MyHDFstuff\HDF42r1\
+      is provided to run "ncgen -c test".
+
+      ncgen_ctest.bat has 2 options:
+
+         ncgen_ctest debug    -- debug version ncgen -c test 
+
+         ncgen_ctest release  -- release version ncgen -c test
+
+      Invoke a command prompt windows and run ncgen_ctest.bat with
+      appropriate options, you should get the following messages:
+
+         =========================
+         ncgen -c test
+         =========================
+         *** ncgen -c test successful ***
+
+
+Step 5:  Install HDF4 Library
+
+We provide a batch file for users to relocate all HDF4 libraries in one
+folder.  The file is called installhdf4lib.bat under
+c:\MyHDFstuff\HDF42r1 directory.  Run the batch file, you may see a
+folder called hdf4lib under c:\MyHDFstuff\HDF42r1.  
+    
+The <release> layout of <hdf4lib> should be:
+    
+   release\include   --  HDF4 header files
+   release\bin       --  HDF4 static utility executables
+   release\lib       --  HDF4 static libraries
+   release\dll       --  HDF4 multi-threaded libraries and DLLs
+       
+You may also find the similar layout for the <debug>.
+
+
+Step 6: Building HDF4 C/Fortran examples (Optional)
+
+Simple examples have been provided for users to test HDF4 C/Fortran
+library and utilities.
+
+Note: 
+      To build HDF4 Fortran examples, Win32.zip must have been
+      chosen in step 1.
+
+To build and test HDF4 C examples:
+
+   1. Invoke Microsoft Visual Studio 6.0, go to "File" and select
+      the "Open Workspace" option. 
+      
+      Then open the workspace
+      c:\MyHDFstuff\HDF42r1\examples\allexamples\allexamples.dsw.
+
+   2. Select "Build", then Select "Set Active Configuration".
+
+      In "Project configurations", select the active configuration
+
+          "allexamples -- Win32 Debug" to build debug versions of the
+                                       C examples.
+
+                          or
+	
+          "allexamples -- Win32 Release" to build release versions the 
+                                         C examples.
+
+      When the debug build or release build is done, there should be the 
+      following subdirectories in c:\MyHDFstuff\HDF42r1\examples\
+
+          chgnamtest
+          createtest
+          dimtest
+          gittest
+          rattrtest
+          readtest 
+          sattrest 
+          sds2grouptest
+          sh_dimtest
+          unltest
+
+   3. Invoke a command prompt window and run the batch file 
+      InstallExamples.bat which resides in the top level directory
+      (c:\MyHDFstuff\HDF42r1\).  This file creates 2 new directories, 
+      examplesREL and examplesDBG in the c:\MyHDFstuff\HDF42r1\examples
+      directory and places all the executables in it.  Both the release
+      and debug versions of the examples should be built before this
+      step is done.  The examples should be tested in these 2 new
+      directories due to some dependencies between the examples.
+      Especially createtest.exe should be executed before gitest.exe
+      and sattrtest.exe, and rattrtest should be executed immediately
+      after sattrtest.exe due to the dependencies among these files.
+
+
+To build and test HDF4 Fortran example:
+
+   1. Invoke Compaq Visual Fortran or Intel Fortran under Microsoft 
+      Visual Studio development environment, go to "File" and select
+      the "Open Workspace" option.
+
+      Then open the workspace
+      c:\MyHDFstuff\HDF42r1\fortran\examples\allf90examples\allf90examples.dsw.
+
+   2. Select "Build", then Select "Set Active Configuration".
+
+      In "Project configurations", select the active configuration
+
+          "allf90examples -- Win32 Debug" to build debug versions of the
+                                          Fortran examples.
+
+                             or
+	
+          "allf90examples -- Win32 Release" to build release versions the 
+                                            Fortran examples.
+
+      When the debug build or release build is done, there should be the 
+      following subdirectories in c:\MyHDFstuff\HDF42r1\fortran\examples\
+
+          createtest
+          gittest
+          rattrtest
+          readtest 
+          sattrest 
+          sds2grouptest
+          sh_dimtest
+          unltest
+
+   3. Invoke a command prompt window and run the batch file 
+      Installf90Examples.bat which resides in the top level directory
+      (c:\MyHDFstuff\HDF42r1\).  This file creates 2 new directories, 
+      f90examplesREL and f90examplesDBG in the
+      c:\MyHDFstuff\HDF42r1\fortran\examples directory and places all
+      the executables in it.  Both the release and debug versions of
+      the examples should be built before this step is done.  The
+      examples should be tested in these 2 new directories due to
+      some dependencies between the examples.  Especially createtest.exe
+      should be executed before gitest.exe and sattrtest.exe, and
+      rattrtest should be executed immediately after sattrtest.exe due
+      to the dependencies among these files.
+
+
+Note: Please read to Sections III and IV on how to build HDF4
+      C/Fortran examples with .NET and with Intel Compilers on .NET.
+
+   
+Section II. Build an Application Using the HDF4 Library or DLLs
+======================================================================
+
+If you are building an application that uses the HDF4 library, the
+following locations will need to be specified for locating header files
+and linking in the HDF4 libraries:
+ 
+   <top-level HDF directory>\lib
+   <top-level HDF directory>\dll
+   <top-level HDF directory>\include
+
+where <top-level HDF directory> may be
+c:\MyHDFstuff\HDF42r1\hdf4lib\release or
+c:\MyHDFstuff\HDF42r1\hdf4lib\debug
+
+if you have installed HDF4 library in Section I, Step 5.
+
+We assume that you will use the Szip compression with HDF4 library.
+
+To specify these locations in the settings for your VC++ project with
+Microsoft Visual C++ 6.0:
+
+Under Tools->Options, select the folder, Directories:
+   Under "Show directories for", select "Include files".
+   Add the following directories:
+      c:<path to HDF includes>\include  
+
+Under "Show directories for", select "Library files":
+   Add the following directories:
+      c:<path to HDF libs>\lib
+      c:<path to HDF libs>\dll
+
+Under Project->Settings, select folder, Link:
+   Add the following libraries to the beginning of the list of
+   Object/Library Modules:
+      hd421.lib hm421.lib (single-threaded release version)
+      hd421d.lib hm421d.lib (single-threaded debug version)
+
+      hd421m.lib hm421m.lib (multi-threaded release version)
+      hd421md.lib hm421md.lib (multi-threaded debug version)
+
+      HDF4_EXT_ZLIB
+      HDF4_EXT_JPEG
+      HDF4_EXT_SZIP
+
+Note: The above three environment variables should have been defined in
+      the preconditions.  Paths for these external libraries and
+      headers should also have been set up in preconditions.
+
+      Follow the instructions in preconditions to define these three
+      environment variables and set up path for these external libraries
+      and headers if you can not find them.
+
+HDF4 DLLs should also be copied to the directory(for example,
+Windows system directory) where the application can find. 
+
+Note: You can also follow the above instructions in this section if
+      want to build an application using the HDF42r1 binary
+      distributions available from
+      ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF_Current/bin/windows.
+
+      Make sure to download appropriate binary distribution based on
+      your Windows platforms and compilers.
+
+      If you can not find the binary distribution matching with your
+      Windows platforms and compilers, you will have to build HDF4
+      libraries and utilities from the source codes.
+
+      Also, these binary distributions were pre-compiled with Szip
+      compression feature inside HDF4 library.  If you do not want
+      to use the Szip compression feature, you will have to build HDF4
+      libraries and utilities from the source code following the
+      instructions in Section VI.
+     
+
+Section III. Build HDF4 in VS 7.0(.NET)    
+======================================================================
+
+In this section, we just briefly introduce some extra/different points
+when building HDF4 in VS 7.0(.NET).  For other parts, you should still
+follow the instructions in Section I. 
+
+1. Invoke MicroSoft Visual Studio .NET, go to "File" and select the
+"Open Solution" option.  Choose "Compatible Workspace Files (*.dsw)"
+in the "Files of type:" text box and open the Visual Studio 6.0
+workspace c:\MyHDFstuff\HDF42r1\all.dsw.
+
+2. Select "Yes To All" when you are asked whether to convert and open
+project.  .NET will automatically convert the workspace file to
+solution file.
+
+3. Find "Build" and go to "Configuration Manager"; choose
+"Release" or "Debug", then choose "Build all".
+
+4. If you want to change some project setting, select the project and
+right click the button to choose Properties; find the similar menu
+there as in 6.0.
+
+5. You need to specify the ZLIB, JPEG, and SZIP include header files
+and libraries under Tools->Options->Projects->VC++ Directories and
+choose Include and Libraries under the category of
+"show directories for" to add the corresponding path.
+
+6. To build HDF4 C examples on .NET, HDF4 C examples workspace files
+should be converted to solution files.
+
+Notes:
+
+   a. Currently we only build and test HDF4 with .NET on Windows XP.
+
+   b. To build HDF4 with Fortran support on .NET, Intel Fortran
+      compiler must also be installed in your computer.  Please
+      read Section IV to build HDF4 with Fortran support on .NET.
+
+
+Section IV. Build HDF4 with Intel Compiler    
+======================================================================
+
+Currently, HDF4 is supported with Intel compilers version 7.1 and
+version 8.1 on .NET.
+
+In this section, we just briefly introduce some extra/different points
+when building HDF4 with Inel compiler 7.1 or 8.1 on .NET.  For other
+parts, you should still follow the instructions in Sections I and IIV.
+
+To use Intel compilers, all HDF4 workspace files must be converted
+to solution files as instructed in Section III.
+
+Part 1. Intel 7.1 Compiler
+
+For Intel 7.1 compiler users, Intel compiler should be selected before
+building HDF4 library and utilities.  Follow the instructions below to
+select Intel C/Fortran compilers.
+
+1. Intel 7.1 C Compiler
+   Go to Tools-->Select Compiler
+   Check Intel box and click OK button
+
+2. Intel 7.1 Fortran Compiler
+   Go to Tools-->Select Compiler
+   Check Intel box and click OK button
+   Go to Tools-->Customize-->Add-ins and Macro Files
+   and check Intel Fortran Compiler Build Tool
+
+Part 2. Intel 8.1 Compiler
+
+Preconditions:
+
+a. Set up paths for Intel 8.1 libraries and DLLS
+
+   c:\Program Files\Intel\CPP\Compiler80\Is32\LIB and
+   c:\Program Files\Intel\FORTRAN\Compiler80\Is32\LIB should
+   be added into environment variable "PATH" so applications
+   can find Intel 8.1 libraries and DLLs.
+
+b. Set up external libraries and headers paths for Intel 8.1
+   Fortran compiler (only required if you want to use Intel
+   8.1 Fortran compiler)
+ 
+   Invoke Microsoft Visual Studio .NET and go to Tools-->Options,
+   select "Intel(R) Fortran";
+      
+   1) Go to "Project Directories" and choose "Includes:",
+      If you cannot find your Zlib, JPEG, and Szip header paths
+      (for example, c:\zlib122\include, c:\jpeg-6b, c:\szip\include)
+      from the directory list, add the header path (c:\zlib122\include,
+      c:\jpeg-6b, c:\szip\include) to the included directories.
+      
+   2) Go to "Project Directories" and choose "Libraries:",
+      If you cannot find your Zlib, JPEG, and Szip library paths
+      (for example, c:\zlib122\lib, c:\jpeg-6b, c:\szip\dll)
+      from the directory list, add the library path (c:\zlib122\lib,
+      c:\jpeg-6b, c:\szip\dll) to the library directories.
+
+
+1. Build HDF4 without Fortran support
+
+   To build HDF4 without Fortran support with Intel 8.1 C++ compiler,
+   HDF4 solution files must be converted to use Intel(R) C++ project
+   system.
+
+   To make the conversion, choose all the project files in solution
+   "all" except the "all" dummy project (totally 49 projects)
+   Go to Project-->Convert to use Intel(R) C++ Project System
+
+   After the converion, HDF4 without Fortran support can be built
+   and tested following instrctions in Sections I and III.
+
+   Notes: 
+
+      a. The "all" dummy project could not be converted to use
+         Intel(R) C++ project system, which will not affect
+         building HDF4 with Intel compilers.
+
+      b. When building "test" and "util" projects, you will get a
+         link error:
+
+         LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
+
+         This error message can be ignored.  "test.exe" and 
+         "util.exe" are never created, so it is OK. 
+         
+      c. You need to unpack Win32.nofortran.zip in directory HDF42r1\ again
+         if you rebuild or clean any project as Intel compiler will
+         delete all *.bat and *.out files during the cleaning process.
+   
+      d. HDF4 C examples should also be converted to use Intel(R) C++
+         project system if HDF4 C libraries are built with Intel 8.1
+         compiler.
+
+   
+2. Build HDF4 with Fortran support
+
+   To build HDF4 with Fortran support with Intel 8.1 C++/Fortran  
+   compilers, HDF4 sulution files must be converted to use Intel(R)
+   C++/Fortran project system.
+
+   1) Extract Compaq Visual Fortran Projects Items from the
+      following 8 projects:
+
+         dllfortestf
+         dllhdftestf
+         fortestf
+         hdf
+         hdf_dll
+         hdftestf
+         mfhdf
+         mfhdf_dll
+
+      To make the extraction, right click appropriate projects and
+      select Extract Compaq Visual Fortran Projects Items on the
+      right-click menu.
+
+
+      Notes:
+
+         a. Above projects should not be converted into Intel(R) C++
+            project system.  Otherwise, you could not extract Fortran
+            projects items from converted Intel(R) C++ projects
+            anymore and Fortran source codes in those projects will
+            not be compiled.
+
+         b. As dllfortestf, fortestf, hdf, hdf_dll, mfhdf, and
+            mfhdf_dll projects contains both Fortran and C/C++
+            project files.  The Intel(R) Fortran project converter
+            will split each of the above project into 2 Visual Studio
+            projects - a Visual C++ project and an Intel(R) Fortran
+            project.
+
+            Please choose the Intel(R) Fortran project as the main
+            project before splitting.
+
+            Meanwhile, the following projects will be created by the
+            Intel(R) Fortran project converter after the splitting:
+
+               dllfortestf_lib
+               fortestf_lib
+               hdf_dll_lib
+               hdf_lib
+               mfhdf_dll_lib
+               mfhdf_lib
+
+   2) Convert the rest projects (including the six projects created
+      in the above step and except the "all" dummy project) into
+      Intel(R) C++ project system.
+
+   3) Right clik project "hdf", go to Properties,
+      in the "Configuration:" text box, select "Debug",
+      go to Librarian-->Output Files, rename the output from
+      $(OutDir)/$(ProjectName).lib to
+      $(OutDir)/$(ProjectName)d.lib, then press "OK".
+
+   4) Right clik project "mfhdf", go to Properties,
+      in the "Configuration:" text box, select "Debug",
+      go to Librarian-->Output Files, rename the output from
+      $(OutDir)/$(ProjectName).lib to
+      $(OutDir)/$(ProjectName)d.lib, then press "OK".
+
+   5) Right clik project "hdf_dll", go to Properties,
+      in the "Configuration:" text box, select "Release",
+      go to Linker-->Advanced, rename the "Import Library" from
+      $(OutDir)/hdf_dll.lib to $(OutDir)/hd421m.lib,
+      then press "OK".
+
+   6) Right clik project "mfhdf_dll", go to Properties,
+      in the "Configuration:" text box, select "Release",
+      go to Linker-->Advanced, rename the "Import Library" from
+      $(OutDir)/mfhdf_dll.lib to $(OutDir)/hm421m.lib,
+      then press "OK".
+
+   After the above converion and modifications, HDF4 with Fortran
+   support can be built and tested following instrctions in
+   Sections I and III.
+
+   Notes: 
+
+      a. "dlltesthdf" project can not be built with Intel 8.1 Fortran
+         compiler.  Please ignore this failure.
+
+      b. The "all" dummy project could not be converted to use
+         Intel(R) C++ project system, which will not affect
+         building HDF4 with Intel compilers.
+
+      c. When building "test" and "util" projects, you will get a
+         link error:
+
+         LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
+
+         This error message can be ignored.  "test.exe" and 
+         "util.exe" are never created, so it is OK. 
+ 
+      d. You need to unpack Win32.zip in directory HDF42r1\ again
+         if you rebuild or clean any project as Intel compiler will
+         delete all *.bat and *.out files during the cleaning process.
+
+      e. HDF4 C examples should also be converted t use Intel(R) C++
+         project system if HDF4 C libraries are built with Intel 8.1
+         compiler.
+
+      f. You should extract Compaq Visual Fortran Project Items from 
+         HDF4 Fortran examples if HDF4 Fortran libraries are built with
+         Intel 8.1 compiler.
+
+      g. For all HDF4 Fortran examples projects, right click
+         Properties, in "Configuration:" text box, choose "Debug",
+         Go to Linker-->Input-->Additional Dependencies,
+         replace hm421d.lib and hd421d.lib with hdfd.lib and mfhdfd.lib.
+
+      h. For all HDF4 Fortran examples projects, right click
+         Properties, in "Configuration:" text box, choose "Release",
+         Go to Linker-->Input-->Additional Dependencies,
+         replace hm421.lib and hd421.lib with hdf.lib and mfhdf.lib.
+
+      i. To use HDF4 fortran libraries built with Intel 8.1 compiler,
+         c:\MyHDFstuff\HDF42r1\windows\lib\release\singlethreaded\hdf.lib
+         c:\MyHDFstuff\HDF42r1\windows\lib\release\singlethreaded\mfhdf.lib
+         c:\MyHDFstuff\HDF42r1\windows\lib\debug\singlethreaded\hdfd.lib
+         c:\MyHDFstuff\HDF42r1\windows\lib\debug\singlethreaded\mfhdfd.lib
+         should also be installed to appropriate directories.
+
+
+Section V: Some Helpful Pointers
+======================================================================
+
+(as described in terms of installing the nofortran configuration)
+
+Here are some notes that may be of help if you are not familiar
+with using the Visual C++ Development Environment.
+
+Project name and location issues: 
+
+   The files in Win32.zip  and Win32.nofortran.zip must end up in the
+   HDF42r1\ directory installed by HDF4.2r1.tar.gz.
+
+   If you must install all.dsw and all.dsp in another directory,
+   relative to HDF42r1\ , you will be asked to locate all sub-project
+   files, when you open the project all.dsw.
+	 
+   If you want to rename all (the entire project), you will need to
+   modify two files all.dsw and all.dsp as text (contrary to the
+   explicit warnings in the files).
+
+   You can also modify all.dsw and all.dsp as text, to allow these 2
+   files to be installed in another directory.
+
+Settings... details:
+   If you create your own project, the necessary settings can be
+   read from the all.dsp file(as text), or from the Project Settings
+   in the Developer Studio project settings dialog.
+
+
+   Project
+      Settings
+         C/C++
+            Category
+               Code Generation
+                  Use run-time Library
+                     These are all set to use Single-Threaded
+                                           or Single-Threaded debug
+                                           or Multi-Threaded DLL
+                                           or Multi-Threaded debug DLL
+
+
+Section VI. Disable Szip Compression Feature inside HDF4
+======================================================================
+
+Warning: When you modify the h4config.h file as described below,
+         DO NOT just change the values of these macros from 1 to 0.
+         Please DO remove(or comment out) appropriate lines.
+
+If you would like to remove Szip compression from the HDF4 library,
+follow the steps below.
+
+   1. Open the H4config.h file from the c:\MyHDFstuff\HDF42r1\hdf\src
+      directory and remove(or comment out) the following two lines: 
+
+         #define H4_HAVE_LIBSZ 1
+         #define H4_HAVE_SZLIB_H 1
+
+      then save the file.
+	
+   2. Delete HDF4_EXT_SZIP environment variable if you have set it in
+      preconditions.
+   
+   3. Run-compile HDF4 library according to section I.
+
+      When you disable Szip, you may get the following message 
+      when building HDF4 libraries:
+
+      The following environment variables were not found
+      $(HDF4_EXT_SZIP)
+
+      This message can be ignored.
+
+      When you run HDF4 testing batch file Win32debugtst.bat or
+      Win32releasetst.bat, you should get the following failed messages
+      for HDF-SD c interfaces tests:
+
+         ============================
+         HDF-SD C interfaces tests
+         ============================
+         *** HDF fails formatted test ***
+         Comparing files hdfout.new and ..\..\MFHDF\LIBSRC\HDFOUT.SAV
+         ***** hdfout.new
+         9 := 0
+         ****** SD Szip test skipped *****
+         num_err == 0
+         ***** ..\..\MFHDF\LIBSRC\HDFOUT.SAV
+         9 := 0
+         num_err == 0
+         *****
+
+      This means that actually the HDF-SD C interfaces tests passed.
+      The expected output file HDFOUT.SAV was generated for HDF4
+      testings with Szip compression feature.  As you disabled the
+      Szip compression feature in HDF4, SD Szip test should be skipped.
+
+
+Section VII. Build and Test HDF4 Library on the Command Line    
+======================================================================
+
+For Microsoft Visual C++ 6.0 and DEC Visual Fortran 6.0(or higher
+versions) users, we support building HDF4 libraries and utilities from
+the HDF4 source code archive on command line.
+      
+For all other Windows development tools, HDF4 should be built in the
+development environment following the instructions in Section I.
+
+Step 1. Set path for Microsoft Visual C++ 6.0 and Visual Fortran 6.0
+        (or higher version):
+   
+   Open "System" in Control Panel.
+   
+   On the "Advanced" tab, click "Environment Variables", click "Path"
+   in the "System variables" box, then click "Edit" and add your Visual
+   C++ 6.0 path (For example, 
+   C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\)
+   and Visual Fortran 6.0 path (For example, 
+   C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\)
+   into "Variable Value" and click "OK".
+  
+Step 2. Unpack Win32.nofortran.zip or Win32.zip
+
+   Unpack Win32.nofortran.zip or Win32.zip with WinZip into HDF42r1\
+   directory. 
+
+   Note: Please select "Yes" or "Yes to All" when you are asked
+         to confirm file overwrite by WinZip.
+
+Step 3. Build and Test
+
+   We provide 2 options for users to build test HDF4 libraries 
+   and utilities.
+      
+   Options A: Build and test in one step 
+      
+      A batch file named hdf4bt.bat in c:\MyHDFstuff\HDF42r1 directory
+      is provided for users to build and test HDF4 library and tools
+      together from the command line.
+
+      Run hdf4bt.bat in a command prompt window.
+
+      Test results are saved in
+
+         c:\MyHDFstuff\HDF42r1\hdf4_results.txt   
+
+
+   Options B: Build and test in two steps 
+
+      We also provide users with the option to build and test HDF4
+      libraries and utilities separately from the command line.
+   
+      Step 1) Build HDF4 Libraries and Utilities
+
+         A batch file named hdf4build.bat in c:\MyHDFstuff\HDF42r1 
+         directory is provided for users to build HDF4 libraries and 
+         utilities from command line.
+
+         Run hdf4build.bat in a command prompt window.
+
+         Compiling outputs are saved in
+
+            c:\MyHDFstuff\HDF42r1\build_results.txt.
+
+         You can check the output file to find out whether there
+         are any compilation errors.
+
+      Step 2) Test HDF4 Libraries and Utilities
+   
+         A batch file named hdf4check.bat in c:\MyHDFstuff\HDF42r1
+         directory is provided for users to test HDF4 libraries and 
+         utilities from command line.
+
+         Run hdf4check.bat in a command prompt window.
+
+         Test results are saved in:
+
+            c:\MyHDFstuff\HDF42r1\check_results.txt.
+
+
+Having built and tested HDF4 libraries and utilities successfully 
+on the command line, you can install HDF4 libraries following the
+instruction in Section I, Step 4.
+
+
+Section VIII: Build HDF4 Multithreaded Static Library
+======================================================================
+
+In this section, we just briefly introduce how to build HDF4
+multithreaded static library.
+
+Step I: The following codes (lines 112~115 in the header file) in
+        hdf4/hdf/src/hdfi.h should be removed or commented out:
+
+#	if defined(_MT) && !defined(_HDFDLL_)
+#		error To use the HDF libraries from a multithreaded project, you must use the HDF DLLs
+#		error Use the Mutlithreaded DLL runtime libraries (prefered), or define the macro "_HDFDLL_"
+#	endif
+
+
+Step II: The "Runtime library" settings for static projects should be
+         modified as multithreaded.  Please following the instructions
+         below to modify the "Runtime library" settings.
+
+
+For Microsoft Visual C++ 6.0 Users:
+
+1. Right click project "hdf", go to Settings->C/C++;
+   In the "Settings For:" text box, select "Win32 Debug";
+   In the "Category:" text box, select "Code Generation";
+   In the "Use run-time library:" text box, select "Debug
+   Multithreaded";
+   In the "Settings For:" text box, select "Win32 Release"; 
+   In the "Use run-time library:" text box, select "Multithreaded";
+   Then press "OK".
+
+2. Repeat step 1  to set the settings for "Use run-time library"
+   for all the left static projects as "Debug Multithreaded" for
+   debug version and "Multithreaded" for release version.
+
+3. (Optional, only for HDF4 with Fortran support)
+
+   Right click project "hdftestf", go to Settings->Link;
+   In the "Settings For:" text box, select "Win32 Debug";
+   In the "Category:" text box, select "Input";
+   In the "Ignore libraries:" text box, add "libcmtd.lib";
+   In the "Settings For:" text box, select "Win32 Rlease";
+   In the "Ignore libraries:" text box, add "libcmt.lib";
+   Then press "OK".
+
+4. (Optional, only for HDF4 with Fortran support)
+
+   Repeat step 3 to add "libcmtd.lib" to the "Ignore libraries:"
+   for project "fortestf" debug version, and add "libcmt.lib"
+   to the "Ignore libraryies:" for project "fortestf" release version.
+
+
+For Microsoft Visual .NET and Intel C++ 8.1 Compiler Users:
+(HDF4 without Fortran support)
+
+1. Right click project "hdf", go to Properties->C/C++->Code Generation;
+   In the "Settings For:" text box, select "Debug";
+   In the "Runtime Library" text box, select "Multi-threaded Debug (/MTD)";
+   In the "Settings For:" text box, select "Release"; 
+   In the "Runtime Library" text box, select "Multi-threaded (/MT)";
+   Then press "OK".
+
+2. Repeat step 1 to set the settings for "Runtime Library"
+   for all the left static projects (except project hdf_ap, mfhdf_ap,
+   test, and util) as "Multi-threaded Debug (/MTD)" for
+   debug version and "Multithreaded (/MT)" for release version.
+
+(Note: For .NET users without Intel Fortran Compiler, HDF4 Fortran
+       support is not available.)
+
+
+For Intel 8.1 Fortran Compiler Users: (HDF4 with Fortran support)
+
+1. Right click project "hdf_lib", go to Properties->C/C++->Code Generation;
+   In the "Settings For:" text box, select "Debug";
+   In the "Runtime Library" text box, select "Multi-threaded Debug (/MTD)";
+   In the "Settings For:" text box, select "Release"; 
+   In the "Runtime Library" text box, select "Multi-threaded (/MT)";
+   Then press "OK".
+
+2. Repeat step 1 to set the settings for "Runtime Library"
+   for all the left static projects (except project hdf_ap, mfhdf_ap,
+   test, and util) as "Multi-threaded Debug (/MTD)" for
+   debug version and "Multithreaded (/MT)" for release version.
+
+3. Right click project "hdf", go to Properties->Fortran->Libraries;
+   In the "Settings For:" text box, select "Debug";
+   In the "Runtime Library" text box, select "Debug Multithreaded";
+   In the "Settings For:" text box, select "Release"; 
+   In the "Runtime Library" text box, select "Multithreaded";
+   Then press "OK".
+
+4. Repeat step 1  to set the settings for "Runtime Library" for fortestf,
+   hdftestf, and mfhdf projects as "Debug Multithreaded" for
+   debug version and "Multithreaded" for release version.
+
+
+
+Please send email to hdfhelp at ncsa.uiuc.edu for further assistance.

Copied: packages/libhdf4/trunk/MANIFEST (from rev 832, packages/libhdf4/branches/upstream/current/MANIFEST)
===================================================================
--- packages/libhdf4/trunk/MANIFEST	                        (rev 0)
+++ packages/libhdf4/trunk/MANIFEST	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,1099 @@
+#------------------------------------------------------------------------------
+# This is the list of files that are part of HDF4 source distribution.
+# All files have a `./' prefix and appear in lexicographic order.
+# Lines that end with _DO_NOT_DISTRIBUTE_ will not be included in a
+# release.  Blank lines and comments are ignored.  Comments must start
+# in column one with a '#'.
+#------------------------------------------------------------------------------
+
+./COPYING
+./INSTALL
+./INSTALL_WINDOWS.txt
+./Makefile.am
+./Makefile.in
+./MAKEVMS.COM
+./README
+./Win32.nofortran.zip
+./Win32.zip
+./aclocal.m4
+./configure
+./configure.ac
+./move-if-change
+
+./bin/chkmanifest
+./bin/compile
+./bin/config.guess
+./bin/config.sub
+./bin/depcomp
+./bin/install-sh
+./bin/locate_sw
+./bin/missing
+./bin/mkinstalldirs
+./bin/regenerate.sh
+./bin/runtest
+./bin/snapshot
+
+./config/BlankForm
+./config/freebsd
+./config/hpux11.00
+./config/ia64-linux-gnu
+./config/irix6.x
+./config/linux-gnu
+./config/osf5.x
+./config/powerpc-apple
+./config/powerpc-ibm-aix5.x
+./config/solaris2.x
+./config/sv1-cray
+./config/unicos10.0.X
+./config/unicosmk2.0.6.X
+
+./hdf/COPYING
+./hdf/COPYRIGHT
+./hdf/Makefile.am
+./hdf/Makefile.in
+./hdf/README
+./hdf/README.33r4
+
+./hdf/fmpool/Makefile.in
+./hdf/fmpool/README
+./hdf/fmpool/cdefs.h
+./hdf/fmpool/compat.h
+./hdf/fmpool/config.guess
+./hdf/fmpool/config.sub
+./hdf/fmpool/configure
+./hdf/fmpool/configure.in
+./hdf/fmpool/fmpio.3
+./hdf/fmpool/fmpio.c
+./hdf/fmpool/fmpio.h
+./hdf/fmpool/fmpool.3
+./hdf/fmpool/fmpool.c
+./hdf/fmpool/fmpool.h
+./hdf/fmpool/fmptypes.h
+./hdf/fmpool/move-if-change
+./hdf/fmpool/queue.h
+./hdf/fmpool/test_fmpio.c
+./hdf/fmpool/tfmpio_read.c
+./hdf/fmpool/tfmpio_write.c
+
+./hdf/fmpool/config/fmpaix.h
+./hdf/fmpool/config/fmpalpha.h
+./hdf/fmpool/config/fmpconvex.h
+./hdf/fmpool/config/fmpdec.h
+./hdf/fmpool/config/fmpfbsd.h
+./hdf/fmpool/config/fmpfujivp.h
+./hdf/fmpool/config/fmphpux.h
+./hdf/fmpool/config/fmpia64.h
+./hdf/fmpool/config/fmpirix32.h
+./hdf/fmpool/config/fmpirix4.h
+./hdf/fmpool/config/fmpirix5.h
+./hdf/fmpool/config/fmpirix6.h
+./hdf/fmpool/config/fmplinux.h
+./hdf/fmpool/config/fmpmac.h
+./hdf/fmpool/config/fmpsolaris.h
+./hdf/fmpool/config/fmpsun.h
+./hdf/fmpool/config/fmpt3e.h
+./hdf/fmpool/config/fmpunicos.h
+./hdf/fmpool/config/mh-aix
+./hdf/fmpool/config/mh-alpha
+./hdf/fmpool/config/mh-convex
+./hdf/fmpool/config/mh-decstation
+./hdf/fmpool/config/mh-fbsd
+./hdf/fmpool/config/mh-fujivp
+./hdf/fmpool/config/mh-hpux
+./hdf/fmpool/config/mh-ia64
+./hdf/fmpool/config/mh-irix32
+./hdf/fmpool/config/mh-irix4
+./hdf/fmpool/config/mh-irix5
+./hdf/fmpool/config/mh-irix6
+./hdf/fmpool/config/mh-linux
+./hdf/fmpool/config/mh-mac
+./hdf/fmpool/config/mh-solaris
+./hdf/fmpool/config/mh-sun
+./hdf/fmpool/config/mh-t3e
+./hdf/fmpool/config/mh-unicos
+
+./hdf/src/INSTALL
+./hdf/src/Makefile.am
+./hdf/src/Makefile.in
+./hdf/src/MAKEFS.COM
+./hdf/src/MAKENOF.COM
+./hdf/src/atom.c
+./hdf/src/atom.h
+./hdf/src/bitvect.c
+./hdf/src/bitvect.h
+./hdf/src/cdeflate.c
+./hdf/src/cdeflate.h
+./hdf/src/cnbit.c
+./hdf/src/cnbit.h
+./hdf/src/cnone.c
+./hdf/src/cnone.h
+./hdf/src/crle.c
+./hdf/src/crle.h
+./hdf/src/cskphuff.c
+./hdf/src/cskphuff.h
+./hdf/src/cszip.c
+./hdf/src/cszip.h
+./hdf/src/df24.c
+./hdf/src/df24f.c
+./hdf/src/df24ff.f
+./hdf/src/dfan.c
+./hdf/src/dfanf.c
+./hdf/src/dfanff.f
+./hdf/src/dfan.h
+./hdf/src/dfcomp.c
+./hdf/src/dfconv.c
+./hdf/src/dfconvrt.h
+./hdf/src/dff.c
+./hdf/src/dfff.f
+./hdf/src/dffunc.inc
+./hdf/src/dfgr.c
+./hdf/src/dfgr.h
+./hdf/src/dfgroup.c
+./hdf/src/df.h
+./hdf/src/dfi.h
+./hdf/src/dfimcomp.c
+./hdf/src/dfivms.h
+./hdf/src/dfjpeg.c
+./hdf/src/dfkconv.c
+./hdf/src/dfkcray.c
+./hdf/src/dfkfuji.c
+./hdf/src/dfknat.c
+./hdf/src/dfkswap.c
+./hdf/src/dfkvms.c
+./hdf/src/dfp.c
+./hdf/src/dfpf.c
+./hdf/src/dfpff.f
+./hdf/src/dfr8.c
+./hdf/src/dfr8f.c
+./hdf/src/dfr8ff.f
+./hdf/src/dfrig.h
+./hdf/src/dfrle.c
+./hdf/src/dfsd.c
+./hdf/src/dfsdf.c
+./hdf/src/dfsdff.f
+./hdf/src/dfsd.h
+./hdf/src/dfstubs.c
+./hdf/src/dfstubs.h
+./hdf/src/dfufp2i.c
+./hdf/src/dfufp2if.f
+./hdf/src/dfufp2i.h
+./hdf/src/dfunjpeg.c
+./hdf/src/dfutil.c
+./hdf/src/dfutilf.c
+./hdf/src/dir_mac.c
+./hdf/src/dir_mac.h
+./hdf/src/dynarray.c
+./hdf/src/dynarray.h
+./hdf/src/glist.c
+./hdf/src/glist.h
+./hdf/src/h4config.h.in
+./hdf/src/hbitio.c
+./hdf/src/hbitio.h
+./hdf/src/hblocks.c
+./hdf/src/hbuffer.c
+./hdf/src/hchunks.c
+./hdf/src/hchunks.h
+./hdf/src/hcomp.c
+./hdf/src/hcomp.h
+./hdf/src/hcompi.h
+./hdf/src/hcompri.c
+./hdf/src/hconv.h
+./hdf/src/hdfalloc.c
+./hdf/src/hdf.bld
+./hdf/src/hdf.h
+./hdf/src/hdfi.h
+./hdf/src/hdf.inc
+./hdf/src/hdflib.project.hqx
+./hdf/src/hdfnof.bld
+./hdf/src/hdfnofw3.lbc
+./hdf/src/hdfnofwc.lbc
+./hdf/src/hdfw386.lbc
+./hdf/src/hdfwcc.lbc
+./hdf/src/herr.c
+./hdf/src/herrf.c
+./hdf/src/herr.h
+./hdf/src/hextelt.c
+./hdf/src/hfile.c
+./hdf/src/hfiledd.c
+./hdf/src/hfilef.c
+./hdf/src/hfileff.f
+./hdf/src/hfile.h
+./hdf/src/hkit.c
+./hdf/src/hkit.h
+./hdf/src/hlimits.h
+./hdf/src/hntdefs.h
+./hdf/src/hproto.h
+./hdf/src/hqueue.h
+./hdf/src/htags.h
+./hdf/src/.indent.pro
+./hdf/src/linklist.c
+./hdf/src/linklist.h
+./hdf/src/makepc.386
+./hdf/src/makepc.msc
+./hdf/src/makepc.wcc
+./hdf/src/makewin.msc
+./hdf/src/maldebug.c
+./hdf/src/maldebug.h
+./hdf/src/mcache.c
+./hdf/src/mcache.h
+./hdf/src/mfan.c
+./hdf/src/mfanf.c
+./hdf/src/mfan.h
+./hdf/src/mfgr.c
+./hdf/src/mfgrf.c
+./hdf/src/mfgrff.f
+./hdf/src/mfgr.h
+./hdf/src/mstdio.c
+./hdf/src/mstdio.h
+./hdf/src/patchlevel.h
+./hdf/src/src.inc
+./hdf/src/sys_dir_mac.h
+./hdf/src/tbbt.c
+./hdf/src/tbbt.h
+./hdf/src/trace.h
+./hdf/src/vattr.c
+./hdf/src/vattrf.c
+./hdf/src/vattrff.f
+./hdf/src/vattr.h
+./hdf/src/vconv.c
+./hdf/src/vg.c
+./hdf/src/vgf.c
+./hdf/src/vgff.f
+./hdf/src/vg.h
+./hdf/src/vgint.h
+./hdf/src/vgp.c
+./hdf/src/vhi.c
+./hdf/src/vio.c
+./hdf/src/vparse.c
+./hdf/src/vrw.c
+./hdf/src/vsfld.c
+./hdf/src/win32hdf.mak
+
+./hdf/src/fort_ps/herrpf.c
+./hdf/src/fort_ps/herrpff.f
+./hdf/src/fort_ps/hfilepf.c
+./hdf/src/fort_ps/hfilepff.f
+./hdf/src/fort_ps/hprotop.h
+./hdf/src/fort_ps/mfanpf.c
+./hdf/src/fort_ps/mfanpff.f
+./hdf/src/fort_ps/mfgrpf.c
+./hdf/src/fort_ps/mfgrpff.f
+./hdf/src/fort_ps/vattrpf.c
+./hdf/src/fort_ps/vattrpff.f
+./hdf/src/fort_ps/vgpf.c
+./hdf/src/fort_ps/vgpff.f
+
+./hdf/test/MAKE.COM
+./hdf/test/MAKECOM.OLD
+./hdf/test/Makefile.am
+./hdf/test/Makefile.in
+./hdf/test/MAKENOF.COM
+./hdf/test/README
+./hdf/test/SETUPTEST.COM
+./hdf/test/8bit.dat
+./hdf/test/an.c
+./hdf/test/anfile.c
+./hdf/test/bitio.c
+./hdf/test/bitio.dat
+./hdf/test/blocks.c
+./hdf/test/buffer.c
+./hdf/test/chunks.c
+./hdf/test/comp.c
+./hdf/test/conv.c
+./hdf/test/egchi.res
+./hdf/test/egfhi.f
+./hdf/test/egfhi.res
+./hdf/test/extelt.c
+./hdf/test/file1.c
+./hdf/test/file.c
+./hdf/test/forsupf.c
+./hdf/test/forsupff.f
+./hdf/test/fortest.c
+./hdf/test/fortestF.f
+./hdf/test/fortest.h
+./hdf/test/fortest.inc
+./hdf/test/fortest.sav
+./hdf/test/gentest.c
+./hdf/test/greyjpeg.dat
+./hdf/test/gr_r24.dat
+./hdf/test/jpeg.dat
+./hdf/test/litend.c
+./hdf/test/litend.dat
+./hdf/test/macros.c
+./hdf/test/makepc.386
+./hdf/test/makepc.msc
+./hdf/test/makewin.msc
+./hdf/test/makewin.new
+./hdf/test/man.c
+./hdf/test/manf.f
+./hdf/test/mgr.c
+./hdf/test/mgrf.f
+./hdf/test/mgrf_sunOS.f
+./hdf/test/nbit.c
+./hdf/test/nbit.dat
+./hdf/test/rig.c
+./hdf/test/sdmms.c
+./hdf/test/sdnmms.c
+./hdf/test/sdstr.c
+./hdf/test/slab.c
+./hdf/test/slabwf.f
+./hdf/test/t24f.f
+./hdf/test/tanf.f
+./hdf/test/tanfilef.f
+./hdf/test/tbv.c
+./hdf/test/tdupimgs.c
+./hdf/test/testhdf.386
+./hdf/test/testhdf.c
+./hdf/test/testhdf.def
+./hdf/test/testhdf.lnk
+./hdf/test/testhdf.pc
+./hdf/test/testhdf.project.hqx
+./hdf/test/tmgr.dat
+./hdf/test/tpf.f
+./hdf/test/tproto.h
+./hdf/test/tr8f.f
+./hdf/test/tree.c
+./hdf/test/tsdmmsf.f
+./hdf/test/tsdnmmsf.f
+./hdf/test/tsdnntf.f
+./hdf/test/tsdntf.f
+./hdf/test/tsdstrf.f
+./hdf/test/tstubsf.f
+./hdf/test/tszip.c
+./hdf/test/tutils.h
+./hdf/test/tv1.res
+./hdf/test/tv2.res
+./hdf/test/tvattr.c
+./hdf/test/tvattr.dat
+./hdf/test/tvattrf.f
+./hdf/test/tvset.c
+./hdf/test/tvsetf.f
+./hdf/test/tvsfpack.c
+./hdf/test/vers.c
+./hdf/test/win32tst.mak
+
+./hdf/test/fort_ps/forsupffp.f
+./hdf/test/fort_ps/fortest.arg
+./hdf/test/fort_ps/fortestFp.f
+./hdf/test/fort_ps/fortestp.c
+./hdf/test/fort_ps/manpf.f
+
+./hdf/util/HELINK.OPT
+./hdf/util/Makefile.am
+./hdf/util/Makefile.in
+./hdf/util/MAKEUTIL.COM
+./hdf/util/README
+./hdf/util/README.fp2hdf
+./hdf/util/README.fp2hdf.test
+./hdf/util/README.TST
+./hdf/util/SETUPUTILS.COM
+./hdf/util/decompress.c
+./hdf/util/fp2hdf.c
+./hdf/util/fp2hdf.input1
+./hdf/util/fp2hdf.input1-32
+./hdf/util/fp2hdf.mak
+./hdf/util/fp2hdf.out1
+./hdf/util/fp2hdf.out1-32
+./hdf/util/fp2hdf.out2
+./hdf/util/fp2hdf.out2-32
+./hdf/util/fp2hdf.test
+./hdf/util/fp2hdf.test.result
+./hdf/util/fptest.c
+./hdf/util/fptestf.f
+./hdf/util/getopt1.c
+./hdf/util/getopt.c
+./hdf/util/gif2hdf.c
+./hdf/util/gif2mem.c
+./hdf/util/gif.h
+./hdf/util/gifread.c
+./hdf/util/h4cc.in
+./hdf/util/h4fc.in
+./hdf/util/h4redeploy.in
+./hdf/util/hdf24to8.c
+./hdf/util/hdf24to8.mak
+./hdf/util/hdf2gif.c
+./hdf/util/hdf2jpeg.c
+./hdf/util/hdf2jpeg.mak
+./hdf/util/hdf8to24.c
+./hdf/util/hdf8to24.mak
+./hdf/util/hdfcomp.c
+./hdf/util/hdfcomp.mak
+./hdf/util/hdfcomp.out1
+./hdf/util/hdfed.input1
+./hdf/util/hdfed.mak
+./hdf/util/hdfed.out1
+./hdf/util/hdfgifwr.c
+./hdf/util/hdfls.c
+./hdf/util/hdfls.mak
+./hdf/util/hdfpack.c
+./hdf/util/hdfpack.mak
+./hdf/util/hdfpack.out1
+./hdf/util/hdfrseq.c
+./hdf/util/hdftopal.c
+./hdf/util/hdftopal.mak
+./hdf/util/hdftor8.c
+./hdf/util/hdftor8.mak
+./hdf/util/hdftor8.out1
+./hdf/util/hdfunpac.c
+./hdf/util/hdfunpac.mak
+./hdf/util/he_cntrl.c
+./hdf/util/he_disp.c
+./hdf/util/he_file.c
+./hdf/util/he.h
+./hdf/util/he_main.c
+./hdf/util/he_proto.h
+./hdf/util/jpeg2hdf.c
+./hdf/util/jpeg2hdf.mak
+./hdf/util/jpeg2hdf.out1
+./hdf/util/makepc.386
+./hdf/util/makepc.msc
+./hdf/util/paltohdf.c
+./hdf/util/paltohdf.mak
+./hdf/util/r8tohdf.c
+./hdf/util/r8tohdf.mak
+./hdf/util/ristosds.c
+./hdf/util/ristosds.input1
+./hdf/util/ristosds.mak
+./hdf/util/ristosds.out1
+./hdf/util/testutil.sh.in
+./hdf/util/vcompat.c
+./hdf/util/vcompat.mak
+./hdf/util/vmake.c
+./hdf/util/vmake.mak
+./hdf/util/vshow.c
+./hdf/util/vshow.mak
+./hdf/util/writehdf.c
+
+./hdf/util/MacProjects/PalToHDF.project.hqx
+./hdf/util/MacProjects/R8ToHDF.project.hqx
+./hdf/util/MacProjects/RISToHDF.project.hqx
+./hdf/util/MacProjects/fp2hdf.project.hqx
+./hdf/util/MacProjects/hdf24to8.project.hqx
+./hdf/util/MacProjects/hdfcomp.project.hqx
+./hdf/util/MacProjects/hdfed.project.hqx
+./hdf/util/MacProjects/hdfls.project.hqx
+./hdf/util/MacProjects/hdfpack.project.hqx
+./hdf/util/MacProjects/hdftopal.project.hqx
+./hdf/util/MacProjects/hdftoR8.project.hqx
+./hdf/util/MacProjects/vshow.project.hqx
+
+./hdf/util/fixatr/README
+./hdf/util/fixatr/command.for
+./hdf/util/fixatr/common.for
+./hdf/util/fixatr/fixatr.cld
+./hdf/util/fixatr/fixatr.hlp
+./hdf/util/fixatr/makefix.com
+./hdf/util/fixatr/parse.mar
+./hdf/util/fixatr/rformat.for
+
+./hdf/util/testfiles/README
+./hdf/util/testfiles/SunWheel.gif
+./hdf/util/testfiles/bttrfly.gif
+./hdf/util/testfiles/head.r24.gz
+./hdf/util/testfiles/head.r8.gz
+./hdf/util/testfiles/jet2.hdf
+./hdf/util/testfiles/jpeg_img.jpg
+./hdf/util/testfiles/ntcheck.hdf
+./hdf/util/testfiles/palette.raw
+./hdf/util/testfiles/skull.hdf
+./hdf/util/testfiles/storm110.hdf
+./hdf/util/testfiles/storm110.raw
+./hdf/util/testfiles/storm120.hdf
+./hdf/util/testfiles/storm120.raw
+./hdf/util/testfiles/storm130.hdf
+./hdf/util/testfiles/storm130.raw
+./hdf/util/testfiles/storm140.raw
+./hdf/util/testfiles/test.cdf
+./hdf/util/testfiles/test.hdf
+./hdf/util/testfiles/tvattr.hdf
+
+./hdf/util/testfiles/fp2hdf/h100x100
+./hdf/util/testfiles/fp2hdf/h100x100h
+./hdf/util/testfiles/fp2hdf/h100x100hv
+./hdf/util/testfiles/fp2hdf/h60x75
+./hdf/util/testfiles/fp2hdf/h60x75n
+./hdf/util/testfiles/fp2hdf/h60x75v
+./hdf/util/testfiles/fp2hdf/pal.hdf
+./hdf/util/testfiles/fp2hdf/t100x100
+
+./man/Makefile.am
+./man/Makefile.in
+./man/gr_chunk.3
+./man/hdf.1
+./man/hdfunpac.1
+
+./mfhdf/CHANGES
+./mfhdf/COPYRIGHT
+./mfhdf/CUSTOMIZE
+./mfhdf/FAQ
+./mfhdf/INSTALL
+./mfhdf/Makefile.am
+./mfhdf/Makefile.in
+./mfhdf/MANIFEST
+./mfhdf/ORIGIN
+./mfhdf/README
+./mfhdf/README.HDF
+./mfhdf/README.HDF.33
+./mfhdf/THANKS
+./mfhdf/VERSION
+./mfhdf/build.bat
+./mfhdf/macros.mk
+./mfhdf/make.com
+./mfhdf/mfhdf.mak
+./mfhdf/msoft.mk
+
+./mfhdf/c++/Makefile
+./mfhdf/c++/README
+./mfhdf/c++/example.c
+./mfhdf/c++/example.cc
+./mfhdf/c++/example.cdl
+./mfhdf/c++/expected
+./mfhdf/c++/nc.info
+./mfhdf/c++/nctst.cc
+./mfhdf/c++/nc.txn
+./mfhdf/c++/ncvalues.cc
+./mfhdf/c++/ncvalues.hh
+./mfhdf/c++/netcdf.cc
+./mfhdf/c++/netcdf.hh
+
+./mfhdf/dumper/Makefile.am
+./mfhdf/dumper/Makefile.in
+./mfhdf/dumper/README
+./mfhdf/dumper/TEST
+./mfhdf/dumper/TEST.COM
+./mfhdf/dumper/hdp.c
+./mfhdf/dumper/hdp_dump.c
+./mfhdf/dumper/hdp_gr.c
+./mfhdf/dumper/hdp.h
+./mfhdf/dumper/hdp_list.c
+./mfhdf/dumper/hdp.mak
+./mfhdf/dumper/hdp_rig.c
+./mfhdf/dumper/hdp_sds.c
+./mfhdf/dumper/hdp.txt
+./mfhdf/dumper/hdp_util.c
+./mfhdf/dumper/hdp_vd.c
+./mfhdf/dumper/hdp_vg.c
+./mfhdf/dumper/make.com
+./mfhdf/dumper/show.c
+./mfhdf/dumper/testhdp.sh.in
+
+./mfhdf/dumper/testfiles/Example6.hdf
+./mfhdf/dumper/testfiles/Image_with_Palette.hdf
+./mfhdf/dumper/testfiles/LongDataset.hdf
+./mfhdf/dumper/testfiles/ctxtr2r.hdf
+./mfhdf/dumper/testfiles/dumpgr-10.out
+./mfhdf/dumper/testfiles/dumpgr-11.out
+./mfhdf/dumper/testfiles/dumpgr-12.out
+./mfhdf/dumper/testfiles/dumpgr-13.out
+./mfhdf/dumper/testfiles/dumpgr-14.out
+./mfhdf/dumper/testfiles/dumpgr-15.out
+./mfhdf/dumper/testfiles/dumpgr-16.out
+./mfhdf/dumper/testfiles/dumpgr-17.out
+./mfhdf/dumper/testfiles/dumpgr-18.out
+./mfhdf/dumper/testfiles/dumpgr-19.out
+./mfhdf/dumper/testfiles/dumpgr-1.out
+./mfhdf/dumper/testfiles/dumpgr-2.out
+./mfhdf/dumper/testfiles/dumpgr-3.out
+./mfhdf/dumper/testfiles/dumpgr-4.out
+./mfhdf/dumper/testfiles/dumpgr-5.out
+./mfhdf/dumper/testfiles/dumpgr-6.out
+./mfhdf/dumper/testfiles/dumpgr-7.out
+./mfhdf/dumper/testfiles/dumpgr-8.out
+./mfhdf/dumper/testfiles/dumpgr-9.out
+./mfhdf/dumper/testfiles/dumprig-1.out
+./mfhdf/dumper/testfiles/dumprig-2.out
+./mfhdf/dumper/testfiles/dumprig-3.out
+./mfhdf/dumper/testfiles/dumprig-4.out
+./mfhdf/dumper/testfiles/dumprig-5.out
+./mfhdf/dumper/testfiles/dumprig-6.out
+./mfhdf/dumper/testfiles/dumpsds-1.out
+./mfhdf/dumper/testfiles/dumpsds-2.out
+./mfhdf/dumper/testfiles/dumpsds-3.out
+./mfhdf/dumper/testfiles/dumpsds-4.out
+./mfhdf/dumper/testfiles/dumpsds-5.out
+./mfhdf/dumper/testfiles/dumpsds-6.out
+./mfhdf/dumper/testfiles/dumpsds-7.out
+./mfhdf/dumper/testfiles/dumpsds-8.out
+./mfhdf/dumper/testfiles/dumpsds-9.out
+./mfhdf/dumper/testfiles/dumpsds-10.out
+./mfhdf/dumper/testfiles/dumpsds-11.out
+./mfhdf/dumper/testfiles/dumpvd-10.out
+./mfhdf/dumper/testfiles/dumpvd-1.out
+./mfhdf/dumper/testfiles/dumpvd-2.out
+./mfhdf/dumper/testfiles/dumpvd-3.out
+./mfhdf/dumper/testfiles/dumpvd-4.out
+./mfhdf/dumper/testfiles/dumpvd-5.out
+./mfhdf/dumper/testfiles/dumpvd-6.out
+./mfhdf/dumper/testfiles/dumpvd-7.out
+./mfhdf/dumper/testfiles/dumpvd-8.out
+./mfhdf/dumper/testfiles/dumpvd-9.out
+./mfhdf/dumper/testfiles/dumpvg-10.out
+./mfhdf/dumper/testfiles/dumpvg-11.out
+./mfhdf/dumper/testfiles/dumpvg-12.out
+./mfhdf/dumper/testfiles/dumpvg-1.out
+./mfhdf/dumper/testfiles/dumpvg-2.out
+./mfhdf/dumper/testfiles/dumpvg-3.out
+./mfhdf/dumper/testfiles/dumpvg-4.out
+./mfhdf/dumper/testfiles/dumpvg-5.out
+./mfhdf/dumper/testfiles/dumpvg-6.out
+./mfhdf/dumper/testfiles/dumpvg-7.out
+./mfhdf/dumper/testfiles/dumpvg-8.out
+./mfhdf/dumper/testfiles/dumpvg-9.out
+./mfhdf/dumper/testfiles/grtdfi322.hdf
+./mfhdf/dumper/testfiles/grtdfui162.hdf
+./mfhdf/dumper/testfiles/grtdfui82.hdf
+./mfhdf/dumper/testfiles/grtdfui83.hdf
+./mfhdf/dumper/testfiles/grtdfui84.hdf
+./mfhdf/dumper/testfiles/list-10.out
+./mfhdf/dumper/testfiles/list-1.out
+./mfhdf/dumper/testfiles/list-2.out
+./mfhdf/dumper/testfiles/list-3.out
+./mfhdf/dumper/testfiles/list-4.out
+./mfhdf/dumper/testfiles/list-5.out
+./mfhdf/dumper/testfiles/list-6.out
+./mfhdf/dumper/testfiles/list-7.out
+./mfhdf/dumper/testfiles/list-8.out
+./mfhdf/dumper/testfiles/list-9.out
+./mfhdf/dumper/testfiles/swf32.hdf
+./mfhdf/dumper/testfiles/swi16.hdf
+./mfhdf/dumper/testfiles/swi8.hdf
+./mfhdf/dumper/testfiles/tdf24.hdf
+./mfhdf/dumper/testfiles/test.hdf
+./mfhdf/dumper/testfiles/tvattr.hdf
+./mfhdf/dumper/testfiles/star.hdf
+./mfhdf/dumper/testfiles/swf32_fileattr.hdf
+./mfhdf/dumper/testfiles/tdata.hdf
+./mfhdf/dumper/testfiles/tdfr8f.hdf
+./mfhdf/dumper/testfiles/tvset.hdf
+
+./mfhdf/fortran/Linux.m4
+./mfhdf/fortran/Makefile.am
+./mfhdf/fortran/Makefile.in
+./mfhdf/fortran/README
+./mfhdf/fortran/aix.m4
+./mfhdf/fortran/common.inc
+./mfhdf/fortran/common.m4
+./mfhdf/fortran/convex.m4
+./mfhdf/fortran/craympp.m4
+./mfhdf/fortran/depend
+./mfhdf/fortran/descrip.mms
+./mfhdf/fortran/fortc
+./mfhdf/fortran/fortc1.sed
+./mfhdf/fortran/fortc2.sed
+./mfhdf/fortran/freebsd.m4
+./mfhdf/fortran/ftest.lnk
+./mfhdf/fortran/ftest.src
+./mfhdf/fortran/fujivp.m4
+./mfhdf/fortran/hdftest.f
+./mfhdf/fortran/hdftst.sav
+./mfhdf/fortran/hpux.m4
+./mfhdf/fortran/irix.m4
+./mfhdf/fortran/jackets.src
+./mfhdf/fortran/mfsdf.c
+./mfhdf/fortran/mfsdff.f
+./mfhdf/fortran/msoft.m4
+./mfhdf/fortran/msoft.mk
+./mfhdf/fortran/osf.m4
+./mfhdf/fortran/solaris.m4
+./mfhdf/fortran/sunos.m4
+./mfhdf/fortran/test_nc.cdl
+./mfhdf/fortran/test_nc.nc
+./mfhdf/fortran/ultrix.m4
+./mfhdf/fortran/unicos.m4
+./mfhdf/fortran/vax-ultrix.m4
+./mfhdf/fortran/vms.m4
+
+./mfhdf/fortran/config/ftest-aix.f
+./mfhdf/fortran/config/ftest-alpha.f
+./mfhdf/fortran/config/ftest-apple.f
+./mfhdf/fortran/config/ftest-convex.f
+./mfhdf/fortran/config/ftest-dec.f
+./mfhdf/fortran/config/ftest-fbsd.f
+./mfhdf/fortran/config/ftest-fujivp.f
+./mfhdf/fortran/config/ftest-hpux.f
+./mfhdf/fortran/config/ftest-ia64.f
+./mfhdf/fortran/config/ftest-irix32.f
+./mfhdf/fortran/config/ftest-irix4.f
+./mfhdf/fortran/config/ftest-irix5.f
+./mfhdf/fortran/config/ftest-irix6.f
+./mfhdf/fortran/config/ftest-linux.f
+./mfhdf/fortran/config/ftest-mac.f
+./mfhdf/fortran/config/ftest-solaris64.f
+./mfhdf/fortran/config/ftest-solaris.f
+./mfhdf/fortran/config/ftest-solarisx86.f
+./mfhdf/fortran/config/ftest-sun.f
+./mfhdf/fortran/config/ftest-t3e.f
+./mfhdf/fortran/config/ftest-unicos.f
+./mfhdf/fortran/config/jackets-aix.c
+./mfhdf/fortran/config/jackets-alpha.c
+./mfhdf/fortran/config/jackets-apple.c
+./mfhdf/fortran/config/jackets-convex.c
+./mfhdf/fortran/config/jackets-dec.c
+./mfhdf/fortran/config/jackets-fbsd.c
+./mfhdf/fortran/config/jackets-fujivp.c
+./mfhdf/fortran/config/jackets-hpux.c
+./mfhdf/fortran/config/jackets-ia64.c
+./mfhdf/fortran/config/jackets-irix32.c
+./mfhdf/fortran/config/jackets-irix4.c
+./mfhdf/fortran/config/jackets-irix5.c
+./mfhdf/fortran/config/jackets-irix6.c
+./mfhdf/fortran/config/jackets-linux.c
+./mfhdf/fortran/config/jackets-mac.c
+./mfhdf/fortran/config/jackets-solaris64.c
+./mfhdf/fortran/config/jackets-solaris.c
+./mfhdf/fortran/config/jackets-solarisx86.c
+./mfhdf/fortran/config/jackets-sun.c
+./mfhdf/fortran/config/jackets-t3e.c
+./mfhdf/fortran/config/jackets-unicos.c
+./mfhdf/fortran/config/netcdf-aix.inc
+./mfhdf/fortran/config/netcdf-alpha.inc
+./mfhdf/fortran/config/netcdf-apple.inc
+./mfhdf/fortran/config/netcdf-convex.inc
+./mfhdf/fortran/config/netcdf-dec.inc
+./mfhdf/fortran/config/netcdf-fbsd.inc
+./mfhdf/fortran/config/netcdf-fujivp.inc
+./mfhdf/fortran/config/netcdf-hpux.inc
+./mfhdf/fortran/config/netcdf-ia64.inc
+./mfhdf/fortran/config/netcdf-irix32.inc
+./mfhdf/fortran/config/netcdf-irix4.inc
+./mfhdf/fortran/config/netcdf-irix5.inc
+./mfhdf/fortran/config/netcdf-irix6.inc
+./mfhdf/fortran/config/netcdf-linux.inc
+./mfhdf/fortran/config/netcdf-mac.inc
+./mfhdf/fortran/config/netcdf-solaris64.inc
+./mfhdf/fortran/config/netcdf-solaris.inc
+./mfhdf/fortran/config/netcdf-solarisx86.inc
+./mfhdf/fortran/config/netcdf-sun.inc
+./mfhdf/fortran/config/netcdf-t3e.inc
+./mfhdf/fortran/config/netcdf-unicos.inc
+
+./mfhdf/fortran/fort_ps/hdftestp.f
+./mfhdf/fortran/fort_ps/mfhdfp.h
+./mfhdf/fortran/fort_ps/mfsdpf.c
+./mfhdf/fortran/fort_ps/mfsdpff.f
+
+./mfhdf/fortran/msoft/NOTES
+./mfhdf/fortran/msoft/fslen.asm
+./mfhdf/fortran/msoft/ftest.for
+./mfhdf/fortran/msoft/jackets.c
+./mfhdf/fortran/msoft/msoft.int
+./mfhdf/fortran/msoft/netcdf.inc
+
+./mfhdf/fortran/vms/ftest.for
+./mfhdf/fortran/vms/ftest.m4
+./mfhdf/fortran/vms/hdftest.for
+./mfhdf/fortran/vms/jackets.c
+./mfhdf/fortran/vms/make.com
+./mfhdf/fortran/vms/mfsdf.c
+./mfhdf/fortran/vms/mfsdff.for
+./mfhdf/fortran/vms/netcdf.inc
+
+./mfhdf/hdfimport/Makefile.am
+./mfhdf/hdfimport/Makefile.in
+./mfhdf/hdfimport/hdfimport.c
+./mfhdf/hdfimport/hdfimport.input1
+./mfhdf/hdfimport/hdfimport.out1
+./mfhdf/hdfimport/hdfimport.out2
+./mfhdf/hdfimport/hdfimporttest.c
+./mfhdf/hdfimport/testutil.sh.in
+
+./mfhdf/hdiff/Makefile.am
+./mfhdf/hdiff/Makefile.in
+./mfhdf/hdiff/hdiff.c
+./mfhdf/hdiff/hdiff.h
+./mfhdf/hdiff/hdiff_array.c
+./mfhdf/hdiff/hdiff_gattr.c
+./mfhdf/hdiff/hdiff_gr.c
+./mfhdf/hdiff/hdiff_list.c
+./mfhdf/hdiff/hdiff_list.h
+./mfhdf/hdiff/hdiff_main.c
+./mfhdf/hdiff/hdiff_mattbl.c
+./mfhdf/hdiff/hdiff_mattbl.h
+./mfhdf/hdiff/hdiff_misc.c
+./mfhdf/hdiff/hdiff_sds.c
+./mfhdf/hdiff/hdiff_table.c
+./mfhdf/hdiff/hdiff_table.h
+./mfhdf/hdiff/hdiff_vs.c
+./mfhdf/hdiff/hdifftst.c
+./mfhdf/hdiff/testhdiff.sh
+
+./mfhdf/hdiff/testfiles/hdiff_01.txt
+./mfhdf/hdiff/testfiles/hdiff_02.txt
+./mfhdf/hdiff/testfiles/hdiff_03.txt
+./mfhdf/hdiff/testfiles/hdiff_04.txt
+./mfhdf/hdiff/testfiles/hdiff_05.txt
+./mfhdf/hdiff/testfiles/hdiff_06.txt
+./mfhdf/hdiff/testfiles/hdiff_07.txt
+./mfhdf/hdiff/testfiles/hdiff_08.txt
+./mfhdf/hdiff/testfiles/hdiff_09.txt
+./mfhdf/hdiff/testfiles/hdiff_10.txt
+./mfhdf/hdiff/testfiles/hdiff_11.txt
+./mfhdf/hdiff/testfiles/hdifftst1.hdf
+./mfhdf/hdiff/testfiles/hdifftst2.hdf
+
+
+./mfhdf/hrepack/Makefile.am
+./mfhdf/hrepack/Makefile.in
+./mfhdf/hrepack/hrepack.c
+./mfhdf/hrepack/hrepack.h
+./mfhdf/hrepack/hrepack_all.sh
+./mfhdf/hrepack/hrepack_an.c
+./mfhdf/hrepack/hrepack_an.h
+./mfhdf/hrepack/hrepack_check.c
+./mfhdf/hrepack/hrepack_cmp.c
+./mfhdf/hrepack/hrepack_gr.c
+./mfhdf/hrepack/hrepack_gr.h
+./mfhdf/hrepack/hrepack_list.c
+./mfhdf/hrepack/hrepack_lsttable.c
+./mfhdf/hrepack/hrepack_lsttable.h
+./mfhdf/hrepack/hrepack_main.c
+./mfhdf/hrepack/hrepack_opttable.c
+./mfhdf/hrepack/hrepack_opttable.h
+./mfhdf/hrepack/hrepack_pal.c
+./mfhdf/hrepack/hrepack_pal.h
+./mfhdf/hrepack/hrepack_parse.c
+./mfhdf/hrepack/hrepack_parse.h
+./mfhdf/hrepack/hrepack_sds.c
+./mfhdf/hrepack/hrepack_sds.h
+./mfhdf/hrepack/hrepack_sdutil.c
+./mfhdf/hrepack/hrepack_sdutil.h
+./mfhdf/hrepack/hrepack_utils.c
+./mfhdf/hrepack/hrepack_utils.h
+./mfhdf/hrepack/hrepack_vg.c
+./mfhdf/hrepack/hrepack_vg.h
+./mfhdf/hrepack/hrepack_vs.c
+./mfhdf/hrepack/hrepack_vs.h
+./mfhdf/hrepack/image24pixel.txt
+./mfhdf/hrepack/image24plane.txt
+./mfhdf/hrepack/image8.txt
+./mfhdf/hrepack/info.txt
+./mfhdf/hrepack/pal_rgb.h
+./mfhdf/hrepack/test_hrepack_add.c
+./mfhdf/hrepack/test_hrepack_add.h
+./mfhdf/hrepack/test_hrepack_main.c
+./mfhdf/hrepack/test_hrepack.sh
+./mfhdf/hrepack/test_hrepack_verify.c
+./mfhdf/hrepack/test_hrepack_verify.h
+
+./mfhdf/libsrc/Makefile.am
+./mfhdf/libsrc/Makefile.in
+./mfhdf/libsrc/README
+./mfhdf/libsrc/alloc.h
+./mfhdf/libsrc/array.c
+./mfhdf/libsrc/attr.c
+./mfhdf/libsrc/cdf.c
+./mfhdf/libsrc/cdftest.c
+./mfhdf/libsrc/cdftest.mak
+./mfhdf/libsrc/cdftest.project.hqx
+./mfhdf/libsrc/depend
+./mfhdf/libsrc/descrip.mms
+./mfhdf/libsrc/dim.c
+./mfhdf/libsrc/error.c
+./mfhdf/libsrc/error.h
+./mfhdf/libsrc/file.c
+./mfhdf/libsrc/globdef.c
+./mfhdf/libsrc/hdf2netcdf.h
+./mfhdf/libsrc/hdfout.sav
+./mfhdf/libsrc/hdfsds.c
+./mfhdf/libsrc/hdftest.c
+./mfhdf/libsrc/hdftest.h
+./mfhdf/libsrc/hdftest.mak
+./mfhdf/libsrc/hdftest.project.hqx
+./mfhdf/libsrc/htons.mar
+./mfhdf/libsrc/iarray.c
+./mfhdf/libsrc/local_nc.h
+./mfhdf/libsrc/make.com
+./mfhdf/libsrc/mfhdf.h
+./mfhdf/libsrc/mfhdflib.project.hqx
+./mfhdf/libsrc/mfsd.c
+./mfhdf/libsrc/msoft.mk
+./mfhdf/libsrc/netcdf.h.in
+./mfhdf/libsrc/nssdc.c
+./mfhdf/libsrc/ntohs.mar
+./mfhdf/libsrc/putget.c
+./mfhdf/libsrc/putgetg.c
+./mfhdf/libsrc/sharray.c
+./mfhdf/libsrc/string.c
+./mfhdf/libsrc/temptySDSs.c
+./mfhdf/libsrc/tidtypes.c
+./mfhdf/libsrc/test1.nc
+./mfhdf/libsrc/test_cdf.sav
+./mfhdf/libsrc/testout.sav
+./mfhdf/libsrc/trank0.c
+./mfhdf/libsrc/tszip.c
+./mfhdf/libsrc/tsd.c
+./mfhdf/libsrc/var.c
+./mfhdf/libsrc/win32cdf.h
+./mfhdf/libsrc/win32cdf.mak
+./mfhdf/libsrc/xdrposix.c
+./mfhdf/libsrc/xdrstdio.c
+
+./mfhdf/libsrc/config/netcdf-aix.h
+./mfhdf/libsrc/config/netcdf-alpha.h
+./mfhdf/libsrc/config/netcdf-apple.h
+./mfhdf/libsrc/config/netcdf-convex.h
+./mfhdf/libsrc/config/netcdf-dec.h
+./mfhdf/libsrc/config/netcdf-fbsd.h
+./mfhdf/libsrc/config/netcdf-fujivp.h
+./mfhdf/libsrc/config/netcdf-hpux.h
+./mfhdf/libsrc/config/netcdf-ia64.h
+./mfhdf/libsrc/config/netcdf-irix32.h
+./mfhdf/libsrc/config/netcdf-irix4.h
+./mfhdf/libsrc/config/netcdf-irix5.h
+./mfhdf/libsrc/config/netcdf-irix6.h
+./mfhdf/libsrc/config/netcdf-linux.h
+./mfhdf/libsrc/config/netcdf-mac.h
+./mfhdf/libsrc/config/netcdf-solaris64.h
+./mfhdf/libsrc/config/netcdf-solaris.h
+./mfhdf/libsrc/config/netcdf-solarisx86.h
+./mfhdf/libsrc/config/netcdf-sun.h
+./mfhdf/libsrc/config/netcdf-t3e.h
+./mfhdf/libsrc/config/netcdf-unicos.h
+./mfhdf/libsrc/config/netcdf-vms.h
+
+./mfhdf/ncdump/Makefile.am
+./mfhdf/ncdump/Makefile.in
+./mfhdf/ncdump/SETUPNCDUMP.COM
+./mfhdf/ncdump/ctest0.mak
+./mfhdf/ncdump/depend
+./mfhdf/ncdump/dumplib.c
+./mfhdf/ncdump/dumplib.h
+./mfhdf/ncdump/make.com
+./mfhdf/ncdump/msoft.mk
+./mfhdf/ncdump/msofttab.c
+./mfhdf/ncdump/ncdump.1
+./mfhdf/ncdump/ncdump.c
+./mfhdf/ncdump/ncdump.h
+./mfhdf/ncdump/ncdump.lnk
+./mfhdf/ncdump/ncdump.mak
+./mfhdf/ncdump/test0.cdl
+./mfhdf/ncdump/vardata.c
+./mfhdf/ncdump/vardata.h
+
+./mfhdf/ncgen/Makefile.am
+./mfhdf/ncgen/Makefile.in
+./mfhdf/ncgen/README
+./mfhdf/ncgen/close.c
+./mfhdf/ncgen/ctest0.mak
+./mfhdf/ncgen/depend
+./mfhdf/ncgen/descrip.mms
+./mfhdf/ncgen/escapes.c
+./mfhdf/ncgen/generate.c
+./mfhdf/ncgen/generic.h
+./mfhdf/ncgen/genlib.c
+./mfhdf/ncgen/genlib.h
+./mfhdf/ncgen/getfill.c
+./mfhdf/ncgen/init.c
+./mfhdf/ncgen/lexyacc.com
+./mfhdf/ncgen/load.c
+./mfhdf/ncgen/main.c
+./mfhdf/ncgen/make.com
+./mfhdf/ncgen/msoft.mk
+./mfhdf/ncgen/msofttab.c
+./mfhdf/ncgen/msofttab.h
+./mfhdf/ncgen/msoftyy.c
+./mfhdf/ncgen/ncgen.1
+./mfhdf/ncgen/ncgen.h
+./mfhdf/ncgen/ncgen.l
+./mfhdf/ncgen/ncgen.lnk
+./mfhdf/ncgen/ncgen.mak
+./mfhdf/ncgen/ncgen.opt
+./mfhdf/ncgen/ncgen.y
+./mfhdf/ncgen/test0.cdl
+./mfhdf/ncgen/test0.lnk
+./mfhdf/ncgen/test.com
+./mfhdf/ncgen/vmstab.c
+./mfhdf/ncgen/vmstab.h
+./mfhdf/ncgen/vms_yy.c
+
+./mfhdf/nctest/Makefile.am
+./mfhdf/nctest/Makefile.in
+./mfhdf/nctest/README
+./mfhdf/nctest/add.c
+./mfhdf/nctest/add.h
+./mfhdf/nctest/atttests.c
+./mfhdf/nctest/cdftests.c
+./mfhdf/nctest/depend
+./mfhdf/nctest/dimtests.c
+./mfhdf/nctest/driver.c
+./mfhdf/nctest/emalloc.c
+./mfhdf/nctest/emalloc.h
+./mfhdf/nctest/error.c
+./mfhdf/nctest/error.h
+./mfhdf/nctest/make.com
+./mfhdf/nctest/misctest.c
+./mfhdf/nctest/msoft.mk
+./mfhdf/nctest/nctest.def
+./mfhdf/nctest/nctest.lnk
+./mfhdf/nctest/nctest.mak
+./mfhdf/nctest/nctest.project.hqx
+./mfhdf/nctest/rec.c
+./mfhdf/nctest/slabs.c
+./mfhdf/nctest/test_unlim.cdl
+./mfhdf/nctest/test_unlim.nc
+./mfhdf/nctest/testcdf.h
+./mfhdf/nctest/tests.h
+./mfhdf/nctest/val.c
+./mfhdf/nctest/val.h
+./mfhdf/nctest/vardef.c
+./mfhdf/nctest/varget_unlim.c
+./mfhdf/nctest/varget.c
+./mfhdf/nctest/vargetg.c
+./mfhdf/nctest/varput.c
+./mfhdf/nctest/varputg.c
+./mfhdf/nctest/vartests.c
+./mfhdf/nctest/vputget.c
+./mfhdf/nctest/vputgetg.c
+
+./mfhdf/port/COPYRIGHT
+./mfhdf/port/CUSTOMIZE
+./mfhdf/port/HISTORY
+./mfhdf/port/Makefile.am
+./mfhdf/port/Makefile.in
+./mfhdf/port/VERSION
+./mfhdf/port/aclocal.m4
+./mfhdf/port/configure
+./mfhdf/port/configure.in
+./mfhdf/port/depend
+./mfhdf/port/master.mk.in
+./mfhdf/port/mast_mk.in
+./mfhdf/port/uddummy.c
+./mfhdf/port/udposix.h.in
+./mfhdf/port/udposixh.in
+./mfhdf/port/which
+
+./mfhdf/util/getopt.c
+./mfhdf/util/make.com
+./mfhdf/util/msoft.mk
+./mfhdf/util/win32utl.mak
+
+./mfhdf/xdr/Makefile.am
+./mfhdf/xdr/Makefile.in
+./mfhdf/xdr/NOTICE.h
+./mfhdf/xdr/README
+./mfhdf/xdr/byteordr.c
+./mfhdf/xdr/depend
+./mfhdf/xdr/descrip.mms
+./mfhdf/xdr/htonl.mar
+./mfhdf/xdr/make.com
+./mfhdf/xdr/msoft.mk
+./mfhdf/xdr/ntohl.mar
+./mfhdf/xdr/testout.sav
+./mfhdf/xdr/test_xdr.sav
+./mfhdf/xdr/types.h
+./mfhdf/xdr/win32xdr.mak
+./mfhdf/xdr/xdrarray.c
+./mfhdf/xdr/xdr.c
+./mfhdf/xdr/xdrfloat.c
+./mfhdf/xdr/xdr.h
+./mfhdf/xdr/xdrlib.project.hqx
+./mfhdf/xdr/xdrstdio.c
+./mfhdf/xdr/xdrtest.c
+./mfhdf/xdr/xdrtest.mak
+./mfhdf/xdr/xdrtest.opt
+./mfhdf/xdr/xdrtest.project.hqx
+
+./release_notes/HISTORY.txt
+./release_notes/RELEASE.txt
+./release_notes/bugs_fixed.txt
+./release_notes/misc_docs.txt

Copied: packages/libhdf4/trunk/Makefile.am (from rev 832, packages/libhdf4/branches/upstream/current/Makefile.am)
===================================================================
--- packages/libhdf4/trunk/Makefile.am	                        (rev 0)
+++ packages/libhdf4/trunk/Makefile.am	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,5 @@
+#############################################################################
+##                      Subdirectories to build in                         ##
+#############################################################################
+
+SUBDIRS=hdf mfhdf man

Modified: packages/libhdf4/trunk/Makefile.in
===================================================================
--- packages/libhdf4/trunk/Makefile.in	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/Makefile.in	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,536 +1,535 @@
-# $Id: Makefile.in,v 1.40 1999/06/20 01:40:35 acheng Exp $
-#
-# Makefile to build HDF & netcdf libraries and utilities...etc
-#
-# NOTE: This Makefile.in is used by the Cygnus 'configure' script to
-#       generate the top level Makefile.
+# Makefile.in generated by automake 1.7.7 from Makefile.am.
+# @configure_input@
 
-# ############# Start of system configuration section. #############
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# 'srcdir' Gets set to directory this Makefile is found in
-srcdir = .
-TOP_SRCDIR = .
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
 
-prefix = $(TOP_SRCDIR)/NewHDF
+ at SET_MAKE@
 
-exec_prefix = $(prefix)
-tooldir = $(exec_prefix)/$(target)
+#############################################################################
+#############################################################################
 
-program_transform_name =
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = .
 
-datadir = $(prefix)/lib
-mandir = $(prefix)/man
-man1dir = $(mandir)/man1
-man2dir = $(mandir)/man2
-man3dir = $(mandir)/man3
-man4dir = $(mandir)/man4
-man5dir = $(mandir)/man5
-man6dir = $(mandir)/man6
-man7dir = $(mandir)/man7
-man8dir = $(mandir)/man8
-man9dir = $(mandir)/man9
-docdir = $(datadir)/doc
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_triplet = @host@
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DIFF = @DIFF@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+HDF_BUILD_FORTRAN_FALSE = @HDF_BUILD_FORTRAN_FALSE@
+HDF_BUILD_FORTRAN_TRUE = @HDF_BUILD_FORTRAN_TRUE@
+HDF_BUILD_XDR_FALSE = @HDF_BUILD_XDR_FALSE@
+HDF_BUILD_XDR_TRUE = @HDF_BUILD_XDR_TRUE@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
+MAKEINFO = @MAKEINFO@
+NEQN = @NEQN@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+TBL = @TBL@
+VERSION = @VERSION@
+YACC = @YACC@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
 
-SHELL = /bin/sh
+SUBDIRS = hdf mfhdf man
+subdir = .
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/hdf/src/h4config.h
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
 
-INSTALL = ${TOP_SRCDIR}/install-sh -c
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL) -m 644
+RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
+	ps-recursive install-info-recursive uninstall-info-recursive \
+	all-recursive install-data-recursive install-exec-recursive \
+	installdirs-recursive install-recursive uninstall-recursive \
+	check-recursive installcheck-recursive
+DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure COPYING \
+	INSTALL Makefile.am aclocal.m4 bin/compile bin/config.guess \
+	bin/config.sub bin/depcomp bin/install-sh bin/missing \
+	bin/mkinstalldirs configure configure.ac
+DIST_SUBDIRS = $(SUBDIRS)
+all: all-recursive
 
-# /usr/local/bin/m4 (GNU version?)
-M4   = /usr/local/bin/m4
-# /usr/local/bin/perl (GNU version?)
-PERL = /usr/local/bin/perl
+.SUFFIXES:
 
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = ranlib
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign  Makefile
+Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
 
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = rc
+$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	$(SHELL) ./config.status --recheck
+$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+	cd $(srcdir) && $(AUTOCONF)
 
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac 
+	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+uninstall-info-am:
 
-AS = as
-CC = gcc
-CFLAGS = -ansi -O
-FC = f77
-FFLAGS= -O
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+#     (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    dot_seen=yes; \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done; \
+	if test "$$dot_seen" = "no"; then \
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+	fi; test -z "$$fail"
 
-# Set for document generation
-MAKEINFO = makeinfo
-TEXI2DVI = texi2dvi
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	case "$@" in \
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+	  *) list='$(SUBDIRS)' ;; \
+	esac; \
+	rev=''; for subdir in $$list; do \
+	  if test "$$subdir" = "."; then :; else \
+	    rev="$$subdir $$rev"; \
+	  fi; \
+	done; \
+	rev="$$rev ."; \
+	target=`echo $@ | sed s/-recursive//`; \
+	for subdir in $$rev; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done && test -z "$$fail"
+tags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+	done
+ctags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+	done
 
-# Directory in which to install binaries
-bindir = $(exec_prefix)/bin
+ETAGS = etags
+ETAGSFLAGS =
 
-# Directory in which to install header files.
-includedir = $(prefix)/include
+CTAGS = ctags
+CTAGSFLAGS =
 
-# Directory in which to install library files.
-libdir = $(prefix)/lib
+tags: TAGS
 
-# Directory in which to install documentation info files.
-infodir = $(prefix)/info
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
 
-#### ----- host and target specific makefile fragments come in here.-------
-### ------------------- end of makefile fragments -------------------------
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	if (etags --etags-include --version) >/dev/null 2>&1; then \
+	  include_option=--etags-include; \
+	else \
+	  include_option=--include; \
+	fi; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test -f $$subdir/TAGS && \
+	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+	  fi; \
+	done; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	     $$tags $$unique
 
-# ############# End of system configuration section. ###############
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
 
-PACKAGE	 = HDF
-VERSION  = 4.0
-MANIFEST = $(DISTFILES)
-DISTFILES = INSTALL README \
-	Makefile.in configure configure.in config.guess config.sub \
-	install-sh mkinstalldirs move-if-change \
-	config/mh-aix config/mh-alpha config/mh-convex \
-	config/mh-decstation config/mh-fbsd config/mh-hpux config/mh-irix32 \
-	config/mh-irix4 config/mh-irix5 config/mh-irix6 config/mh-linux \
-	config/mh-solaris config/mh-solarisx86 config/mh-sun config/mh-unicos
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
 
-HDFDIR    = hdf
-NETCDFDIR = mfhdf
-MANDIR = man
-SUBDIRS= $(HDFDIR) $(NETCDFDIR) $(MANDIR)
-OTHERDIRS= config
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-# Location where the HDF include files are located
-HDFINC= `pwd`/hdf/src
+top_distdir = .
+distdir = $(PACKAGE)-$(VERSION)
 
-# Location where the HDF library is located
-HDFLIB= `pwd`/hdf/src
+am__remove_distdir = \
+  { test ! -d $(distdir) \
+    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
+         && rm -fr $(distdir); }; }
 
-# ==> where is your PABLO include files
-PABLO_HINC= `pwd`/hdf/pablo
+GZIP_ENV = --best
+distuninstallcheck_listfiles = find . -type f -print
+distcleancheck_listfiles = find . -type f -print
 
-# ==> where is your FMPOOL include files
-FMPOOL_INC= `pwd`/hdf/fmpool
+distdir: $(DISTFILES)
+	$(am__remove_distdir)
+	mkdir $(distdir)
+	$(mkinstalldirs) $(distdir)/bin $(distdir)/hdf/util $(distdir)/mfhdf/dumper $(distdir)/mfhdf/hdfimport
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test -d $(distdir)/$$subdir \
+	    || mkdir $(distdir)/$$subdir \
+	    || exit 1; \
+	    (cd $$subdir && \
+	      $(MAKE) $(AM_MAKEFLAGS) \
+	        top_distdir="$(top_distdir)" \
+	        distdir=../$(distdir)/$$subdir \
+	        distdir) \
+	      || exit 1; \
+	  fi; \
+	done
+	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
+	|| chmod -R a+r $(distdir)
+dist-gzip: distdir
+	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+	$(am__remove_distdir)
 
-#
-# Flags to recursively send to make to overide ones inserted by Configure
-#
+dist dist-all: distdir
+	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+	$(am__remove_distdir)
 
-HDF_FLAGS       = \
-        CC="$(CC)" \
-        CFLAGS="$(CFLAGS)" \
-        ACDEFS="$(ACDEFS)" \
-        FC="$(FC)" \
-        FFLAGS="$(FFLAGS)" \
-        RANLIB="$(RANLIB)" \
-        AR="$(AR)" \
-        ARFLAGS="$(ARFLAGS)" \
-        RM="$(RM)" \
-        RMFLAGS="$(RMFLAGS)" \
-        FMPOOL_FLAGS="$(FMPOOL_FLAGS)" \
-        PABLO_FLAGS="$(PABLO_FLAGS)" \
-        PABLO_INCLUDE="$(PABLO_INCLUDE)" \
-        MACHINE="$(MACHINE)" \
-        HDFINC="$(HDFINC)" \
-        HDFLIB="$(HDFLIB)" 
+# This target untars the dist file and tries a VPATH configuration.  Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+	$(am__remove_distdir)
+	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
+	chmod -R a-w $(distdir); chmod a+w $(distdir)
+	mkdir $(distdir)/_build
+	mkdir $(distdir)/_inst
+	chmod a-w $(distdir)
+	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+	  && cd $(distdir)/_build \
+	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+	    $(DISTCHECK_CONFIGURE_FLAGS) \
+	  && $(MAKE) $(AM_MAKEFLAGS) \
+	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
+	  && $(MAKE) $(AM_MAKEFLAGS) check \
+	  && $(MAKE) $(AM_MAKEFLAGS) install \
+	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+	        distuninstallcheck \
+	  && chmod -R a-w "$$dc_install_base" \
+	  && ({ \
+	       (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
+	  && rm -rf "$$dc_destdir" \
+	  && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
+	  && rm -f $(distdir).tar.gz \
+	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
+	$(am__remove_distdir)
+	@echo "$(distdir).tar.gz is ready for distribution" | \
+	  sed 'h;s/./=/g;p;x;p;x'
+distuninstallcheck:
+	@cd $(distuninstallcheck_dir) \
+	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
+	   || { echo "ERROR: files left after uninstall:" ; \
+	        if test -n "$(DESTDIR)"; then \
+	          echo "  (check DESTDIR support)"; \
+	        fi ; \
+	        $(distuninstallcheck_listfiles) ; \
+	        exit 1; } >&2
+distcleancheck: distclean
+	@if test '$(srcdir)' = . ; then \
+	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+	  exit 1 ; \
+	fi
+	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+	  || { echo "ERROR: files left in build directory after distclean:" ; \
+	       $(distcleancheck_listfiles) ; \
+	       exit 1; } >&2
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
 
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
 
-NETCDF_FLAGS       = \
-        CC="$(CC)" \
-        CFLAGS="$(CFLAGS)" \
-        ACDEFS="$(ACDEFS)" \
-        FC="$(FC)" \
-        FFLAGS="$(FFLAGS)" \
-        RANLIB="$(RANLIB)" \
-        AR="$(AR)" \
-        ARFLAGS="$(ARFLAGS)" \
-        RM="$(RM)" \
-        RMFLAGS="$(RMFLAGS)" \
-        FMPOOL_FLAGS="$(FMPOOL_FLAGS)" \
-        MACHINE="$(MACHINE)" \
-        HDFINC="$(HDFINC)" \
-        HDFLIB="$(HDFLIB)" 
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
-LOCAL_MACROS  = CC="$(CC)" \
-	CFLAGS="$(CFLAGS)" \
-	CPP="$(CPP)" \
-	CPPFLAGS="$(CPPFLAGS)" \
-	exec_prefix="$(exec_prefix)" \
-	FC="$(FC)" \
-	FFLAGS="$(FFLAGS)" \
-	prefix="$(prefix)"
+installcheck: installcheck-recursive
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
 
-#
-#General rules
-#
+clean-generic:
 
-all:	
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(NETCDFDIR)" subdn
+distclean-generic:
+	-rm -f $(CONFIG_CLEAN_FILES)
 
-HDF:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="all" \
-          SUBDIRS="$(HDFDIR)" subd
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
 
-NETCDF:
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG="all" \
-          SUBDIRS="$(NETCDFDIR)" subdn
+clean-am: clean-generic mostlyclean-am
 
-test:
-	@LD_LIBRARY_PATH=`pwd`/hdf/src:`pwd`/mfhdf/libsrc:$$LD_LIBRARY_PATH \
-	$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="test-hdf" \
-          SUBDIRS="$(HDFDIR)" subd
-	@LD_LIBRARY_PATH=`pwd`/hdf/src:`pwd`/mfhdf/libsrc:$$LD_LIBRARY_PATH \
-	$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=test-utils \
-          SUBDIRS="$(HDFDIR)" subd
-	@LD_LIBRARY_PATH=`pwd`/hdf/src:`pwd`/mfhdf/libsrc:$$LD_LIBRARY_PATH \
-	$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(NETCDFDIR)" subdn
+distclean: distclean-recursive
+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
-allnofortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=allnofortran \
-          SUBDIRS="$(HDFDIR)" subd
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) FC=NONE TARG=all \
-          SUBDIRS="$(NETCDFDIR)" subdn
+	-rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
 
-testnofortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=test-hdfnofortran \
-          SUBDIRS="$(HDFDIR)" subd
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) FC=NONE TARG=test \
-          SUBDIRS="$(NETCDFDIR)" subdn
+dvi: dvi-recursive
 
-test-hdf:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=test-utils \
-          SUBDIRS="$(HDFDIR)" subd
+dvi-am:
 
-test-hdf-libs:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
+info: info-recursive
 
-test-hdf-utils:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=test-utils \
-          SUBDIRS="$(HDFDIR)" subd
+info-am:
 
-test-mfhdf:
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=test \
-          SUBDIRS="$(NETCDFDIR)" subd
+install-data-am:
 
-hdf-test:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
+install-exec-am:
 
-mfhdf-test:
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(NETCDFDIR)" subd
+install-info: install-info-recursive
 
-hdf-allnofortran: 
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="allnofortran" \
-          SUBDIRS="$(HDFDIR)" subd
-
-hdf-libnofortran: 
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="libnofortran" \
-          SUBDIRS="$(HDFDIR)" subd
-
-test-hdfnofortran: 
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="test-hdfnofortran" \
-          SUBDIRS="$(HDFDIR)" subd
-
-hdf-testnofortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="testnofortran" \
-          SUBDIRS="$(HDFDIR)" subd
-
-hdf-libnostub: 
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="libnostub" \
-          SUBDIRS="$(HDFDIR)" subd
-
-hdf-allnostub: 
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="allnostub" \
-          SUBDIRS="$(HDFDIR)" subd
-
-hdf-utilities: 
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="utilities" \
-          SUBDIRS="$(HDFDIR)" subd
-
-hdf-debug: 
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="debug" \
-          SUBDIRS="$(HDFDIR)" subd
-
-libs: 
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG="libmfhdf" \
-          SUBDIRS="$(NETCDFDIR)" subdn
-
-hdf-libs: 
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="libs" \
-          SUBDIRS="$(HDFDIR)" subd
-
-libdf: 
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
-
-# libjpeg: 
-# 	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-#           SUBDIRS="$(HDFDIR)" subd
-
-# libz: 
-# 	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-#           SUBDIRS="$(HDFDIR)" subd
-
-libmfhdf:
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(NETCDFDIR)" subdn
-
-install:	
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=install \
-          SUBDIRS="$(MANDIR)" subd
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=install \
-          SUBDIRS="$(NETCDFDIR)" subd
-
-install-libs:	
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(NETCDFDIR)" subd
-
-install-includes:	
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(NETCDFDIR)" subd
-
-install-utils:	
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(NETCDFDIR)" subd
-
-install-hdf:	
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=install \
-          SUBDIRS="$(HDFDIR)" subd
-
-install-hdf-libs:	
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=install-libs \
-          SUBDIRS="$(HDFDIR)" subd
-
-install-hdf-utils:	
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=install-utils \
-          SUBDIRS="$(HDFDIR)" subd
-
-install-mfhdf:	
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=install \
-          SUBDIRS="$(NETCDFDIR)" subd
-
-install-mfhdf-libs:	
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=install-libs \
-          SUBDIRS="$(NETCDFDIR)" subd
-
-install-mfhdf-utils:	
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=install-utils \
-          SUBDIRS="$(NETCDFDIR)" subd
-
 install-man:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=install \
-          SUBDIRS="$(MANDIR)" subd
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(NETCDFDIR)" subd
 
-install-hdf-man:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=install \
-          SUBDIRS="$(MANDIR)" subd
+installcheck-am:
 
-install-mfhdf-man:
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(NETCDFDIR)" subd
-hdfclean:		
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="clean" \
-          SUBDIRS="$(HDFDIR)" subd
+maintainer-clean: maintainer-clean-recursive
+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
+	-rm -rf $(top_srcdir)/autom4te.cache
 
-mfhdfclean:		
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG="clean" \
-          SUBDIRS="$(NETCDFDIR)" subd
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
 
-clean:		
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(MANDIR)" subd
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(NETCDFDIR)" subdn
+mostlyclean: mostlyclean-recursive
 
-hdfdistclean:		
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG="distclean" \
-          SUBDIRS="$(HDFDIR)" subd
+mostlyclean-am: mostlyclean-generic
 
-mfhdfdistclean:		
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG="distclean" \
-          SUBDIRS="$(NETCDFDIR)" subd
+pdf: pdf-recursive
 
-distclean:	
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(HDFDIR)" subd
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(MANDIR)" subd
-	@$(MAKE) $(MFLAGS) $(NETCDF_FLAGS) TARG=$@ \
-          SUBDIRS="$(NETCDFDIR)" subdn
-	-$(RM) $(RMFLAGS) config.status Makefile
+pdf-am:
 
-help:
-	@echo ""
-	@echo "Make supports the following targets"
-	@echo "   (Use FC=NONE to exclude fortran support.)"
-	@echo "   (E.g., make FC=NONE all )"
-	@echo "make help    - prints this usage section"
-	@echo "make all     - (DEFAULT) makes both HDF and netCDF packages"
-	@echo "make HDF     - makes HDF library,utilities, and tests"
-	@echo "make NETCDF  - makes NETCDF package"
-	@echo "make hdf-test          - makes HDF library and tests" 
-	@echo "make hdf-utilities     - makes HDF library and utilities"
-	@echo "make libs              - makes HDF,  and mfhdf libraries only"
-	@echo "make hdf-libs          - makes HDF libraries only"
-	@echo "make libdf             - makes HDF library"
-	@echo "make libmfhdf          - makes mfhdf library"
-	@echo "make test              - run both HDF and NETCDF tests"
-	@echo "make test-mfhdf        - run NETCDF tests" 
-	@echo "make test-hdf          - run HDF library and utilities tests" 
-	@echo "make test-hdf-libs     - run HDF library tests" 
-	@echo "make test-hdf-utils    - run HDF utilities test" 
-	@echo "make install           - install HDF,netCDF libraries,"
-	@echo "                         utilites, and includes" 
-	@echo "make install-libs      - install HDF,netCDF libraries and includes"
-	@echo "make install-includes  - install HDF,netCDF includes"
-	@echo "make install-utils     - install HDF,netCDF utilities"
-	@echo "make install-man       - install HDF and netCDF man pages"
-	@echo "make install-hdf       - install HDF library, utilities and includes"
-	@echo "make install-hdf-libs  - install HDF library and includes"
-	@echo "make install-hdf-utils - install utilities"
-	@echo "make install-hdf-man   - install HDF man pages"
-	@echo "make install-mfhdf     - install netCDF library, utilities and includes"
-	@echo "make install-mfhdf-libs - install netCDF library and includes"
-	@echo "make install-mfhdf-utils - install netCDF utilities"
-	@echo "make install-mfhdf-man   - install netCDF man pages"
-	@echo "make clean        - cleans up HDF and NETCDF packages(*.o,libdf.a,..)"
-	@echo "make distclean    - cleans up HDF and NETCDF packages including"
-	@echo "                    configuration(Makefiles,config.status,..)"
-	@echo "make hdfclean     - cleans up HDF package(*.o,libdf.a,..et)"
-	@echo "make hdfdistclean - cleans up HDF package including"
-	@echo "                    configuration(Makefiles,config.status,..)"
-	@echo "make mfhdfclean   - cleans up NETCDF package(*.o,libmfhdf.a,..et)"
-	@echo "make mfhdfdistclean - cleans up NETCDF package including"
-	@echo "                       configuration(Makefiles,config.status,..)"
+ps: ps-recursive
 
-# target for recursive directory make
-subd:
-	@for dir in $(SUBDIRS); do \
-          (cd $$dir; echo Making \`$(TARG)\' in `pwd`; \
-              $(MAKE) $(MFLAGS) $(HDF_FLAGS) $(TARG)); \
-	done
+ps-am:
 
-subdn:
-	@for dir in $(SUBDIRS); do \
-          (cd $$dir; echo Making \`$(TARG)\' in `pwd`; \
-              $(MAKE) $(MFLAGS) $(NETCDF_FLAGS) $(TARG)); \
-	done
+uninstall-am: uninstall-info-am
 
-# For making distribution
-distdir = $(TOP_SRCDIR)/$(PACKAGE)-$(VERSION)
-dist: $(DISTFILES)
-	rm -rf $(distdir)
-	mkdir $(distdir)
-	chmod 777 $(distdir)
-	for subdir in $(OTHERDIRS); do \
-	  mkdir $(distdir)/$$subdir || exit 1; \
-	done
-	@for file in $(DISTFILES); do \
-	  ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
-	    || { echo copying $$file instead; \
-	    cp -p $(srcdir)/$$file $(distdir);}; \
-	done
-	for subdir in $(SUBDIRS); do \
-	  echo making $@ in $$subdir; \
-	  mkdir $(distdir)/$$subdir || exit 1; \
-	  (cd $$subdir && $(MAKE) $@) || exit 1; \
-	done
-	chmod -R a+r $(distdir)
-	tar chof $(distdir).tar $(distdir)
-	compress $(distdir).tar
-	rm -rf $(distdir)
+uninstall-info: uninstall-info-recursive
 
-ftp:	$(FTPDIR)/$(PACKAGE)-$(VERSION).tar.Z
-	test ! -h $(FTPDIR)/$(PACKAGE).tar.Z && exit 0; \
-	cd $(FTPDIR) || exit 1; \
-	rm $(PACKAGE).tar.Z || exit 1; \
-	ln -s $(PACKAGE)-$(VERSION).tar.Z $(PACKAGE).tar.Z;
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
+	clean-generic clean-recursive ctags ctags-recursive dist \
+	dist-all dist-gzip distcheck distclean distclean-generic \
+	distclean-recursive distclean-tags distcleancheck distdir \
+	distuninstallcheck dvi dvi-am dvi-recursive info info-am \
+	info-recursive install install-am install-data install-data-am \
+	install-data-recursive install-exec install-exec-am \
+	install-exec-recursive install-info install-info-am \
+	install-info-recursive install-man install-recursive \
+	install-strip installcheck installcheck-am installdirs \
+	installdirs-am installdirs-recursive maintainer-clean \
+	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
+	mostlyclean-generic mostlyclean-recursive pdf pdf-am \
+	pdf-recursive ps ps-am ps-recursive tags tags-recursive \
+	uninstall uninstall-am uninstall-info-am \
+	uninstall-info-recursive uninstall-recursive
 
-$(FTPDIR)/$(PACKAGE)-$(VERSION).tar.Z:	$(PACKAGE)-$(VERSION).tar.Z
-	cp $(PACKAGE)-$(VERSION).tar.Z $@ 
-	chmod u+rw,g+rw,o=r $@
-
-tar.Z:	$(PACKAGE)-$(VERSION).tar.Z
-
-$(PACKAGE)-$(VERSION).tar.Z:	MANIFEST
-	dir=`basename \`pwd\`` \
-	&& id=$(PACKAGE)-$(VERSION) \
-	&& cd .. \
-	&& ln -s $$dir $$id \
-	&& tar -chof - `sed "s|^|$$id/|" $$id/MANIFEST` \
-	    | compress > $$id/$@ \
-	&& rm $$id
-
-MANIFEST:	FORCE_IT
-	@echo 1>&2 Creating MANIFEST
-	@$(MAKE) -s $(MFLAGS) $(LOCAL_MACROS) MANIFEST.echo > $@
-
-MANIFEST.echo:	FORCE_IT
-	@$(MAKE) -s $(MFLAGS) $(LOCAL_MACROS) \
-	    MANIFEST=`echo $(MANIFEST) | sed 's/MANIFEST//'` \
-	    ensure_manifest > /dev/null
-	@echo $(MANIFEST) | fmt -1
-	@if [ -n "$(SUBDIRS)" ]; then \
-	    subdirs="$(SUBDIRS)"; \
-	    for subdir in $$subdirs; do \
-		(cd $$subdir && \
-	        echo 1>&2 Creating $@ in `pwd` && \
-		$(MAKE) $(MFLAGS) $(LOCAL_MACROS) MANIFEST.echo | \
-		    sed "s|^|$$subdir/|") || exit 1; \
-	    done; \
-	else \
-	    :; \
-	fi
-
-ensure_manifest:	$(MANIFEST)
-
-# For the justification of the following Makefile rules, see node
-# `Automatic Remaking' in GNU Autoconf documentation.
-#
-#Makefile: $(TOP_SRCDIR)/config.status Makefile.in
-#	CONFIG_FILES=$@ CONFIG_HEADERS= $(TOP_SRCDIR)/config.status
-
-#config.h: stamp-h
-
-#stamp-h: $(TOP_SRCDIR)/config.status $(srcdir)/config.h.in
-#	CONFIG_FILES= CONFIG_HEADERS=config.h $(TOP_SRCDIR)/config.status
-
-#config.status: configure
-#	$(TOP_SRCDIR)/config.status --recheck
-
-#configure: configure.in
-#	cd $(srcdir) && autoconf
-
-#config.h.in: stamp-h.in
-
-#stamp-h.in: configure.in
-#	cd $(srcdir) && autoheader
-# Use echo instead of date to avoid spurious conflicts for
-# people who use CVS, since stamp-h.in is distributed.
-#	echo > $(srcdir)/$@
-
-# Tell versions [3.59,3.63) of GNU make not to export all variables.
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
-
-# dummy target as a dependency for forcing a rule to be always executed
-FORCE_IT:

Modified: packages/libhdf4/trunk/README
===================================================================
--- packages/libhdf4/trunk/README	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/README	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,4 +1,4 @@
-               README for HDF 4.1r4 Version
+               README for HDF 4.1r5 Version
                ----------------------------
 
 Obtaining the latest version
@@ -17,7 +17,7 @@
    hdf    -- contains the source code for the HDF 'base library', the 
              the multi_file annotation interface, the multi_file raster
              image interface, HDF command line utilities (hdp, the hdf 
-             dumper is in mfhdf/), Pablo instrumentation support, 
+             dumper is in mfhdf/), 
              and a test suite. It also contains the software
              distributions for IJPEG(hdf/jpeg) and ZLIB(hdf/zlib) 
              which are required by the HDF library. 
@@ -43,10 +43,6 @@
 
  2. ZLIB 1.1.3(libz.a) distribution.  
 
- Both of these distributions are included with this distribution
- in 'hdf/jpeg' and 'hdf/zlib'. The HDF/mfhdf base distribution
- in known to work with these versions only.
-
 System Requirements
 -------------------
  To build the HDF library from source, you need:

Modified: packages/libhdf4/trunk/Win32.nofortran.zip
===================================================================
(Binary files differ)

Modified: packages/libhdf4/trunk/Win32.zip
===================================================================
(Binary files differ)

Copied: packages/libhdf4/trunk/aclocal.m4 (from rev 832, packages/libhdf4/branches/upstream/current/aclocal.m4)
===================================================================
--- packages/libhdf4/trunk/aclocal.m4	                        (rev 0)
+++ packages/libhdf4/trunk/aclocal.m4	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,907 @@
+# generated automatically by aclocal 1.7.7 -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+# Do all the work for Automake.                            -*- Autoconf -*-
+
+# This macro actually does too much some checks are only needed if
+# your package does certain things.  But this isn't really a big deal.
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 10
+
+AC_PREREQ([2.54])
+
+# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
+# the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition.  After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
+# test to see if srcdir already configured
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
+   test -f $srcdir/config.status; then
+  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+  if (cygpath --version) >/dev/null 2>/dev/null; then
+    CYGPATH_W='cygpath -w'
+  else
+    CYGPATH_W=echo
+  fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
+AM_MISSING_PROG(AUTOCONF, autoconf)
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
+AM_MISSING_PROG(AUTOHEADER, autoheader)
+AM_MISSING_PROG(MAKEINFO, makeinfo)
+AM_MISSING_PROG(AMTAR, tar)
+AM_PROG_INSTALL_SH
+AM_PROG_INSTALL_STRIP
+# We need awk for the "check" target.  The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+                  [_AM_DEPENDENCIES(CC)],
+                  [define([AC_PROG_CC],
+                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+                  [_AM_DEPENDENCIES(CXX)],
+                  [define([AC_PROG_CXX],
+                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+])
+])
+
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated.  The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+  case $_am_header in
+    $1 | $1:* )
+      break ;;
+    * )
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+  esac
+done
+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
+
+# Copyright 2002  Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION so it can be traced.
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+	 [AM_AUTOMAKE_VERSION([1.7.7])])
+
+# Helper functions for option handling.                    -*- Autoconf -*-
+
+# Copyright 2001, 2002  Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 2
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# ------------------------------
+# Set option NAME.  Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ----------------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+#
+# Check to make sure that the build environment is sane.
+#
+
+# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 3
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Just in case
+sleep 1
+echo timestamp > conftest.file
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments.  Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+   if test "$[*]" = "X"; then
+      # -L didn't work.
+      set X `ls -t $srcdir/configure conftest.file`
+   fi
+   rm -f conftest.file
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+      # If neither matched, then we have a broken ls.  This can happen
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
+      # broken ls alias from the environment.  This has actually
+      # happened.  Such a system could not be considered "sane".
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
+alias in your environment])
+   fi
+
+   test "$[2]" = conftest.file
+   )
+then
+   # Ok.
+   :
+else
+   AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT(yes)])
+
+#  -*- Autoconf -*-
+
+
+# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 3
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it supports --run.
+# If it does, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+  am_missing_run="$MISSING --run "
+else
+  am_missing_run=
+  AC_MSG_WARN([`missing' script is too old or missing])
+fi
+])
+
+# AM_AUX_DIR_EXPAND
+
+# Copyright 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory.  The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run.  This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+#    fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+#    fails if $ac_aux_dir is absolute,
+#    fails when called from a subdirectory in a VPATH build with
+#          a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir.  In an in-source build this is usually
+# harmless because $srcdir is `.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+#   MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH.  The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+# Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])
+
+AC_DEFUN([AM_AUX_DIR_EXPAND], [
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+
+# Copyright 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
+AC_SUBST(install_sh)])
+
+# AM_PROG_INSTALL_STRIP
+
+# Copyright 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# One issue with vendor `install' (even GNU) is that you can't
+# specify the program used to strip binaries.  This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in `make install-strip', and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'.  However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
+if test "$cross_compiling" != no; then
+  AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+#                                                          -*- Autoconf -*-
+# Copyright (C) 2003  Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 1
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot.  For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+  am__leading_dot=.
+else
+  am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# serial 5						-*- Autoconf -*-
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery.  Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
+                   [depcc="$$1"   am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+               [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+  # We make a subdir and do the tests there.  Otherwise we can end up
+  # making bogus files that we don't know about and never remove.  For
+  # instance it was reported that on HP-UX the gcc test will end up
+  # making a dummy file named `D' -- because `-MD' means `put the output
+  # in D'.
+  mkdir conftest.dir
+  # Copy depcomp to subdir because otherwise we won't find it if we're
+  # using a relative directory.
+  cp "$am_depcomp" conftest.dir
+  cd conftest.dir
+  # We will build objects and dependencies in a subdirectory because
+  # it helps to detect inapplicable dependency modes.  For instance
+  # both Tru64's cc and ICC support -MD to output dependencies as a
+  # side effect of compilation, but ICC will put the dependencies in
+  # the current directory while Tru64 will put them in the object
+  # directory.
+  mkdir sub
+
+  am_cv_$1_dependencies_compiler_type=none
+  if test "$am_compiler_list" = ""; then
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+  fi
+  for depmode in $am_compiler_list; do
+    # Setup a source with many dependencies, because some compilers
+    # like to wrap large dependency lists on column 80 (with \), and
+    # we should not choose a depcomp mode which is confused by this.
+    #
+    # We need to recreate these files for each test, as the compiler may
+    # overwrite some of them when testing with obscure command lines.
+    # This happens at least with the AIX C compiler.
+    : > sub/conftest.c
+    for i in 1 2 3 4 5 6; do
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
+      : > sub/conftst$i.h
+    done
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+    case $depmode in
+    nosideeffect)
+      # after this tag, mechanisms are not by side-effect, so they'll
+      # only be used when explicitly requested
+      if test "x$enable_dependency_tracking" = xyes; then
+	continue
+      else
+	break
+      fi
+      ;;
+    none) break ;;
+    esac
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle `-M -o', and we need to detect this.
+    if depmode=$depmode \
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+         >/dev/null 2>conftest.err &&
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+      # icc doesn't choke on unknown options, it will just issue warnings
+      # (even with -Werror).  So we grep stderr for any message
+      # that says an option was ignored.
+      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
+        am_cv_$1_dependencies_compiler_type=$depmode
+        break
+      fi
+    fi
+  done
+
+  cd ..
+  rm -rf conftest.dir
+else
+  am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
+AC_DEFUN([AM_SET_DEPDIR],
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+
+
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE(dependency-tracking,
+[  --disable-dependency-tracking Speeds up one-time builds
+  --enable-dependency-tracking  Do not reject slow dependency extractors])
+if test "x$enable_dependency_tracking" != xno; then
+  am_depcomp="$ac_aux_dir/depcomp"
+  AMDEPBACKSLASH='\'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])
+])
+
+# Generate code to set up dependency tracking.   -*- Autoconf -*-
+
+# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+#serial 2
+
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[for mf in $CONFIG_FILES; do
+  # Strip MF so we end up with the name of the file.
+  mf=`echo "$mf" | sed -e 's/:.*$//'`
+  # Check whether this is an Automake generated Makefile or not.
+  # We used to match only the files named `Makefile.in', but
+  # some people rename them; so instead we look at the file content.
+  # Grep'ing the first line is not enough: some people post-process
+  # each Makefile.in and add a new line on top of each file to say so.
+  # So let's grep whole file.
+  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
+    dirpart=`AS_DIRNAME("$mf")`
+  else
+    continue
+  fi
+  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
+  # Extract the definition of DEP_FILES from the Makefile without
+  # running `make'.
+  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
+  test -z "$DEPDIR" && continue
+  # When using ansi2knr, U may be empty or an underscore; expand it
+  U=`sed -n -e '/^U = / s///p' < "$mf"`
+  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
+  # We invoke sed twice because it is the simplest approach to
+  # changing $(DEPDIR) to its actual value in the expansion.
+  for file in `sed -n -e '
+    /^DEP_FILES = .*\\\\$/ {
+      s/^DEP_FILES = //
+      :loop
+	s/\\\\$//
+	p
+	n
+	/\\\\$/ b loop
+      p
+    }
+    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
+       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+    # Make sure the directory exists.
+    test -f "$dirpart/$file" && continue
+    fdir=`AS_DIRNAME(["$file"])`
+    AS_MKDIR_P([$dirpart/$fdir])
+    # echo "creating $dirpart/$file"
+    echo '# dummy' > "$dirpart/$file"
+  done
+done
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled.  FIXME.  This creates each `.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+
+# Check to see how 'make' treats includes.	-*- Autoconf -*-
+
+# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 2
+
+# AM_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+	@echo done
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# We grep out `Entering directory' and `Leaving directory'
+# messages which can occur if `w' ends up in MAKEFLAGS.
+# In particular we don't look at `^make:' because GNU make might
+# be invoked under some other name (usually "gmake"), in which
+# case it prints its new name instead of `make'.
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
+   am__include=include
+   am__quote=
+   _am_result=GNU
+fi
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+   echo '.include "confinc"' > confmf
+   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
+      am__include=.include
+      am__quote="\""
+      _am_result=BSD
+   fi
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+
+# AM_CONDITIONAL                                              -*- Autoconf -*-
+
+# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 5
+
+AC_PREREQ(2.52)
+
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
+        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])
+AC_SUBST([$1_FALSE])
+if $2; then
+  $1_TRUE=
+  $1_FALSE='#'
+else
+  $1_TRUE='#'
+  $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+  AC_MSG_ERROR([conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.])
+fi])])
+
+# Add --enable-maintainer-mode option to configure.
+# From Jim Meyering
+
+# Copyright 1996, 1998, 2000, 2001, 2002  Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 2
+
+AC_DEFUN([AM_MAINTAINER_MODE],
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+  dnl maintainer-mode is disabled by default
+  AC_ARG_ENABLE(maintainer-mode,
+[  --enable-maintainer-mode enable make rules and dependencies not useful
+                          (and sometimes confusing) to the casual installer],
+      USE_MAINTAINER_MODE=$enableval,
+      USE_MAINTAINER_MODE=no)
+  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
+  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
+  MAINT=$MAINTAINER_MODE_TRUE
+  AC_SUBST(MAINT)dnl
+]
+)
+
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
+
+
+# Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 3
+
+AC_PREREQ(2.50)
+
+# AM_PROG_LEX
+# -----------
+# Autoconf leaves LEX=: if lex or flex can't be found.  Change that to a
+# "missing" invocation, for better error output.
+AC_DEFUN([AM_PROG_LEX],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
+AC_REQUIRE([AC_PROG_LEX])dnl
+if test "$LEX" = :; then
+  LEX=${am_missing_run}flex
+fi])
+

Copied: packages/libhdf4/trunk/bin (from rev 832, packages/libhdf4/branches/upstream/current/bin)

Copied: packages/libhdf4/trunk/config/BlankForm (from rev 832, packages/libhdf4/branches/upstream/current/config/BlankForm)
===================================================================
--- packages/libhdf4/trunk/config/BlankForm	                        (rev 0)
+++ packages/libhdf4/trunk/config/BlankForm	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,160 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC="/some/default/compiler/named/foo -ansi"
+  CC_BASENAME=foo
+fi
+
+if test "X-$F77" = "X-"; then
+  F77="/some/default/compiler/named/foo -ansi"
+  F77_BASENAME=foo
+fi
+
+if test "X-$CXX" = "X-"; then
+  CXX="/some/default/compiler/named/foo -ansi"
+  CXX_BASENAME=foo
+fi
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -fverbose-asm"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O3 -fomit-frame-pointer"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS -ansi"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS -Wsign-compare"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  *)
+    FFLAGS="$FFLAGS -ansi"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+case $CXX_BASENAME in 
+  g++)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g -fverbose-asm"
+    PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+
+  *)
+    CXXFLAGS="$CXXFLAGS -ansi"
+    DEBUG_CXXFLAGS="-g"
+    PROD_CXXFLAGS="-O"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Copied: packages/libhdf4/trunk/config/freebsd (from rev 832, packages/libhdf4/branches/upstream/current/config/freebsd)
===================================================================
--- packages/libhdf4/trunk/config/freebsd	                        (rev 0)
+++ packages/libhdf4/trunk/config/freebsd	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,160 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=gcc
+  CC_BASENAME=gcc
+fi
+
+if test "X-$F77" = "X-"; then
+  F77=f77
+  F77_BASENAME=f77
+fi
+
+if test "X-$CXX" = "X-"; then
+  CXX=g++
+  CXX_BASENAME=g++
+fi
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -ansi -Wall -pedantic "
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-ansi -Wall -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wmissing-prototypes -Wnested-externs -pedantic -O2"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS -ansi"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  *)
+    FFLAGS="$FFLAGS -ansi"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+case $CXX_BASENAME in 
+  g++)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g -fverbose-asm"
+    PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+
+  *)
+    CXXFLAGS="$CXXFLAGS -ansi"
+    DEBUG_CXXFLAGS="-g"
+    PROD_CXXFLAGS="-O"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Copied: packages/libhdf4/trunk/config/hpux11.00 (from rev 832, packages/libhdf4/branches/upstream/current/config/hpux11.00)
===================================================================
--- packages/libhdf4/trunk/config/hpux11.00	                        (rev 0)
+++ packages/libhdf4/trunk/config/hpux11.00	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,160 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=cc
+  CC_BASENAME=cc
+fi
+
+if test "X-$F77" = "X-"; then
+  F77=fort77
+  F77_BASENAME=fort77
+fi
+
+if test "X-$CXX" = "X-"; then
+  CXX=aCC
+  CXX_BASENAME=aCC
+fi
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -fverbose-asm"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O3 -fomit-frame-pointer"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS -Ae"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O -s"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS -Wsign-compare"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  *)
+    FFLAGS="$FFLAGS "
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O -s"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+case $CXX_BASENAME in 
+  g++)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g -fverbose-asm"
+    PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+
+  *)
+    CXXFLAGS="$CXXFLAGS -ansi"
+    DEBUG_CXXFLAGS="-g"
+    PROD_CXXFLAGS="-O"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Copied: packages/libhdf4/trunk/config/ia64-linux-gnu (from rev 832, packages/libhdf4/branches/upstream/current/config/ia64-linux-gnu)
===================================================================
--- packages/libhdf4/trunk/config/ia64-linux-gnu	                        (rev 0)
+++ packages/libhdf4/trunk/config/ia64-linux-gnu	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,160 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=ecc
+  CC_BASENAME=ecc
+fi
+
+if test "X-$F77" = "X-"; then
+  F77=efc
+  F77_BASENAME=efc
+fi
+
+if test "X-$CXX" = "X-"; then
+  CXX=ecc
+  CXX_BASENAME=ecc
+fi
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -fverbose-asm"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O3 -fomit-frame-pointer"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS -Wsign-compare"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  *)
+    FFLAGS="$FFLAGS"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+case $CXX_BASENAME in 
+  g++)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g -fverbose-asm"
+    PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+
+  *)
+    CXXFLAGS="$CXXFLAGS -ansi"
+    DEBUG_CXXFLAGS="-g"
+    PROD_CXXFLAGS="-O"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Copied: packages/libhdf4/trunk/config/irix6.x (from rev 832, packages/libhdf4/branches/upstream/current/config/irix6.x)
===================================================================
--- packages/libhdf4/trunk/config/irix6.x	                        (rev 0)
+++ packages/libhdf4/trunk/config/irix6.x	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,160 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=cc
+  CC_BASENAME=cc
+fi
+
+if test "X-$F77" = "X-"; then
+  F77=f90
+  F77_BASENAME=f90
+fi
+
+if test "X-$CXX" = "X-"; then
+  CXX=CC
+  CXX_BASENAME=CC
+fi
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -fverbose-asm"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O3 -fomit-frame-pointer"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS -ansi -s -woff 1429,1521"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS -Wsign-compare"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  *)
+    FFLAGS="$FFLAGS -ansi -s"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+case $CXX_BASENAME in 
+  g++)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g -fverbose-asm"
+    PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+
+  *)
+    CXXFLAGS="$CXXFLAGS -ansi"
+    DEBUG_CXXFLAGS="-g"
+    PROD_CXXFLAGS="-O"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Copied: packages/libhdf4/trunk/config/linux-gnu (from rev 832, packages/libhdf4/branches/upstream/current/config/linux-gnu)
===================================================================
--- packages/libhdf4/trunk/config/linux-gnu	                        (rev 0)
+++ packages/libhdf4/trunk/config/linux-gnu	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,164 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=gcc
+  CC_BASENAME=gcc
+fi
+
+if test "X-$F77" = "X-"; then
+  F77=g77
+  F77_BASENAME=g77
+
+else
+    case $F77 in
+        # The PGI and Intel compilers are automatically detected below
+        f95*|pgf90*)
+            ;;
+
+        *)
+            # Figure out which compiler we are using: pgf90 or Absoft f95
+            RM='rm -f'
+            tmpfile=/tmp/cmpver.$$
+            $F77 -V >$tmpfile
+            if test -s "$tmpfile"; then 
+                if( grep -s 'Absoft' $tmpfile > /dev/null) then
+                    F77_BASENAME=f95
+                fi 
+                if( grep -s 'pgf90' $tmpfile > /dev/null) then
+                    F77_BASENAME=pgf90
+                fi 
+            fi
+            $RM $tmpfile
+            ;;
+    esac
+fi
+
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -fverbose-asm"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O3 -fomit-frame-pointer"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS -Wsign-compare"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  f95)
+    CFLAGS="$CFLAGS -DH4_ABSOFT"
+    FFLAGS="$FFLAGS -YEXT_NAMES=UCS"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Deleted: packages/libhdf4/trunk/config/mh-aix
===================================================================
--- packages/libhdf4/trunk/config/mh-aix	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-aix	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,182 +0,0 @@
-# $Id: mh-aix,v 1.14 1998/09/16 19:31:09 dwells Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi 
-#
-#Using ANSI compilier
-CC= xlc -qlanglvl=ansi
-#CC= gcc
-CFLAGS= -O
-
-# Fortran compilier
-FC = f77
-FFLAGS = -O
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = ranlib
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = ru
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-#LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= aix
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 

Deleted: packages/libhdf4/trunk/config/mh-alpha
===================================================================
--- packages/libhdf4/trunk/config/mh-alpha	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-alpha	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,183 +0,0 @@
-# $Id: mh-alpha,v 1.16 2000/03/01 17:11:44 epourmal Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-# This file is used for both the DEC Unix and Linux operating systems, running
-#    on DEC Alpha CPUs
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi 
-#
-#Using ANSI compilier
-CC=cc
-CFLAGS= -Olimit 2048 -std1
-
-# Fortran compilier
-FC = f77 
-FFLAGS = 
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = ranlib
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = ru
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= osf
-
-CPP      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-SWAP          = -DSWAP
-#SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -D_GNU_SOURCE
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS#
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 

Deleted: packages/libhdf4/trunk/config/mh-decstation
===================================================================
--- packages/libhdf4/trunk/config/mh-decstation	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-decstation	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,181 +0,0 @@
-# $Id: mh-decstation,v 1.11 1998/09/16 19:31:11 dwells Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi 
-#
-#Using ANSI compilier
-CC=gcc
-CFLAGS= -ansi
-
-# Fortran compilier
-FC = f77
-FFLAGS =
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = ranlib
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = r
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-#LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= ultrix
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 
-

Deleted: packages/libhdf4/trunk/config/mh-fbsd
===================================================================
--- packages/libhdf4/trunk/config/mh-fbsd	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-fbsd	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,185 +0,0 @@
-# $Id: mh-fbsd,v 1.20 2000/08/29 13:55:16 koziol Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-CFLAGS=-ansi -Wall -pedantic -g
-#CFLAGS=-ansi -Wall -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wmissing-prototypes -Wnested-externs -pedantic -O2
-#CFLAGS=-ansi -Wall -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wnested-externs -pedantic -O2
-#
-#Using ANSI compilier
-CC=cc
-#CFLAGS=
-
-# Fortran compilier
-FC = f77
-FFLAGS = -O
-#FFLAGS = -g
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = ranlib
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = r
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-#LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= freebsd
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-SWAP          = -DSWAP
-#SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-#XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 
-

Deleted: packages/libhdf4/trunk/config/mh-fujivp
===================================================================
--- packages/libhdf4/trunk/config/mh-fujivp	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-fujivp	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,184 +0,0 @@
-# $Id: mh-fujivp,v 1.6 1998/09/16 19:31:12 dwells Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi
-#CFLAGS=-ansi -Wall -pedantic -g
-#
-#Using ANSI compilier
-CC=cc
-CFLAGS=-O
-
-# Fortran compilier
-FC = NONE
-#FC = frt
-FFLAGS = -Ab -Sw
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = true
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = rs
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier, Fujitsu?
-LIBSX=-lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for  File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd, fujivp
-OS = fujivp
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-#XDR_LIBOBJS    =
-
-# Location of library, sometimes the sunos requires -lsun
-# Fujitsu requires -lnsl
-LD_XDR		= -lnsl
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 

Deleted: packages/libhdf4/trunk/config/mh-hpux
===================================================================
--- packages/libhdf4/trunk/config/mh-hpux	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-hpux	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,183 +0,0 @@
-# $Id: mh-hpux,v 1.21 1999/05/04 18:12:06 bljones Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi -g
-#
-#Using HP-ANSI compilier also needs LIBSX = -lm(see below)
-CC=cc
-CFLAGS=-Ae -s
-
-# Fortran compilier, possible values fort77, f77, cf77 and fc
-FC = f77
-FFLAGS = -s
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = true
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = r
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= hpux
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= $(TOP_SRCDIR)/mfhdf/port/uddummy.o 
-
-

Deleted: packages/libhdf4/trunk/config/mh-hpux11
===================================================================
--- packages/libhdf4/trunk/config/mh-hpux11	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-hpux11	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,183 +0,0 @@
-# $Id: mh-hpux11,v 1.1 2000/08/30 18:41:46 wendling Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi -g
-#
-#Using HP-ANSI compilier also needs LIBSX = -lm(see below)
-CC=cc
-CFLAGS=-Ae -s
-
-# Fortran compilier, possible values fort77, f77, cf77 and fc
-FC = f77
-FFLAGS = -s
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = true
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = r
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-LIBSX = -lm -lnsl
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= hpux
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= $(TOP_SRCDIR)/mfhdf/port/uddummy.o 
-
-

Deleted: packages/libhdf4/trunk/config/mh-ia64
===================================================================
--- packages/libhdf4/trunk/config/mh-ia64	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-ia64	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,182 +0,0 @@
-# $Id: mh-ia64,v 1.1 2000/05/23 18:07:01 acheng Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-# This file is used for IA64 running Linux
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi 
-#
-#Using ANSI compilier
-CC=cc
-CFLAGS= -DNDEBUG -DHDF -DBIG_LONGS -DIA64
-
-# Fortran compilier
-FC = f90
-FFLAGS = 
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = ranlib
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = ru
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= Linux
-
-CPP      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-SWAP          = -DSWAP
-#SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -D_GNU_SOURCE
-#
-# for IRIX6(64-bit) 
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -DIA64
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 

Deleted: packages/libhdf4/trunk/config/mh-irix32
===================================================================
--- packages/libhdf4/trunk/config/mh-irix32	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-irix32	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,195 +0,0 @@
-# $Id: mh-irix32,v 1.17 2000/08/29 00:30:39 acheng Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Machine/OS: SGI/IRIX 6.x (32-bit mode)
-#
-# This uses the -n32 options.
-# If you prefer other options like, you may change them in
-# the following CFLAGS and FFLAGS.
-# See also the netCDF section dealing with CPPFLAGS_HDF to
-# change the options there too.
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi 
-#
-# Using ANSI compilier
-CC=cc
-# IRIX 6.1 has an error in its system include file, stdio.h,
-# that gives incorrect warning message when both "-n32" and "-ansi"
-# flags are used.
-# Turn off some incorrect or harmless warnings.
-# 1521 -- about #ident not standard.  SGI puts them in their system header files
-warn=-woff 1521
-CFLAGS=-ansi -n32 -O -s $(warn)
-
-# Fortran compilier
-FC = f90
-FFLAGS =-n32 -O -s
-
-# Name of archive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = true
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = rs
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-#LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= irix
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = -64 $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.x (32-bit mode).
-CPPFLAGS_HDF  = -n32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-#CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 
-

Deleted: packages/libhdf4/trunk/config/mh-irix5
===================================================================
--- packages/libhdf4/trunk/config/mh-irix5	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-irix5	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,185 +0,0 @@
-# $Id: mh-irix5,v 1.15 1998/09/16 19:31:15 dwells Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi 
-#
-#Using ANSI compilier
-CC=cc
-#CFLAGS=-ansi -O -s -pedantic -fullwarn -wlint,-p -woff 828,841,822
-#CFLAGS=-ansi -O -s -pedantic -fullwarn -wlint,-p -woff 828,841,822,826,852,813
-CFLAGS=-ansi -O -s
-#CFLAGS=-ansi -g
-
-# Fortran compilier
-FC = f77
-FFLAGS = -O -s
-
-# Name of archive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = true
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = rs
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-#LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= irix
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 
-

Deleted: packages/libhdf4/trunk/config/mh-irix6
===================================================================
--- packages/libhdf4/trunk/config/mh-irix6	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-irix6	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,185 +0,0 @@
-# $Id: mh-irix6,v 1.17 2000/08/29 00:30:39 acheng Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi 
-#
-# Using ANSI compilier
-CC=cc
-# turn off some incorrect or harmless warnings.
-# 1429 -- about long long as non-standard.  It is in the new C standard.
-# 1521 -- about #ident not standard.  SGI puts them in their system header files
-warn=-woff 1429,1521
-CFLAGS=-ansi -64 -O -s $(warn)
-
-# Fortran compilier
-FC = f90
-FFLAGS =-64 -O -s
-
-# Name of archive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = true
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = rs
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-#LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= irix
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-CPPFLAGS_HDF  = -ansi -64 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.x (32-bit mode).
-# CPPFLAGS_HDF  = -n32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-#CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 
-

Deleted: packages/libhdf4/trunk/config/mh-linux
===================================================================
--- packages/libhdf4/trunk/config/mh-linux	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-linux	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,179 +0,0 @@
-# $Id: mh-linux,v 1.14 1999/05/04 17:39:49 mcgrath Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-CC=gcc
-CFLAGS=-ansi
-
-# Fortran compilier
-#FC = f77
-#FC = NONE
-FC = g77
-FFLAGS = 
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = ranlib
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = r
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-#LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= Linux
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-#CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-#LEX	= lex    # GNU flex?
-LEX	= flex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 
-

Deleted: packages/libhdf4/trunk/config/mh-mac
===================================================================
--- packages/libhdf4/trunk/config/mh-mac	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-mac	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,187 +0,0 @@
-# $Id: mh-mac,v 1.6 1999/05/04 21:48:16 smitchel Exp $
-
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# This is a fake makefile fragment for the Macintosh
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-#
-# Compiliers:
-# For gcc version
-CC=gcc
-CFLAGS=-ansi -O
-#CFLAGS=-ansi -Wall -pedantic -g
-#
-#Using ANSI compilier
-#CC=cc
-#CFLAGS=
-
-# Fortran compilier
-FC = f77
-FFLAGS =
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = ranlib
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = ru
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-# LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= sunos
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 
-

Deleted: packages/libhdf4/trunk/config/mh-solaris
===================================================================
--- packages/libhdf4/trunk/config/mh-solaris	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-solaris	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,184 +0,0 @@
-# $Id: mh-solaris,v 1.15 1998/09/16 19:31:17 dwells Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi 
-#
-#Using ANSI compilier also needs LIBSX = -lm(see below)
-CC=cc
-#CFLAGS= -Xc -xO2 -g -v
-CFLAGS= -Xc -xO2
-
-# Fortran compilier
-FC = f77
-#FFLAGS = -g
-FFLAGS = -O
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = true
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = ru
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= solaris
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-# Solaris requires -lnsl
-LD_XDR		= -lnsl
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 
-

Deleted: packages/libhdf4/trunk/config/mh-solarisx86
===================================================================
--- packages/libhdf4/trunk/config/mh-solarisx86	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-solarisx86	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,182 +0,0 @@
-# $Id: mh-solarisx86,v 1.11 1998/09/16 19:31:18 dwells Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-CC=gcc
-CFLAGS=-ansi -O
-#
-#Using ANSI compilier
-#CC=cc
-#CFLAGS= -Xa
-
-# Fortran compilier
-FC = NONE
-FFLAGS = -O
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = true
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = ru
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-#LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= solarisx86
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-SWAP          = -DSWAP
-#SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-# Solaris requires -lnsl
-LD_XDR      = -lnsl
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 

Deleted: packages/libhdf4/trunk/config/mh-sun
===================================================================
--- packages/libhdf4/trunk/config/mh-sun	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-sun	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,183 +0,0 @@
-# $Id: mh-sun,v 1.15 1998/09/16 19:31:19 dwells Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-CC=gcc
-CFLAGS=-ansi  
-#CFLAGS=-ansi -Wall -pedantic -g
-#
-#Using ANSI compilier
-#CC=cc
-#CFLAGS=
-
-# Fortran compilier
-FC = f77
-FFLAGS = -f
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = ranlib
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = ru
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-#LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= sunos
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 
-

Deleted: packages/libhdf4/trunk/config/mh-t3e
===================================================================
--- packages/libhdf4/trunk/config/mh-t3e	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-t3e	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,184 +0,0 @@
-# $Id: mh-t3e,v 1.10 1999/04/17 20:18:51 acheng Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi 
-#
-#Using ANSI compilier
-CC=cc
-CFLAGS=-X m -s
-
-# Fortran compilier
-# the -Wl"-Dpermok=yes" is for cld to permit execution mode on even if
-# warnings are encountered.
-FC = f90
-FFLAGS =-X m -Wl"-Dpermok=yes" -Wl"-s"
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = true
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = r
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-#LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= craympp
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-#CPP_XDR		= -I/usr/include/rpc
-CPP_XDR	= -I../xdr
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-#XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 
-

Deleted: packages/libhdf4/trunk/config/mh-unicos
===================================================================
--- packages/libhdf4/trunk/config/mh-unicos	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config/mh-unicos	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,182 +0,0 @@
-# $Id: mh-unicos,v 1.12 1998/09/16 19:31:20 dwells Exp $
-
-# You can override the following variables here
-#
-# Sections in Host makefile fragments
-# ----------------------------------:
-# 1. General Macros for HDF
-# 2. Macros for Pablo Instrumentation
-# 3. Macros for File Cache
-# 4. General macros for NETCDF
-# 4.1 XDR Macros for NETCDF
-# 4.2 libsrc Macros for NETCDF
-# 4.3 Port Macros for NETCDF
-#
-
-# ------------ General Macros for HDF --------------------
-# Version of the library
-PACKAGE	 = HDF
-VERSION  = 4.0
-#
-# Compiliers:
-# For gcc version
-#CC=gcc
-#CFLAGS=-ansi 
-#
-#Using ANSI compilier
-CC=cc
-CFLAGS=-O -s
-
-# Fortran compilier
-FC = f90
-FFLAGS =-O 1
-
-# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
-RANLIB = true
-
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = r
-
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
-
-# Extra libraries to be include like '-lm' for fabs()
-# e.g with naitve HP-ANSI compilier
-#LIBSX = -lm
-
-# ------------ Macros for Pablo Instrumentation  --------------------
-# Uncomment the following lines to create a Pablo Instrumentation
-# version of the HDF core library called 'libdf-inst.a'
-# See the documentation in the directory 'hdf/pablo' for further 
-# information about Pablo and what platforms it is supported on
-# before enabling. 
-# You need to set 'PABLO_INCDIR' to the Pablo distribution 
-# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
-
-#PABLO_FLAGS  = -DHAVE_PABLO
-#PABLO_INCDIR = /usr/local/include/pablo-5.1
-#PABLO_INCLUDE = -I$(PABLO_INCDIR)
-
-# ------------ Macros for File Cache(fmpool) ------
-# Uncomment the following lines to enable shared memory file buffer pool
-# version of the HDF core library libdf.a. Please read the
-# documentation before enabling this feature.
-
-#FMPOOL_FLAGS  = -DHAVE_FMPOOL
-
-# ------------ General Macros for NETCDF --------------------
-# Operating system, Used in fortran directory to generate fortran
-# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
-# unicos, convex, Linux, freebsd
-OS	= unicos
-
-CPP	      = $(CC) -E
-
-# for endianess, for little endian byte order need -DSWAP
-# for FreeBSD and Linux(anny x86 UNIX)
-#SWAP          = -DSWAP
-SWAP          = 
-
-# for 32bit 'network long' integer, possible value -DNETLONG=int
-NETLONG       = 
-
-# additional CFLAGS
-CFLAGS_NETCDF = 
-
-# Additional flags for preproccesor. Some no longer used because
-#   library now requires ANSI compilier.
-#
-# for no function prototypes add -DNO_HAVE_PROTOTYPES
-# for no strerror()          add -DNO_STRERROR
-# for no variadic function support add -DNO_STDARG
-#
-# They all require -DHDF and -DNDEBUG 
-# Any special preprocessor requirements go here
-#
-# for Unicos 
-CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
-#
-# for OSF(dec alpha) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
-#
-# for IRIX6(64-bit) 
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
-#
-# for AIX
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
-#
-# for Sunos and Linux
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DNO_STRERROR
-#
-# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32, 
-#  replace '-32' below
-# CPPFLAGS_HDF  = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-#
-# normal
-# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
-
-#
-# Unix commands/utilities
-#
-# neqn(1)
-NEQN	= neqn
-# tbl(1)
-TBL	= tbl
-# which(1)
-WHICH	= which
-# lex(1)
-LEX	= lex    # GNU flex?
-# yacc(1)
-YACC	= yacc   # GNU bison?
-
-#diff(1)
-DIFF    = diff   # GNU diff?
-DIFF_FLAGS = -w
-
-# Other Macros
-NCDUMP	= 
-NCGEN	= 
-FTPDIR	= 
-VERSION_NETCDF	= 2.3.2
-
-# ------------ XDR Macros for NETCDF --------------------
-# This is where the location of system XDR library includes
-# and location of the library are set
-#
-# Location of <xdr.h> if you are using the system
-# one, Else you need to comment it out
-CPP_XDR		= -I/usr/include/rpc
-#CPP_XDR =
-
-# If XDR library not present on the system then you need
-# uncomment the following and comment the one below it
-#XDR_LIBOBJS    = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
-XDR_LIBOBJS     =
-
-# Location of library, sometimes the sunos requires -lsun
-LD_XDR		= 
-
-#
-XDR_INSTALL_DEPS =
-
-# ------------ libsrc Macros for NETCDF --------------------
-# Possible values are xdrposix and xdrstdio
-# This sets which version of the XDR interface to use.
-XDRFILE		= xdrposix
-
-# ------------ Port Macros for NETCDF --------------------
-# Major and Minor numbe of NETCDF library version
-MAJOR_NO	= 2
-MINOR_NO	= 3
-PORT_CFORTRAN	= 
-NEED_FORTC	= 
-FORTC		= 
-
-# possible values are limits.h, float.h, stddef.h, stdlib.h,
-# string.h time.h signal.h unistd.h
-PORT_HEADERS	= 
-PORT_SUBDIRS    =
-LIBOBJS		= uddummy.o 
-

Copied: packages/libhdf4/trunk/config/osf5.x (from rev 832, packages/libhdf4/branches/upstream/current/config/osf5.x)
===================================================================
--- packages/libhdf4/trunk/config/osf5.x	                        (rev 0)
+++ packages/libhdf4/trunk/config/osf5.x	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,160 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=cc
+  CC_BASENAME=cc
+fi
+
+if test "X-$F77" = "X-"; then
+  F77=f77
+  F77_BASENAME=f77
+fi
+
+if test "X-$CXX" = "X-"; then
+  CXX=cxx
+  CXX_BASENAME=cxx
+fi
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -fverbose-asm"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS=
+    PROD_CPPFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS -Olimit 2048 -std1 -noso"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS -Wsign-compare"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  *)
+    FFLAGS="$FFLAGS -noso"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+case $CXX_BASENAME in 
+  g++)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g -fverbose-asm"
+    PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+
+  *)
+    CXXFLAGS="$CXXFLAGS -ansi"
+    DEBUG_CXXFLAGS="-g"
+    PROD_CXXFLAGS="-O"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Copied: packages/libhdf4/trunk/config/powerpc-apple (from rev 832, packages/libhdf4/branches/upstream/current/config/powerpc-apple)
===================================================================
--- packages/libhdf4/trunk/config/powerpc-apple	                        (rev 0)
+++ packages/libhdf4/trunk/config/powerpc-apple	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,172 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=gcc
+  CC_BASENAME=gcc
+fi
+#Make IBM xlf compiler a deafult
+if test "X-$F77" = "X-"; then
+  F77=xlf
+  F77_BASENAME=xlf
+
+else
+    case $F77 in
+        # The PGI and Intel compilers are automatically detected below
+        xlf*|f95*)
+            ;;
+
+        *)
+            # Figure out which compiler we are using: pgf90 or Absoft f95
+            RM='rm -f'
+            tmpfile=/tmp/cmpver.$$
+            $F77 -V >$tmpfile
+            if test -s "$tmpfile"; then 
+            #Absoft compiler f95 doesn't recognize -V flag; we will use
+            #the error message it produces to identify the compiler
+            #    if( grep -s 'Absoft' $tmpfile > /dev/null) then
+                if( grep -s 'ERROR: No input files' $tmpfile > /dev/null) then
+                    F77_BASENAME=f95
+                fi 
+                if( grep -s 'IBM XL' $tmpfile > /dev/null) then
+                    F77_BASENAME=xlf
+                fi 
+            fi
+            $RM $tmpfile
+            ;;
+    esac
+fi
+
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -ansi -Wall -pedantic "
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-ansi -Wall -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wmissing-prototypes -Wnested-externs -pedantic -O2"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS -ansi"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  xlf)
+    FFLAGS="$FFLAGS"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  f95)
+    #
+    # Assume Absoft compiler
+    #
+    # Set a flag for compiling C stubs
+    CFLAGS="$CFLAGS -DH4_ABSOFT"
+    FFLAGS="$FFLAGS -YEXT_NAMES=UCS"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Copied: packages/libhdf4/trunk/config/powerpc-ibm-aix5.x (from rev 832, packages/libhdf4/branches/upstream/current/config/powerpc-ibm-aix5.x)
===================================================================
--- packages/libhdf4/trunk/config/powerpc-ibm-aix5.x	                        (rev 0)
+++ packages/libhdf4/trunk/config/powerpc-ibm-aix5.x	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,160 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=xlc
+  CC_BASENAME=xlc
+fi
+
+if test "X-$F77" = "X-"; then
+  F77=xlf
+  F77_BASENAME=xlf
+fi
+
+if test "X-$CXX" = "X-"; then
+  CXX=xlC
+  CXX_BASENAME=xlC
+fi
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -fverbose-asm"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O3 -fomit-frame-pointer"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS -D_ALL_SOURCE -qlanglvl=ansi"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS -Wsign-compare"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  *)
+    FFLAGS="$FFLAGS"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+case $CXX_BASENAME in 
+  g++)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g -fverbose-asm"
+    PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+
+  *)
+    CXXFLAGS="$CXXFLAGS -ansi"
+    DEBUG_CXXFLAGS="-g"
+    PROD_CXXFLAGS="-O"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Copied: packages/libhdf4/trunk/config/solaris2.x (from rev 832, packages/libhdf4/branches/upstream/current/config/solaris2.x)
===================================================================
--- packages/libhdf4/trunk/config/solaris2.x	                        (rev 0)
+++ packages/libhdf4/trunk/config/solaris2.x	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,160 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=cc
+  CC_BASENAME=cc
+fi
+
+if test "X-$F77" = "X-"; then
+  F77=f77
+  F77_BASENAME=f77
+fi
+
+if test "X-$CXX" = "X-"; then
+  CXX=CC
+  CXX_BASENAME=CC
+fi
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS -ansi"
+    DEBUG_CFLAGS="-g "
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O3 "
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS -Xc"
+    DEBUG_CFLAGS="-g -v"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-xO2"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS -Wsign-compare"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  *)
+    FFLAGS="$FFLAGS -O"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+case $CXX_BASENAME in 
+  g++)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g -fverbose-asm"
+    PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+
+  *)
+    CXXFLAGS="$CXXFLAGS -ansi"
+    DEBUG_CXXFLAGS="-g"
+    PROD_CXXFLAGS="-O"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Copied: packages/libhdf4/trunk/config/sv1-cray (from rev 832, packages/libhdf4/branches/upstream/current/config/sv1-cray)
===================================================================
--- packages/libhdf4/trunk/config/sv1-cray	                        (rev 0)
+++ packages/libhdf4/trunk/config/sv1-cray	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,160 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=cc
+  CC_BASENAME=cc
+fi
+
+if test "X-$F77" = "X-"; then
+  F77=f90
+  F77_BASENAME=f90
+fi
+
+if test "X-$CXX" = "X-"; then
+  CXX=CC
+  CXX_BASENAME=CC
+fi
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -fverbose-asm"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O3 -fomit-frame-pointer"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS -O -s"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS -Wsign-compare"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  *)
+    FFLAGS="$FFLAGS -O 1"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+case $CXX_BASENAME in 
+  g++)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g -fverbose-asm"
+    PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+
+  *)
+    CXXFLAGS="$CXXFLAGS "
+    DEBUG_CXXFLAGS="-g"
+    PROD_CXXFLAGS="-O"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Copied: packages/libhdf4/trunk/config/unicos10.0.X (from rev 832, packages/libhdf4/branches/upstream/current/config/unicos10.0.X)
===================================================================
--- packages/libhdf4/trunk/config/unicos10.0.X	                        (rev 0)
+++ packages/libhdf4/trunk/config/unicos10.0.X	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,160 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=cc
+  CC_BASENAME=cc
+fi
+
+if test "X-$F77" = "X-"; then
+  F77=f90
+  F77_BASENAME=f90
+fi
+
+if test "X-$CXX" = "X-"; then
+  CXX=CC
+  CXX_BASENAME=CC
+fi
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -fverbose-asm"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O3 -fomit-frame-pointer"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS -s"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS -Wsign-compare"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  *)
+    FFLAGS="$FFLAGS -Wl"-s" "
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+case $CXX_BASENAME in 
+  g++)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g -fverbose-asm"
+    PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+
+  *)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g"
+    PROD_CXXFLAGS="-O"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Copied: packages/libhdf4/trunk/config/unicosmk2.0.6.X (from rev 832, packages/libhdf4/branches/upstream/current/config/unicosmk2.0.6.X)
===================================================================
--- packages/libhdf4/trunk/config/unicosmk2.0.6.X	                        (rev 0)
+++ packages/libhdf4/trunk/config/unicosmk2.0.6.X	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,160 @@
+#                                                   -*- shell-script -*-
+#
+# This file is part of the HDF4 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compilation modes.
+
+# Choosing C, Fortran, and C++ Compilers
+# --------------------------------------
+#
+# The user should be able to specify the compiler by setting the CC, F77,
+# and CXX environment variables to the name of the compiler and any
+# switches it requires for proper operation. If CC is unset then this
+# script may set it. If CC is unset by time this script completes then
+# configure will try `gcc' and `cc' in that order (perhaps some others
+# too).
+#
+# Note: Code later in this file may depend on the value of $CC_BASENAME
+#       in order to distinguish between different compilers when
+#       deciding which compiler command-line switches to use.  This
+#       variable is set based on the incoming value of $CC and is only
+#       used within this file.
+
+if test "X-$CC" = "X-"; then
+  CC=cc
+  CC_BASENAME=cc
+fi
+
+if test "X-$F77" = "X-"; then
+  F77=f90
+  F77_BASENAME=f90
+fi
+
+if test "X-$CXX" = "X-"; then
+  CXX=CC
+  CXX_BASENAME=CC
+fi
+
+# C, Fortran, and C++ Compiler and Preprocessor Flags
+# ---------------------------------------------------
+#
+# - Flags that end with `_CFLAGS' are always passed to the C compiler.
+# - Flags that end with `_FFLAGS' are always passed to the Fortran
+#   compiler.
+# - Flags that end with `_CXXFLAGS' are always passed to the C++ compiler.
+# - Flags that end with `_CPPFLAGS' are passed to the C and C++ compilers
+#   when compiling but not when linking.
+#
+#   DEBUG_CFLAGS
+#   DEBUG_FFLAGS
+#   DEBUG_CXXFLAGS
+#   DEBUG_CPPFLAGS  - Flags to pass to the compiler to create a
+#                     library suitable for use with debugging
+#			          tools. Usually this list will exclude
+#                     optimization switches (like `-O') and include
+#                     switches that turn on symbolic debugging support
+#                     (like `-g').
+#
+#   PROD_CFLAGS
+#   PROD_FFLAGS
+#   PROD_CXXFLAGS
+#   PROD_CPPFLAGS   - Flags to pass to the compiler to create a
+#                     production version of the library. These
+#                     usualy exclude symbolic debugging switches (like
+#                     `-g') and include optimization switches (like
+#                     `-O').
+#
+#   PROFILE_CFLAGS
+#   PROFILE_FFLAGS
+#   PROFILE_CXXFLAGS
+#   PROFILE_CPPFLAGS- Flags to pass to the compiler to create a
+#                     library suitable for performance testing (like
+#                     `-pg').  This may or may not include debugging or
+#                     production flags.
+#			
+#   FFLAGS
+#   CFLAGS          - Flags can be added to these variable which
+#                     might already be partially initialized. These
+#                     flags will always be passed to the compiler and
+#                     should include switches to turn on full warnings.
+#
+#                     WARNING: flags do not have to be added to the CFLAGS
+#                     or FFLAGS variable if the compiler is the GNU gcc
+#                     and g77 compiler.
+#
+#                     FFLAGS and CFLAGS should contain *something* or else
+#                     configure will probably add `-g'. For most systems
+#                     this isn't a problem but some systems will disable
+#                     optimizations in favor of the `-g'. The configure
+#                     script will remove the `-g' flag in production mode
+#                     only.
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string.  You
+# can use the value of $FOO_BASENAME which is the base name of the
+# first word in $FOO, where FOO is either CC, F77, or CXX (note that the
+# value of CC may have changed above).
+
+case $CC_BASENAME in
+  gcc)
+    CFLAGS="$CFLAGS"
+    DEBUG_CFLAGS="-g -fverbose-asm"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O3 -fomit-frame-pointer"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+
+  *)
+    CFLAGS="$CFLAGS -X m -s"
+    DEBUG_CFLAGS="-g"
+    DEBUG_CPPFLAGS=
+    PROD_CFLAGS="-O"
+    PROD_CPPFLAGS=
+    PROFILE_CFLAGS="-pg"
+    PROFILE_CPPFLAGS=
+    ;;
+esac
+
+case $F77_BASENAME in 
+  g77)
+    FFLAGS="$FFLAGS -Wsign-compare"
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_FFLAGS="-pg"
+    ;;
+
+  *)
+    FFLAGS="$FFLAGS -X m -Wl"-Dpermok=yes" -Wl"-s" "
+    DEBUG_FFLAGS="-g"
+    PROD_FFLAGS="-O"
+    PROFILE_FFLAGS="-pg"
+    ;;
+esac
+
+case $CXX_BASENAME in 
+  g++)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g -fverbose-asm"
+    PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+
+  *)
+    CXXFLAGS="$CXXFLAGS"
+    DEBUG_CXXFLAGS="-g"
+    PROD_CXXFLAGS="-O"
+    PROFILE_CXXFLAGS="-pg"
+    ;;
+esac
+
+# Overriding Configure Tests
+# --------------------------
+#
+# Values for overriding configuration tests when cross compiling.
+
+# Set this to `yes' or `no' depending on whether the target is big
+# endian or little endian.
+#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}

Deleted: packages/libhdf4/trunk/config.guess
===================================================================
--- packages/libhdf4/trunk/config.guess	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config.guess	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,1516 +0,0 @@
-#! /bin/sh
-# Attempt to guess a canonical system name.
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
-#   Inc.
-
-timestamp='2007-03-06'
-
-# This file is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
-# 02110-1301, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-
-# Originally written by Per Bothner <per at bothner.com>.
-# Please send patches to <config-patches at gnu.org>.  Submit a context
-# diff and a properly formatted ChangeLog entry.
-#
-# This script attempts to guess a canonical system name similar to
-# config.sub.  If it succeeds, it prints the system name on stdout, and
-# exits with 0.  Otherwise, it exits with 1.
-#
-# The plan is that this can be called by configure scripts if you
-# don't specify an explicit build system type.
-
-me=`echo "$0" | sed -e 's,.*/,,'`
-
-usage="\
-Usage: $0 [OPTION]
-
-Output the configuration name of the system \`$me' is run on.
-
-Operation modes:
-  -h, --help         print this help, then exit
-  -t, --time-stamp   print date of last modification, then exit
-  -v, --version      print version number, then exit
-
-Report bugs and patches to <config-patches at gnu.org>."
-
-version="\
-GNU config.guess ($timestamp)
-
-Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-Free Software Foundation, Inc.
-
-This is free software; see the source for copying conditions.  There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-
-help="
-Try \`$me --help' for more information."
-
-# Parse command line
-while test $# -gt 0 ; do
-  case $1 in
-    --time-stamp | --time* | -t )
-       echo "$timestamp" ; exit ;;
-    --version | -v )
-       echo "$version" ; exit ;;
-    --help | --h* | -h )
-       echo "$usage"; exit ;;
-    -- )     # Stop option processing
-       shift; break ;;
-    - )	# Use stdin as input.
-       break ;;
-    -* )
-       echo "$me: invalid option $1$help" >&2
-       exit 1 ;;
-    * )
-       break ;;
-  esac
-done
-
-if test $# != 0; then
-  echo "$me: too many arguments$help" >&2
-  exit 1
-fi
-
-trap 'exit 1' 1 2 15
-
-# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
-# compiler to aid in system detection is discouraged as it requires
-# temporary files to be created and, as you can see below, it is a
-# headache to deal with in a portable fashion.
-
-# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
-# use `HOST_CC' if defined, but it is deprecated.
-
-# Portable tmp directory creation inspired by the Autoconf team.
-
-set_cc_for_build='
-trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
-trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
-: ${TMPDIR=/tmp} ;
- { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
- { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
- { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
- { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
-dummy=$tmp/dummy ;
-tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
-case $CC_FOR_BUILD,$HOST_CC,$CC in
- ,,)    echo "int x;" > $dummy.c ;
-	for c in cc gcc c89 c99 ; do
-	  if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
-	     CC_FOR_BUILD="$c"; break ;
-	  fi ;
-	done ;
-	if test x"$CC_FOR_BUILD" = x ; then
-	  CC_FOR_BUILD=no_compiler_found ;
-	fi
-	;;
- ,,*)   CC_FOR_BUILD=$CC ;;
- ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
-esac ; set_cc_for_build= ;'
-
-# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
-# (ghazi at noc.rutgers.edu 1994-08-24)
-if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
-	PATH=$PATH:/.attbin ; export PATH
-fi
-
-UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
-UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
-UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
-UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
-
-# Note: order is significant - the case branches are not exclusive.
-
-case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
-    *:NetBSD:*:*)
-	# NetBSD (nbsd) targets should (where applicable) match one or
-	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
-	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
-	# switched to ELF, *-*-netbsd* would select the old
-	# object file format.  This provides both forward
-	# compatibility and a consistent mechanism for selecting the
-	# object file format.
-	#
-	# Note: NetBSD doesn't particularly care about the vendor
-	# portion of the name.  We always set it to "unknown".
-	sysctl="sysctl -n hw.machine_arch"
-	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
-	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
-	case "${UNAME_MACHINE_ARCH}" in
-	    armeb) machine=armeb-unknown ;;
-	    arm*) machine=arm-unknown ;;
-	    sh3el) machine=shl-unknown ;;
-	    sh3eb) machine=sh-unknown ;;
-	    sh5el) machine=sh5le-unknown ;;
-	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
-	esac
-	# The Operating System including object format, if it has switched
-	# to ELF recently, or will in the future.
-	case "${UNAME_MACHINE_ARCH}" in
-	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
-		eval $set_cc_for_build
-		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
-			| grep __ELF__ >/dev/null
-		then
-		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
-		    # Return netbsd for either.  FIX?
-		    os=netbsd
-		else
-		    os=netbsdelf
-		fi
-		;;
-	    *)
-	        os=netbsd
-		;;
-	esac
-	# The OS release
-	# Debian GNU/NetBSD machines have a different userland, and
-	# thus, need a distinct triplet. However, they do not need
-	# kernel version information, so it can be replaced with a
-	# suitable tag, in the style of linux-gnu.
-	case "${UNAME_VERSION}" in
-	    Debian*)
-		release='-gnu'
-		;;
-	    *)
-		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
-		;;
-	esac
-	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
-	# contains redundant information, the shorter form:
-	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
-	echo "${machine}-${os}${release}"
-	exit ;;
-    *:OpenBSD:*:*)
-	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
-	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
-	exit ;;
-    *:ekkoBSD:*:*)
-	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
-	exit ;;
-    *:SolidBSD:*:*)
-	echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
-	exit ;;
-    macppc:MirBSD:*:*)
-	echo powerpc-unknown-mirbsd${UNAME_RELEASE}
-	exit ;;
-    *:MirBSD:*:*)
-	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
-	exit ;;
-    alpha:OSF1:*:*)
-	case $UNAME_RELEASE in
-	*4.0)
-		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
-		;;
-	*5.*)
-	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
-		;;
-	esac
-	# According to Compaq, /usr/sbin/psrinfo has been available on
-	# OSF/1 and Tru64 systems produced since 1995.  I hope that
-	# covers most systems running today.  This code pipes the CPU
-	# types through head -n 1, so we only detect the type of CPU 0.
-	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
-	case "$ALPHA_CPU_TYPE" in
-	    "EV4 (21064)")
-		UNAME_MACHINE="alpha" ;;
-	    "EV4.5 (21064)")
-		UNAME_MACHINE="alpha" ;;
-	    "LCA4 (21066/21068)")
-		UNAME_MACHINE="alpha" ;;
-	    "EV5 (21164)")
-		UNAME_MACHINE="alphaev5" ;;
-	    "EV5.6 (21164A)")
-		UNAME_MACHINE="alphaev56" ;;
-	    "EV5.6 (21164PC)")
-		UNAME_MACHINE="alphapca56" ;;
-	    "EV5.7 (21164PC)")
-		UNAME_MACHINE="alphapca57" ;;
-	    "EV6 (21264)")
-		UNAME_MACHINE="alphaev6" ;;
-	    "EV6.7 (21264A)")
-		UNAME_MACHINE="alphaev67" ;;
-	    "EV6.8CB (21264C)")
-		UNAME_MACHINE="alphaev68" ;;
-	    "EV6.8AL (21264B)")
-		UNAME_MACHINE="alphaev68" ;;
-	    "EV6.8CX (21264D)")
-		UNAME_MACHINE="alphaev68" ;;
-	    "EV6.9A (21264/EV69A)")
-		UNAME_MACHINE="alphaev69" ;;
-	    "EV7 (21364)")
-		UNAME_MACHINE="alphaev7" ;;
-	    "EV7.9 (21364A)")
-		UNAME_MACHINE="alphaev79" ;;
-	esac
-	# A Pn.n version is a patched version.
-	# A Vn.n version is a released version.
-	# A Tn.n version is a released field test version.
-	# A Xn.n version is an unreleased experimental baselevel.
-	# 1.2 uses "1.2" for uname -r.
-	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-	exit ;;
-    Alpha\ *:Windows_NT*:*)
-	# How do we know it's Interix rather than the generic POSIX subsystem?
-	# Should we change UNAME_MACHINE based on the output of uname instead
-	# of the specific Alpha model?
-	echo alpha-pc-interix
-	exit ;;
-    21064:Windows_NT:50:3)
-	echo alpha-dec-winnt3.5
-	exit ;;
-    Amiga*:UNIX_System_V:4.0:*)
-	echo m68k-unknown-sysv4
-	exit ;;
-    *:[Aa]miga[Oo][Ss]:*:*)
-	echo ${UNAME_MACHINE}-unknown-amigaos
-	exit ;;
-    *:[Mm]orph[Oo][Ss]:*:*)
-	echo ${UNAME_MACHINE}-unknown-morphos
-	exit ;;
-    *:OS/390:*:*)
-	echo i370-ibm-openedition
-	exit ;;
-    *:z/VM:*:*)
-	echo s390-ibm-zvmoe
-	exit ;;
-    *:OS400:*:*)
-        echo powerpc-ibm-os400
-	exit ;;
-    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
-	echo arm-acorn-riscix${UNAME_RELEASE}
-	exit ;;
-    arm:riscos:*:*|arm:RISCOS:*:*)
-	echo arm-unknown-riscos
-	exit ;;
-    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
-	echo hppa1.1-hitachi-hiuxmpp
-	exit ;;
-    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
-	# akee at wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
-	if test "`(/bin/universe) 2>/dev/null`" = att ; then
-		echo pyramid-pyramid-sysv3
-	else
-		echo pyramid-pyramid-bsd
-	fi
-	exit ;;
-    NILE*:*:*:dcosx)
-	echo pyramid-pyramid-svr4
-	exit ;;
-    DRS?6000:unix:4.0:6*)
-	echo sparc-icl-nx6
-	exit ;;
-    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
-	case `/usr/bin/uname -p` in
-	    sparc) echo sparc-icl-nx7; exit ;;
-	esac ;;
-    sun4H:SunOS:5.*:*)
-	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit ;;
-    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
-	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit ;;
-    i86pc:SunOS:5.*:*)
-	echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit ;;
-    sun4*:SunOS:6*:*)
-	# According to config.sub, this is the proper way to canonicalize
-	# SunOS6.  Hard to guess exactly what SunOS6 will be like, but
-	# it's likely to be more like Solaris than SunOS4.
-	echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit ;;
-    sun4*:SunOS:*:*)
-	case "`/usr/bin/arch -k`" in
-	    Series*|S4*)
-		UNAME_RELEASE=`uname -v`
-		;;
-	esac
-	# Japanese Language versions have a version number like `4.1.3-JL'.
-	echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
-	exit ;;
-    sun3*:SunOS:*:*)
-	echo m68k-sun-sunos${UNAME_RELEASE}
-	exit ;;
-    sun*:*:4.2BSD:*)
-	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
-	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
-	case "`/bin/arch`" in
-	    sun3)
-		echo m68k-sun-sunos${UNAME_RELEASE}
-		;;
-	    sun4)
-		echo sparc-sun-sunos${UNAME_RELEASE}
-		;;
-	esac
-	exit ;;
-    aushp:SunOS:*:*)
-	echo sparc-auspex-sunos${UNAME_RELEASE}
-	exit ;;
-    # The situation for MiNT is a little confusing.  The machine name
-    # can be virtually everything (everything which is not
-    # "atarist" or "atariste" at least should have a processor
-    # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
-    # to the lowercase version "mint" (or "freemint").  Finally
-    # the system name "TOS" denotes a system which is actually not
-    # MiNT.  But MiNT is downward compatible to TOS, so this should
-    # be no problem.
-    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
-	exit ;;
-    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
-	echo m68k-atari-mint${UNAME_RELEASE}
-        exit ;;
-    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
-	exit ;;
-    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
-        echo m68k-milan-mint${UNAME_RELEASE}
-        exit ;;
-    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
-        echo m68k-hades-mint${UNAME_RELEASE}
-        exit ;;
-    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
-        echo m68k-unknown-mint${UNAME_RELEASE}
-        exit ;;
-    m68k:machten:*:*)
-	echo m68k-apple-machten${UNAME_RELEASE}
-	exit ;;
-    powerpc:machten:*:*)
-	echo powerpc-apple-machten${UNAME_RELEASE}
-	exit ;;
-    RISC*:Mach:*:*)
-	echo mips-dec-mach_bsd4.3
-	exit ;;
-    RISC*:ULTRIX:*:*)
-	echo mips-dec-ultrix${UNAME_RELEASE}
-	exit ;;
-    VAX*:ULTRIX*:*:*)
-	echo vax-dec-ultrix${UNAME_RELEASE}
-	exit ;;
-    2020:CLIX:*:* | 2430:CLIX:*:*)
-	echo clipper-intergraph-clix${UNAME_RELEASE}
-	exit ;;
-    mips:*:*:UMIPS | mips:*:*:RISCos)
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-#ifdef __cplusplus
-#include <stdio.h>  /* for printf() prototype */
-	int main (int argc, char *argv[]) {
-#else
-	int main (argc, argv) int argc; char *argv[]; {
-#endif
-	#if defined (host_mips) && defined (MIPSEB)
-	#if defined (SYSTYPE_SYSV)
-	  printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
-	#endif
-	#if defined (SYSTYPE_SVR4)
-	  printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
-	#endif
-	#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
-	  printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
-	#endif
-	#endif
-	  exit (-1);
-	}
-EOF
-	$CC_FOR_BUILD -o $dummy $dummy.c &&
-	  dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
-	  SYSTEM_NAME=`$dummy $dummyarg` &&
-	    { echo "$SYSTEM_NAME"; exit; }
-	echo mips-mips-riscos${UNAME_RELEASE}
-	exit ;;
-    Motorola:PowerMAX_OS:*:*)
-	echo powerpc-motorola-powermax
-	exit ;;
-    Motorola:*:4.3:PL8-*)
-	echo powerpc-harris-powermax
-	exit ;;
-    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
-	echo powerpc-harris-powermax
-	exit ;;
-    Night_Hawk:Power_UNIX:*:*)
-	echo powerpc-harris-powerunix
-	exit ;;
-    m88k:CX/UX:7*:*)
-	echo m88k-harris-cxux7
-	exit ;;
-    m88k:*:4*:R4*)
-	echo m88k-motorola-sysv4
-	exit ;;
-    m88k:*:3*:R3*)
-	echo m88k-motorola-sysv3
-	exit ;;
-    AViiON:dgux:*:*)
-        # DG/UX returns AViiON for all architectures
-        UNAME_PROCESSOR=`/usr/bin/uname -p`
-	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
-	then
-	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
-	       [ ${TARGET_BINARY_INTERFACE}x = x ]
-	    then
-		echo m88k-dg-dgux${UNAME_RELEASE}
-	    else
-		echo m88k-dg-dguxbcs${UNAME_RELEASE}
-	    fi
-	else
-	    echo i586-dg-dgux${UNAME_RELEASE}
-	fi
- 	exit ;;
-    M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
-	echo m88k-dolphin-sysv3
-	exit ;;
-    M88*:*:R3*:*)
-	# Delta 88k system running SVR3
-	echo m88k-motorola-sysv3
-	exit ;;
-    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
-	echo m88k-tektronix-sysv3
-	exit ;;
-    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
-	echo m68k-tektronix-bsd
-	exit ;;
-    *:IRIX*:*:*)
-	echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
-	exit ;;
-    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
-	echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
-	exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
-    i*86:AIX:*:*)
-	echo i386-ibm-aix
-	exit ;;
-    ia64:AIX:*:*)
-	if [ -x /usr/bin/oslevel ] ; then
-		IBM_REV=`/usr/bin/oslevel`
-	else
-		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
-	fi
-	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
-	exit ;;
-    *:AIX:2:3)
-	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
-		eval $set_cc_for_build
-		sed 's/^		//' << EOF >$dummy.c
-		#include <sys/systemcfg.h>
-
-		main()
-			{
-			if (!__power_pc())
-				exit(1);
-			puts("powerpc-ibm-aix3.2.5");
-			exit(0);
-			}
-EOF
-		if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
-		then
-			echo "$SYSTEM_NAME"
-		else
-			echo rs6000-ibm-aix3.2.5
-		fi
-	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
-		echo rs6000-ibm-aix3.2.4
-	else
-		echo rs6000-ibm-aix3.2
-	fi
-	exit ;;
-    *:AIX:*:[45])
-	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
-	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
-		IBM_ARCH=rs6000
-	else
-		IBM_ARCH=powerpc
-	fi
-	if [ -x /usr/bin/oslevel ] ; then
-		IBM_REV=`/usr/bin/oslevel`
-	else
-		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
-	fi
-	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
-	exit ;;
-    *:AIX:*:*)
-	echo rs6000-ibm-aix
-	exit ;;
-    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
-	echo romp-ibm-bsd4.4
-	exit ;;
-    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
-	echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
-	exit ;;                             # report: romp-ibm BSD 4.3
-    *:BOSX:*:*)
-	echo rs6000-bull-bosx
-	exit ;;
-    DPX/2?00:B.O.S.:*:*)
-	echo m68k-bull-sysv3
-	exit ;;
-    9000/[34]??:4.3bsd:1.*:*)
-	echo m68k-hp-bsd
-	exit ;;
-    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
-	echo m68k-hp-bsd4.4
-	exit ;;
-    9000/[34678]??:HP-UX:*:*)
-	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
-	case "${UNAME_MACHINE}" in
-	    9000/31? )            HP_ARCH=m68000 ;;
-	    9000/[34]?? )         HP_ARCH=m68k ;;
-	    9000/[678][0-9][0-9])
-		if [ -x /usr/bin/getconf ]; then
-		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
-                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
-                    case "${sc_cpu_version}" in
-                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
-                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
-                      532)                      # CPU_PA_RISC2_0
-                        case "${sc_kernel_bits}" in
-                          32) HP_ARCH="hppa2.0n" ;;
-                          64) HP_ARCH="hppa2.0w" ;;
-			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
-                        esac ;;
-                    esac
-		fi
-		if [ "${HP_ARCH}" = "" ]; then
-		    eval $set_cc_for_build
-		    sed 's/^              //' << EOF >$dummy.c
-
-              #define _HPUX_SOURCE
-              #include <stdlib.h>
-              #include <unistd.h>
-
-              int main ()
-              {
-              #if defined(_SC_KERNEL_BITS)
-                  long bits = sysconf(_SC_KERNEL_BITS);
-              #endif
-                  long cpu  = sysconf (_SC_CPU_VERSION);
-
-                  switch (cpu)
-              	{
-              	case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
-              	case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
-              	case CPU_PA_RISC2_0:
-              #if defined(_SC_KERNEL_BITS)
-              	    switch (bits)
-              		{
-              		case 64: puts ("hppa2.0w"); break;
-              		case 32: puts ("hppa2.0n"); break;
-              		default: puts ("hppa2.0"); break;
-              		} break;
-              #else  /* !defined(_SC_KERNEL_BITS) */
-              	    puts ("hppa2.0"); break;
-              #endif
-              	default: puts ("hppa1.0"); break;
-              	}
-                  exit (0);
-              }
-EOF
-		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
-		    test -z "$HP_ARCH" && HP_ARCH=hppa
-		fi ;;
-	esac
-	if [ ${HP_ARCH} = "hppa2.0w" ]
-	then
-	    eval $set_cc_for_build
-
-	    # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
-	    # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
-	    # generating 64-bit code.  GNU and HP use different nomenclature:
-	    #
-	    # $ CC_FOR_BUILD=cc ./config.guess
-	    # => hppa2.0w-hp-hpux11.23
-	    # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
-	    # => hppa64-hp-hpux11.23
-
-	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
-		grep __LP64__ >/dev/null
-	    then
-		HP_ARCH="hppa2.0w"
-	    else
-		HP_ARCH="hppa64"
-	    fi
-	fi
-	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
-	exit ;;
-    ia64:HP-UX:*:*)
-	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
-	echo ia64-hp-hpux${HPUX_REV}
-	exit ;;
-    3050*:HI-UX:*:*)
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-	#include <unistd.h>
-	int
-	main ()
-	{
-	  long cpu = sysconf (_SC_CPU_VERSION);
-	  /* The order matters, because CPU_IS_HP_MC68K erroneously returns
-	     true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
-	     results, however.  */
-	  if (CPU_IS_PA_RISC (cpu))
-	    {
-	      switch (cpu)
-		{
-		  case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
-		  case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
-		  case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
-		  default: puts ("hppa-hitachi-hiuxwe2"); break;
-		}
-	    }
-	  else if (CPU_IS_HP_MC68K (cpu))
-	    puts ("m68k-hitachi-hiuxwe2");
-	  else puts ("unknown-hitachi-hiuxwe2");
-	  exit (0);
-	}
-EOF
-	$CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
-		{ echo "$SYSTEM_NAME"; exit; }
-	echo unknown-hitachi-hiuxwe2
-	exit ;;
-    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
-	echo hppa1.1-hp-bsd
-	exit ;;
-    9000/8??:4.3bsd:*:*)
-	echo hppa1.0-hp-bsd
-	exit ;;
-    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
-	echo hppa1.0-hp-mpeix
-	exit ;;
-    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
-	echo hppa1.1-hp-osf
-	exit ;;
-    hp8??:OSF1:*:*)
-	echo hppa1.0-hp-osf
-	exit ;;
-    i*86:OSF1:*:*)
-	if [ -x /usr/sbin/sysversion ] ; then
-	    echo ${UNAME_MACHINE}-unknown-osf1mk
-	else
-	    echo ${UNAME_MACHINE}-unknown-osf1
-	fi
-	exit ;;
-    parisc*:Lites*:*:*)
-	echo hppa1.1-hp-lites
-	exit ;;
-    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
-	echo c1-convex-bsd
-        exit ;;
-    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
-	if getsysinfo -f scalar_acc
-	then echo c32-convex-bsd
-	else echo c2-convex-bsd
-	fi
-        exit ;;
-    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
-	echo c34-convex-bsd
-        exit ;;
-    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
-	echo c38-convex-bsd
-        exit ;;
-    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
-	echo c4-convex-bsd
-        exit ;;
-    CRAY*Y-MP:*:*:*)
-	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit ;;
-    CRAY*[A-Z]90:*:*:*)
-	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
-	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
-	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
-	      -e 's/\.[^.]*$/.X/'
-	exit ;;
-    CRAY*TS:*:*:*)
-	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit ;;
-    CRAY*T3E:*:*:*)
-	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit ;;
-    CRAY*SV1:*:*:*)
-	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit ;;
-    *:UNICOS/mp:*:*)
-	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit ;;
-    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
-	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
-        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-        exit ;;
-    5000:UNIX_System_V:4.*:*)
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
-        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-	exit ;;
-    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
-	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
-	exit ;;
-    sparc*:BSD/OS:*:*)
-	echo sparc-unknown-bsdi${UNAME_RELEASE}
-	exit ;;
-    *:BSD/OS:*:*)
-	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
-	exit ;;
-    *:FreeBSD:*:*)
-	case ${UNAME_MACHINE} in
-	    pc98)
-		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
-	    amd64)
-		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
-	    *)
-		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
-	esac
-	exit ;;
-    i*:CYGWIN*:*)
-	echo ${UNAME_MACHINE}-pc-cygwin
-	exit ;;
-    *:MINGW*:*)
-	echo ${UNAME_MACHINE}-pc-mingw32
-	exit ;;
-    i*:windows32*:*)
-    	# uname -m includes "-pc" on this system.
-    	echo ${UNAME_MACHINE}-mingw32
-	exit ;;
-    i*:PW*:*)
-	echo ${UNAME_MACHINE}-pc-pw32
-	exit ;;
-    *:Interix*:[3456]*)
-    	case ${UNAME_MACHINE} in
-	    x86) 
-		echo i586-pc-interix${UNAME_RELEASE}
-		exit ;;
-	    EM64T | authenticamd)
-		echo x86_64-unknown-interix${UNAME_RELEASE}
-		exit ;;
-	esac ;;
-    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
-	echo i${UNAME_MACHINE}-pc-mks
-	exit ;;
-    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
-	# How do we know it's Interix rather than the generic POSIX subsystem?
-	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
-	# UNAME_MACHINE based on the output of uname instead of i386?
-	echo i586-pc-interix
-	exit ;;
-    i*:UWIN*:*)
-	echo ${UNAME_MACHINE}-pc-uwin
-	exit ;;
-    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
-	echo x86_64-unknown-cygwin
-	exit ;;
-    p*:CYGWIN*:*)
-	echo powerpcle-unknown-cygwin
-	exit ;;
-    prep*:SunOS:5.*:*)
-	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit ;;
-    *:GNU:*:*)
-	# the GNU system
-	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
-	exit ;;
-    *:GNU/*:*:*)
-	# other systems with GNU libc and userland
-	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
-	exit ;;
-    i*86:Minix:*:*)
-	echo ${UNAME_MACHINE}-pc-minix
-	exit ;;
-    arm*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit ;;
-    avr32*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit ;;
-    cris:Linux:*:*)
-	echo cris-axis-linux-gnu
-	exit ;;
-    crisv32:Linux:*:*)
-	echo crisv32-axis-linux-gnu
-	exit ;;
-    frv:Linux:*:*)
-    	echo frv-unknown-linux-gnu
-	exit ;;
-    ia64:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit ;;
-    m32r*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit ;;
-    m68*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit ;;
-    mips:Linux:*:*)
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-	#undef CPU
-	#undef mips
-	#undef mipsel
-	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
-	CPU=mipsel
-	#else
-	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
-	CPU=mips
-	#else
-	CPU=
-	#endif
-	#endif
-EOF
-	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
-	    /^CPU/{
-		s: ::g
-		p
-	    }'`"
-	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
-	;;
-    mips64:Linux:*:*)
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-	#undef CPU
-	#undef mips64
-	#undef mips64el
-	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
-	CPU=mips64el
-	#else
-	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
-	CPU=mips64
-	#else
-	CPU=
-	#endif
-	#endif
-EOF
-	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
-	    /^CPU/{
-		s: ::g
-		p
-	    }'`"
-	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
-	;;
-    or32:Linux:*:*)
-	echo or32-unknown-linux-gnu
-	exit ;;
-    ppc:Linux:*:*)
-	echo powerpc-unknown-linux-gnu
-	exit ;;
-    ppc64:Linux:*:*)
-	echo powerpc64-unknown-linux-gnu
-	exit ;;
-    alpha:Linux:*:*)
-	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
-	  EV5)   UNAME_MACHINE=alphaev5 ;;
-	  EV56)  UNAME_MACHINE=alphaev56 ;;
-	  PCA56) UNAME_MACHINE=alphapca56 ;;
-	  PCA57) UNAME_MACHINE=alphapca56 ;;
-	  EV6)   UNAME_MACHINE=alphaev6 ;;
-	  EV67)  UNAME_MACHINE=alphaev67 ;;
-	  EV68*) UNAME_MACHINE=alphaev68 ;;
-        esac
-	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
-	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
-	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
-	exit ;;
-    parisc:Linux:*:* | hppa:Linux:*:*)
-	# Look for CPU level
-	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
-	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
-	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
-	  *)    echo hppa-unknown-linux-gnu ;;
-	esac
-	exit ;;
-    parisc64:Linux:*:* | hppa64:Linux:*:*)
-	echo hppa64-unknown-linux-gnu
-	exit ;;
-    s390:Linux:*:* | s390x:Linux:*:*)
-	echo ${UNAME_MACHINE}-ibm-linux
-	exit ;;
-    sh64*:Linux:*:*)
-    	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit ;;
-    sh*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit ;;
-    sparc:Linux:*:* | sparc64:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit ;;
-    vax:Linux:*:*)
-	echo ${UNAME_MACHINE}-dec-linux-gnu
-	exit ;;
-    x86_64:Linux:*:*)
-	echo x86_64-unknown-linux-gnu
-	exit ;;
-    xtensa:Linux:*:*)
-    	echo xtensa-unknown-linux-gnu
-	exit ;;
-    i*86:Linux:*:*)
-	# The BFD linker knows what the default object file format is, so
-	# first see if it will tell us. cd to the root directory to prevent
-	# problems with other programs or directories called `ld' in the path.
-	# Set LC_ALL=C to ensure ld outputs messages in English.
-	ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
-			 | sed -ne '/supported targets:/!d
-				    s/[ 	][ 	]*/ /g
-				    s/.*supported targets: *//
-				    s/ .*//
-				    p'`
-        case "$ld_supported_targets" in
-	  elf32-i386)
-		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
-		;;
-	  a.out-i386-linux)
-		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
-		exit ;;
-	  coff-i386)
-		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
-		exit ;;
-	  "")
-		# Either a pre-BFD a.out linker (linux-gnuoldld) or
-		# one that does not give us useful --help.
-		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
-		exit ;;
-	esac
-	# Determine whether the default compiler is a.out or elf
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-	#include <features.h>
-	#ifdef __ELF__
-	# ifdef __GLIBC__
-	#  if __GLIBC__ >= 2
-	LIBC=gnu
-	#  else
-	LIBC=gnulibc1
-	#  endif
-	# else
-	LIBC=gnulibc1
-	# endif
-	#else
-	#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
-	LIBC=gnu
-	#else
-	LIBC=gnuaout
-	#endif
-	#endif
-	#ifdef __dietlibc__
-	LIBC=dietlibc
-	#endif
-EOF
-	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
-	    /^LIBC/{
-		s: ::g
-		p
-	    }'`"
-	test x"${LIBC}" != x && {
-		echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
-		exit
-	}
-	test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
-	;;
-    i*86:DYNIX/ptx:4*:*)
-	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
-	# earlier versions are messed up and put the nodename in both
-	# sysname and nodename.
-	echo i386-sequent-sysv4
-	exit ;;
-    i*86:UNIX_SV:4.2MP:2.*)
-        # Unixware is an offshoot of SVR4, but it has its own version
-        # number series starting with 2...
-        # I am not positive that other SVR4 systems won't match this,
-	# I just have to hope.  -- rms.
-        # Use sysv4.2uw... so that sysv4* matches it.
-	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
-	exit ;;
-    i*86:OS/2:*:*)
-	# If we were able to find `uname', then EMX Unix compatibility
-	# is probably installed.
-	echo ${UNAME_MACHINE}-pc-os2-emx
-	exit ;;
-    i*86:XTS-300:*:STOP)
-	echo ${UNAME_MACHINE}-unknown-stop
-	exit ;;
-    i*86:atheos:*:*)
-	echo ${UNAME_MACHINE}-unknown-atheos
-	exit ;;
-    i*86:syllable:*:*)
-	echo ${UNAME_MACHINE}-pc-syllable
-	exit ;;
-    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
-	echo i386-unknown-lynxos${UNAME_RELEASE}
-	exit ;;
-    i*86:*DOS:*:*)
-	echo ${UNAME_MACHINE}-pc-msdosdjgpp
-	exit ;;
-    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
-	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
-	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
-		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
-	else
-		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
-	fi
-	exit ;;
-    i*86:*:5:[678]*)
-    	# UnixWare 7.x, OpenUNIX and OpenServer 6.
-	case `/bin/uname -X | grep "^Machine"` in
-	    *486*)	     UNAME_MACHINE=i486 ;;
-	    *Pentium)	     UNAME_MACHINE=i586 ;;
-	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
-	esac
-	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
-	exit ;;
-    i*86:*:3.2:*)
-	if test -f /usr/options/cb.name; then
-		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
-		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
-	elif /bin/uname -X 2>/dev/null >/dev/null ; then
-		UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
-		(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
-		(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
-			&& UNAME_MACHINE=i586
-		(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
-			&& UNAME_MACHINE=i686
-		(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
-			&& UNAME_MACHINE=i686
-		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
-	else
-		echo ${UNAME_MACHINE}-pc-sysv32
-	fi
-	exit ;;
-    pc:*:*:*)
-	# Left here for compatibility:
-        # uname -m prints for DJGPP always 'pc', but it prints nothing about
-        # the processor, so we play safe by assuming i386.
-	echo i386-pc-msdosdjgpp
-        exit ;;
-    Intel:Mach:3*:*)
-	echo i386-pc-mach3
-	exit ;;
-    paragon:*:*:*)
-	echo i860-intel-osf1
-	exit ;;
-    i860:*:4.*:*) # i860-SVR4
-	if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
-	  echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
-	else # Add other i860-SVR4 vendors below as they are discovered.
-	  echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
-	fi
-	exit ;;
-    mini*:CTIX:SYS*5:*)
-	# "miniframe"
-	echo m68010-convergent-sysv
-	exit ;;
-    mc68k:UNIX:SYSTEM5:3.51m)
-	echo m68k-convergent-sysv
-	exit ;;
-    M680?0:D-NIX:5.3:*)
-	echo m68k-diab-dnix
-	exit ;;
-    M68*:*:R3V[5678]*:*)
-	test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
-    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
-	OS_REL=''
-	test -r /etc/.relid \
-	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
-	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-	  && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
-	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
-	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
-    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
-        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-          && { echo i486-ncr-sysv4; exit; } ;;
-    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
-	echo m68k-unknown-lynxos${UNAME_RELEASE}
-	exit ;;
-    mc68030:UNIX_System_V:4.*:*)
-	echo m68k-atari-sysv4
-	exit ;;
-    TSUNAMI:LynxOS:2.*:*)
-	echo sparc-unknown-lynxos${UNAME_RELEASE}
-	exit ;;
-    rs6000:LynxOS:2.*:*)
-	echo rs6000-unknown-lynxos${UNAME_RELEASE}
-	exit ;;
-    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
-	echo powerpc-unknown-lynxos${UNAME_RELEASE}
-	exit ;;
-    SM[BE]S:UNIX_SV:*:*)
-	echo mips-dde-sysv${UNAME_RELEASE}
-	exit ;;
-    RM*:ReliantUNIX-*:*:*)
-	echo mips-sni-sysv4
-	exit ;;
-    RM*:SINIX-*:*:*)
-	echo mips-sni-sysv4
-	exit ;;
-    *:SINIX-*:*:*)
-	if uname -p 2>/dev/null >/dev/null ; then
-		UNAME_MACHINE=`(uname -p) 2>/dev/null`
-		echo ${UNAME_MACHINE}-sni-sysv4
-	else
-		echo ns32k-sni-sysv
-	fi
-	exit ;;
-    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
-                      # says <Richard.M.Bartel at ccMail.Census.GOV>
-        echo i586-unisys-sysv4
-        exit ;;
-    *:UNIX_System_V:4*:FTX*)
-	# From Gerald Hewes <hewes at openmarket.com>.
-	# How about differentiating between stratus architectures? -djm
-	echo hppa1.1-stratus-sysv4
-	exit ;;
-    *:*:*:FTX*)
-	# From seanf at swdc.stratus.com.
-	echo i860-stratus-sysv4
-	exit ;;
-    i*86:VOS:*:*)
-	# From Paul.Green at stratus.com.
-	echo ${UNAME_MACHINE}-stratus-vos
-	exit ;;
-    *:VOS:*:*)
-	# From Paul.Green at stratus.com.
-	echo hppa1.1-stratus-vos
-	exit ;;
-    mc68*:A/UX:*:*)
-	echo m68k-apple-aux${UNAME_RELEASE}
-	exit ;;
-    news*:NEWS-OS:6*:*)
-	echo mips-sony-newsos6
-	exit ;;
-    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
-	if [ -d /usr/nec ]; then
-	        echo mips-nec-sysv${UNAME_RELEASE}
-	else
-	        echo mips-unknown-sysv${UNAME_RELEASE}
-	fi
-        exit ;;
-    BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
-	echo powerpc-be-beos
-	exit ;;
-    BeMac:BeOS:*:*)	# BeOS running on Mac or Mac clone, PPC only.
-	echo powerpc-apple-beos
-	exit ;;
-    BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
-	echo i586-pc-beos
-	exit ;;
-    SX-4:SUPER-UX:*:*)
-	echo sx4-nec-superux${UNAME_RELEASE}
-	exit ;;
-    SX-5:SUPER-UX:*:*)
-	echo sx5-nec-superux${UNAME_RELEASE}
-	exit ;;
-    SX-6:SUPER-UX:*:*)
-	echo sx6-nec-superux${UNAME_RELEASE}
-	exit ;;
-    SX-7:SUPER-UX:*:*)
-	echo sx7-nec-superux${UNAME_RELEASE}
-	exit ;;
-    SX-8:SUPER-UX:*:*)
-	echo sx8-nec-superux${UNAME_RELEASE}
-	exit ;;
-    SX-8R:SUPER-UX:*:*)
-	echo sx8r-nec-superux${UNAME_RELEASE}
-	exit ;;
-    Power*:Rhapsody:*:*)
-	echo powerpc-apple-rhapsody${UNAME_RELEASE}
-	exit ;;
-    *:Rhapsody:*:*)
-	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
-	exit ;;
-    *:Darwin:*:*)
-	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
-	case $UNAME_PROCESSOR in
-	    unknown) UNAME_PROCESSOR=powerpc ;;
-	esac
-	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
-	exit ;;
-    *:procnto*:*:* | *:QNX:[0123456789]*:*)
-	UNAME_PROCESSOR=`uname -p`
-	if test "$UNAME_PROCESSOR" = "x86"; then
-		UNAME_PROCESSOR=i386
-		UNAME_MACHINE=pc
-	fi
-	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
-	exit ;;
-    *:QNX:*:4*)
-	echo i386-pc-qnx
-	exit ;;
-    NSE-?:NONSTOP_KERNEL:*:*)
-	echo nse-tandem-nsk${UNAME_RELEASE}
-	exit ;;
-    NSR-?:NONSTOP_KERNEL:*:*)
-	echo nsr-tandem-nsk${UNAME_RELEASE}
-	exit ;;
-    *:NonStop-UX:*:*)
-	echo mips-compaq-nonstopux
-	exit ;;
-    BS2000:POSIX*:*:*)
-	echo bs2000-siemens-sysv
-	exit ;;
-    DS/*:UNIX_System_V:*:*)
-	echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
-	exit ;;
-    *:Plan9:*:*)
-	# "uname -m" is not consistent, so use $cputype instead. 386
-	# is converted to i386 for consistency with other x86
-	# operating systems.
-	if test "$cputype" = "386"; then
-	    UNAME_MACHINE=i386
-	else
-	    UNAME_MACHINE="$cputype"
-	fi
-	echo ${UNAME_MACHINE}-unknown-plan9
-	exit ;;
-    *:TOPS-10:*:*)
-	echo pdp10-unknown-tops10
-	exit ;;
-    *:TENEX:*:*)
-	echo pdp10-unknown-tenex
-	exit ;;
-    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
-	echo pdp10-dec-tops20
-	exit ;;
-    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
-	echo pdp10-xkl-tops20
-	exit ;;
-    *:TOPS-20:*:*)
-	echo pdp10-unknown-tops20
-	exit ;;
-    *:ITS:*:*)
-	echo pdp10-unknown-its
-	exit ;;
-    SEI:*:*:SEIUX)
-        echo mips-sei-seiux${UNAME_RELEASE}
-	exit ;;
-    *:DragonFly:*:*)
-	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
-	exit ;;
-    *:*VMS:*:*)
-    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
-	case "${UNAME_MACHINE}" in
-	    A*) echo alpha-dec-vms ; exit ;;
-	    I*) echo ia64-dec-vms ; exit ;;
-	    V*) echo vax-dec-vms ; exit ;;
-	esac ;;
-    *:XENIX:*:SysV)
-	echo i386-pc-xenix
-	exit ;;
-    i*86:skyos:*:*)
-	echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
-	exit ;;
-    i*86:rdos:*:*)
-	echo ${UNAME_MACHINE}-pc-rdos
-	exit ;;
-esac
-
-#echo '(No uname command or uname output not recognized.)' 1>&2
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
-
-eval $set_cc_for_build
-cat >$dummy.c <<EOF
-#ifdef _SEQUENT_
-# include <sys/types.h>
-# include <sys/utsname.h>
-#endif
-main ()
-{
-#if defined (sony)
-#if defined (MIPSEB)
-  /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
-     I don't know....  */
-  printf ("mips-sony-bsd\n"); exit (0);
-#else
-#include <sys/param.h>
-  printf ("m68k-sony-newsos%s\n",
-#ifdef NEWSOS4
-          "4"
-#else
-	  ""
-#endif
-         ); exit (0);
-#endif
-#endif
-
-#if defined (__arm) && defined (__acorn) && defined (__unix)
-  printf ("arm-acorn-riscix\n"); exit (0);
-#endif
-
-#if defined (hp300) && !defined (hpux)
-  printf ("m68k-hp-bsd\n"); exit (0);
-#endif
-
-#if defined (NeXT)
-#if !defined (__ARCHITECTURE__)
-#define __ARCHITECTURE__ "m68k"
-#endif
-  int version;
-  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
-  if (version < 4)
-    printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
-  else
-    printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
-  exit (0);
-#endif
-
-#if defined (MULTIMAX) || defined (n16)
-#if defined (UMAXV)
-  printf ("ns32k-encore-sysv\n"); exit (0);
-#else
-#if defined (CMU)
-  printf ("ns32k-encore-mach\n"); exit (0);
-#else
-  printf ("ns32k-encore-bsd\n"); exit (0);
-#endif
-#endif
-#endif
-
-#if defined (__386BSD__)
-  printf ("i386-pc-bsd\n"); exit (0);
-#endif
-
-#if defined (sequent)
-#if defined (i386)
-  printf ("i386-sequent-dynix\n"); exit (0);
-#endif
-#if defined (ns32000)
-  printf ("ns32k-sequent-dynix\n"); exit (0);
-#endif
-#endif
-
-#if defined (_SEQUENT_)
-    struct utsname un;
-
-    uname(&un);
-
-    if (strncmp(un.version, "V2", 2) == 0) {
-	printf ("i386-sequent-ptx2\n"); exit (0);
-    }
-    if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
-	printf ("i386-sequent-ptx1\n"); exit (0);
-    }
-    printf ("i386-sequent-ptx\n"); exit (0);
-
-#endif
-
-#if defined (vax)
-# if !defined (ultrix)
-#  include <sys/param.h>
-#  if defined (BSD)
-#   if BSD == 43
-      printf ("vax-dec-bsd4.3\n"); exit (0);
-#   else
-#    if BSD == 199006
-      printf ("vax-dec-bsd4.3reno\n"); exit (0);
-#    else
-      printf ("vax-dec-bsd\n"); exit (0);
-#    endif
-#   endif
-#  else
-    printf ("vax-dec-bsd\n"); exit (0);
-#  endif
-# else
-    printf ("vax-dec-ultrix\n"); exit (0);
-# endif
-#endif
-
-#if defined (alliant) && defined (i860)
-  printf ("i860-alliant-bsd\n"); exit (0);
-#endif
-
-  exit (1);
-}
-EOF
-
-$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
-	{ echo "$SYSTEM_NAME"; exit; }
-
-# Apollos put the system type in the environment.
-
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
-
-# Convex versions that predate uname can use getsysinfo(1)
-
-if [ -x /usr/convex/getsysinfo ]
-then
-    case `getsysinfo -f cpu_type` in
-    c1*)
-	echo c1-convex-bsd
-	exit ;;
-    c2*)
-	if getsysinfo -f scalar_acc
-	then echo c32-convex-bsd
-	else echo c2-convex-bsd
-	fi
-	exit ;;
-    c34*)
-	echo c34-convex-bsd
-	exit ;;
-    c38*)
-	echo c38-convex-bsd
-	exit ;;
-    c4*)
-	echo c4-convex-bsd
-	exit ;;
-    esac
-fi
-
-cat >&2 <<EOF
-$0: unable to guess system type
-
-This script, last modified $timestamp, has failed to recognize
-the operating system you are using. It is advised that you
-download the most up to date version of the config scripts from
-
-  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
-and
-  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
-
-If the version you run ($0) is already up to date, please
-send the following data and any information you think might be
-pertinent to <config-patches at gnu.org> in order to provide the needed
-information to handle your system.
-
-config.guess timestamp = $timestamp
-
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
-
-hostinfo               = `(hostinfo) 2>/dev/null`
-/bin/universe          = `(/bin/universe) 2>/dev/null`
-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
-/bin/arch              = `(/bin/arch) 2>/dev/null`
-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
-
-UNAME_MACHINE = ${UNAME_MACHINE}
-UNAME_RELEASE = ${UNAME_RELEASE}
-UNAME_SYSTEM  = ${UNAME_SYSTEM}
-UNAME_VERSION = ${UNAME_VERSION}
-EOF
-
-exit 1
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "timestamp='"
-# time-stamp-format: "%:y-%02m-%02d"
-# time-stamp-end: "'"
-# End:

Deleted: packages/libhdf4/trunk/config.sub
===================================================================
--- packages/libhdf4/trunk/config.sub	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/config.sub	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,1622 +0,0 @@
-#! /bin/sh
-# Configuration validation subroutine script.
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
-#   Inc.
-
-timestamp='2007-01-18'
-
-# This file is (in principle) common to ALL GNU software.
-# The presence of a machine in this file suggests that SOME GNU software
-# can handle that machine.  It does not imply ALL GNU software can.
-#
-# This file is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
-# 02110-1301, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-
-# Please send patches to <config-patches at gnu.org>.  Submit a context
-# diff and a properly formatted ChangeLog entry.
-#
-# Configuration subroutine to validate and canonicalize a configuration type.
-# Supply the specified configuration type as an argument.
-# If it is invalid, we print an error message on stderr and exit with code 1.
-# Otherwise, we print the canonical config type on stdout and succeed.
-
-# This file is supposed to be the same for all GNU packages
-# and recognize all the CPU types, system types and aliases
-# that are meaningful with *any* GNU software.
-# Each package is responsible for reporting which valid configurations
-# it does not support.  The user should be able to distinguish
-# a failure to support a valid configuration from a meaningless
-# configuration.
-
-# The goal of this file is to map all the various variations of a given
-# machine specification into a single specification in the form:
-#	CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
-# or in some cases, the newer four-part form:
-#	CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
-# It is wrong to echo any other type of specification.
-
-me=`echo "$0" | sed -e 's,.*/,,'`
-
-usage="\
-Usage: $0 [OPTION] CPU-MFR-OPSYS
-       $0 [OPTION] ALIAS
-
-Canonicalize a configuration name.
-
-Operation modes:
-  -h, --help         print this help, then exit
-  -t, --time-stamp   print date of last modification, then exit
-  -v, --version      print version number, then exit
-
-Report bugs and patches to <config-patches at gnu.org>."
-
-version="\
-GNU config.sub ($timestamp)
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-Free Software Foundation, Inc.
-
-This is free software; see the source for copying conditions.  There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-
-help="
-Try \`$me --help' for more information."
-
-# Parse command line
-while test $# -gt 0 ; do
-  case $1 in
-    --time-stamp | --time* | -t )
-       echo "$timestamp" ; exit ;;
-    --version | -v )
-       echo "$version" ; exit ;;
-    --help | --h* | -h )
-       echo "$usage"; exit ;;
-    -- )     # Stop option processing
-       shift; break ;;
-    - )	# Use stdin as input.
-       break ;;
-    -* )
-       echo "$me: invalid option $1$help"
-       exit 1 ;;
-
-    *local*)
-       # First pass through any local machine types.
-       echo $1
-       exit ;;
-
-    * )
-       break ;;
-  esac
-done
-
-case $# in
- 0) echo "$me: missing argument$help" >&2
-    exit 1;;
- 1) ;;
- *) echo "$me: too many arguments$help" >&2
-    exit 1;;
-esac
-
-# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
-# Here we must recognize all the valid KERNEL-OS combinations.
-maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
-case $maybe_os in
-  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
-  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
-  storm-chaos* | os2-emx* | rtmk-nova*)
-    os=-$maybe_os
-    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
-    ;;
-  *)
-    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
-    if [ $basic_machine != $1 ]
-    then os=`echo $1 | sed 's/.*-/-/'`
-    else os=; fi
-    ;;
-esac
-
-### Let's recognize common machines as not being operating systems so
-### that things like config.sub decstation-3100 work.  We also
-### recognize some manufacturers as not being operating systems, so we
-### can provide default operating systems below.
-case $os in
-	-sun*os*)
-		# Prevent following clause from handling this invalid input.
-		;;
-	-dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
-	-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
-	-unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
-	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-	-apple | -axis | -knuth | -cray)
-		os=
-		basic_machine=$1
-		;;
-	-sim | -cisco | -oki | -wec | -winbond)
-		os=
-		basic_machine=$1
-		;;
-	-scout)
-		;;
-	-wrs)
-		os=-vxworks
-		basic_machine=$1
-		;;
-	-chorusos*)
-		os=-chorusos
-		basic_machine=$1
-		;;
- 	-chorusrdb)
- 		os=-chorusrdb
-		basic_machine=$1
- 		;;
-	-hiux*)
-		os=-hiuxwe2
-		;;
-	-sco6)
-		os=-sco5v6
-		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-		;;
-	-sco5)
-		os=-sco3.2v5
-		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-		;;
-	-sco4)
-		os=-sco3.2v4
-		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-		;;
-	-sco3.2.[4-9]*)
-		os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
-		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-		;;
-	-sco3.2v[4-9]*)
-		# Don't forget version if it is 3.2v4 or newer.
-		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-		;;
-	-sco5v6*)
-		# Don't forget version if it is 3.2v4 or newer.
-		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-		;;
-	-sco*)
-		os=-sco3.2v2
-		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-		;;
-	-udk*)
-		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-		;;
-	-isc)
-		os=-isc2.2
-		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-		;;
-	-clix*)
-		basic_machine=clipper-intergraph
-		;;
-	-isc*)
-		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-		;;
-	-lynx*)
-		os=-lynxos
-		;;
-	-ptx*)
-		basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
-		;;
-	-windowsnt*)
-		os=`echo $os | sed -e 's/windowsnt/winnt/'`
-		;;
-	-psos*)
-		os=-psos
-		;;
-	-mint | -mint[0-9]*)
-		basic_machine=m68k-atari
-		os=-mint
-		;;
-esac
-
-# Decode aliases for certain CPU-COMPANY combinations.
-case $basic_machine in
-	# Recognize the basic CPU types without company name.
-	# Some are omitted here because they have special meanings below.
-	1750a | 580 \
-	| a29k \
-	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
-	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
-	| am33_2.0 \
-	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
-	| bfin \
-	| c4x | clipper \
-	| d10v | d30v | dlx | dsp16xx \
-	| fido | fr30 | frv \
-	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
-	| i370 | i860 | i960 | ia64 \
-	| ip2k | iq2000 \
-	| m32c | m32r | m32rle | m68000 | m68k | m88k \
-	| maxq | mb | microblaze | mcore | mep \
-	| mips | mipsbe | mipseb | mipsel | mipsle \
-	| mips16 \
-	| mips64 | mips64el \
-	| mips64vr | mips64vrel \
-	| mips64orion | mips64orionel \
-	| mips64vr4100 | mips64vr4100el \
-	| mips64vr4300 | mips64vr4300el \
-	| mips64vr5000 | mips64vr5000el \
-	| mips64vr5900 | mips64vr5900el \
-	| mipsisa32 | mipsisa32el \
-	| mipsisa32r2 | mipsisa32r2el \
-	| mipsisa64 | mipsisa64el \
-	| mipsisa64r2 | mipsisa64r2el \
-	| mipsisa64sb1 | mipsisa64sb1el \
-	| mipsisa64sr71k | mipsisa64sr71kel \
-	| mipstx39 | mipstx39el \
-	| mn10200 | mn10300 \
-	| mt \
-	| msp430 \
-	| nios | nios2 \
-	| ns16k | ns32k \
-	| or32 \
-	| pdp10 | pdp11 | pj | pjl \
-	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
-	| pyramid \
-	| score \
-	| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
-	| sh64 | sh64le \
-	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
-	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
-	| spu | strongarm \
-	| tahoe | thumb | tic4x | tic80 | tron \
-	| v850 | v850e \
-	| we32k \
-	| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
-	| z8k)
-		basic_machine=$basic_machine-unknown
-		;;
-	m6811 | m68hc11 | m6812 | m68hc12)
-		# Motorola 68HC11/12.
-		basic_machine=$basic_machine-unknown
-		os=-none
-		;;
-	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
-		;;
-	ms1)
-		basic_machine=mt-unknown
-		;;
-
-	# We use `pc' rather than `unknown'
-	# because (1) that's what they normally are, and
-	# (2) the word "unknown" tends to confuse beginning users.
-	i*86 | x86_64)
-	  basic_machine=$basic_machine-pc
-	  ;;
-	# Object if more than one company name word.
-	*-*-*)
-		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
-		exit 1
-		;;
-	# Recognize the basic CPU types with company name.
-	580-* \
-	| a29k-* \
-	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
-	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
-	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
-	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
-	| avr-* | avr32-* \
-	| bfin-* | bs2000-* \
-	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
-	| clipper-* | craynv-* | cydra-* \
-	| d10v-* | d30v-* | dlx-* \
-	| elxsi-* \
-	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
-	| h8300-* | h8500-* \
-	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
-	| i*86-* | i860-* | i960-* | ia64-* \
-	| ip2k-* | iq2000-* \
-	| m32c-* | m32r-* | m32rle-* \
-	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
-	| m88110-* | m88k-* | maxq-* | mcore-* \
-	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
-	| mips16-* \
-	| mips64-* | mips64el-* \
-	| mips64vr-* | mips64vrel-* \
-	| mips64orion-* | mips64orionel-* \
-	| mips64vr4100-* | mips64vr4100el-* \
-	| mips64vr4300-* | mips64vr4300el-* \
-	| mips64vr5000-* | mips64vr5000el-* \
-	| mips64vr5900-* | mips64vr5900el-* \
-	| mipsisa32-* | mipsisa32el-* \
-	| mipsisa32r2-* | mipsisa32r2el-* \
-	| mipsisa64-* | mipsisa64el-* \
-	| mipsisa64r2-* | mipsisa64r2el-* \
-	| mipsisa64sb1-* | mipsisa64sb1el-* \
-	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
-	| mipstx39-* | mipstx39el-* \
-	| mmix-* \
-	| mt-* \
-	| msp430-* \
-	| nios-* | nios2-* \
-	| none-* | np1-* | ns16k-* | ns32k-* \
-	| orion-* \
-	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
-	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
-	| pyramid-* \
-	| romp-* | rs6000-* \
-	| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
-	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
-	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
-	| sparclite-* \
-	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
-	| tahoe-* | thumb-* \
-	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
-	| tron-* \
-	| v850-* | v850e-* | vax-* \
-	| we32k-* \
-	| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
-	| xstormy16-* | xtensa-* \
-	| ymp-* \
-	| z8k-*)
-		;;
-	# Recognize the various machine names and aliases which stand
-	# for a CPU type and a company and sometimes even an OS.
-	386bsd)
-		basic_machine=i386-unknown
-		os=-bsd
-		;;
-	3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
-		basic_machine=m68000-att
-		;;
-	3b*)
-		basic_machine=we32k-att
-		;;
-	a29khif)
-		basic_machine=a29k-amd
-		os=-udi
-		;;
-    	abacus)
-		basic_machine=abacus-unknown
-		;;
-	adobe68k)
-		basic_machine=m68010-adobe
-		os=-scout
-		;;
-	alliant | fx80)
-		basic_machine=fx80-alliant
-		;;
-	altos | altos3068)
-		basic_machine=m68k-altos
-		;;
-	am29k)
-		basic_machine=a29k-none
-		os=-bsd
-		;;
-	amd64)
-		basic_machine=x86_64-pc
-		;;
-	amd64-*)
-		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
-	amdahl)
-		basic_machine=580-amdahl
-		os=-sysv
-		;;
-	amiga | amiga-*)
-		basic_machine=m68k-unknown
-		;;
-	amigaos | amigados)
-		basic_machine=m68k-unknown
-		os=-amigaos
-		;;
-	amigaunix | amix)
-		basic_machine=m68k-unknown
-		os=-sysv4
-		;;
-	apollo68)
-		basic_machine=m68k-apollo
-		os=-sysv
-		;;
-	apollo68bsd)
-		basic_machine=m68k-apollo
-		os=-bsd
-		;;
-	aux)
-		basic_machine=m68k-apple
-		os=-aux
-		;;
-	balance)
-		basic_machine=ns32k-sequent
-		os=-dynix
-		;;
-	c90)
-		basic_machine=c90-cray
-		os=-unicos
-		;;
-	convex-c1)
-		basic_machine=c1-convex
-		os=-bsd
-		;;
-	convex-c2)
-		basic_machine=c2-convex
-		os=-bsd
-		;;
-	convex-c32)
-		basic_machine=c32-convex
-		os=-bsd
-		;;
-	convex-c34)
-		basic_machine=c34-convex
-		os=-bsd
-		;;
-	convex-c38)
-		basic_machine=c38-convex
-		os=-bsd
-		;;
-	cray | j90)
-		basic_machine=j90-cray
-		os=-unicos
-		;;
-	craynv)
-		basic_machine=craynv-cray
-		os=-unicosmp
-		;;
-	cr16c)
-		basic_machine=cr16c-unknown
-		os=-elf
-		;;
-	crds | unos)
-		basic_machine=m68k-crds
-		;;
-	crisv32 | crisv32-* | etraxfs*)
-		basic_machine=crisv32-axis
-		;;
-	cris | cris-* | etrax*)
-		basic_machine=cris-axis
-		;;
-	crx)
-		basic_machine=crx-unknown
-		os=-elf
-		;;
-	da30 | da30-*)
-		basic_machine=m68k-da30
-		;;
-	decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
-		basic_machine=mips-dec
-		;;
-	decsystem10* | dec10*)
-		basic_machine=pdp10-dec
-		os=-tops10
-		;;
-	decsystem20* | dec20*)
-		basic_machine=pdp10-dec
-		os=-tops20
-		;;
-	delta | 3300 | motorola-3300 | motorola-delta \
-	      | 3300-motorola | delta-motorola)
-		basic_machine=m68k-motorola
-		;;
-	delta88)
-		basic_machine=m88k-motorola
-		os=-sysv3
-		;;
-	djgpp)
-		basic_machine=i586-pc
-		os=-msdosdjgpp
-		;;
-	dpx20 | dpx20-*)
-		basic_machine=rs6000-bull
-		os=-bosx
-		;;
-	dpx2* | dpx2*-bull)
-		basic_machine=m68k-bull
-		os=-sysv3
-		;;
-	ebmon29k)
-		basic_machine=a29k-amd
-		os=-ebmon
-		;;
-	elxsi)
-		basic_machine=elxsi-elxsi
-		os=-bsd
-		;;
-	encore | umax | mmax)
-		basic_machine=ns32k-encore
-		;;
-	es1800 | OSE68k | ose68k | ose | OSE)
-		basic_machine=m68k-ericsson
-		os=-ose
-		;;
-	fx2800)
-		basic_machine=i860-alliant
-		;;
-	genix)
-		basic_machine=ns32k-ns
-		;;
-	gmicro)
-		basic_machine=tron-gmicro
-		os=-sysv
-		;;
-	go32)
-		basic_machine=i386-pc
-		os=-go32
-		;;
-	h3050r* | hiux*)
-		basic_machine=hppa1.1-hitachi
-		os=-hiuxwe2
-		;;
-	h8300hms)
-		basic_machine=h8300-hitachi
-		os=-hms
-		;;
-	h8300xray)
-		basic_machine=h8300-hitachi
-		os=-xray
-		;;
-	h8500hms)
-		basic_machine=h8500-hitachi
-		os=-hms
-		;;
-	harris)
-		basic_machine=m88k-harris
-		os=-sysv3
-		;;
-	hp300-*)
-		basic_machine=m68k-hp
-		;;
-	hp300bsd)
-		basic_machine=m68k-hp
-		os=-bsd
-		;;
-	hp300hpux)
-		basic_machine=m68k-hp
-		os=-hpux
-		;;
-	hp3k9[0-9][0-9] | hp9[0-9][0-9])
-		basic_machine=hppa1.0-hp
-		;;
-	hp9k2[0-9][0-9] | hp9k31[0-9])
-		basic_machine=m68000-hp
-		;;
-	hp9k3[2-9][0-9])
-		basic_machine=m68k-hp
-		;;
-	hp9k6[0-9][0-9] | hp6[0-9][0-9])
-		basic_machine=hppa1.0-hp
-		;;
-	hp9k7[0-79][0-9] | hp7[0-79][0-9])
-		basic_machine=hppa1.1-hp
-		;;
-	hp9k78[0-9] | hp78[0-9])
-		# FIXME: really hppa2.0-hp
-		basic_machine=hppa1.1-hp
-		;;
-	hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
-		# FIXME: really hppa2.0-hp
-		basic_machine=hppa1.1-hp
-		;;
-	hp9k8[0-9][13679] | hp8[0-9][13679])
-		basic_machine=hppa1.1-hp
-		;;
-	hp9k8[0-9][0-9] | hp8[0-9][0-9])
-		basic_machine=hppa1.0-hp
-		;;
-	hppa-next)
-		os=-nextstep3
-		;;
-	hppaosf)
-		basic_machine=hppa1.1-hp
-		os=-osf
-		;;
-	hppro)
-		basic_machine=hppa1.1-hp
-		os=-proelf
-		;;
-	i370-ibm* | ibm*)
-		basic_machine=i370-ibm
-		;;
-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
-	i*86v32)
-		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
-		os=-sysv32
-		;;
-	i*86v4*)
-		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
-		os=-sysv4
-		;;
-	i*86v)
-		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
-		os=-sysv
-		;;
-	i*86sol2)
-		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
-		os=-solaris2
-		;;
-	i386mach)
-		basic_machine=i386-mach
-		os=-mach
-		;;
-	i386-vsta | vsta)
-		basic_machine=i386-unknown
-		os=-vsta
-		;;
-	iris | iris4d)
-		basic_machine=mips-sgi
-		case $os in
-		    -irix*)
-			;;
-		    *)
-			os=-irix4
-			;;
-		esac
-		;;
-	isi68 | isi)
-		basic_machine=m68k-isi
-		os=-sysv
-		;;
-	m88k-omron*)
-		basic_machine=m88k-omron
-		;;
-	magnum | m3230)
-		basic_machine=mips-mips
-		os=-sysv
-		;;
-	merlin)
-		basic_machine=ns32k-utek
-		os=-sysv
-		;;
-	mingw32)
-		basic_machine=i386-pc
-		os=-mingw32
-		;;
-	miniframe)
-		basic_machine=m68000-convergent
-		;;
-	*mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
-		basic_machine=m68k-atari
-		os=-mint
-		;;
-	mips3*-*)
-		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
-		;;
-	mips3*)
-		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
-		;;
-	monitor)
-		basic_machine=m68k-rom68k
-		os=-coff
-		;;
-	morphos)
-		basic_machine=powerpc-unknown
-		os=-morphos
-		;;
-	msdos)
-		basic_machine=i386-pc
-		os=-msdos
-		;;
-	ms1-*)
-		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
-		;;
-	mvs)
-		basic_machine=i370-ibm
-		os=-mvs
-		;;
-	ncr3000)
-		basic_machine=i486-ncr
-		os=-sysv4
-		;;
-	netbsd386)
-		basic_machine=i386-unknown
-		os=-netbsd
-		;;
-	netwinder)
-		basic_machine=armv4l-rebel
-		os=-linux
-		;;
-	news | news700 | news800 | news900)
-		basic_machine=m68k-sony
-		os=-newsos
-		;;
-	news1000)
-		basic_machine=m68030-sony
-		os=-newsos
-		;;
-	news-3600 | risc-news)
-		basic_machine=mips-sony
-		os=-newsos
-		;;
-	necv70)
-		basic_machine=v70-nec
-		os=-sysv
-		;;
-	next | m*-next )
-		basic_machine=m68k-next
-		case $os in
-		    -nextstep* )
-			;;
-		    -ns2*)
-		      os=-nextstep2
-			;;
-		    *)
-		      os=-nextstep3
-			;;
-		esac
-		;;
-	nh3000)
-		basic_machine=m68k-harris
-		os=-cxux
-		;;
-	nh[45]000)
-		basic_machine=m88k-harris
-		os=-cxux
-		;;
-	nindy960)
-		basic_machine=i960-intel
-		os=-nindy
-		;;
-	mon960)
-		basic_machine=i960-intel
-		os=-mon960
-		;;
-	nonstopux)
-		basic_machine=mips-compaq
-		os=-nonstopux
-		;;
-	np1)
-		basic_machine=np1-gould
-		;;
-	nsr-tandem)
-		basic_machine=nsr-tandem
-		;;
-	op50n-* | op60c-*)
-		basic_machine=hppa1.1-oki
-		os=-proelf
-		;;
-	openrisc | openrisc-*)
-		basic_machine=or32-unknown
-		;;
-	os400)
-		basic_machine=powerpc-ibm
-		os=-os400
-		;;
-	OSE68000 | ose68000)
-		basic_machine=m68000-ericsson
-		os=-ose
-		;;
-	os68k)
-		basic_machine=m68k-none
-		os=-os68k
-		;;
-	pa-hitachi)
-		basic_machine=hppa1.1-hitachi
-		os=-hiuxwe2
-		;;
-	paragon)
-		basic_machine=i860-intel
-		os=-osf
-		;;
-	pbd)
-		basic_machine=sparc-tti
-		;;
-	pbb)
-		basic_machine=m68k-tti
-		;;
-	pc532 | pc532-*)
-		basic_machine=ns32k-pc532
-		;;
-	pc98)
-		basic_machine=i386-pc
-		;;
-	pc98-*)
-		basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
-	pentium | p5 | k5 | k6 | nexgen | viac3)
-		basic_machine=i586-pc
-		;;
-	pentiumpro | p6 | 6x86 | athlon | athlon_*)
-		basic_machine=i686-pc
-		;;
-	pentiumii | pentium2 | pentiumiii | pentium3)
-		basic_machine=i686-pc
-		;;
-	pentium4)
-		basic_machine=i786-pc
-		;;
-	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
-		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
-	pentiumpro-* | p6-* | 6x86-* | athlon-*)
-		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
-	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
-		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
-	pentium4-*)
-		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
-	pn)
-		basic_machine=pn-gould
-		;;
-	power)	basic_machine=power-ibm
-		;;
-	ppc)	basic_machine=powerpc-unknown
-		;;
-	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
-	ppcle | powerpclittle | ppc-le | powerpc-little)
-		basic_machine=powerpcle-unknown
-		;;
-	ppcle-* | powerpclittle-*)
-		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
-	ppc64)	basic_machine=powerpc64-unknown
-		;;
-	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
-	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
-		basic_machine=powerpc64le-unknown
-		;;
-	ppc64le-* | powerpc64little-*)
-		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
-	ps2)
-		basic_machine=i386-ibm
-		;;
-	pw32)
-		basic_machine=i586-unknown
-		os=-pw32
-		;;
-	rdos)
-		basic_machine=i386-pc
-		os=-rdos
-		;;
-	rom68k)
-		basic_machine=m68k-rom68k
-		os=-coff
-		;;
-	rm[46]00)
-		basic_machine=mips-siemens
-		;;
-	rtpc | rtpc-*)
-		basic_machine=romp-ibm
-		;;
-	s390 | s390-*)
-		basic_machine=s390-ibm
-		;;
-	s390x | s390x-*)
-		basic_machine=s390x-ibm
-		;;
-	sa29200)
-		basic_machine=a29k-amd
-		os=-udi
-		;;
-	sb1)
-		basic_machine=mipsisa64sb1-unknown
-		;;
-	sb1el)
-		basic_machine=mipsisa64sb1el-unknown
-		;;
-	sde)
-		basic_machine=mipsisa32-sde
-		os=-elf
-		;;
-	sei)
-		basic_machine=mips-sei
-		os=-seiux
-		;;
-	sequent)
-		basic_machine=i386-sequent
-		;;
-	sh)
-		basic_machine=sh-hitachi
-		os=-hms
-		;;
-	sh5el)
-		basic_machine=sh5le-unknown
-		;;
-	sh64)
-		basic_machine=sh64-unknown
-		;;
-	sparclite-wrs | simso-wrs)
-		basic_machine=sparclite-wrs
-		os=-vxworks
-		;;
-	sps7)
-		basic_machine=m68k-bull
-		os=-sysv2
-		;;
-	spur)
-		basic_machine=spur-unknown
-		;;
-	st2000)
-		basic_machine=m68k-tandem
-		;;
-	stratus)
-		basic_machine=i860-stratus
-		os=-sysv4
-		;;
-	sun2)
-		basic_machine=m68000-sun
-		;;
-	sun2os3)
-		basic_machine=m68000-sun
-		os=-sunos3
-		;;
-	sun2os4)
-		basic_machine=m68000-sun
-		os=-sunos4
-		;;
-	sun3os3)
-		basic_machine=m68k-sun
-		os=-sunos3
-		;;
-	sun3os4)
-		basic_machine=m68k-sun
-		os=-sunos4
-		;;
-	sun4os3)
-		basic_machine=sparc-sun
-		os=-sunos3
-		;;
-	sun4os4)
-		basic_machine=sparc-sun
-		os=-sunos4
-		;;
-	sun4sol2)
-		basic_machine=sparc-sun
-		os=-solaris2
-		;;
-	sun3 | sun3-*)
-		basic_machine=m68k-sun
-		;;
-	sun4)
-		basic_machine=sparc-sun
-		;;
-	sun386 | sun386i | roadrunner)
-		basic_machine=i386-sun
-		;;
-	sv1)
-		basic_machine=sv1-cray
-		os=-unicos
-		;;
-	symmetry)
-		basic_machine=i386-sequent
-		os=-dynix
-		;;
-	t3e)
-		basic_machine=alphaev5-cray
-		os=-unicos
-		;;
-	t90)
-		basic_machine=t90-cray
-		os=-unicos
-		;;
-	tic54x | c54x*)
-		basic_machine=tic54x-unknown
-		os=-coff
-		;;
-	tic55x | c55x*)
-		basic_machine=tic55x-unknown
-		os=-coff
-		;;
-	tic6x | c6x*)
-		basic_machine=tic6x-unknown
-		os=-coff
-		;;
-	tx39)
-		basic_machine=mipstx39-unknown
-		;;
-	tx39el)
-		basic_machine=mipstx39el-unknown
-		;;
-	toad1)
-		basic_machine=pdp10-xkl
-		os=-tops20
-		;;
-	tower | tower-32)
-		basic_machine=m68k-ncr
-		;;
-	tpf)
-		basic_machine=s390x-ibm
-		os=-tpf
-		;;
-	udi29k)
-		basic_machine=a29k-amd
-		os=-udi
-		;;
-	ultra3)
-		basic_machine=a29k-nyu
-		os=-sym1
-		;;
-	v810 | necv810)
-		basic_machine=v810-nec
-		os=-none
-		;;
-	vaxv)
-		basic_machine=vax-dec
-		os=-sysv
-		;;
-	vms)
-		basic_machine=vax-dec
-		os=-vms
-		;;
-	vpp*|vx|vx-*)
-		basic_machine=f301-fujitsu
-		;;
-	vxworks960)
-		basic_machine=i960-wrs
-		os=-vxworks
-		;;
-	vxworks68)
-		basic_machine=m68k-wrs
-		os=-vxworks
-		;;
-	vxworks29k)
-		basic_machine=a29k-wrs
-		os=-vxworks
-		;;
-	w65*)
-		basic_machine=w65-wdc
-		os=-none
-		;;
-	w89k-*)
-		basic_machine=hppa1.1-winbond
-		os=-proelf
-		;;
-	xbox)
-		basic_machine=i686-pc
-		os=-mingw32
-		;;
-	xps | xps100)
-		basic_machine=xps100-honeywell
-		;;
-	ymp)
-		basic_machine=ymp-cray
-		os=-unicos
-		;;
-	z8k-*-coff)
-		basic_machine=z8k-unknown
-		os=-sim
-		;;
-	none)
-		basic_machine=none-none
-		os=-none
-		;;
-
-# Here we handle the default manufacturer of certain CPU types.  It is in
-# some cases the only manufacturer, in others, it is the most popular.
-	w89k)
-		basic_machine=hppa1.1-winbond
-		;;
-	op50n)
-		basic_machine=hppa1.1-oki
-		;;
-	op60c)
-		basic_machine=hppa1.1-oki
-		;;
-	romp)
-		basic_machine=romp-ibm
-		;;
-	mmix)
-		basic_machine=mmix-knuth
-		;;
-	rs6000)
-		basic_machine=rs6000-ibm
-		;;
-	vax)
-		basic_machine=vax-dec
-		;;
-	pdp10)
-		# there are many clones, so DEC is not a safe bet
-		basic_machine=pdp10-unknown
-		;;
-	pdp11)
-		basic_machine=pdp11-dec
-		;;
-	we32k)
-		basic_machine=we32k-att
-		;;
-	sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
-		basic_machine=sh-unknown
-		;;
-	sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
-		basic_machine=sparc-sun
-		;;
-	cydra)
-		basic_machine=cydra-cydrome
-		;;
-	orion)
-		basic_machine=orion-highlevel
-		;;
-	orion105)
-		basic_machine=clipper-highlevel
-		;;
-	mac | mpw | mac-mpw)
-		basic_machine=m68k-apple
-		;;
-	pmac | pmac-mpw)
-		basic_machine=powerpc-apple
-		;;
-	*-unknown)
-		# Make sure to match an already-canonicalized machine name.
-		;;
-	*)
-		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
-		exit 1
-		;;
-esac
-
-# Here we canonicalize certain aliases for manufacturers.
-case $basic_machine in
-	*-digital*)
-		basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
-		;;
-	*-commodore*)
-		basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
-		;;
-	*)
-		;;
-esac
-
-# Decode manufacturer-specific aliases for certain operating systems.
-
-if [ x"$os" != x"" ]
-then
-case $os in
-        # First match some system type aliases
-        # that might get confused with valid system types.
-	# -solaris* is a basic system type, with this one exception.
-	-solaris1 | -solaris1.*)
-		os=`echo $os | sed -e 's|solaris1|sunos4|'`
-		;;
-	-solaris)
-		os=-solaris2
-		;;
-	-svr4*)
-		os=-sysv4
-		;;
-	-unixware*)
-		os=-sysv4.2uw
-		;;
-	-gnu/linux*)
-		os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
-		;;
-	# First accept the basic system types.
-	# The portable systems comes first.
-	# Each alternative MUST END IN A *, to match a version number.
-	# -sysv* is not here because it comes later, after sysvr4.
-	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
-	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
-	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
-	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
-	      | -aos* \
-	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
-	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
-	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
-	      | -openbsd* | -solidbsd* \
-	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
-	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
-	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
-	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
-	      | -chorusos* | -chorusrdb* \
-	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
-	      | -uxpv* | -beos* | -mpeix* | -udk* \
-	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
-	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
-	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
-	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
-	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
-	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
-	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
-	# Remember, each alternative MUST END IN *, to match a version number.
-		;;
-	-qnx*)
-		case $basic_machine in
-		    x86-* | i*86-*)
-			;;
-		    *)
-			os=-nto$os
-			;;
-		esac
-		;;
-	-nto-qnx*)
-		;;
-	-nto*)
-		os=`echo $os | sed -e 's|nto|nto-qnx|'`
-		;;
-	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
-	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
-	      | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
-		;;
-	-mac*)
-		os=`echo $os | sed -e 's|mac|macos|'`
-		;;
-	-linux-dietlibc)
-		os=-linux-dietlibc
-		;;
-	-linux*)
-		os=`echo $os | sed -e 's|linux|linux-gnu|'`
-		;;
-	-sunos5*)
-		os=`echo $os | sed -e 's|sunos5|solaris2|'`
-		;;
-	-sunos6*)
-		os=`echo $os | sed -e 's|sunos6|solaris3|'`
-		;;
-	-opened*)
-		os=-openedition
-		;;
-        -os400*)
-		os=-os400
-		;;
-	-wince*)
-		os=-wince
-		;;
-	-osfrose*)
-		os=-osfrose
-		;;
-	-osf*)
-		os=-osf
-		;;
-	-utek*)
-		os=-bsd
-		;;
-	-dynix*)
-		os=-bsd
-		;;
-	-acis*)
-		os=-aos
-		;;
-	-atheos*)
-		os=-atheos
-		;;
-	-syllable*)
-		os=-syllable
-		;;
-	-386bsd)
-		os=-bsd
-		;;
-	-ctix* | -uts*)
-		os=-sysv
-		;;
-	-nova*)
-		os=-rtmk-nova
-		;;
-	-ns2 )
-		os=-nextstep2
-		;;
-	-nsk*)
-		os=-nsk
-		;;
-	# Preserve the version number of sinix5.
-	-sinix5.*)
-		os=`echo $os | sed -e 's|sinix|sysv|'`
-		;;
-	-sinix*)
-		os=-sysv4
-		;;
-        -tpf*)
-		os=-tpf
-		;;
-	-triton*)
-		os=-sysv3
-		;;
-	-oss*)
-		os=-sysv3
-		;;
-	-svr4)
-		os=-sysv4
-		;;
-	-svr3)
-		os=-sysv3
-		;;
-	-sysvr4)
-		os=-sysv4
-		;;
-	# This must come after -sysvr4.
-	-sysv*)
-		;;
-	-ose*)
-		os=-ose
-		;;
-	-es1800*)
-		os=-ose
-		;;
-	-xenix)
-		os=-xenix
-		;;
-	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
-		os=-mint
-		;;
-	-aros*)
-		os=-aros
-		;;
-	-kaos*)
-		os=-kaos
-		;;
-	-zvmoe)
-		os=-zvmoe
-		;;
-	-none)
-		;;
-	*)
-		# Get rid of the `-' at the beginning of $os.
-		os=`echo $os | sed 's/[^-]*-//'`
-		echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
-		exit 1
-		;;
-esac
-else
-
-# Here we handle the default operating systems that come with various machines.
-# The value should be what the vendor currently ships out the door with their
-# machine or put another way, the most popular os provided with the machine.
-
-# Note that if you're going to try to match "-MANUFACTURER" here (say,
-# "-sun"), then you have to tell the case statement up towards the top
-# that MANUFACTURER isn't an operating system.  Otherwise, code above
-# will signal an error saying that MANUFACTURER isn't an operating
-# system, and we'll never get to this point.
-
-case $basic_machine in
-        score-*)
-		os=-elf
-		;;
-        spu-*)
-		os=-elf
-		;;
-	*-acorn)
-		os=-riscix1.2
-		;;
-	arm*-rebel)
-		os=-linux
-		;;
-	arm*-semi)
-		os=-aout
-		;;
-        c4x-* | tic4x-*)
-        	os=-coff
-		;;
-	# This must come before the *-dec entry.
-	pdp10-*)
-		os=-tops20
-		;;
-	pdp11-*)
-		os=-none
-		;;
-	*-dec | vax-*)
-		os=-ultrix4.2
-		;;
-	m68*-apollo)
-		os=-domain
-		;;
-	i386-sun)
-		os=-sunos4.0.2
-		;;
-	m68000-sun)
-		os=-sunos3
-		# This also exists in the configure program, but was not the
-		# default.
-		# os=-sunos4
-		;;
-	m68*-cisco)
-		os=-aout
-		;;
-        mep-*)
-		os=-elf
-		;;
-	mips*-cisco)
-		os=-elf
-		;;
-	mips*-*)
-		os=-elf
-		;;
-	or32-*)
-		os=-coff
-		;;
-	*-tti)	# must be before sparc entry or we get the wrong os.
-		os=-sysv3
-		;;
-	sparc-* | *-sun)
-		os=-sunos4.1.1
-		;;
-	*-be)
-		os=-beos
-		;;
-	*-haiku)
-		os=-haiku
-		;;
-	*-ibm)
-		os=-aix
-		;;
-    	*-knuth)
-		os=-mmixware
-		;;
-	*-wec)
-		os=-proelf
-		;;
-	*-winbond)
-		os=-proelf
-		;;
-	*-oki)
-		os=-proelf
-		;;
-	*-hp)
-		os=-hpux
-		;;
-	*-hitachi)
-		os=-hiux
-		;;
-	i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
-		os=-sysv
-		;;
-	*-cbm)
-		os=-amigaos
-		;;
-	*-dg)
-		os=-dgux
-		;;
-	*-dolphin)
-		os=-sysv3
-		;;
-	m68k-ccur)
-		os=-rtu
-		;;
-	m88k-omron*)
-		os=-luna
-		;;
-	*-next )
-		os=-nextstep
-		;;
-	*-sequent)
-		os=-ptx
-		;;
-	*-crds)
-		os=-unos
-		;;
-	*-ns)
-		os=-genix
-		;;
-	i370-*)
-		os=-mvs
-		;;
-	*-next)
-		os=-nextstep3
-		;;
-	*-gould)
-		os=-sysv
-		;;
-	*-highlevel)
-		os=-bsd
-		;;
-	*-encore)
-		os=-bsd
-		;;
-	*-sgi)
-		os=-irix
-		;;
-	*-siemens)
-		os=-sysv4
-		;;
-	*-masscomp)
-		os=-rtu
-		;;
-	f30[01]-fujitsu | f700-fujitsu)
-		os=-uxpv
-		;;
-	*-rom68k)
-		os=-coff
-		;;
-	*-*bug)
-		os=-coff
-		;;
-	*-apple)
-		os=-macos
-		;;
-	*-atari*)
-		os=-mint
-		;;
-	*)
-		os=-none
-		;;
-esac
-fi
-
-# Here we handle the case where we know the os, and the CPU type, but not the
-# manufacturer.  We pick the logical manufacturer.
-vendor=unknown
-case $basic_machine in
-	*-unknown)
-		case $os in
-			-riscix*)
-				vendor=acorn
-				;;
-			-sunos*)
-				vendor=sun
-				;;
-			-aix*)
-				vendor=ibm
-				;;
-			-beos*)
-				vendor=be
-				;;
-			-hpux*)
-				vendor=hp
-				;;
-			-mpeix*)
-				vendor=hp
-				;;
-			-hiux*)
-				vendor=hitachi
-				;;
-			-unos*)
-				vendor=crds
-				;;
-			-dgux*)
-				vendor=dg
-				;;
-			-luna*)
-				vendor=omron
-				;;
-			-genix*)
-				vendor=ns
-				;;
-			-mvs* | -opened*)
-				vendor=ibm
-				;;
-			-os400*)
-				vendor=ibm
-				;;
-			-ptx*)
-				vendor=sequent
-				;;
-			-tpf*)
-				vendor=ibm
-				;;
-			-vxsim* | -vxworks* | -windiss*)
-				vendor=wrs
-				;;
-			-aux*)
-				vendor=apple
-				;;
-			-hms*)
-				vendor=hitachi
-				;;
-			-mpw* | -macos*)
-				vendor=apple
-				;;
-			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
-				vendor=atari
-				;;
-			-vos*)
-				vendor=stratus
-				;;
-		esac
-		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
-		;;
-esac
-
-echo $basic_machine$os
-exit
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "timestamp='"
-# time-stamp-format: "%:y-%02m-%02d"
-# time-stamp-end: "'"
-# End:

Modified: packages/libhdf4/trunk/configure
===================================================================
--- packages/libhdf4/trunk/configure	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/configure	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,1091 +1,8986 @@
-#!/bin/sh
+#! /bin/sh
+# From configure.ac Id: configure.ac.
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.57 for HDF 4.2r1.
+#
+# Report bugs to <hdfhelp at ncsa.uiuc.edu>.
+#
+# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## --------------------- ##
+## M4sh Initialization.  ##
+## --------------------- ##
 
-### WARNING: this file contains embedded tabs.  Do not run untabify on this file.
+# Be Bourne compatible
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+  emulate sh
+  NULLCMD=:
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '${1+"$@"}'='"$@"'
+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+  set -o posix
+fi
 
-# Configuration script
-# Copyright (C) 1988, 90, 91, 92, 93, 94 Free Software Foundation, Inc.
+# Support unset when possible.
+if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+  as_unset=unset
+else
+  as_unset=false
+fi
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-# 
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-# This version has been modified from the original configure script
-# Please report any problems running this configure script to
-# hdfhelp at ncsa.uiuc.edu
-#
-# OLD: Please report any problems running this configure script to
-#      configure at cygnus.com
-#      Please do not send reports about other problems to this address.  See
-#      gdb/README, gas/README, etc., for info on where and how to report
-#      problems about particular tools.
+# Work around bugs in pre-3.0 UWIN ksh.
+$as_unset ENV MAIL MAILPATH
+PS1='$ '
+PS2='> '
+PS4='+ '
 
-# The orginal file was written by K. Richard Pixley.
-# This file has been modified by HDF group
+# NLS nuisances.
+for as_var in \
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+  LC_TELEPHONE LC_TIME
+do
+  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
+    eval $as_var=C; export $as_var
+  else
+    $as_unset $as_var
+  fi
+done
+
+# Required to use basename.
+if expr a : '\(a\)' >/dev/null 2>&1; then
+  as_expr=expr
+else
+  as_expr=false
+fi
+
+if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
+  as_basename=basename
+else
+  as_basename=false
+fi
+
+
+# Name of the executable.
+as_me=`$as_basename "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+	 X"$0" : 'X\(//\)$' \| \
+	 X"$0" : 'X\(/\)$' \| \
+	 .     : '\(.\)' 2>/dev/null ||
+echo X/"$0" |
+    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
+  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\/\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
+
+
+# PATH needs CR, and LINENO needs CR and PATH.
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+  echo "#! /bin/sh" >conf$$.sh
+  echo  "exit 0"   >>conf$$.sh
+  chmod +x conf$$.sh
+  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+    PATH_SEPARATOR=';'
+  else
+    PATH_SEPARATOR=:
+  fi
+  rm -f conf$$.sh
+fi
+
+
+  as_lineno_1=$LINENO
+  as_lineno_2=$LINENO
+  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
+  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
+  # Find who we are.  Look in the path if we contain no path at all
+  # relative or not.
+  case $0 in
+    *[\\/]* ) as_myself=$0 ;;
+    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+done
+
+       ;;
+  esac
+  # We did not find ourselves, most probably we were run as `sh COMMAND'
+  # in which case we are not to be found in the path.
+  if test "x$as_myself" = x; then
+    as_myself=$0
+  fi
+  if test ! -f "$as_myself"; then
+    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
+   { (exit 1); exit 1; }; }
+  fi
+  case $CONFIG_SHELL in
+  '')
+    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for as_base in sh bash ksh sh5; do
+	 case $as_dir in
+	 /*)
+	   if ("$as_dir/$as_base" -c '
+  as_lineno_1=$LINENO
+  as_lineno_2=$LINENO
+  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
+  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
+	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
+	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
+	     CONFIG_SHELL=$as_dir/$as_base
+	     export CONFIG_SHELL
+	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
+	   fi;;
+	 esac
+       done
+done
+;;
+  esac
+
+  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+  # uniformly replaced by the line number.  The first 'sed' inserts a
+  # line-number line before each line; the second 'sed' does the real
+  # work.  The second script uses 'N' to pair each line-number line
+  # with the numbered line, and appends trailing '-' during
+  # substitution so that $LINENO is not a special case at line end.
+  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
+  sed '=' <$as_myself |
+    sed '
+      N
+      s,$,-,
+      : loop
+      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
+      t loop
+      s,-$,,
+      s,^['$as_cr_digits']*\n,,
+    ' >$as_me.lineno &&
+  chmod +x $as_me.lineno ||
+    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
+   { (exit 1); exit 1; }; }
+
+  # Don't try to exec as it changes $[0], causing all sort of problems
+  # (the dirname of $[0] is not the place where we might find the
+  # original and so on.  Autoconf is especially sensible to this).
+  . ./$as_me.lineno
+  # Exit status is that of the last command.
+  exit
+}
+
+
+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+  *c*,-n*) ECHO_N= ECHO_C='
+' ECHO_T='	' ;;
+  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
+  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
+esac
+
+if expr a : '\(a\)' >/dev/null 2>&1; then
+  as_expr=expr
+else
+  as_expr=false
+fi
+
+rm -f conf$$ conf$$.exe conf$$.file
+echo >conf$$.file
+if ln -s conf$$.file conf$$ 2>/dev/null; then
+  # We could just check for DJGPP; but this test a) works b) is more generic
+  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+  if test -f conf$$.exe; then
+    # Don't use ln at all; we don't have any links
+    as_ln_s='cp -p'
+  else
+    as_ln_s='ln -s'
+  fi
+elif ln conf$$.file conf$$ 2>/dev/null; then
+  as_ln_s=ln
+else
+  as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.file
+
+if mkdir -p . 2>/dev/null; then
+  as_mkdir_p=:
+else
+  as_mkdir_p=false
+fi
+
+as_executable_p="test -f"
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
+
+
+# IFS
+# We need space, tab and new line, in precisely that order.
+as_nl='
+'
+IFS=" 	$as_nl"
+
+# CDPATH.
+$as_unset CDPATH
+
+
+# Name of the host.
+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+exec 6>&1
+
 #
-# Shell script to create proper links to machine-dependent files in
-# preparation for compilation.
+# Initializations.
 #
-# If configure succeeds, it leaves its status in config.status.
-# If configure fails after disturbing the status quo, 
-#       config.status is removed.
-#
+ac_default_prefix=/usr/local
+ac_config_libobj_dir=.
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+SHELL=${CONFIG_SHELL-/bin/sh}
 
-export PATH || (echo "OOPS, this isn't sh.  Desperation time.  I will feed myself to sh."; sh $0 $argv; kill $$)
+# Maximum number of lines to put in a shell here document.
+# This variable seems obsolete.  It should probably be removed, and
+# only ac_max_sed_lines should be used.
+: ${ac_max_here_lines=38}
 
-remove=rm
-hard_link=ln
-symbolic_link='ln -s'
-mkdirprog=mkdir        # what is your make-directory-program
+# Identity of this package.
+PACKAGE_NAME='HDF'
+PACKAGE_TARNAME='hdf'
+PACKAGE_VERSION='4.2r1'
+PACKAGE_STRING='HDF 4.2r1'
+PACKAGE_BUGREPORT='hdfhelp at ncsa.uiuc.edu'
 
-#for Test
-#remove="echo rm"
-#hard_link="echo ln"
-#symbolic_link="echo ln -s"
+ac_unique_file="hdf/src/atom.c"
+ac_default_prefix=`pwd`/NewHDF
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#if HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#if HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#if STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# if HAVE_STDLIB_H
+#  include <stdlib.h>
+# endif
+#endif
+#if HAVE_STRING_H
+# if !STDC_HEADERS && HAVE_MEMORY_H
+#  include <memory.h>
+# endif
+# include <string.h>
+#endif
+#if HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#if HAVE_INTTYPES_H
+# include <inttypes.h>
+#else
+# if HAVE_STDINT_H
+#  include <stdint.h>
+# endif
+#endif
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
 
-# clear some things potentially inherited from environment.
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE F77 FFLAGS ac_ct_F77 HDF_BUILD_FORTRAN_TRUE HDF_BUILD_FORTRAN_FALSE LEX LEXLIB LEX_OUTPUT_ROOT LN_S RANLIB ac_ct_RANLIB YACC AR DIFF NEQN TBL EGREP HDF_BUILD_XDR_TRUE HDF_BUILD_XDR_FALSE CXXCPP LIBOBJS LTLIBOBJS'
+ac_subst_files=''
 
-Makefile=Makefile
-Makefile_in=Makefile.in
-arguments=$*
-build_alias=
-configdirs=
-exec_prefix=
-exec_prefixoption=
-fatal=
-floating_point=default
-gas=default
-host_alias=NOHOST
-host_makefile_frag=
-moveifchange=
-norecursion=
-other_options=
-package_makefile_frag=
-prefix='$(TOP_SRCDIR)/NewHDF'
-progname=
-program_prefix=
-program_prefixoption=
-program_suffix=
-program_suffixoption=
-program_transform_name=
-program_transform_nameoption=
-redirect=">/dev/null"
-removing=
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
 site=
-site_makefile_frag=
-site_option=
 srcdir=
-srctrigger=
-subdirs=
-target_alias=NOTARGET
-target_makefile_frag=
-undefs=NOUNDEFS
-version="$Revision: 1.12 $"
-x11=default
+verbose=
+x_includes=NONE
+x_libraries=NONE
 
-### we might need to use some other shell than /bin/sh for running subshells
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datadir='${prefix}/share'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+libdir='${exec_prefix}/lib'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+infodir='${prefix}/info'
+mandir='${prefix}/man'
+
+ac_prev=
+for ac_option
+do
+  # If the previous option needs an argument, assign it.
+  if test -n "$ac_prev"; then
+    eval "$ac_prev=\$ac_option"
+    ac_prev=
+    continue
+  fi
+
+  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
+
+  # Accept the important Cygnus configure options, so we can diagnose typos.
+
+  case $ac_option in
+
+  -bindir | --bindir | --bindi | --bind | --bin | --bi)
+    ac_prev=bindir ;;
+  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+    bindir=$ac_optarg ;;
+
+  -build | --build | --buil | --bui | --bu)
+    ac_prev=build_alias ;;
+  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+    build_alias=$ac_optarg ;;
+
+  -cache-file | --cache-file | --cache-fil | --cache-fi \
+  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+    ac_prev=cache_file ;;
+  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+    cache_file=$ac_optarg ;;
+
+  --config-cache | -C)
+    cache_file=config.cache ;;
+
+  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
+    ac_prev=datadir ;;
+  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
+  | --da=*)
+    datadir=$ac_optarg ;;
+
+  -disable-* | --disable-*)
+    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+    # Reject names that are not valid shell variable names.
+    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+   { (exit 1); exit 1; }; }
+    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+    eval "enable_$ac_feature=no" ;;
+
+  -enable-* | --enable-*)
+    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+    # Reject names that are not valid shell variable names.
+    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+   { (exit 1); exit 1; }; }
+    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+    case $ac_option in
+      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+      *) ac_optarg=yes ;;
+    esac
+    eval "enable_$ac_feature='$ac_optarg'" ;;
+
+  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+  | --exec | --exe | --ex)
+    ac_prev=exec_prefix ;;
+  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+  | --exec=* | --exe=* | --ex=*)
+    exec_prefix=$ac_optarg ;;
+
+  -gas | --gas | --ga | --g)
+    # Obsolete; use --with-gas.
+    with_gas=yes ;;
+
+  -help | --help | --hel | --he | -h)
+    ac_init_help=long ;;
+  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+    ac_init_help=recursive ;;
+  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+    ac_init_help=short ;;
+
+  -host | --host | --hos | --ho)
+    ac_prev=host_alias ;;
+  -host=* | --host=* | --hos=* | --ho=*)
+    host_alias=$ac_optarg ;;
+
+  -includedir | --includedir | --includedi | --included | --include \
+  | --includ | --inclu | --incl | --inc)
+    ac_prev=includedir ;;
+  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+  | --includ=* | --inclu=* | --incl=* | --inc=*)
+    includedir=$ac_optarg ;;
+
+  -infodir | --infodir | --infodi | --infod | --info | --inf)
+    ac_prev=infodir ;;
+  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+    infodir=$ac_optarg ;;
+
+  -libdir | --libdir | --libdi | --libd)
+    ac_prev=libdir ;;
+  -libdir=* | --libdir=* | --libdi=* | --libd=*)
+    libdir=$ac_optarg ;;
+
+  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+  | --libexe | --libex | --libe)
+    ac_prev=libexecdir ;;
+  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+  | --libexe=* | --libex=* | --libe=*)
+    libexecdir=$ac_optarg ;;
+
+  -localstatedir | --localstatedir | --localstatedi | --localstated \
+  | --localstate | --localstat | --localsta | --localst \
+  | --locals | --local | --loca | --loc | --lo)
+    ac_prev=localstatedir ;;
+  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
+  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
+    localstatedir=$ac_optarg ;;
+
+  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+    ac_prev=mandir ;;
+  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+    mandir=$ac_optarg ;;
+
+  -nfp | --nfp | --nf)
+    # Obsolete; use --without-fp.
+    with_fp=no ;;
+
+  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+  | --no-cr | --no-c | -n)
+    no_create=yes ;;
+
+  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+    no_recursion=yes ;;
+
+  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+  | --oldin | --oldi | --old | --ol | --o)
+    ac_prev=oldincludedir ;;
+  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+    oldincludedir=$ac_optarg ;;
+
+  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+    ac_prev=prefix ;;
+  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+    prefix=$ac_optarg ;;
+
+  -program-prefix | --program-prefix | --program-prefi | --program-pref \
+  | --program-pre | --program-pr | --program-p)
+    ac_prev=program_prefix ;;
+  -program-prefix=* | --program-prefix=* | --program-prefi=* \
+  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+    program_prefix=$ac_optarg ;;
+
+  -program-suffix | --program-suffix | --program-suffi | --program-suff \
+  | --program-suf | --program-su | --program-s)
+    ac_prev=program_suffix ;;
+  -program-suffix=* | --program-suffix=* | --program-suffi=* \
+  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+    program_suffix=$ac_optarg ;;
+
+  -program-transform-name | --program-transform-name \
+  | --program-transform-nam | --program-transform-na \
+  | --program-transform-n | --program-transform- \
+  | --program-transform | --program-transfor \
+  | --program-transfo | --program-transf \
+  | --program-trans | --program-tran \
+  | --progr-tra | --program-tr | --program-t)
+    ac_prev=program_transform_name ;;
+  -program-transform-name=* | --program-transform-name=* \
+  | --program-transform-nam=* | --program-transform-na=* \
+  | --program-transform-n=* | --program-transform-=* \
+  | --program-transform=* | --program-transfor=* \
+  | --program-transfo=* | --program-transf=* \
+  | --program-trans=* | --program-tran=* \
+  | --progr-tra=* | --program-tr=* | --program-t=*)
+    program_transform_name=$ac_optarg ;;
+
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+  | -silent | --silent | --silen | --sile | --sil)
+    silent=yes ;;
+
+  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+    ac_prev=sbindir ;;
+  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+  | --sbi=* | --sb=*)
+    sbindir=$ac_optarg ;;
+
+  -sharedstatedir | --sharedstatedir | --sharedstatedi \
+  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+  | --sharedst | --shareds | --shared | --share | --shar \
+  | --sha | --sh)
+    ac_prev=sharedstatedir ;;
+  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+  | --sha=* | --sh=*)
+    sharedstatedir=$ac_optarg ;;
+
+  -site | --site | --sit)
+    ac_prev=site ;;
+  -site=* | --site=* | --sit=*)
+    site=$ac_optarg ;;
+
+  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+    ac_prev=srcdir ;;
+  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+    srcdir=$ac_optarg ;;
+
+  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+  | --syscon | --sysco | --sysc | --sys | --sy)
+    ac_prev=sysconfdir ;;
+  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+    sysconfdir=$ac_optarg ;;
+
+  -target | --target | --targe | --targ | --tar | --ta | --t)
+    ac_prev=target_alias ;;
+  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+    target_alias=$ac_optarg ;;
+
+  -v | -verbose | --verbose | --verbos | --verbo | --verb)
+    verbose=yes ;;
+
+  -version | --version | --versio | --versi | --vers | -V)
+    ac_init_version=: ;;
+
+  -with-* | --with-*)
+    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+    # Reject names that are not valid shell variable names.
+    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+      { echo "$as_me: error: invalid package name: $ac_package" >&2
+   { (exit 1); exit 1; }; }
+    ac_package=`echo $ac_package| sed 's/-/_/g'`
+    case $ac_option in
+      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+      *) ac_optarg=yes ;;
+    esac
+    eval "with_$ac_package='$ac_optarg'" ;;
+
+  -without-* | --without-*)
+    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+    # Reject names that are not valid shell variable names.
+    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+      { echo "$as_me: error: invalid package name: $ac_package" >&2
+   { (exit 1); exit 1; }; }
+    ac_package=`echo $ac_package | sed 's/-/_/g'`
+    eval "with_$ac_package=no" ;;
+
+  --x)
+    # Obsolete; use --with-x.
+    with_x=yes ;;
+
+  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+  | --x-incl | --x-inc | --x-in | --x-i)
+    ac_prev=x_includes ;;
+  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+    x_includes=$ac_optarg ;;
+
+  -x-libraries | --x-libraries | --x-librarie | --x-librari \
+  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+    ac_prev=x_libraries ;;
+  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+    x_libraries=$ac_optarg ;;
+
+  -*) { echo "$as_me: error: unrecognized option: $ac_option
+Try \`$0 --help' for more information." >&2
+   { (exit 1); exit 1; }; }
+    ;;
+
+  *=*)
+    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+    # Reject names that are not valid shell variable names.
+    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
+      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
+   { (exit 1); exit 1; }; }
+    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
+    eval "$ac_envvar='$ac_optarg'"
+    export $ac_envvar ;;
+
+  *)
+    # FIXME: should be removed in autoconf 3.0.
+    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+    ;;
+
+  esac
+done
+
+if test -n "$ac_prev"; then
+  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+  { echo "$as_me: error: missing argument to $ac_option" >&2
+   { (exit 1); exit 1; }; }
+fi
+
+# Be sure to have absolute paths.
+for ac_var in exec_prefix prefix
+do
+  eval ac_val=$`echo $ac_var`
+  case $ac_val in
+    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
+    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
+   { (exit 1); exit 1; }; };;
+  esac
+done
+
+# Be sure to have absolute paths.
+for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
+              localstatedir libdir includedir oldincludedir infodir mandir
+do
+  eval ac_val=$`echo $ac_var`
+  case $ac_val in
+    [\\/$]* | ?:[\\/]* ) ;;
+    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
+   { (exit 1); exit 1; }; };;
+  esac
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+  if test "x$build_alias" = x; then
+    cross_compiling=maybe
+    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
+    If a cross compiler is detected then cross compile mode will be used." >&2
+  elif test "x$build_alias" != "x$host_alias"; then
+    cross_compiling=yes
+  fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+  ac_srcdir_defaulted=yes
+  # Try the directory containing this script, then its parent.
+  ac_confdir=`(dirname "$0") 2>/dev/null ||
+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+         X"$0" : 'X\(//\)[^/]' \| \
+         X"$0" : 'X\(//\)$' \| \
+         X"$0" : 'X\(/\)' \| \
+         .     : '\(.\)' 2>/dev/null ||
+echo X"$0" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
+  srcdir=$ac_confdir
+  if test ! -r $srcdir/$ac_unique_file; then
+    srcdir=..
+  fi
+else
+  ac_srcdir_defaulted=no
+fi
+if test ! -r $srcdir/$ac_unique_file; then
+  if test "$ac_srcdir_defaulted" = yes; then
+    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
+   { (exit 1); exit 1; }; }
+  else
+    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
+   { (exit 1); exit 1; }; }
+  fi
+fi
+(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
+  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
+   { (exit 1); exit 1; }; }
+srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
+ac_env_build_alias_set=${build_alias+set}
+ac_env_build_alias_value=$build_alias
+ac_cv_env_build_alias_set=${build_alias+set}
+ac_cv_env_build_alias_value=$build_alias
+ac_env_host_alias_set=${host_alias+set}
+ac_env_host_alias_value=$host_alias
+ac_cv_env_host_alias_set=${host_alias+set}
+ac_cv_env_host_alias_value=$host_alias
+ac_env_target_alias_set=${target_alias+set}
+ac_env_target_alias_value=$target_alias
+ac_cv_env_target_alias_set=${target_alias+set}
+ac_cv_env_target_alias_value=$target_alias
+ac_env_CC_set=${CC+set}
+ac_env_CC_value=$CC
+ac_cv_env_CC_set=${CC+set}
+ac_cv_env_CC_value=$CC
+ac_env_CFLAGS_set=${CFLAGS+set}
+ac_env_CFLAGS_value=$CFLAGS
+ac_cv_env_CFLAGS_set=${CFLAGS+set}
+ac_cv_env_CFLAGS_value=$CFLAGS
+ac_env_LDFLAGS_set=${LDFLAGS+set}
+ac_env_LDFLAGS_value=$LDFLAGS
+ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
+ac_cv_env_LDFLAGS_value=$LDFLAGS
+ac_env_CPPFLAGS_set=${CPPFLAGS+set}
+ac_env_CPPFLAGS_value=$CPPFLAGS
+ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
+ac_cv_env_CPPFLAGS_value=$CPPFLAGS
+ac_env_CPP_set=${CPP+set}
+ac_env_CPP_value=$CPP
+ac_cv_env_CPP_set=${CPP+set}
+ac_cv_env_CPP_value=$CPP
+ac_env_CXX_set=${CXX+set}
+ac_env_CXX_value=$CXX
+ac_cv_env_CXX_set=${CXX+set}
+ac_cv_env_CXX_value=$CXX
+ac_env_CXXFLAGS_set=${CXXFLAGS+set}
+ac_env_CXXFLAGS_value=$CXXFLAGS
+ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
+ac_cv_env_CXXFLAGS_value=$CXXFLAGS
+ac_env_F77_set=${F77+set}
+ac_env_F77_value=$F77
+ac_cv_env_F77_set=${F77+set}
+ac_cv_env_F77_value=$F77
+ac_env_FFLAGS_set=${FFLAGS+set}
+ac_env_FFLAGS_value=$FFLAGS
+ac_cv_env_FFLAGS_set=${FFLAGS+set}
+ac_cv_env_FFLAGS_value=$FFLAGS
+ac_env_CXXCPP_set=${CXXCPP+set}
+ac_env_CXXCPP_value=$CXXCPP
+ac_cv_env_CXXCPP_set=${CXXCPP+set}
+ac_cv_env_CXXCPP_value=$CXXCPP
+
 #
-config_shell=${CONFIG_SHELL-/bin/sh}
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+  # Omit some internal or obsolete options to make the list less imposing.
+  # This message is too long to be a string in the A/UX 3.1 sh.
+  cat <<_ACEOF
+\`configure' configures HDF 4.2r1 to adapt to many kinds of systems.
 
-NO_EDIT="This file was generated automatically by configure.  Do not edit."
+Usage: $0 [OPTION]... [VAR=VALUE]...
 
-## this is a little touchy and won't always work, but...
-##
-## if the argv[0] starts with a slash then it is an absolute name that can (and
-## must) be used as is.
-##
-## otherwise, if argv[0] has no slash in it, we can assume that it is on the
-## path.  Since PATH might include "." we also add `pwd` to the end of PATH.
-##
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE.  See below for descriptions of some of the useful variables.
 
-progname=$0
-# if PWD already has a value, it is probably wrong.
-if [ -n "$PWD" ]; then PWD=`pwd`; fi
+Defaults for the options are specified in brackets.
 
-case "${progname}" in
-/*) ;;
-*/*) ;;
-*)
-        PATH=$PATH:${PWD=`pwd`} ; export PATH
-        ;;
+Configuration:
+  -h, --help              display this help and exit
+      --help=short        display options specific to this package
+      --help=recursive    display the short help of all the included packages
+  -V, --version           display version information and exit
+  -q, --quiet, --silent   do not print \`checking...' messages
+      --cache-file=FILE   cache test results in FILE [disabled]
+  -C, --config-cache      alias for \`--cache-file=config.cache'
+  -n, --no-create         do not create output files
+      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
+
+_ACEOF
+
+  cat <<_ACEOF
+Installation directories:
+  --prefix=PREFIX         install architecture-independent files in PREFIX
+                          [$ac_default_prefix]
+  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
+                          [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+  --bindir=DIR           user executables [EPREFIX/bin]
+  --sbindir=DIR          system admin executables [EPREFIX/sbin]
+  --libexecdir=DIR       program executables [EPREFIX/libexec]
+  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
+  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
+  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
+  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
+  --libdir=DIR           object code libraries [EPREFIX/lib]
+  --includedir=DIR       C header files [PREFIX/include]
+  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
+  --infodir=DIR          info documentation [PREFIX/info]
+  --mandir=DIR           man documentation [PREFIX/man]
+_ACEOF
+
+  cat <<\_ACEOF
+
+Program names:
+  --program-prefix=PREFIX            prepend PREFIX to installed program names
+  --program-suffix=SUFFIX            append SUFFIX to installed program names
+  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
+
+System types:
+  --build=BUILD     configure for building on BUILD [guessed]
+  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+  case $ac_init_help in
+     short | recursive ) echo "Configuration of HDF 4.2r1:";;
+   esac
+  cat <<\_ACEOF
+
+Optional Features:
+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
+  --enable-maintainer-mode enable make rules and dependencies not useful
+                          (and sometimes confusing) to the casual installer
+  --disable-dependency-tracking Speeds up one-time builds
+  --enable-dependency-tracking  Do not reject slow dependency extractors
+  --enable-fortran        Build Fortran into library [default=yes]
+  --enable-production     Determines how to run the compiler.
+
+Optional Packages:
+  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
+  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
+
+ For the following --with-xxx options, you can specify where the header
+ files and libraries are in two different ways:
+
+    --with-xxx=INC,LIB - Specify individually the include directory and
+                         library directory separated by a comma
+    --with-xxx=DIR     - Specify only the directory which contains the
+                         include/ and lib/ subdirectories
+
+  --with-zlib=DIR         Use zlib library [default=yes]
+  --with-jpeg=DIR         Use jpeg library [default=yes]
+  --with-szlib=DIR        Use szlib library [default=no]
+
+Some influential environment variables:
+  CC          C compiler command
+  CFLAGS      C compiler flags
+  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
+              nonstandard directory <lib dir>
+  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
+              headers in a nonstandard directory <include dir>
+  CPP         C preprocessor
+  CXX         C++ compiler command
+  CXXFLAGS    C++ compiler flags
+  F77         Fortran 77 compiler command
+  FFLAGS      Fortran 77 compiler flags
+  CXXCPP      C++ preprocessor
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to <hdfhelp at ncsa.uiuc.edu>.
+_ACEOF
+fi
+
+if test "$ac_init_help" = "recursive"; then
+  # If there are subdirs, report their specific --help.
+  ac_popdir=`pwd`
+  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+    test -d $ac_dir || continue
+    ac_builddir=.
+
+if test "$ac_dir" != .; then
+  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
+  # A "../" for each directory in $ac_dir_suffix.
+  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
+else
+  ac_dir_suffix= ac_top_builddir=
+fi
+
+case $srcdir in
+  .)  # No --srcdir option.  We are building in place.
+    ac_srcdir=.
+    if test -z "$ac_top_builddir"; then
+       ac_top_srcdir=.
+    else
+       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
+    fi ;;
+  [\\/]* | ?:[\\/]* )  # Absolute path.
+    ac_srcdir=$srcdir$ac_dir_suffix;
+    ac_top_srcdir=$srcdir ;;
+  *) # Relative path.
+    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
+    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 esac
+# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
+# absolute.
+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
-# Loop over all args
+    cd $ac_dir
+    # Check for guested configure; otherwise get Cygnus style configure.
+    if test -f $ac_srcdir/configure.gnu; then
+      echo
+      $SHELL $ac_srcdir/configure.gnu  --help=recursive
+    elif test -f $ac_srcdir/configure; then
+      echo
+      $SHELL $ac_srcdir/configure  --help=recursive
+    elif test -f $ac_srcdir/configure.ac ||
+           test -f $ac_srcdir/configure.in; then
+      echo
+      $ac_configure --help
+    else
+      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+    fi
+    cd $ac_popdir
+  done
+fi
 
-#while :
-for arg
+test -n "$ac_init_help" && exit 0
+if $ac_init_version; then
+  cat <<\_ACEOF
+HDF configure 4.2r1
+generated by GNU Autoconf 2.57
+
+Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
+Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+  exit 0
+fi
+exec 5>config.log
+cat >&5 <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by HDF $as_me 4.2r1, which was
+generated by GNU Autoconf 2.57.  Invocation command line was
+
+  $ $0 $@
+
+_ACEOF
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
+
+/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
+/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
+/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
 do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  echo "PATH: $as_dir"
+done
 
-# Break out if there are no more args
-	case $# in
-	0)
-		break
-		;;
-	esac
+} >&5
 
-# Get the first arg, and shuffle
-	option=$1
-	shift
+cat >&5 <<_ACEOF
 
-# Make all options have two hyphens
-	orig_option=$option	# Save original for error messages
-	case $option in
-	--*) ;;
-	-*) option=-$option ;;
-	esac
-		
-# Split out the argument for options that take them
-	case $option in
-	--*=*)
-		optarg=`echo $option | sed -e 's/^[^=]*=//'`
-		;;
-# These options have mandatory values.  Since we didn't find an = sign,
-# the value must be in the next argument
-	--b* | --cache* | --ex* | --ho* | --pre* | --program-p* | --program-s* | --program-t* | --si* | --sr* | --ta* | --tm* | --x-*)
-		optarg=$1
-		shift
-		;;
-	esac
 
-# Now, process the options
-	case $option in
+## ----------- ##
+## Core tests. ##
+## ----------- ##
 
-	--build* | --b*)
-		case "$build_alias" in
-		"") build_alias=$optarg ;;
-		*) echo '***' Can only configure for one build machine at a time.  1>&2
-		   fatal=yes
-		   ;;
-		esac
-		;;
-# Accepted for compatibility with new autoconf; ignored.
-	--cache*)
-		;;
-	--disable-*)
-		enableopt=`echo ${option} | sed 's:^--disable-:enable_:;s:-:_:g'`
-		eval $enableopt=no
-		disableoptions="$disableoptions $option"
-		;;
-	--enable-*)
-		case "$option" in
-		*=*)	;;
-		*)	optarg=yes ;;
-		esac
+_ACEOF
 
-		enableopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'`
-		eval $enableopt="$optarg"
-		enableoptions="$enableoptions $option"
-		;;
-	--exec-prefix* | --ex*)
-		exec_prefix=$optarg
-		exec_prefixoption="--exec-prefix=$optarg"
-		;;
-	--gas | --g*)
-		gas=yes
-		;;
-	--help | --he*)
-		fatal=yes
-		;;
-	--host* | --ho*)
-		case $host_alias in
-		NOHOST) host_alias=$optarg ;;
-		*) echo '***' Can only configure for one host at a time.  1>&2
-		   fatal=yes
-		   ;;
-		esac
-		;;
-	--nfp | --nf*)
-		floating_point=no
-		;;
-	--norecursion | --no*)
-		norecursion=yes
-		;;
-	--prefix* | --pre*)
-		prefix=$optarg
-		prefixoption="--prefix=$optarg"
-		;;
-	--program-prefix* | --program-p*)
-		program_prefix=$optarg
-		program_prefixoption="--program-prefix=$optarg"
-		;;
-	--program-suffix* | --program-s*)
-		program_suffix=$optarg
-		program_suffixoption="--program-suffix=$optarg"
-		;;
-	--program-transform-name* | --program-t*)
-		# Double any backslashes or dollar signs in the argument
-		program_transform_name="${program_transform_name} -e `echo ${optarg} | sed -e 's/\\\\/\\\\\\\\/g' -e 's/\\\$/$$/g'`"
-		program_transform_nameoption="${program_transform_nameoption} --program-transform-name='$optarg'"
-		;;
-	--rm)
-		removing=--rm
-		;;
-	--silent | --sil* | --quiet | --q*)
-		redirect=">/dev/null"
-		verbose=--silent
-		;;
-	--site* | --sit*)
-		site=$optarg
-		site_option="--site=$optarg"
-		;;
-	--srcdir*/ | --sr*/)
-                # Remove trailing slashes.  Otherwise, when the file name gets
-                # bolted into an object file as debug info, it has two slashes
-                # in it.  Ordinarily this is ok, but emacs takes double slash
-                # to mean "forget the first part".
-		srcdir=`echo $optarg | sed -e 's:/$::'`
-		;;
-	--srcdir* | --sr*)
-		srcdir=$optarg
-		;;
-	--target* | --ta*)
-		case $target_alias in
-		NOTARGET) target_alias=$optarg ;;
-		*) echo '***' Can only configure for one target at a time.  1>&2
-		   fatal=yes
-		   ;;
-		esac
-		;;
-	--tmpdir* | --tm*)
-		TMPDIR=$optarg
-		tmpdiroption="--tmpdir=$optarg"
-		;;
-	--verbose | --v | --verb*)
-		redirect=
-		verbose=--verbose
-		;;
-	--version | --V | --vers*)
-		echo "This is Cygnus Configure version" `echo ${version} | sed 's/[ $:]//g'`
-		exit 0
-		;;
-	--with-*)
-		case "$option" in
-		*=*)	;;
-		*)	optarg=yes ;;
-		esac
 
-		withopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'`
-		eval $withopt="$optarg"
-		withoptions="$withoptions $option"
-		;;
-	--without-*)
-		withopt=`echo ${option} | sed 's:^--::;s:out::;s:-:_:g'`
-		eval $withopt=no
-		withoutoptions="$withoutoptions $option"
-		;;
-	--x)	with_x=yes
-		withoptions="$withoptions --with-x"
-		;;
-	--x-i* | --x-l*) other_options="$other_options $orig_option"
-		;;
-	--*)
-		echo "configure: Unrecognized option: \"$orig_option\"; use --help for usage." >&2
-		exit 1
-		;;
-	*)
-		case $undefs in
-		NOUNDEFS) undefs=$option ;;
-		*) echo '***' Can only configure for one host and one target at a time.  1>&2
-		   fatal=yes
-		   ;;
-		esac
-		;;
-	esac
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_sep=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+  for ac_arg
+  do
+    case $ac_arg in
+    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+    | -silent | --silent | --silen | --sile | --sil)
+      continue ;;
+    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
+      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+    esac
+    case $ac_pass in
+    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
+    2)
+      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
+      if test $ac_must_keep_next = true; then
+        ac_must_keep_next=false # Got value, back to normal.
+      else
+        case $ac_arg in
+          *=* | --config-cache | -C | -disable-* | --disable-* \
+          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+          | -with-* | --with-* | -without-* | --without-* | --x)
+            case "$ac_configure_args0 " in
+              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+            esac
+            ;;
+          -* ) ac_must_keep_next=true ;;
+        esac
+      fi
+      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
+      # Get rid of the leading space.
+      ac_sep=" "
+      ;;
+    esac
+  done
 done
+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
-# process host and target
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log.  We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Be sure not to use single quotes in there, as some shells,
+# such as our DU 5.0 friend, will then `close' the trap.
+trap 'exit_status=$?
+  # Save into config.log some information that might help in debugging.
+  {
+    echo
 
-# Do some error checking and defaulting for the host and target type.
-# The inputs are:
-#    configure --host=HOST --target=TARGET UNDEFS
-#
-# The rules are:
-# 1. You aren't allowed to specify --host, --target, and undefs at the
-#    same time.
-# 2. Host defaults to undefs.
-# 3. If undefs is not specified, then host defaults to the current host,
-#    as determined by config.guess.
-# 4. Target defaults to undefs.
-# 5. If undefs is not specified, then target defaults to host.
+    cat <<\_ASBOX
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+_ASBOX
+    echo
+    # The following way of writing the cache mishandles newlines in values,
+{
+  (set) 2>&1 |
+    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
+    *ac_space=\ *)
+      sed -n \
+        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
+    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
+      ;;
+    *)
+      sed -n \
+        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+      ;;
+    esac;
+}
+    echo
 
-case "${fatal}" in
-"")
-	# Make sure that host, target & undefs aren't all specified at the
-	# same time.
-	case $host_alias---$target_alias---$undefs in
-	NOHOST---*---* | *---NOTARGET---* | *---*---NOUNDEFS)
-		;;
-	*) echo '***' Can only configure for one host and one target at a time.  1>&2
-	   fatal=yes
-	   break 2
-		;;
-	esac
+    cat <<\_ASBOX
+## ----------------- ##
+## Output variables. ##
+## ----------------- ##
+_ASBOX
+    echo
+    for ac_var in $ac_subst_vars
+    do
+      eval ac_val=$`echo $ac_var`
+      echo "$ac_var='"'"'$ac_val'"'"'"
+    done | sort
+    echo
 
-	# Now, do defaulting for host.
-	case $host_alias in
-	NOHOST)
-		case $undefs in
-		NOUNDEFS)
-			# Neither --host option nor undefs were present.
-			# Call config.guess.
-			guesssys=`echo ${progname} | sed 's/configure$/config.guess/'`
-			if host_alias=`${guesssys}`
-			then
-				# If the string we are going to use for
-				# the target is a prefix of the string
-				# we just guessed for the host, then
-				# assume we are running native, and force
-				# the same string for both target and host.
-				case $target_alias in
-				NOTARGET) ;;
-				*)
-					if expr $host_alias : $target_alias >/dev/null
-					then
-						host_alias=$target_alias
-					fi
-					;;
-				esac
-				echo "Configuring for a ${host_alias} host." 1>&2
-				arguments="--host=$host_alias $arguments"
-			else
-				echo 'Config.guess failed to determine the host type.  You need to specify one.' 1>&2
-				fatal=yes
-			fi
-			;;
-		*)
-			host_alias=$undefs
-			;;
-		esac
-	esac
+    if test -n "$ac_subst_files"; then
+      cat <<\_ASBOX
+## ------------- ##
+## Output files. ##
+## ------------- ##
+_ASBOX
+      echo
+      for ac_var in $ac_subst_files
+      do
+	eval ac_val=$`echo $ac_var`
+        echo "$ac_var='"'"'$ac_val'"'"'"
+      done | sort
+      echo
+    fi
 
-	# Do defaulting for target.  If --target option isn't present, default
-	# to undefs.  If undefs isn't present, default to host.
-	case $target_alias in
-	NOTARGET)
-		case $undefs in
-		NOUNDEFS)
-			target_alias=$host_alias
-			;;
-		*)
-			target_alias=$undefs
-			;;
-		esac
-	esac
-	;;
-*) ;;
+    if test -s confdefs.h; then
+      cat <<\_ASBOX
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+_ASBOX
+      echo
+      sed "/^$/d" confdefs.h | sort
+      echo
+    fi
+    test "$ac_signal" != 0 &&
+      echo "$as_me: caught signal $ac_signal"
+    echo "$as_me: exit $exit_status"
+  } >&5
+  rm -f core core.* *.core &&
+  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
+    exit $exit_status
+     ' 0
+for ac_signal in 1 2 13 15; do
+  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -rf conftest* confdefs.h
+# AIX cpp loses on an empty file, so make sure it contains at least a newline.
+echo >confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer explicitly selected file to automatically selected ones.
+if test -z "$CONFIG_SITE"; then
+  if test "x$prefix" != xNONE; then
+    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
+  else
+    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
+  fi
+fi
+for ac_site_file in $CONFIG_SITE; do
+  if test -r "$ac_site_file"; then
+    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
+echo "$as_me: loading site script $ac_site_file" >&6;}
+    sed 's/^/| /' "$ac_site_file" >&5
+    . "$ac_site_file"
+  fi
+done
+
+if test -r "$cache_file"; then
+  # Some versions of bash will fail to source /dev/null (special
+  # files actually), so we avoid doing that.
+  if test -f "$cache_file"; then
+    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
+echo "$as_me: loading cache $cache_file" >&6;}
+    case $cache_file in
+      [\\/]* | ?:[\\/]* ) . $cache_file;;
+      *)                      . ./$cache_file;;
+    esac
+  fi
+else
+  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
+echo "$as_me: creating cache $cache_file" >&6;}
+  >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in `(set) 2>&1 |
+               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
+  eval ac_new_set=\$ac_env_${ac_var}_set
+  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
+  eval ac_new_val="\$ac_env_${ac_var}_value"
+  case $ac_old_set,$ac_new_set in
+    set,)
+      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+      ac_cache_corrupted=: ;;
+    ,set)
+      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+      ac_cache_corrupted=: ;;
+    ,);;
+    *)
+      if test "x$ac_old_val" != "x$ac_new_val"; then
+        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
+echo "$as_me:   former value:  $ac_old_val" >&2;}
+        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
+echo "$as_me:   current value: $ac_new_val" >&2;}
+        ac_cache_corrupted=:
+      fi;;
+  esac
+  # Pass precious variables to config.status.
+  if test "$ac_new_set" = set; then
+    case $ac_new_val in
+    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
+      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+    *) ac_arg=$ac_var=$ac_new_val ;;
+    esac
+    case " $ac_configure_args " in
+      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
+      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
+    esac
+  fi
+done
+if $ac_cache_corrupted; then
+  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
+echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+   { (exit 1); exit 1; }; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ac_aux_dir=
+for ac_dir in bin $srcdir/bin; do
+  if test -f $ac_dir/install-sh; then
+    ac_aux_dir=$ac_dir
+    ac_install_sh="$ac_aux_dir/install-sh -c"
+    break
+  elif test -f $ac_dir/install.sh; then
+    ac_aux_dir=$ac_dir
+    ac_install_sh="$ac_aux_dir/install.sh -c"
+    break
+  elif test -f $ac_dir/shtool; then
+    ac_aux_dir=$ac_dir
+    ac_install_sh="$ac_aux_dir/shtool install -c"
+    break
+  fi
+done
+if test -z "$ac_aux_dir"; then
+  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in bin $srcdir/bin" >&5
+echo "$as_me: error: cannot find install-sh or install.sh in bin $srcdir/bin" >&2;}
+   { (exit 1); exit 1; }; }
+fi
+ac_config_guess="$SHELL $ac_aux_dir/config.guess"
+ac_config_sub="$SHELL $ac_aux_dir/config.sub"
+ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
+
+          ac_config_headers="$ac_config_headers hdf/src/h4config.h"
+
+
+am__api_version="1.7"
+# Find a good install program.  We prefer a C program (faster),
+# so one script is as good as another.  But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# ./install, which can be erroneously created by make from ./install.sh.
+echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
+if test -z "$INSTALL"; then
+if test "${ac_cv_path_install+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in
+  ./ | .// | /cC/* | \
+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+  /usr/ucb/* ) ;;
+  *)
+    # OSF1 and SCO ODT 3.0 have their own names for install.
+    # Don't use installbsd from OSF since it installs stuff as root
+    # by default.
+    for ac_prog in ginstall scoinst install; do
+      for ac_exec_ext in '' $ac_executable_extensions; do
+        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+          if test $ac_prog = install &&
+            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+            # AIX install.  It has an incompatible calling convention.
+            :
+          elif test $ac_prog = install &&
+            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+            # program-specific install script used by HP pwplus--don't use.
+            :
+          else
+            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+            break 3
+          fi
+        fi
+      done
+    done
+    ;;
 esac
+done
 
-if [ -n "${fatal}" -o "${host_alias}" = "help" ] ; then
-	exec 1>&2
-	echo Usage: configure [OPTIONS] [HOST]
-	echo
-	echo Options: [defaults in brackets]
-	echo ' --prefix=MYDIR		 install into MYDIR [/usr/local]'
-	echo ' --exec-prefix=MYDIR	 install host-dependent files into MYDIR [/usr/local]'
-	echo ' --help			 print this message [normal config]'
-	echo ' --build=BUILD		 configure for building on BUILD [BUILD=HOST]'
-	echo ' --host=HOST		 configure for HOST [determined via config.guess]'
-	echo ' --norecursion		 configure this directory only [recurse]'
-	echo ' --program-prefix=FOO	 prepend FOO to installed program names [""]'
-	echo ' --program-suffix=FOO	 append FOO to installed program names [""]'
-	echo ' --program-transform-name=P transform installed names by sed pattern P [""]'
-	echo ' --site=SITE		 configure with site-specific makefile for SITE'
-	echo ' --srcdir=DIR		 find the sources in DIR [. or ..]'
-	echo ' --target=TARGET	 configure for TARGET [TARGET=HOST]'
-	echo ' --tmpdir=TMPDIR	 create temporary files in TMPDIR [/tmp]'
-	echo ' --nfp			 configure for software floating point [hard float]'
-	echo ' --with-FOO, --with-FOO=BAR package FOO is available (parameter BAR)'
-	echo ' --without-FOO		 package FOO is NOT available'
-	echo ' --enable-FOO, --enable-FOO=BAR include feature FOO (parameter BAR)'
-	echo ' --disable-FOO		 do not include feature FOO'
-	echo
-	echo 'Where HOST and TARGET are something like "sparc-sunos", "mips-sgi-irix5", etc.'
-	echo
-	if [ -r config.status ] ; then
-		cat config.status
-	fi
 
-	exit 1
 fi
+  if test "${ac_cv_path_install+set}" = set; then
+    INSTALL=$ac_cv_path_install
+  else
+    # As a last resort, use the slow shell script.  We don't cache a
+    # path for INSTALL within a source directory, because that will
+    # break other packages using the cache if that directory is
+    # removed, or if the path is relative.
+    INSTALL=$ac_install_sh
+  fi
+fi
+echo "$as_me:$LINENO: result: $INSTALL" >&5
+echo "${ECHO_T}$INSTALL" >&6
 
-configsub=`echo ${progname} | sed 's/configure$/config.sub/'`
-moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'`
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
-# this is a hack.  sun4 must always be a valid host alias or this will fail.
-if ${configsub} sun4 >/dev/null 2>&1 ; then
-        true
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+echo "$as_me:$LINENO: checking whether build environment is sane" >&5
+echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
+# Just in case
+sleep 1
+echo timestamp > conftest.file
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments.  Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+   if test "$*" = "X"; then
+      # -L didn't work.
+      set X `ls -t $srcdir/configure conftest.file`
+   fi
+   rm -f conftest.file
+   if test "$*" != "X $srcdir/configure conftest.file" \
+      && test "$*" != "X conftest.file $srcdir/configure"; then
+
+      # If neither matched, then we have a broken ls.  This can happen
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
+      # broken ls alias from the environment.  This has actually
+      # happened.  Such a system could not be considered "sane".
+      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
+alias in your environment" >&5
+echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
+alias in your environment" >&2;}
+   { (exit 1); exit 1; }; }
+   fi
+
+   test "$2" = conftest.file
+   )
+then
+   # Ok.
+   :
 else
-        echo '***' cannot find config.sub.  1>&2
-        exit 1
+   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
+Check your system clock" >&5
+echo "$as_me: error: newly created file is older than distributed files!
+Check your system clock" >&2;}
+   { (exit 1); exit 1; }; }
 fi
+echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+test "$program_prefix" != NONE &&
+  program_transform_name="s,^,$program_prefix,;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
+# Double any \ or $.  echo might interpret backslashes.
+# By default was `s,x,x', remove it if useless.
+cat <<\_ACEOF >conftest.sed
+s/[\\$]/&&/g;s/;s,x,x,$//
+_ACEOF
+program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
+rm conftest.sed
 
-touch config.junk
-if ${moveifchange} config.junk config.trash ; then
-        true
+
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+  am_missing_run="$MISSING --run "
 else
-        echo '***' cannot find move-if-change.  1>&2
-        exit 1
+  am_missing_run=
+  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
+echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 fi
-rm -f config.junk config.trash
 
-case "${srcdir}" in
-"")
-        if [ -r configure.in ] ; then
-                srcdir=.
-        else
-                if [ -r ${progname}.in ] ; then
-                        srcdir=`echo ${progname} | sed 's:/configure$::'`
-                else
-                        echo '***' "Can't find configure.in.  Try using --srcdir=some_dir"  1>&2
-                        exit 1
-                fi
-        fi
+for ac_prog in gawk mawk nawk awk
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_AWK+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$AWK"; then
+  ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_AWK="$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+  echo "$as_me:$LINENO: result: $AWK" >&5
+echo "${ECHO_T}$AWK" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+  test -n "$AWK" && break
+done
+
+echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
+set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
+if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.make <<\_ACEOF
+all:
+	@echo 'ac_maketemp="$(MAKE)"'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
+if test -n "$ac_maketemp"; then
+  eval ac_cv_prog_make_${ac_make}_set=yes
+else
+  eval ac_cv_prog_make_${ac_make}_set=no
+fi
+rm -f conftest.make
+fi
+if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+  echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+  SET_MAKE=
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+  SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+  am__leading_dot=.
+else
+  am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+ # test to see if srcdir already configured
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
+   test -f $srcdir/config.status; then
+  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
+echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
+   { (exit 1); exit 1; }; }
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+  if (cygpath --version) >/dev/null 2>/dev/null; then
+    CYGPATH_W='cygpath -w'
+  else
+    CYGPATH_W=echo
+  fi
+fi
+
+
+# Define the identity of the package.
+ PACKAGE=HDF
+ VERSION=4.2r1
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+
+AMTAR=${AMTAR-"${am_missing_run}tar"}
+
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
+
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'.  However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+  if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_STRIP+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$STRIP"; then
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+  echo "$as_me:$LINENO: result: $STRIP" >&5
+echo "${ECHO_T}$STRIP" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+  ac_ct_STRIP=$STRIP
+  # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$ac_ct_STRIP"; then
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_STRIP="strip"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
+echo "${ECHO_T}$ac_ct_STRIP" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+  STRIP=$ac_ct_STRIP
+else
+  STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
+
+# We need awk for the "check" target.  The system "awk" is bad on
+# some platforms.
+
+
+
+echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
+echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
+    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
+if test "${enable_maintainer_mode+set}" = set; then
+  enableval="$enable_maintainer_mode"
+  USE_MAINTAINER_MODE=$enableval
+else
+  USE_MAINTAINER_MODE=no
+fi;
+  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
+echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
+
+
+if test $USE_MAINTAINER_MODE = yes; then
+  MAINTAINER_MODE_TRUE=
+  MAINTAINER_MODE_FALSE='#'
+else
+  MAINTAINER_MODE_TRUE='#'
+  MAINTAINER_MODE_FALSE=
+fi
+
+  MAINT=$MAINTAINER_MODE_TRUE
+
+
+
+
+
+          ac_config_commands="$ac_config_commands default-1"
+
+
+
+echo "$as_me:$LINENO: checking shell variables initial values" >&5
+echo $ECHO_N "checking shell variables initial values... $ECHO_C" >&6
+set >&5
+echo "$as_me:$LINENO: result: done" >&5
+echo "${ECHO_T}done" >&6
+
+# Make sure we can run config.sub.
+$ac_config_sub sun4 >/dev/null 2>&1 ||
+  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
+echo "$as_me: error: cannot run $ac_config_sub" >&2;}
+   { (exit 1); exit 1; }; }
+
+echo "$as_me:$LINENO: checking build system type" >&5
+echo $ECHO_N "checking build system type... $ECHO_C" >&6
+if test "${ac_cv_build+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_cv_build_alias=$build_alias
+test -z "$ac_cv_build_alias" &&
+  ac_cv_build_alias=`$ac_config_guess`
+test -z "$ac_cv_build_alias" &&
+  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
+echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+   { (exit 1); exit 1; }; }
+ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
+  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
+echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
+   { (exit 1); exit 1; }; }
+
+fi
+echo "$as_me:$LINENO: result: $ac_cv_build" >&5
+echo "${ECHO_T}$ac_cv_build" >&6
+build=$ac_cv_build
+build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+
+
+echo "$as_me:$LINENO: checking host system type" >&5
+echo $ECHO_N "checking host system type... $ECHO_C" >&6
+if test "${ac_cv_host+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_cv_host_alias=$host_alias
+test -z "$ac_cv_host_alias" &&
+  ac_cv_host_alias=$ac_cv_build_alias
+ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
+  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
+echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
+   { (exit 1); exit 1; }; }
+
+fi
+echo "$as_me:$LINENO: result: $ac_cv_host" >&5
+echo "${ECHO_T}$ac_cv_host" >&6
+host=$ac_cv_host
+host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+
+
+
+echo "$as_me:$LINENO: checking if tr works" >&5
+echo $ECHO_N "checking if tr works... $ECHO_C" >&6
+TR_TEST="`echo Test | tr 'a-z,' 'A-Z '`"
+if test $TR_TEST != "TEST"; then
+  { { echo "$as_me:$LINENO: error: tr program doesn't work" >&5
+echo "$as_me: error: tr program doesn't work" >&2;}
+   { (exit 1); exit 1; }; }
+else
+  echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+fi
+
+echo "$as_me:$LINENO: checking if basename works" >&5
+echo $ECHO_N "checking if basename works... $ECHO_C" >&6
+BASENAME_TEST="`basename /foo/bar/baz/qux/basename_works`"
+if test $BASENAME_TEST != "basename_works"; then
+  { { echo "$as_me:$LINENO: error: basename program doesn't work" >&5
+echo "$as_me: error: basename program doesn't work" >&2;}
+   { (exit 1); exit 1; }; }
+else
+  echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+fi
+
+echo "$as_me:$LINENO: checking if xargs works" >&5
+echo $ECHO_N "checking if xargs works... $ECHO_C" >&6
+XARGS_TEST="`echo /foo/bar/baz/qux/xargs_works | xargs basename`"
+if test $XARGS_TEST != "xargs_works"; then
+  { { echo "$as_me:$LINENO: error: xargs program doesn't work" >&5
+echo "$as_me: error: xargs program doesn't work" >&2;}
+   { (exit 1); exit 1; }; }
+else
+  echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+fi
+
+case "$host_os" in
+  aix4.*)       host_os_novers="aix4.x"     ;;
+  aix5.*)       host_os_novers="aix5.x"     ;;
+  freebsd*)     host_os_novers="freebsd"    ;;
+  irix5.*)      host_os_novers="irix5.x"    ;;
+  irix6.*)      host_os_novers="irix6.x"    ;;
+  osf4.*)       host_os_novers="osf4.x"     ;;
+  osf5.*)       host_os_novers="osf5.x"     ;;
+  solaris2.*)   host_os_novers="solaris2.x" ;;
+  *)            host_os_novers="$host_os"   ;;
+esac
+
+host_config="none"
+for f in $host_cpu-$host_vendor-$host_os        \
+         $host_cpu-$host_vendor-$host_os_novers \
+         $host_vendor-$host_os                  \
+         $host_vendor-$host_os_novers           \
+         $host_cpu-$host_os                     \
+         $host_cpu-$host_os_novers              \
+         $host_cpu-$host_vendor                 \
+         $host_os                               \
+         $host_os_novers                        \
+         $host_vendor                           \
+         $host_cpu ; do
+  echo "$as_me:$LINENO: checking for config $f" >&5
+echo $ECHO_N "checking for config $f... $ECHO_C" >&6
+  if test -f "$srcdir/config/$f"; then
+    host_config=$srcdir/config/$f
+    echo "$as_me:$LINENO: result: found" >&5
+echo "${ECHO_T}found" >&6
+    break
+  fi
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+done
+if test "X$host_config" != "Xnone"; then
+  CC_BASENAME="`echo $CC | cut -f1 -d' ' | xargs basename 2>/dev/null`"
+  F77_BASENAME="`echo $F77 | cut -f1 -d' ' | xargs basename 2>/dev/null`"
+  CXX_BASENAME="`echo $CXX | cut -f1 -d' ' | xargs basename 2>/dev/null`"
+  . $host_config
+fi
+
+
+echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
+set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
+if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.make <<\_ACEOF
+all:
+	@echo 'ac_maketemp="$(MAKE)"'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
+if test -n "$ac_maketemp"; then
+  eval ac_cv_prog_make_${ac_make}_set=yes
+else
+  eval ac_cv_prog_make_${ac_make}_set=no
+fi
+rm -f conftest.make
+fi
+if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+  echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+  SET_MAKE=
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+  SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+  ac_ct_CC=$CC
+  # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$ac_ct_CC"; then
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_CC="gcc"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+  CC=$ac_ct_CC
+else
+  CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+  if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_CC="${ac_tool_prefix}cc"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+  ac_ct_CC=$CC
+  # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$ac_ct_CC"; then
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_CC="cc"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+  CC=$ac_ct_CC
+else
+  CC="$ac_cv_prog_CC"
+fi
+
+fi
+if test -z "$CC"; then
+  # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+  ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+       ac_prog_rejected=yes
+       continue
+     fi
+    ac_cv_prog_CC="cc"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+if test $ac_prog_rejected = yes; then
+  # We found a bogon in the path, so make sure we never use it.
+  set dummy $ac_cv_prog_CC
+  shift
+  if test $# != 0; then
+    # We chose a different compiler from the bogus one.
+    # However, it has the same basename, so the bogon will be chosen
+    # first if we set CC to just the basename; use the full file name.
+    shift
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+  fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+fi
+if test -z "$CC"; then
+  if test -n "$ac_tool_prefix"; then
+  for ac_prog in cl
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+    test -n "$CC" && break
+  done
+fi
+if test -z "$CC"; then
+  ac_ct_CC=$CC
+  for ac_prog in cl
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$ac_ct_CC"; then
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_CC="$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+  test -n "$ac_ct_CC" && break
+done
+
+  CC=$ac_ct_CC
+fi
+
+fi
+
+
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&5
+echo "$as_me: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&2;}
+   { (exit 1); exit 1; }; }
+
+# Provide some information about the compiler.
+echo "$as_me:$LINENO:" \
+     "checking for C compiler version" >&5
+ac_compiler=`set X $ac_compile; echo $2`
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
+  (eval $ac_compiler --version </dev/null >&5) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
+  (eval $ac_compiler -v </dev/null >&5) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
+  (eval $ac_compiler -V </dev/null >&5) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+echo "$as_me:$LINENO: checking for C compiler default output" >&5
+echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
+ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
+  (eval $ac_link_default) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; then
+  # Find the output, starting from the most likely.  This scheme is
+# not robust to junk in `.', hence go to wildcards (a.*) only as a last
+# resort.
+
+# Be careful to initialize this variable, since it used to be cached.
+# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
+ac_cv_exeext=
+# b.out is created by i960 compilers.
+for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
+do
+  test -f "$ac_file" || continue
+  case $ac_file in
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
         ;;
-*) ;;
+    conftest.$ac_ext )
+        # This is the source file.
+        ;;
+    [ab].out )
+        # We found the default executable, but exeext='' is most
+        # certainly right.
+        break;;
+    *.* )
+        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+        # FIXME: I believe we export ac_cv_exeext for Libtool,
+        # but it would be cool to find out if it's true.  Does anybody
+        # maintain Libtool? --akim.
+        export ac_cv_exeext
+        break;;
+    * )
+        break;;
+  esac
+done
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
+See \`config.log' for more details." >&5
+echo "$as_me: error: C compiler cannot create executables
+See \`config.log' for more details." >&2;}
+   { (exit 77); exit 77; }; }
+fi
+
+ac_exeext=$ac_cv_exeext
+echo "$as_me:$LINENO: result: $ac_file" >&5
+echo "${ECHO_T}$ac_file" >&6
+
+# Check the compiler produces executables we can run.  If not, either
+# the compiler is broken, or we cross compile.
+echo "$as_me:$LINENO: checking whether the C compiler works" >&5
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
+# If not cross compiling, check that we can run a simple program.
+if test "$cross_compiling" != yes; then
+  if { ac_try='./$ac_file'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+    cross_compiling=no
+  else
+    if test "$cross_compiling" = maybe; then
+	cross_compiling=yes
+    else
+	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." >&2;}
+   { (exit 1); exit 1; }; }
+    fi
+  fi
+fi
+echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+
+rm -f a.out a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+# Check the compiler produces executables we can run.  If not, either
+# the compiler is broken, or we cross compile.
+echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+echo "$as_me:$LINENO: result: $cross_compiling" >&5
+echo "${ECHO_T}$cross_compiling" >&6
+
+echo "$as_me:$LINENO: checking for suffix of executables" >&5
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; then
+  # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+  test -f "$ac_file" || continue
+  case $ac_file in
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
+    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+          export ac_cv_exeext
+          break;;
+    * ) break;;
+  esac
+done
+else
+  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+
+rm -f conftest$ac_cv_exeext
+echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
+echo "${ECHO_T}$ac_cv_exeext" >&6
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+echo "$as_me:$LINENO: checking for suffix of object files" >&5
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
+if test "${ac_cv_objext+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; then
+  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
+  case $ac_file in
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
+    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+       break;;
+  esac
+done
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
+echo "${ECHO_T}$ac_cv_objext" >&6
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+#ifndef __GNUC__
+       choke me
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_compiler_gnu=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_compiler_gnu=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
+GCC=`test $ac_compiler_gnu = yes && echo yes`
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+CFLAGS="-g"
+echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
+if test "${ac_cv_prog_cc_g+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_prog_cc_g=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_prog_cc_g=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
+if test "$ac_test_CFLAGS" = set; then
+  CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+  if test "$GCC" = yes; then
+    CFLAGS="-g -O2"
+  else
+    CFLAGS="-g"
+  fi
+else
+  if test "$GCC" = yes; then
+    CFLAGS="-O2"
+  else
+    CFLAGS=
+  fi
+fi
+echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
+echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
+if test "${ac_cv_prog_cc_stdc+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_cv_prog_cc_stdc=no
+ac_save_CC=$CC
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+     char **p;
+     int i;
+{
+  return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+  char *s;
+  va_list v;
+  va_start (v,p);
+  s = g (p, va_arg (v,int));
+  va_end (v);
+  return s;
+}
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+  ;
+  return 0;
+}
+_ACEOF
+# Don't try gcc -ansi; that turns off useful extensions and
+# breaks some systems' header files.
+# AIX			-qlanglvl=ansi
+# Ultrix and OSF/1	-std1
+# HP-UX 10.20 and later	-Ae
+# HP-UX older versions	-Aa -D_HPUX_SOURCE
+# SVR4			-Xc -D__EXTENSIONS__
+for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+  CC="$ac_save_CC $ac_arg"
+  rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_prog_cc_stdc=$ac_arg
+break
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext
+done
+rm -f conftest.$ac_ext conftest.$ac_objext
+CC=$ac_save_CC
+
+fi
+
+case "x$ac_cv_prog_cc_stdc" in
+  x|xno)
+    echo "$as_me:$LINENO: result: none needed" >&5
+echo "${ECHO_T}none needed" >&6 ;;
+  *)
+    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+    CC="$CC $ac_cv_prog_cc_stdc" ;;
 esac
 
-### warn about some conflicting configurations.
+# Some people use a C++ compiler to compile C.  Since we use `exit',
+# in C++ we need to declare it.  In case someone uses the same compiler
+# for both compiling C and C++ we need to have the C++ compiler decide
+# the declaration of exit, since it's the most demanding environment.
+cat >conftest.$ac_ext <<_ACEOF
+#ifndef __cplusplus
+  choke me
+#endif
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  for ac_declaration in \
+   ''\
+   '#include <stdlib.h>' \
+   'extern "C" void std::exit (int) throw (); using std::exit;' \
+   'extern "C" void std::exit (int); using std::exit;' \
+   'extern "C" void exit (int) throw ();' \
+   'extern "C" void exit (int);' \
+   'void exit (int);'
+do
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <stdlib.h>
+$ac_declaration
+int
+main ()
+{
+exit (42);
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  :
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
-case "${srcdir}" in
-".") ;;
-*)
-        if [ -f ${srcdir}/config.status ] ; then
-                echo '***' Cannot configure here in \"${PWD=`pwd`}\" when \"${srcdir}\" is currently configured. 1>&2
-                exit 1
+continue
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_declaration
+int
+main ()
+{
+exit (42);
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  break
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+done
+rm -f conftest*
+if test -n "$ac_declaration"; then
+  echo '#ifdef __cplusplus' >>confdefs.h
+  echo $ac_declaration      >>confdefs.h
+  echo '#endif'             >>confdefs.h
+fi
+
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+DEPDIR="${am__leading_dot}deps"
+
+          ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+	@echo done
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
+echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# We grep out `Entering directory' and `Leaving directory'
+# messages which can occur if `w' ends up in MAKEFLAGS.
+# In particular we don't look at `^make:' because GNU make might
+# be invoked under some other name (usually "gmake"), in which
+# case it prints its new name instead of `make'.
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
+   am__include=include
+   am__quote=
+   _am_result=GNU
+fi
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+   echo '.include "confinc"' > confmf
+   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
+      am__include=.include
+      am__quote="\""
+      _am_result=BSD
+   fi
+fi
+
+
+echo "$as_me:$LINENO: result: $_am_result" >&5
+echo "${ECHO_T}$_am_result" >&6
+rm -f confinc confmf
+
+# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then
+  enableval="$enable_dependency_tracking"
+
+fi;
+if test "x$enable_dependency_tracking" != xno; then
+  am_depcomp="$ac_aux_dir/depcomp"
+  AMDEPBACKSLASH='\'
+fi
+
+
+if test "x$enable_dependency_tracking" != xno; then
+  AMDEP_TRUE=
+  AMDEP_FALSE='#'
+else
+  AMDEP_TRUE='#'
+  AMDEP_FALSE=
+fi
+
+
+
+
+depcc="$CC"   am_compiler_list=
+
+echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+  # We make a subdir and do the tests there.  Otherwise we can end up
+  # making bogus files that we don't know about and never remove.  For
+  # instance it was reported that on HP-UX the gcc test will end up
+  # making a dummy file named `D' -- because `-MD' means `put the output
+  # in D'.
+  mkdir conftest.dir
+  # Copy depcomp to subdir because otherwise we won't find it if we're
+  # using a relative directory.
+  cp "$am_depcomp" conftest.dir
+  cd conftest.dir
+  # We will build objects and dependencies in a subdirectory because
+  # it helps to detect inapplicable dependency modes.  For instance
+  # both Tru64's cc and ICC support -MD to output dependencies as a
+  # side effect of compilation, but ICC will put the dependencies in
+  # the current directory while Tru64 will put them in the object
+  # directory.
+  mkdir sub
+
+  am_cv_CC_dependencies_compiler_type=none
+  if test "$am_compiler_list" = ""; then
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+  fi
+  for depmode in $am_compiler_list; do
+    # Setup a source with many dependencies, because some compilers
+    # like to wrap large dependency lists on column 80 (with \), and
+    # we should not choose a depcomp mode which is confused by this.
+    #
+    # We need to recreate these files for each test, as the compiler may
+    # overwrite some of them when testing with obscure command lines.
+    # This happens at least with the AIX C compiler.
+    : > sub/conftest.c
+    for i in 1 2 3 4 5 6; do
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
+      : > sub/conftst$i.h
+    done
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+    case $depmode in
+    nosideeffect)
+      # after this tag, mechanisms are not by side-effect, so they'll
+      # only be used when explicitly requested
+      if test "x$enable_dependency_tracking" = xyes; then
+	continue
+      else
+	break
+      fi
+      ;;
+    none) break ;;
+    esac
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle `-M -o', and we need to detect this.
+    if depmode=$depmode \
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+         >/dev/null 2>conftest.err &&
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+      # icc doesn't choke on unknown options, it will just issue warnings
+      # (even with -Werror).  So we grep stderr for any message
+      # that says an option was ignored.
+      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
+        am_cv_CC_dependencies_compiler_type=$depmode
+        break
+      fi
+    fi
+  done
+
+  cd ..
+  rm -rf conftest.dir
+else
+  am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+
+
+if
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+  am__fastdepCC_TRUE=
+  am__fastdepCC_FALSE='#'
+else
+  am__fastdepCC_TRUE='#'
+  am__fastdepCC_FALSE=
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+  CPP=
+fi
+if test -z "$CPP"; then
+  if test "${ac_cv_prog_CPP+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+      # Double quotes because CPP needs to be expanded
+    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+    do
+      ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+                     Syntax error
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  :
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.$ac_ext
+
+  # OK, works on sane cases.  Now check whether non-existent headers
+  # can be detected and how.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  # Broken: success on invalid input.
+continue
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+  break
+fi
+
+    done
+    ac_cv_prog_CPP=$CPP
+
+fi
+  CPP=$ac_cv_prog_CPP
+else
+  ac_cv_prog_CPP=$CPP
+fi
+echo "$as_me:$LINENO: result: $CPP" >&5
+echo "${ECHO_T}$CPP" >&6
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+                     Syntax error
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  :
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.$ac_ext
+
+  # OK, works on sane cases.  Now check whether non-existent headers
+  # can be detected and how.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  # Broken: success on invalid input.
+continue
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+  :
+else
+  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&5
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=cc
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CXX+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$CXX"; then
+  ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+CXX=$ac_cv_prog_CXX
+if test -n "$CXX"; then
+  echo "$as_me:$LINENO: result: $CXX" >&5
+echo "${ECHO_T}$CXX" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+    test -n "$CXX" && break
+  done
+fi
+if test -z "$CXX"; then
+  ac_ct_CXX=$CXX
+  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$ac_ct_CXX"; then
+  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_CXX="$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
+if test -n "$ac_ct_CXX"; then
+  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
+echo "${ECHO_T}$ac_ct_CXX" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+  test -n "$ac_ct_CXX" && break
+done
+test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
+
+  CXX=$ac_ct_CXX
+fi
+
+
+# Provide some information about the compiler.
+echo "$as_me:$LINENO:" \
+     "checking for C++ compiler version" >&5
+ac_compiler=`set X $ac_compile; echo $2`
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
+  (eval $ac_compiler --version </dev/null >&5) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
+  (eval $ac_compiler -v </dev/null >&5) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
+  (eval $ac_compiler -V </dev/null >&5) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+
+echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+#ifndef __GNUC__
+       choke me
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_compiler_gnu=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_compiler_gnu=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+
+fi
+echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
+GXX=`test $ac_compiler_gnu = yes && echo yes`
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
+CXXFLAGS="-g"
+echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
+if test "${ac_cv_prog_cxx_g+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_prog_cxx_g=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_prog_cxx_g=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
+if test "$ac_test_CXXFLAGS" = set; then
+  CXXFLAGS=$ac_save_CXXFLAGS
+elif test $ac_cv_prog_cxx_g = yes; then
+  if test "$GXX" = yes; then
+    CXXFLAGS="-g -O2"
+  else
+    CXXFLAGS="-g"
+  fi
+else
+  if test "$GXX" = yes; then
+    CXXFLAGS="-O2"
+  else
+    CXXFLAGS=
+  fi
+fi
+for ac_declaration in \
+   ''\
+   '#include <stdlib.h>' \
+   'extern "C" void std::exit (int) throw (); using std::exit;' \
+   'extern "C" void std::exit (int); using std::exit;' \
+   'extern "C" void exit (int) throw ();' \
+   'extern "C" void exit (int);' \
+   'void exit (int);'
+do
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <stdlib.h>
+$ac_declaration
+int
+main ()
+{
+exit (42);
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  :
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+continue
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_declaration
+int
+main ()
+{
+exit (42);
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  break
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+done
+rm -f conftest*
+if test -n "$ac_declaration"; then
+  echo '#ifdef __cplusplus' >>confdefs.h
+  echo $ac_declaration      >>confdefs.h
+  echo '#endif'             >>confdefs.h
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CXX"  am_compiler_list=
+
+echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+  # We make a subdir and do the tests there.  Otherwise we can end up
+  # making bogus files that we don't know about and never remove.  For
+  # instance it was reported that on HP-UX the gcc test will end up
+  # making a dummy file named `D' -- because `-MD' means `put the output
+  # in D'.
+  mkdir conftest.dir
+  # Copy depcomp to subdir because otherwise we won't find it if we're
+  # using a relative directory.
+  cp "$am_depcomp" conftest.dir
+  cd conftest.dir
+  # We will build objects and dependencies in a subdirectory because
+  # it helps to detect inapplicable dependency modes.  For instance
+  # both Tru64's cc and ICC support -MD to output dependencies as a
+  # side effect of compilation, but ICC will put the dependencies in
+  # the current directory while Tru64 will put them in the object
+  # directory.
+  mkdir sub
+
+  am_cv_CXX_dependencies_compiler_type=none
+  if test "$am_compiler_list" = ""; then
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+  fi
+  for depmode in $am_compiler_list; do
+    # Setup a source with many dependencies, because some compilers
+    # like to wrap large dependency lists on column 80 (with \), and
+    # we should not choose a depcomp mode which is confused by this.
+    #
+    # We need to recreate these files for each test, as the compiler may
+    # overwrite some of them when testing with obscure command lines.
+    # This happens at least with the AIX C compiler.
+    : > sub/conftest.c
+    for i in 1 2 3 4 5 6; do
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
+      : > sub/conftst$i.h
+    done
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+    case $depmode in
+    nosideeffect)
+      # after this tag, mechanisms are not by side-effect, so they'll
+      # only be used when explicitly requested
+      if test "x$enable_dependency_tracking" = xyes; then
+	continue
+      else
+	break
+      fi
+      ;;
+    none) break ;;
+    esac
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle `-M -o', and we need to detect this.
+    if depmode=$depmode \
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+         >/dev/null 2>conftest.err &&
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+      # icc doesn't choke on unknown options, it will just issue warnings
+      # (even with -Werror).  So we grep stderr for any message
+      # that says an option was ignored.
+      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
+        am_cv_CXX_dependencies_compiler_type=$depmode
+        break
+      fi
+    fi
+  done
+
+  cd ..
+  rm -rf conftest.dir
+else
+  am_cv_CXX_dependencies_compiler_type=none
+fi
+
+fi
+echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
+echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
+
+
+
+if
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
+  am__fastdepCXX_TRUE=
+  am__fastdepCXX_FALSE='#'
+else
+  am__fastdepCXX_TRUE='#'
+  am__fastdepCXX_FALSE=
+fi
+
+
+
+# Check whether --enable-fortran or --disable-fortran was given.
+if test "${enable_fortran+set}" = set; then
+  enableval="$enable_fortran"
+
+else
+  enableval="yes"
+fi;
+
+case "$enableval" in
+  yes)
+    BUILD_FORTRAN="yes"
+    ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_F77+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$F77"; then
+  ac_cv_prog_F77="$F77" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+F77=$ac_cv_prog_F77
+if test -n "$F77"; then
+  echo "$as_me:$LINENO: result: $F77" >&5
+echo "${ECHO_T}$F77" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+    test -n "$F77" && break
+  done
+fi
+if test -z "$F77"; then
+  ac_ct_F77=$F77
+  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$ac_ct_F77"; then
+  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_F77="$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+ac_ct_F77=$ac_cv_prog_ac_ct_F77
+if test -n "$ac_ct_F77"; then
+  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
+echo "${ECHO_T}$ac_ct_F77" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+  test -n "$ac_ct_F77" && break
+done
+
+  F77=$ac_ct_F77
+fi
+
+
+# Provide some information about the compiler.
+echo "$as_me:3730:" \
+     "checking for Fortran 77 compiler version" >&5
+ac_compiler=`set X $ac_compile; echo $2`
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
+  (eval $ac_compiler --version </dev/null >&5) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
+  (eval $ac_compiler -v </dev/null >&5) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
+  (eval $ac_compiler -V </dev/null >&5) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+
+# If we don't use `.F' as extension, the preprocessor is not run on the
+# input file.
+ac_save_ext=$ac_ext
+ac_ext=F
+echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
+echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
+if test "${ac_cv_f77_compiler_gnu+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+      program main
+#ifndef __GNUC__
+       choke me
+#endif
+
+      end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_compiler_gnu=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_compiler_gnu=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+ac_cv_f77_compiler_gnu=$ac_compiler_gnu
+
+fi
+echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
+echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
+ac_ext=$ac_save_ext
+G77=`test $ac_compiler_gnu = yes && echo yes`
+ac_test_FFLAGS=${FFLAGS+set}
+ac_save_FFLAGS=$FFLAGS
+FFLAGS=
+echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
+echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
+if test "${ac_cv_prog_f77_g+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  FFLAGS=-g
+cat >conftest.$ac_ext <<_ACEOF
+      program main
+
+      end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_prog_f77_g=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_prog_f77_g=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+
+fi
+echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
+echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
+if test "$ac_test_FFLAGS" = set; then
+  FFLAGS=$ac_save_FFLAGS
+elif test $ac_cv_prog_f77_g = yes; then
+  if test "$G77" = yes; then
+    FFLAGS="-g -O2"
+  else
+    FFLAGS="-g"
+  fi
+else
+  if test "$G77" = yes; then
+    FFLAGS="-O2"
+  else
+    FFLAGS=
+  fi
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+    if test "X$F77" = "X"; then
+      BUILD_FORTRAN="no"
+    fi
+    ;;
+  no)
+    BUILD_FORTRAN="no"
+    ;;
+esac
+
+
+
+if test "X$BUILD_FORTRAN" = "Xyes"; then
+  HDF_BUILD_FORTRAN_TRUE=
+  HDF_BUILD_FORTRAN_FALSE='#'
+else
+  HDF_BUILD_FORTRAN_TRUE='#'
+  HDF_BUILD_FORTRAN_FALSE=
+fi
+
+
+# Find a good install program.  We prefer a C program (faster),
+# so one script is as good as another.  But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# ./install, which can be erroneously created by make from ./install.sh.
+echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
+if test -z "$INSTALL"; then
+if test "${ac_cv_path_install+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in
+  ./ | .// | /cC/* | \
+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+  /usr/ucb/* ) ;;
+  *)
+    # OSF1 and SCO ODT 3.0 have their own names for install.
+    # Don't use installbsd from OSF since it installs stuff as root
+    # by default.
+    for ac_prog in ginstall scoinst install; do
+      for ac_exec_ext in '' $ac_executable_extensions; do
+        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+          if test $ac_prog = install &&
+            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+            # AIX install.  It has an incompatible calling convention.
+            :
+          elif test $ac_prog = install &&
+            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+            # program-specific install script used by HP pwplus--don't use.
+            :
+          else
+            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+            break 3
+          fi
         fi
+      done
+    done
+    ;;
 esac
+done
 
-# default exec_prefix
-case "${exec_prefixoption}" in
-"") exec_prefix="\$(prefix)" ;;
-*) ;;
+
+fi
+  if test "${ac_cv_path_install+set}" = set; then
+    INSTALL=$ac_cv_path_install
+  else
+    # As a last resort, use the slow shell script.  We don't cache a
+    # path for INSTALL within a source directory, because that will
+    # break other packages using the cache if that directory is
+    # removed, or if the path is relative.
+    INSTALL=$ac_install_sh
+  fi
+fi
+echo "$as_me:$LINENO: result: $INSTALL" >&5
+echo "${ECHO_T}$INSTALL" >&6
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+
+for ac_prog in flex lex
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_LEX+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$LEX"; then
+  ac_cv_prog_LEX="$LEX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_LEX="$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+LEX=$ac_cv_prog_LEX
+if test -n "$LEX"; then
+  echo "$as_me:$LINENO: result: $LEX" >&5
+echo "${ECHO_T}$LEX" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+  test -n "$LEX" && break
+done
+test -n "$LEX" || LEX=":"
+
+if test -z "$LEXLIB"
+then
+  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
+echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
+if test "${ac_cv_lib_fl_yywrap+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lfl  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char yywrap ();
+int
+main ()
+{
+yywrap ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_lib_fl_yywrap=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_fl_yywrap=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
+echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
+if test $ac_cv_lib_fl_yywrap = yes; then
+  LEXLIB="-lfl"
+else
+  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
+echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
+if test "${ac_cv_lib_l_yywrap+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-ll  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char yywrap ();
+int
+main ()
+{
+yywrap ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_lib_l_yywrap=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_l_yywrap=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
+echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
+if test $ac_cv_lib_l_yywrap = yes; then
+  LEXLIB="-ll"
+fi
+
+fi
+
+fi
+
+if test "x$LEX" != "x:"; then
+  echo "$as_me:$LINENO: checking lex output file root" >&5
+echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
+if test "${ac_cv_prog_lex_root+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  # The minimal lex program is just a single line: %%.  But some broken lexes
+# (Solaris, I think it was) want two %% lines, so accommodate them.
+cat >conftest.l <<_ACEOF
+%%
+%%
+_ACEOF
+{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
+  (eval $LEX conftest.l) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+if test -f lex.yy.c; then
+  ac_cv_prog_lex_root=lex.yy
+elif test -f lexyy.c; then
+  ac_cv_prog_lex_root=lexyy
+else
+  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
+echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
+   { (exit 1); exit 1; }; }
+fi
+fi
+echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
+echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
+rm -f conftest.l
+LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
+
+echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
+echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
+if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  # POSIX says lex can declare yytext either as a pointer or an array; the
+# default is implementation-dependent. Figure out which it is, since
+# not all implementations provide the %pointer and %array declarations.
+ac_cv_prog_lex_yytext_pointer=no
+echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
+ac_save_LIBS=$LIBS
+LIBS="$LIBS $LEXLIB"
+cat >conftest.$ac_ext <<_ACEOF
+`cat $LEX_OUTPUT_ROOT.c`
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_prog_lex_yytext_pointer=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_save_LIBS
+rm -f "${LEX_OUTPUT_ROOT}.c"
+
+fi
+echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
+echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
+if test $ac_cv_prog_lex_yytext_pointer = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define YYTEXT_POINTER 1
+_ACEOF
+
+fi
+
+fi
+if test "$LEX" = :; then
+  LEX=${am_missing_run}flex
+fi
+echo "$as_me:$LINENO: checking whether ln -s works" >&5
+echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
+LN_S=$as_ln_s
+if test "$LN_S" = "ln -s"; then
+  echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+else
+  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
+echo "${ECHO_T}no, using $LN_S" >&6
+fi
+
+if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_RANLIB+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$RANLIB"; then
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+  echo "$as_me:$LINENO: result: $RANLIB" >&5
+echo "${ECHO_T}$RANLIB" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+  ac_ct_RANLIB=$RANLIB
+  # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$ac_ct_RANLIB"; then
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
+echo "${ECHO_T}$ac_ct_RANLIB" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+  RANLIB=$ac_ct_RANLIB
+else
+  RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+for ac_prog in 'bison -y' byacc
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_YACC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$YACC"; then
+  ac_cv_prog_YACC="$YACC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_YACC="$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+YACC=$ac_cv_prog_YACC
+if test -n "$YACC"; then
+  echo "$as_me:$LINENO: result: $YACC" >&5
+echo "${ECHO_T}$YACC" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+  test -n "$YACC" && break
+done
+test -n "$YACC" || YACC="yacc"
+
+
+for ac_prog in ar xar
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_AR+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$AR"; then
+  ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_AR="$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+  echo "$as_me:$LINENO: result: $AR" >&5
+echo "${ECHO_T}$AR" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+  test -n "$AR" && break
+done
+test -n "$AR" || AR=":"
+
+
+# Extract the first word of "diff", so it can be a program name with args.
+set dummy diff; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_DIFF+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$DIFF"; then
+  ac_cv_prog_DIFF="$DIFF" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_DIFF="diff -w"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+DIFF=$ac_cv_prog_DIFF
+if test -n "$DIFF"; then
+  echo "$as_me:$LINENO: result: $DIFF" >&5
+echo "${ECHO_T}$DIFF" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+# Extract the first word of "makeinfo", so it can be a program name with args.
+set dummy makeinfo; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_MAKEINFO+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$MAKEINFO"; then
+  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_MAKEINFO="makeinfo"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+MAKEINFO=$ac_cv_prog_MAKEINFO
+if test -n "$MAKEINFO"; then
+  echo "$as_me:$LINENO: result: $MAKEINFO" >&5
+echo "${ECHO_T}$MAKEINFO" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+# Extract the first word of "neqn", so it can be a program name with args.
+set dummy neqn; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_NEQN+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$NEQN"; then
+  ac_cv_prog_NEQN="$NEQN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_NEQN="neqn"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+NEQN=$ac_cv_prog_NEQN
+if test -n "$NEQN"; then
+  echo "$as_me:$LINENO: result: $NEQN" >&5
+echo "${ECHO_T}$NEQN" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+# Extract the first word of "tbl", so it can be a program name with args.
+set dummy tbl; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_TBL+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$TBL"; then
+  ac_cv_prog_TBL="$TBL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_TBL="tbl"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+
+fi
+fi
+TBL=$ac_cv_prog_TBL
+if test -n "$TBL"; then
+  echo "$as_me:$LINENO: result: $TBL" >&5
+echo "${ECHO_T}$TBL" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+
+
+
+
+
+
+# Check whether --with-fnord or --without-fnord was given.
+if test "${with_fnord+set}" = set; then
+  withval="$with_fnord"
+
+fi;
+
+
+# Check whether --with-zlib or --without-zlib was given.
+if test "${with_zlib+set}" = set; then
+  withval="$with_zlib"
+
+else
+  withval=yes
+fi;
+
+case "$withval" in
+  yes)
+    HAVE_ZLIB="yes"
+
+echo "$as_me:$LINENO: checking for egrep" >&5
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6
+if test "${ac_cv_prog_egrep+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
+    then ac_cv_prog_egrep='grep -E'
+    else ac_cv_prog_egrep='egrep'
+    fi
+fi
+echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
+echo "${ECHO_T}$ac_cv_prog_egrep" >&6
+ EGREP=$ac_cv_prog_egrep
+
+
+echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+if test "${ac_cv_header_stdc+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_header_stdc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_header_stdc=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "memchr" >/dev/null 2>&1; then
+  :
+else
+  ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "free" >/dev/null 2>&1; then
+  :
+else
+  ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+  if test "$cross_compiling" = yes; then
+  :
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <ctype.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+                   (('a' <= (c) && (c) <= 'i') \
+                     || ('j' <= (c) && (c) <= 'r') \
+                     || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+  int i;
+  for (i = 0; i < 256; i++)
+    if (XOR (islower (i), ISLOWER (i))
+        || toupper (i) != TOUPPER (i))
+      exit(2);
+  exit (0);
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  :
+else
+  echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_header_stdc=no
+fi
+rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+fi
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
+echo "${ECHO_T}$ac_cv_header_stdc" >&6
+if test $ac_cv_header_stdc = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define STDC_HEADERS 1
+_ACEOF
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+
+
+
+
+
+
+
+
+
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+                  inttypes.h stdint.h unistd.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  eval "$as_ac_Header=yes"
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+eval "$as_ac_Header=no"
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+
+for ac_header in zlib.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+  # Is the header compilable?
+echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+  yes:no )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
+  no:yes )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
 esac
+echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  eval "$as_ac_Header=$ac_header_preproc"
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
-### break up ${srcdir}/configure.in.
-case "`grep '^# per\-host:' ${srcdir}/configure.in`" in
-"")
-        echo '***' ${srcdir}/configure.in has no \"per-host:\" line. 1>&2
-        exit 1
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+else
+  unset HAVE_ZLIB
+fi
+
+done
+
+
+echo "$as_me:$LINENO: checking for compress2 in -lz" >&5
+echo $ECHO_N "checking for compress2 in -lz... $ECHO_C" >&6
+if test "${ac_cv_lib_z_compress2+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lz  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char compress2 ();
+int
+main ()
+{
+compress2 ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_lib_z_compress2=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_z_compress2=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress2" >&5
+echo "${ECHO_T}$ac_cv_lib_z_compress2" >&6
+if test $ac_cv_lib_z_compress2 = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBZ 1
+_ACEOF
+
+  LIBS="-lz $LIBS"
+
+else
+  unset HAVE_ZLIB
+fi
+
+
+    if test -z "$HAVE_ZLIB"; then
+      { { echo "$as_me:$LINENO: error: couldn't find zlib library" >&5
+echo "$as_me: error: couldn't find zlib library" >&2;}
+   { (exit 1); exit 1; }; }
+    fi
+    ;;
+  no)
+    { { echo "$as_me:$LINENO: error: zlib library required to build HDF4" >&5
+echo "$as_me: error: zlib library required to build HDF4" >&2;}
+   { (exit 1); exit 1; }; }
+    ;;
+  *)
+    HAVE_ZLIB="yes"
+    case "$withval" in
+      *,*)
+        zlib_inc="`echo $withval | cut -f1 -d,`"
+        zlib_lib="`echo $withval | cut -f2 -d, -s`"
         ;;
-*) ;;
+      *)
+        if test -n "$withval"; then
+          zlib_inc="$withval/include"
+          zlib_lib="$withval/lib"
+        fi
+        ;;
+    esac
+
+            if test "X$zlib_inc" = "X/usr/include"; then
+      zlib_inc=""
+    fi
+    if test "X$zlib_lib" = "X/usr/lib"; then
+      zlib_lib=""
+    fi
+
+    if test -n "$zlib_inc"; then
+      CPPFLAGS="$CPPFLAGS -I$zlib_inc"
+    fi
+
+
+for ac_header in zlib.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+  # Is the header compilable?
+echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+  yes:no )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
+  no:yes )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
 esac
+echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  eval "$as_ac_Header=$ac_header_preproc"
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
-case "`grep '^# per\-target:' ${srcdir}/configure.in`" in
-"")
-        echo '***' ${srcdir}/configure.in has no \"per-target:\" line. 1>&2
-        exit 1
-        ;;
-*) ;;
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+else
+  unset HAVE_ZLIB
+fi
+
+done
+
+
+    if test -n "$zlib_lib"; then
+      LDFLAGS="$LDFLAGS -L$zlib_lib"
+    fi
+
+
+echo "$as_me:$LINENO: checking for compress2 in -lz" >&5
+echo $ECHO_N "checking for compress2 in -lz... $ECHO_C" >&6
+if test "${ac_cv_lib_z_compress2+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lz  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char compress2 ();
+int
+main ()
+{
+compress2 ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_lib_z_compress2=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_z_compress2=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress2" >&5
+echo "${ECHO_T}$ac_cv_lib_z_compress2" >&6
+if test $ac_cv_lib_z_compress2 = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBZ 1
+_ACEOF
+
+  LIBS="-lz $LIBS"
+
+else
+  unset HAVE_ZLIB
+fi
+
+
+    if test -z "$HAVE_ZLIB"; then
+      { { echo "$as_me:$LINENO: error: couldn't find zlib library" >&5
+echo "$as_me: error: couldn't find zlib library" >&2;}
+   { (exit 1); exit 1; }; }
+    fi
+    ;;
 esac
 
-case "${TMPDIR}" in
-"") TMPDIR=/tmp ; export TMPDIR ;;
-*) ;;
+
+# Check whether --with-jpeg or --without-jpeg was given.
+if test "${with_jpeg+set}" = set; then
+  withval="$with_jpeg"
+
+else
+  withval=yes
+fi;
+
+case "$withval" in
+  yes)
+    HAVE_JPEG="yes"
+
+for ac_header in jpeglib.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+  # Is the header compilable?
+echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+  yes:no )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
+  no:yes )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
 esac
+echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  eval "$as_ac_Header=$ac_header_preproc"
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
-# keep this filename short for &%*%$*# 14 char file names
-tmpfile=${TMPDIR}/cONf$$
-# Note that under many versions of sh a trap handler for 0 will *override* any
-# exit status you explicitly specify!  At this point, the only non-error exit
-# is at the end of the script; these actions are duplicated there, minus
-# the "exit 1".  Don't use "exit 0" anywhere after this without resetting the
-# trap handler, or you'll lose.
-trap "rm -f ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos; exit 1" 0 1 2 15
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
 
-# split ${srcdir}/configure.in into common, per-host, per-target,
-# and post-target parts.  Post-target is optional.
-sed -e '/^# per\-host:/,$d' ${srcdir}/configure.in > ${tmpfile}.com
-sed -e '1,/^# per\-host:/d' -e '/^# per\-target:/,$d' ${srcdir}/configure.in > ${tmpfile}.hst
-if grep '^# post-target:' ${srcdir}/configure.in >/dev/null ; then
-  sed -e '1,/^# per\-target:/d' -e '/^# post\-target:/,$d' ${srcdir}/configure.in > ${tmpfile}.tgt
-  sed -e '1,/^# post\-target:/d' ${srcdir}/configure.in > ${tmpfile}.pos
 else
-  sed -e '1,/^# per\-target:/d' ${srcdir}/configure.in > ${tmpfile}.tgt
-  echo >${tmpfile}.pos
+  unset HAVE_JPEG
 fi
 
-### do common part of configure.in
+done
 
-. ${tmpfile}.com
 
-# some sanity checks on configure.in
-case "${srctrigger}" in
-"")
-        echo '***' srctrigger not set in ${PWD=`pwd`}/configure.in.  1>&2
-        exit 1
+echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
+echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
+if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-ljpeg  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char jpeg_start_decompress ();
+int
+main ()
+{
+jpeg_start_decompress ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_lib_jpeg_jpeg_start_decompress=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_jpeg_jpeg_start_decompress=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
+echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
+if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBJPEG 1
+_ACEOF
+
+  LIBS="-ljpeg $LIBS"
+
+else
+  unset HAVE_JPEG
+fi
+
+
+    if test -z "$HAVE_JPEG"; then
+      { { echo "$as_me:$LINENO: error: couldn't find jpeg library" >&5
+echo "$as_me: error: couldn't find jpeg library" >&2;}
+   { (exit 1); exit 1; }; }
+    fi
+    ;;
+  no)
+    { { echo "$as_me:$LINENO: error: jpeg library required to build HDF4" >&5
+echo "$as_me: error: jpeg library required to build HDF4" >&2;}
+   { (exit 1); exit 1; }; }
+    ;;
+  *)
+    HAVE_JPEG="yes"
+    case "$withval" in
+      *,*)
+        jpeg_inc="`echo $withval | cut -f1 -d,`"
+        jpeg_lib="`echo $withval | cut -f2 -d, -s`"
         ;;
-*) ;;
+      *)
+        if test -n "$withval"; then
+          jpeg_inc="$withval/include"
+          jpeg_lib="$withval/lib"
+        fi
+        ;;
+    esac
+
+            if test "X$jpeg_inc" = "X/usr/include"; then
+      jpeg_inc=""
+    fi
+    if test "X$jpeg_lib" = "X/usr/lib"; then
+      jpeg_lib=""
+    fi
+
+    if test -n "$jpeg_inc"; then
+      CPPFLAGS="$CPPFLAGS -I$jpeg_inc"
+    fi
+
+
+for ac_header in jpeglib.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+  # Is the header compilable?
+echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+  yes:no )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
+  no:yes )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
 esac
+echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  eval "$as_ac_Header=$ac_header_preproc"
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
-case "${build_alias}" in
-"")	;;
-*)
-	if result=`${config_shell} ${configsub} ${build_alias}` ; then
-	    buildopt="--build=${build_alias}"
-	    build_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
-	    build_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
-	    build_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
-	    build=${build_cpu}-${build_vendor}-${build_os}
-	else
-	    echo "Unrecognized build system name ${build_alias}." 1>&2
-	    exit 1
-	fi
-	;;
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+else
+  unset HAVE_JPEG
+fi
+
+done
+
+
+    if test -n "$jpeg_lib"; then
+      LDFLAGS="$LDFLAGS -L$jpeg_lib"
+    fi
+
+
+echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
+echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
+if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-ljpeg  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char jpeg_start_decompress ();
+int
+main ()
+{
+jpeg_start_decompress ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_lib_jpeg_jpeg_start_decompress=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_jpeg_jpeg_start_decompress=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
+echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
+if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBJPEG 1
+_ACEOF
+
+  LIBS="-ljpeg $LIBS"
+
+else
+  unset HAVE_JPEG
+fi
+
+
+    if test -z "$HAVE_JPEG"; then
+      { { echo "$as_me:$LINENO: error: couldn't find jpeg library" >&5
+echo "$as_me: error: couldn't find jpeg library" >&2;}
+   { (exit 1); exit 1; }; }
+    fi
+    ;;
 esac
 
-if result=`${config_shell} ${configsub} ${host_alias}` ; then
-    true
+
+# Check whether --with-szlib or --without-szlib was given.
+if test "${with_szlib+set}" = set; then
+  withval="$with_szlib"
+
 else
-    echo "Unrecognized host system name ${host_alias}." 1>&2
-    exit 1
+  withval=no
+fi;
+
+case "$withval" in
+  yes)
+    HAVE_SZIP="yes"
+
+for ac_header in szlib.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 fi
-host_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
-host_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
-host_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
-host=${host_cpu}-${host_vendor}-${host_os}
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+  # Is the header compilable?
+echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
-. ${tmpfile}.hst
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
 
-if result=`${config_shell} ${configsub} ${target_alias}` ; then
-    true
+# Is the header present?
+echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
 else
-    echo "Unrecognized target system name ${target_alias}." 1>&2
-    exit 1
+  ac_cpp_err=yes
 fi
-target_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
-target_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
-target_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
-target=${target_cpu}-${target_vendor}-${target_os}
+if test -z "$ac_cpp_err"; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
-. ${tmpfile}.tgt
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
 
-# Find the source files, if location was not specified.
-case "${srcdir}" in
-"")
-        srcdirdefaulted=1
-        srcdir=.
-        if [ ! -r ${srctrigger} ] ; then
-                srcdir=..
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+  yes:no )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
+  no:yes )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
+esac
+echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  eval "$as_ac_Header=$ac_header_preproc"
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+else
+  unset HAVE_SZIP
+fi
+
+done
+
+
+echo "$as_me:$LINENO: checking for SZ_BufftoBuffCompress in -lsz" >&5
+echo $ECHO_N "checking for SZ_BufftoBuffCompress in -lsz... $ECHO_C" >&6
+if test "${ac_cv_lib_sz_SZ_BufftoBuffCompress+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsz  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char SZ_BufftoBuffCompress ();
+int
+main ()
+{
+SZ_BufftoBuffCompress ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_lib_sz_SZ_BufftoBuffCompress=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_sz_SZ_BufftoBuffCompress=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_sz_SZ_BufftoBuffCompress" >&5
+echo "${ECHO_T}$ac_cv_lib_sz_SZ_BufftoBuffCompress" >&6
+if test $ac_cv_lib_sz_SZ_BufftoBuffCompress = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBSZ 1
+_ACEOF
+
+  LIBS="-lsz $LIBS"
+
+else
+  unset HAVE_SZIP
+fi
+
+
+    if test -z "$HAVE_SZIP"; then
+      { { echo "$as_me:$LINENO: error: couldn't find szlib library" >&5
+echo "$as_me: error: couldn't find szlib library" >&2;}
+   { (exit 1); exit 1; }; }
+    fi
+    ;;
+  no)
+    echo "$as_me:$LINENO: checking for szlib" >&5
+echo $ECHO_N "checking for szlib... $ECHO_C" >&6
+    echo "$as_me:$LINENO: result: suppressed" >&5
+echo "${ECHO_T}suppressed" >&6
+    ;;
+  *)
+    HAVE_SZIP="yes"
+    case "$withval" in
+      *,*)
+        szip_inc="`echo $withval | cut -f1 -d,`"
+        szip_lib="`echo $withval | cut -f2 -d, -s`"
+        ;;
+      *)
+        if test -n "$withval"; then
+          szip_inc="$withval/include"
+          szip_lib="$withval/lib"
         fi
         ;;
-*) ;;
+    esac
+
+            if test "X$szip_inc" = "X/usr/include"; then
+      szip_inc=""
+    fi
+    if test "X$szip_lib" = "X/usr/lib"; then
+      szip_lib=""
+    fi
+
+    if test -n "$szip_inc"; then
+      CPPFLAGS="$CPPFLAGS -I$szip_inc"
+    fi
+
+
+for ac_header in szlib.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+  # Is the header compilable?
+echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+  yes:no )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
+  no:yes )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    (
+      cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to bug-autoconf at gnu.org. ##
+## ------------------------------------ ##
+_ASBOX
+    ) |
+      sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
 esac
+echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  eval "$as_ac_Header=$ac_header_preproc"
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
-if [ ! -r ${srcdir}/${srctrigger} ] ; then
-        case "${srcdirdefaulted}" in
-        "") echo '***' "${progname}: Can't find ${srcname} sources in ${PWD=`pwd`}/${srcdir}" 1>&2 ;;
-        *)  echo '***' "${progname}: Can't find ${srcname} sources in ${PWD=`pwd`}/. or ${PWD=`pwd`}/.." 1>&2 ;;
-        esac
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
 
-        echo '***' \(At least ${srctrigger} is missing.\) 1>&2
-        exit 1
+else
+  unset HAVE_SZIP
 fi
 
-# Some systems (e.g., one of the i386-aix systems the gas testers are
-# using) don't handle "\$" correctly, so don't use it here.
-tooldir='$(exec_prefix)'/${target_alias}
+done
 
-if [ "${host_alias}" != "${target_alias}" ] ; then
-    if [ "${program_prefixoption}" = "" ] ; then
-        if [ "${program_suffixoption}" = "" ] ; then 
-            if [ "${program_transform_nameoption}" = "" ] ; then
-                program_prefix=${target_alias}- ;
-            fi
-        fi
+
+    if test -n "$szip_lib"; then
+      LDFLAGS="$LDFLAGS -L$szip_lib"
     fi
+
+
+echo "$as_me:$LINENO: checking for SZ_BufftoBuffCompress in -lsz" >&5
+echo $ECHO_N "checking for SZ_BufftoBuffCompress in -lsz... $ECHO_C" >&6
+if test "${ac_cv_lib_sz_SZ_BufftoBuffCompress+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsz  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char SZ_BufftoBuffCompress ();
+int
+main ()
+{
+SZ_BufftoBuffCompress ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_lib_sz_SZ_BufftoBuffCompress=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_sz_SZ_BufftoBuffCompress=no
 fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_sz_SZ_BufftoBuffCompress" >&5
+echo "${ECHO_T}$ac_cv_lib_sz_SZ_BufftoBuffCompress" >&6
+if test $ac_cv_lib_sz_SZ_BufftoBuffCompress = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBSZ 1
+_ACEOF
 
-# Merge program_prefix and program_suffix onto program_transform_name.
-# (program_suffix used to use $, but it's hard to preserve $ through both
-# make and sh.)
-if [ "${program_suffix}" != "" ] ; then
-    program_transform_name="-e s,\\\\(.*\\\\),\\\\1${program_suffix}, ${program_transform_name}"
+  LIBS="-lsz $LIBS"
+
+else
+  unset HAVE_SZIP
 fi
 
-if [ "${program_prefix}" != "" ] ; then
-    program_transform_name="-e s,^,${program_prefix}, ${program_transform_name}"
+
+    if test -z "$HAVE_SZIP"; then
+      { { echo "$as_me:$LINENO: error: couldn't find szlib library" >&5
+echo "$as_me: error: couldn't find szlib library" >&2;}
+   { (exit 1); exit 1; }; }
+    fi
+    ;;
+esac
+
+echo "$as_me:$LINENO: checking for xdr library support" >&5
+echo $ECHO_N "checking for xdr library support... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+#ifdef VMS
+#define STDC_INCLUDES
+#endif
+#ifdef __ultrix
+#define GCC_FIX
+#endif
+#include <rpc/types.h>
+#ifdef __ultrix
+#undef GCC_FIX
+#endif
+#include <rpc/xdr.h>
+int
+main ()
+{
+xdr_int
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; build_xdr="no"
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; build_xdr="yes"
 fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
-for subdir in . ${subdirs} ; do
 
-    # ${subdir} is relative path from . to the directory we're currently
-    # configuring.
-    # ${invsubdir} is inverse of ${subdir), *with* trailing /, if needed.
-    invsubdir=`echo ${subdir}/ | sed -e 's|\./||g' -e 's|[^/]*/|../|g'`
+if test "X$build_xdr" = "Xyes"; then
+  HDF_BUILD_XDR_TRUE=
+  HDF_BUILD_XDR_FALSE='#'
+else
+  HDF_BUILD_XDR_TRUE='#'
+  HDF_BUILD_XDR_FALSE=
+fi
 
-    ### figure out what to do with srcdir
-    case "${srcdir}" in
-        ".")  # no -srcdir option.  We're building in place.
-                makesrcdir=. ;;
-        /*) # absolute path
-                makesrcdir=`echo ${srcdir}/${subdir} | sed -e 's|/\.$||'`
-                ;;
-        *) # otherwise relative
-                case "${subdir}" in
-                .) makesrcdir=${srcdir} ;;
-                *) makesrcdir=${invsubdir}${srcdir}/${subdir} ;;
-                esac
-                ;;
-    esac
 
-    if [ "${subdir}/" != "./" ] ; then
-        Makefile=${subdir}/Makefile
+case "$host" in
+  *-solaris*|*-hp-hpux*|S370-fujitsu-sysv*)
+    LIBS="$LIBS -lnsl"  ;;
+  *) ;;
+esac
+
+
+CPPFLAGS="-I/usr/include/rpc $CPPFLAGS"
+
+echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+if test "${ac_cv_header_stdc+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_header_stdc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_header_stdc=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "memchr" >/dev/null 2>&1; then
+  :
+else
+  ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "free" >/dev/null 2>&1; then
+  :
+else
+  ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+  if test "$cross_compiling" = yes; then
+  :
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <ctype.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+                   (('a' <= (c) && (c) <= 'i') \
+                     || ('j' <= (c) && (c) <= 'r') \
+                     || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+  int i;
+  for (i = 0; i < 256; i++)
+    if (XOR (islower (i), ISLOWER (i))
+        || toupper (i) != TOUPPER (i))
+      exit(2);
+  exit (0);
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  :
+else
+  echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_header_stdc=no
+fi
+rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+fi
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
+echo "${ECHO_T}$ac_cv_header_stdc" >&6
+if test $ac_cv_header_stdc = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define STDC_HEADERS 1
+_ACEOF
+
+fi
+
+
+
+
+
+if test "x$CC" != xcc; then
+  echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
+echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
+else
+  echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
+echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
+fi
+set dummy $CC; ac_cc=`echo $2 |
+		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
+if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+# Make sure it works both with $CC and with simple cc.
+# We do the test twice because some compilers refuse to overwrite an
+# existing .o file with -o, though they will create one.
+ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
+if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+   test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); };
+then
+  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
+  if test "x$CC" != xcc; then
+    # Test first that cc exists at all.
+    if { ac_try='cc -c conftest.$ac_ext >&5'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+      ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
+      if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); };
+      then
+        # cc works too.
+        :
+      else
+        # cc exists but doesn't like -o.
+        eval ac_cv_prog_cc_${ac_cc}_c_o=no
+      fi
     fi
+  fi
+else
+  eval ac_cv_prog_cc_${ac_cc}_c_o=no
+fi
+rm -f conftest*
 
-    if [ ! -d ${subdir} ] ; then
-        if mkdir ${subdir} ; then
-                true
-        else
-                echo '***' "${progname}: could not make ${PWD=`pwd`}/${subdir}" 1>&2
-                exit 1
+fi
+if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
+  echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+
+cat >>confdefs.h <<\_ACEOF
+#define NO_MINUS_C_MINUS_O 1
+_ACEOF
+
+fi
+
+ac_ext=cc
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
+echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
+if test -z "$CXXCPP"; then
+  if test "${ac_cv_prog_CXXCPP+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+      # Double quotes because CXXCPP needs to be expanded
+    for CXXCPP in "$CXX -E" "/lib/cpp"
+    do
+      ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+                     Syntax error
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_cxx_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  :
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.$ac_ext
+
+  # OK, works on sane cases.  Now check whether non-existent headers
+  # can be detected and how.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_cxx_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  # Broken: success on invalid input.
+continue
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+  break
+fi
+
+    done
+    ac_cv_prog_CXXCPP=$CXXCPP
+
+fi
+  CXXCPP=$ac_cv_prog_CXXCPP
+else
+  ac_cv_prog_CXXCPP=$CXXCPP
+fi
+echo "$as_me:$LINENO: result: $CXXCPP" >&5
+echo "${ECHO_T}$CXXCPP" >&6
+ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+                     Syntax error
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_cxx_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  :
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.$ac_ext
+
+  # OK, works on sane cases.  Now check whether non-existent headers
+  # can be detected and how.
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_cxx_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  # Broken: success on invalid input.
+continue
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+  :
+else
+  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details." >&5
+echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+if test "X$BUILD_FORTRAN" = "Xyes"; then
+  echo "$as_me:$LINENO: checking whether $F77 understand -c and -o together" >&5
+echo $ECHO_N "checking whether $F77 understand -c and -o together... $ECHO_C" >&6
+if test "${ac_cv_prog_f77_c_o+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+# We test twice because some compilers refuse to overwrite an existing
+# `.o' file with `-o', although they will create one.
+ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$ac_objext >&5'
+if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+     test -f conftest.$ac_objext &&
+     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; then
+  ac_cv_prog_f77_c_o=yes
+else
+  ac_cv_prog_f77_c_o=no
+fi
+rm -f conftest*
+fi
+echo "$as_me:$LINENO: result: $ac_cv_prog_f77_c_o" >&5
+echo "${ECHO_T}$ac_cv_prog_f77_c_o" >&6
+if test $ac_cv_prog_f77_c_o = no; then
+
+cat >>confdefs.h <<\_ACEOF
+#define F77_NO_MINUS_C_MINUS_O 1
+_ACEOF
+
+fi
+
+fi
+
+echo "$as_me:$LINENO: checking for int*" >&5
+echo $ECHO_N "checking for int*... $ECHO_C" >&6
+if test "${ac_cv_type_intp+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+int
+main ()
+{
+if ((int* *) 0)
+  return 0;
+if (sizeof (int*))
+  return 0;
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_type_intp=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_type_intp=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: $ac_cv_type_intp" >&5
+echo "${ECHO_T}$ac_cv_type_intp" >&6
+
+echo "$as_me:$LINENO: checking size of int*" >&5
+echo $ECHO_N "checking size of int*... $ECHO_C" >&6
+if test "${ac_cv_sizeof_intp+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test "$ac_cv_type_intp" = yes; then
+  # The cast to unsigned long works around a bug in the HP C Compiler
+  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+  # This bug is HP SR number 8606223364.
+  if test "$cross_compiling" = yes; then
+  # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long) (sizeof (int*))) >= 0)];
+test_array [0] = 0
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_lo=0 ac_mid=0
+  while :; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long) (sizeof (int*))) <= $ac_mid)];
+test_array [0] = 0
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_hi=$ac_mid; break
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_lo=`expr $ac_mid + 1`
+                    if test $ac_lo -le $ac_mid; then
+                      ac_lo= ac_hi=
+                      break
+                    fi
+                    ac_mid=`expr 2 '*' $ac_mid + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long) (sizeof (int*))) < 0)];
+test_array [0] = 0
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_hi=-1 ac_mid=-1
+  while :; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long) (sizeof (int*))) >= $ac_mid)];
+test_array [0] = 0
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_lo=$ac_mid; break
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_hi=`expr '(' $ac_mid ')' - 1`
+                       if test $ac_mid -le $ac_hi; then
+                         ac_lo= ac_hi=
+                         break
+                       fi
+                       ac_mid=`expr 2 '*' $ac_mid`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_lo= ac_hi=
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long) (sizeof (int*))) <= $ac_mid)];
+test_array [0] = 0
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_hi=$ac_mid
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_intp=$ac_lo;;
+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int*), 77
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (int*), 77
+See \`config.log' for more details." >&2;}
+   { (exit 1); exit 1; }; } ;;
+esac
+else
+  if test "$cross_compiling" = yes; then
+  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&2;}
+   { (exit 1); exit 1; }; }
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+long longval () { return (long) (sizeof (int*)); }
+unsigned long ulongval () { return (long) (sizeof (int*)); }
+#include <stdio.h>
+#include <stdlib.h>
+int
+main ()
+{
+
+  FILE *f = fopen ("conftest.val", "w");
+  if (! f)
+    exit (1);
+  if (((long) (sizeof (int*))) < 0)
+    {
+      long i = longval ();
+      if (i != ((long) (sizeof (int*))))
+	exit (1);
+      fprintf (f, "%ld\n", i);
+    }
+  else
+    {
+      unsigned long i = ulongval ();
+      if (i != ((long) (sizeof (int*))))
+	exit (1);
+      fprintf (f, "%lu\n", i);
+    }
+  exit (ferror (f) || fclose (f) != 0);
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_sizeof_intp=`cat conftest.val`
+else
+  echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int*), 77
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (int*), 77
+See \`config.log' for more details." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+fi
+rm -f conftest.val
+else
+  ac_cv_sizeof_intp=0
+fi
+fi
+echo "$as_me:$LINENO: result: $ac_cv_sizeof_intp" >&5
+echo "${ECHO_T}$ac_cv_sizeof_intp" >&6
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_INTP $ac_cv_sizeof_intp
+_ACEOF
+
+
+
+if test $ac_cv_sizeof_intp -ge 8; then
+  CPPFLAGS="$CPPFLAGS -DBIG_LONGS"
+
+    case "${host}" in
+    *-ibm-aix*) CPPFLAGS="$CPPFLAGS -DAIX5L64" ;;
+    *)          ;;
+  esac
+fi
+
+echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
+echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
+if test "${ac_cv_c_bigendian+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  # See if sys/param.h defines the BYTE_ORDER macro.
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <sys/types.h>
+#include <sys/param.h>
+
+int
+main ()
+{
+#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
+ bogus endian macros
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  # It does; now see whether it defined to BIG_ENDIAN or not.
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <sys/types.h>
+#include <sys/param.h>
+
+int
+main ()
+{
+#if BYTE_ORDER != BIG_ENDIAN
+ not big endian
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_c_bigendian=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_c_bigendian=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+# It does not; compile a test program.
+if test "$cross_compiling" = yes; then
+  # try to guess the endianness by grepping values into an object file
+  ac_cv_c_bigendian=unknown
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
+short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
+void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
+short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
+short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
+void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
+int
+main ()
+{
+ _ascii (); _ebcdic ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
+  ac_cv_c_bigendian=yes
+fi
+if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
+  if test "$ac_cv_c_bigendian" = unknown; then
+    ac_cv_c_bigendian=no
+  else
+    # finding both strings is unlikely to happen, but who knows?
+    ac_cv_c_bigendian=unknown
+  fi
+fi
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+int
+main ()
+{
+  /* Are we little or big endian?  From Harbison&Steele.  */
+  union
+  {
+    long l;
+    char c[sizeof (long)];
+  } u;
+  u.l = 1;
+  exit (u.c[sizeof (long) - 1] == 1);
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_c_bigendian=no
+else
+  echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_c_bigendian=yes
+fi
+rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
+echo "${ECHO_T}$ac_cv_c_bigendian" >&6
+case $ac_cv_c_bigendian in
+  yes)
+
+cat >>confdefs.h <<\_ACEOF
+#define WORDS_BIGENDIAN 1
+_ACEOF
+ ;;
+  no)
+    CPPFLAGS="$CPPFLAGS -DSWAP" ;;
+  *)
+    { { echo "$as_me:$LINENO: error: unknown endianness
+presetting ac_cv_c_bigendian=no (or yes) will help" >&5
+echo "$as_me: error: unknown endianness
+presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
+   { (exit 1); exit 1; }; } ;;
+esac
+
+
+echo "$as_me:$LINENO: checking for build mode" >&5
+echo $ECHO_N "checking for build mode... $ECHO_C" >&6
+# Check whether --enable-production or --disable-production was given.
+if test "${enable_production+set}" = set; then
+  enableval="$enable_production"
+
+fi;
+
+case "X-$enable_production" in
+  X-|X-yes)
+    echo "$as_me:$LINENO: result: production" >&5
+echo "${ECHO_T}production" >&6
+
+        CFLAGS_temp=""
+    if test -n "$CFLAGS"; then
+      for d in $CFLAGS ; do
+        if test "X$d" != "X-g"; then
+          CFLAGS_temp="$CFLAGS_temp $d"
         fi
+      done
+      CFLAGS=$CFLAGS_temp
     fi
 
-    case "${removing}" in
-    "")
-        case "${subdir}" in
-        .) ;;
-        *) eval echo Building in ${subdir} ${redirect} ;;
-        esac
+    FFLAGS_temp=""
+    if test -n "$FFLAGS"; then
+      for d in $FFLAGS ; do
+        if test "X$d" != "X-g"; then
+          FFLAGS_temp="$FFLAGS_temp $d"
+        fi
+      done
+      FFLAGS=$FFLAGS_temp
+    fi
 
-        # FIXME Should this be done recursively ??? (Useful for e.g. gdbtest)
-        # Set up the list of links to be made.
-        # ${links} is the list of link names, and ${files} is the list of names to link to.
-
-        # Make the links.
-        configlinks="${links}"
-        if [ -r ${subdir}/config.status ] ; then
-                mv -f ${subdir}/config.status ${subdir}/config.back
+    CXXFLAGS_temp=""
+    if test -n "$CXXFLAGS"; then
+      for d in $CXXFLAGS ; do
+        if test "X$d" != "X-g"; then
+          CXXFLAGS_temp="$CXXFLAGS_temp $d"
         fi
-#
-#  Added THISDIR variable to make symlinks easier when linking
-#  to files not in the same directory -GV
-#        THISDIR=${PWD=`pwd`}
-        ### figure out what to do with srcdir
-        case "${srcdir}" in
-          ".") THISDIR=${PWD=`pwd`} ;; # no -srcdir option.  We're building in place.
-          /*) # absolute path
-              THISDIR=${srcdir}
-              ;;
-          *) # otherwise relative
-             THISDIR=../${srcdir}
-             ;;
-        esac
-#        echo "thisdir is $THISDIR "
-#        while [ -n "${files}" ] ; do
-        for file in ${files} ;  do
-                # set file to car of files, files to cdr of files
-                set ${files}; file=$1; shift; files=$*
-                set ${links}; link=$1; shift; links=$*
+      done
+      CXXFLAGS=$CXXFLAGS_temp
+    fi
 
-                ## Took this code from 'install-sh' script
-                ## this sed command emulates the dirname command
-                dstdir=`echo $link | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
+    CFLAGS="$CFLAGS $PROD_CFLAGS"
+    CXXFLAGS="$CXXFLAGS $PROD_CXXFLAGS"
+    FFLAGS="$FFLAGS $PROD_FFLAGS"
+    CPPFLAGS="$CPPFLAGS $PROD_CPPFLAGS"
+    ;;
+  X-no)
+    echo "$as_me:$LINENO: result: development" >&5
+echo "${ECHO_T}development" >&6
+    CFLAGS="$CFLAGS $DEBUG_CFLAGS"
+    FFLAGS="$FFLAGS $DEBUG_FFLAGS"
+    CXXFLAGS="$CXXFLAGS $DEBUG_CXXFLAGS"
+    CPPFLAGS="$CPPFLAGS $DEBUG_CPPFLAGS"
+    ;;
+  *)
+    echo "$as_me:$LINENO: result: user-defined" >&5
+echo "${ECHO_T}user-defined" >&6
+    ;;
+esac
 
-                # Make sure that the destination directory exists.
-                #  this part is taken from Noah Friedman's mkinstalldirs script
 
-                # Skip lots of stat calls in the usual case.
-                if [ ! -d "$dstdir" ]; then
-                  defaultIFS='	
-                  '
-                  IFS="${IFS-${defaultIFS}}"
+echo "$as_me:$LINENO: checking for math library support" >&5
+echo $ECHO_N "checking for math library support... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <math.h>
+int
+main ()
+{
+sqrt(37.927)
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
-                  oIFS="${IFS}"
-                  # Some sh's can't handle IFS=/ for some reason.
-                  IFS='%'
-                  set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
-                  IFS="${oIFS}"
+echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; LIBS="$LIBS -lm"
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
-                  pathcomp=''
 
-                  while [ $# -ne 0 ] ; do
-                    pathcomp="${pathcomp}${1}"
-                    shift
+case "$host" in
+  alpha-*-*)            BAR="alpha"       ;;
+  alphaev*-*-*)         BAR="alpha"       ;;
+  mips*-dec-ultrix*)    BAR="dec"         ;;
+  mips*-sgi-irix6.*)    BAR="irix6"       ;;
+  mips*-sgi-irix6_32*)  BAR="irix32"      ;;
+  mips*-sgi-irix5*)     BAR="irix5"       ;;
+  mips*-sgi-irix4*)     BAR="irix4"       ;;
+  *-linux*)             BAR="linux"       ;;
+  *-freebsd*)           BAR="fbsd"        ;;
+  ia64-*-*)             BAR="ia64"        ;;
+  *-ibm-aix*)           BAR="aix"         ;;
+  i386-*-solaris2*)     BAR="solarisx86"  ;;
+  sparc64-*-solaris2*)  BAR="solaris64"   ;;
+  *-*-solaris2*)        BAR="solaris"     ;;
+  *-sun-*)              BAR="sun"         ;;
+  *-hp-hpux*)           BAR="hpux"        ;;
+  *-convex-bsd*)        BAR="convex"      ;;
+  *-cray-unicos*)       BAR="unicos"      ;;
+  t3*-cray-craympp)     BAR="t3e"         ;;
+  S370-fujitsu-sysv*)   BAR="fujivp"      ;;
+  *-mac-*)              BAR="mac"         ;;
+  *-apple*)             BAR="apple"       ;;
+  *)                    echo "*** unknown host $host!"; exit 1 ;;
+esac
 
-                    if [ ! -d "${pathcomp}" ] ;
-                    then
-                      $mkdirprog "${pathcomp}"
-                    else
-                      true
-                    fi
+src_files="mfhdf/libsrc/config/netcdf-FOO.h:mfhdf/libsrc/netcdf.h
+           mfhdf/fortran/config/jackets-FOO.c:mfhdf/fortran/jackets.c
+           mfhdf/fortran/config/netcdf-FOO.inc:mfhdf/fortran/netcdf.inc
+           mfhdf/fortran/config/ftest-FOO.f:mfhdf/fortran/ftest.f"
+src_files="`echo $src_files | sed -e s/FOO/${BAR}/g`"
 
-                    pathcomp="${pathcomp}/"
-                  done
-                fi
+for config_file in $src_files; do
+  src_file="${srcdir}/`echo $config_file | sed -e s/:.*$//`"
+  target_file="`echo $config_file | sed -e s/^[^:]*://g`"
 
-                if [ ! -r ${srcdir}/${file} ] ; then
-                  #                  echo '***' "${progname}: cannot create a link \"${link}\"," 1>&2
-                  # Changed to copy instead of linking. -GV(5/10/96)
-                        echo '***' "${progname}: cannot copy file \"${link}\"," 1>&2                  
-                        echo '***' "since the file \"${srcdir}/${file}\" does not exist." 1>&2
-                        exit 1
-                fi
+  if test ! -r ${src_file}; then
+    echo '***' "${progname}: cannot copy file \"${target_file}\"," 1>&2
+    echo '***' "since the file \"${src_file}\" does not exist." 1>&2
+    exit 1
+  fi
 
-                ${remove} -f ${link}
-		# Make a symlink if possible, otherwise try a hard link
+  ## this sed command emulates the dirname command
+  dstdir=`echo "$target_file" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
+
+  ## Create directory for the target_file if it's not there.
+  if test ! -d $dstdir; then
+    ${srcdir}/bin/mkinstalldirs $dstdir
+  fi
+
+  echo "Copying \"${src_file}\" to \"${target_file}\" ."
+  cp ${src_file} ${target_file}
+
+  if test ! -r ${target_file}; then
+    echo '***' "${progname}: cannot copy file \"${target_file}\"," 1>&2
+    exit 1
+  fi
+done
+
+                                                                                                                                                                                                                                      ac_config_files="$ac_config_files Makefile hdf/Makefile hdf/src/Makefile hdf/test/Makefile hdf/util/Makefile hdf/util/h4cc hdf/util/h4fc hdf/util/h4redeploy hdf/util/testutil.sh man/Makefile mfhdf/Makefile mfhdf/dumper/Makefile mfhdf/dumper/testhdp.sh mfhdf/fortran/Makefile mfhdf/hdfimport/Makefile mfhdf/hdfimport/testutil.sh mfhdf/hdiff/Makefile mfhdf/hrepack/Makefile mfhdf/libsrc/Makefile mfhdf/ncdump/Makefile mfhdf/ncgen/Makefile mfhdf/nctest/Makefile mfhdf/port/Makefile"
+
+
+if test "X$build_xdr" = "Xyes"; then
+            ac_config_files="$ac_config_files mfhdf/xdr/Makefile"
+
+fi
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems.  If it contains results you don't
+# want to keep, you may remove or edit it.
 #
-#  Used variable THISDIR to make symlinks easier when linking
-#  to files not in the same directory -GV
-#		if ${symbolic_link} ${srcdir}/${file} ${link} >/dev/null 2>&1 ; then
-		if ${symbolic_link} ${THISDIR}/${file} ${link} >/dev/null 2>&1 ; then
-			true
-		else
-			# We need to re-remove the file because Lynx leaves a 
-			# very strange directory there when it fails an NFS symlink.
-			${remove} -r -f ${link}
-#			${hard_link} ${srcdir}/${file} ${link}
-			${hard_link} ${THISDIR}/${file} ${link}
-		fi
-                if [ ! -r ${link} ] ; then
-                  #                  echo '***' "${progname}: unable to link \"${link}\" to \"${srcdir}/${file}\"." 1>&2
-                  # Changed to copy instead of linking. -GV(5/10/96)
-                  echo '***' "${progname}: unable to copy  \"${srcdir}/${file}\" to  \"${link}\"." 1>&2
-                        exit 1
-                fi
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
 
-# Changed to copy instead of Linking -GV(5/10/96)
-                echo "Copied \"${srcdir}/${file}\" to \"${link}\" ."
-#                echo "Linked \"${link}\" to \"${srcdir}/${file}\"."                                
-        done
+_ACEOF
 
-        # Create a .gdbinit file which runs the one in srcdir
-        # and tells GDB to look there for source files.
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, don't put newlines in cache variables' values.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+{
+  (set) 2>&1 |
+    case `(ac_space=' '; set | grep ac_space) 2>&1` in
+    *ac_space=\ *)
+      # `set' does not quote correctly, so add quotes (double-quote
+      # substitution turns \\\\ into \\, and sed turns \\ into \).
+      sed -n \
+        "s/'/'\\\\''/g;
+    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+      ;;
+    *)
+      # `set' quotes correctly as required by POSIX, so do not add quotes.
+      sed -n \
+        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+      ;;
+    esac;
+} |
+  sed '
+     t clear
+     : clear
+     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+     t end
+     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+     : end' >>confcache
+if diff $cache_file confcache >/dev/null 2>&1; then :; else
+  if test -w $cache_file; then
+    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+    cat confcache >$cache_file
+  else
+    echo "not updating unwritable cache $cache_file"
+  fi
+fi
+rm -f confcache
 
-        if [ -r ${srcdir}/${subdir}/.gdbinit ] ; then
-                case ${srcdir} in
-                .) ;;
-                *) cat > ${subdir}/.gdbinit <<EOF
-# ${NO_EDIT}
-dir ${makesrcdir}
-dir .
-source ${makesrcdir}/.gdbinit
-EOF
-                        ;;
-                esac
-        fi
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
-        # Install a makefile, and make it set VPATH
-        # if necessary so that the sources are found.
-        # Also change its value of srcdir.
-        # NOTE: Makefile generation constitutes the majority of the time in configure.  Hence, this section has
-        # been somewhat optimized and is perhaps a bit twisty.
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
+s/:*\$(srcdir):*/:/;
+s/:*\${srcdir}:*/:/;
+s/:*@srcdir@:*/:/;
+s/^\([^=]*=[ 	]*\):*/\1/;
+s/:*$//;
+s/^[^=]*=[ 	]*$//;
+}'
+fi
 
-        # code is order so as to try to sed the smallest input files we know.
+DEFS=-DHAVE_CONFIG_H
 
-        # the four makefile fragments MUST end up in the resulting Makefile in this order: 
-        # package, target, host, and site.  so do these separately because I don't trust the
-        #  order of sed -e expressions.
+ac_libobjs=
+ac_ltlibobjs=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+  # 1. Remove the extension, and $U if already installed.
+  ac_i=`echo "$ac_i" |
+         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
+  # 2. Add them.
+  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
+  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
 
-        if [ -f ${srcdir}/${subdir}/${Makefile_in} ] ; then
+LTLIBOBJS=$ac_ltlibobjs
 
-            # Conditionalize for this site from "Makefile.in" (or whatever it's called) into Makefile.tem
-            rm -f ${subdir}/Makefile.tem
-              case "${site}" in
-              "") cp ${srcdir}/${subdir}/${Makefile_in} ${subdir}/Makefile.tem ;;
-              *)
-                      site_makefile_frag=${srcdir}/config/ms-${site}
 
-                      if [ -f ${site_makefile_frag} ] ; then
-                              sed -e "/^####/  r ${site_makefile_frag}" ${srcdir}/${subdir}/${Makefile_in} \
-                                      > ${subdir}/Makefile.tem
-                      else
-                              cp ${srcdir}/${subdir}/${Makefile_in} ${subdir}/Makefile.tem
-                              site_makefile_frag=
-                      fi
-                      ;;
-            esac
-            # working copy now in ${subdir}/Makefile.tem
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
+  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
+  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+if test -z "${HDF_BUILD_FORTRAN_TRUE}" && test -z "${HDF_BUILD_FORTRAN_FALSE}"; then
+  { { echo "$as_me:$LINENO: error: conditional \"HDF_BUILD_FORTRAN\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"HDF_BUILD_FORTRAN\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+if test -z "${HDF_BUILD_XDR_TRUE}" && test -z "${HDF_BUILD_XDR_FALSE}"; then
+  { { echo "$as_me:$LINENO: error: conditional \"HDF_BUILD_XDR\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"HDF_BUILD_XDR\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+   { (exit 1); exit 1; }; }
+fi
 
-            # Conditionalize the makefile for this host.
-            rm -f ${Makefile}
-            case "${host_makefile_frag}" in
-              "") mv ${subdir}/Makefile.tem ${Makefile} ;;
-              *)
-                      if [ ! -f ${host_makefile_frag} ] ; then
-                              host_makefile_frag=${srcdir}/${host_makefile_frag}
-                      fi
-                      if [ -f ${host_makefile_frag} ] ; then
-                              sed -e "/^####/  r ${host_makefile_frag}" ${subdir}/Makefile.tem > ${Makefile}
-                      else
-                              echo '***' Expected host makefile fragment \"${host_makefile_frag}\" 1>&2
-                              echo '***' is missing in ${PWD=`pwd`}. 1>&2
-                              mv ${subdir}/Makefile.tem ${Makefile}
-                      fi
-            esac
-            # working copy now in ${Makefile}
+: ${CONFIG_STATUS=./config.status}
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
+echo "$as_me: creating $CONFIG_STATUS" >&6;}
+cat >$CONFIG_STATUS <<_ACEOF
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
 
-            # Conditionalize the makefile for this target.
-            rm -f ${subdir}/Makefile.tem
-            case "${target_makefile_frag}" in
-              "") mv ${Makefile} ${subdir}/Makefile.tem ;;
-              *)
-                      if [ ! -f ${target_makefile_frag} ] ; then
-                              target_makefile_frag=${srcdir}/${target_makefile_frag}
-                      fi
-                      if [ -f ${target_makefile_frag} ] ; then
-                              sed -e "/^####/  r ${target_makefile_frag}" ${Makefile} > ${subdir}/Makefile.tem
-                      else
-                              mv ${Makefile} ${subdir}/Makefile.tem
-                              target_makefile_frag=
-                      fi
-                      ;;
-            esac
-            # real copy now in ${subdir}/Makefile.tem
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+SHELL=\${CONFIG_SHELL-$SHELL}
+_ACEOF
 
-            # Conditionalize the makefile for this package.
-            rm -f ${Makefile}
-            case "${package_makefile_frag}" in
-              "") mv ${subdir}/Makefile.tem ${Makefile} ;;
-              *)
-                      if [ ! -f ${package_makefile_frag} ] ; then
-                              package_makefile_frag=${srcdir}/${package_makefile_frag}
-                      fi
-                      if [ -f ${package_makefile_frag} ] ; then
-                              sed -e "/^####/  r ${package_makefile_frag}" ${subdir}/Makefile.tem > ${Makefile}
-			      rm -f ${subdir}/Makefile.tem
-                      else
-                              echo '***' Expected package makefile fragment \"${package_makefile_frag}\" 1>&2
-                              echo '***' is missing in ${PWD=`pwd`}. 1>&2
-                              mv ${subdir}/Makefile.tem ${Makefile}
-                      fi
-            esac
-            # working copy now in ${Makefile}
+cat >>$CONFIG_STATUS <<\_ACEOF
+## --------------------- ##
+## M4sh Initialization.  ##
+## --------------------- ##
 
-            mv ${Makefile} ${subdir}/Makefile.tem
+# Be Bourne compatible
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+  emulate sh
+  NULLCMD=:
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '${1+"$@"}'='"$@"'
+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+  set -o posix
+fi
 
-            # real copy now in ${subdir}/Makefile.tem
+# Support unset when possible.
+if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+  as_unset=unset
+else
+  as_unset=false
+fi
 
-            # prepend warning about editting, and a bunch of variables.
-            rm -f ${Makefile}
-            cat > ${Makefile} <<EOF
-# ${NO_EDIT}
-#VPATH = ${makesrcdir}
-links = ${configlinks}
-host_alias = ${host_alias}
-host_cpu = ${host_cpu}
-host_vendor = ${host_vendor}
-host_os = ${host_os}
-host_canonical = ${host_cpu}-${host_vendor}-${host_os}
-target_alias = ${target_alias}
-target_cpu = ${target_cpu}
-target_vendor = ${target_vendor}
-target_os = ${target_os}
-target_canonical = ${target_cpu}-${target_vendor}-${target_os}
-EOF
-	    case "${build}" in
-	      "") ;;
-	      *)  cat >> ${Makefile} << EOF
-build_alias = ${build_alias}
-build_cpu = ${build_cpu}
-build_vendor = ${build_vendor}
-build_os = ${build_os}
-build_canonical = ${build_cpu}-${build_vendor}-${build_os}
-EOF
-	    esac
 
-            case "${package_makefile_frag}" in
-              "") ;;
-              /*) echo package_makefile_frag = ${package_makefile_frag} >>${Makefile} ;;
-              *)  echo package_makefile_frag = ${invsubdir}${package_makefile_frag} >>${Makefile} ;;
-            esac
+# Work around bugs in pre-3.0 UWIN ksh.
+$as_unset ENV MAIL MAILPATH
+PS1='$ '
+PS2='> '
+PS4='+ '
 
-            case "${target_makefile_frag}" in
-              "") ;;
-              /*) echo target_makefile_frag = ${target_makefile_frag} >>${Makefile} ;;
-              *)  echo target_makefile_frag = ${invsubdir}${target_makefile_frag} >>${Makefile} ;;
-            esac
+# NLS nuisances.
+for as_var in \
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+  LC_TELEPHONE LC_TIME
+do
+  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
+    eval $as_var=C; export $as_var
+  else
+    $as_unset $as_var
+  fi
+done
 
-            case "${host_makefile_frag}" in
-              "") ;;
-              /*) echo host_makefile_frag = ${host_makefile_frag} >>${Makefile} ;;
-              *)  echo host_makefile_frag = ${invsubdir}${host_makefile_frag} >>${Makefile} ;;
-            esac
+# Required to use basename.
+if expr a : '\(a\)' >/dev/null 2>&1; then
+  as_expr=expr
+else
+  as_expr=false
+fi
 
-            if [ "${site_makefile_frag}" != "" ] ; then
-                echo site_makefile_frag = ${invsubdir}${site_makefile_frag} >>${Makefile}
-            fi 
+if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
+  as_basename=basename
+else
+  as_basename=false
+fi
 
-	    # make sure that some sort of reasonable default exists for these 
-	    # two variables
-	    CXX=${CXX-"g++ -O"}
-	    CC=${CC-cc}
 
-            # reset prefix, exec_prefix, srcdir, SUBDIRS, NONSUBDIRS,
-            # remove any form feeds.
-            if [ -z "${subdirs}" ]; then
-                rm -f ${subdir}/Makefile.tem2
-                sed -e "s:^SUBDIRS[ 	]*=.*$:SUBDIRS = ${configdirs}:" \
-                    -e "s:^NONSUBDIRS[ 	]*=.*$:NONSUBDIRS = ${noconfigdirs}:" \
-                    ${subdir}/Makefile.tem > ${subdir}/Makefile.tem2
-                rm -f ${subdir}/Makefile.tem
-                mv ${subdir}/Makefile.tem2 ${subdir}/Makefile.tem
-            fi
-            sed -e "s:^prefix[ 	]*=.*$:prefix = ${prefix}:" \
-                    -e "s:^exec_prefix[ 	]*=.*$:exec_prefix = ${exec_prefix}:" \
-		    -e "s:^SHELL[	 ]*=.*$:SHELL = ${config_shell}:" \
-                    -e "s:^srcdir[ 	]*=.*$:srcdir = ${makesrcdir}:" \
-                    -e "s///" \
-                    -e "s:^program_prefix[ 	]*=.*$:program_prefix = ${program_prefix}:" \
-                    -e "s:^program_suffix[ 	]*=.*$:program_suffix = ${program_suffix}:" \
-                    -e "s:^program_transform_name[ 	]*=.*$:program_transform_name = ${program_transform_name}:" \
-                    -e "s:^tooldir[ 	]*=.*$:tooldir = ${tooldir}:" \
-                    ${subdir}/Makefile.tem >> ${Makefile}
-            # final copy now in ${Makefile}
+# Name of the executable.
+as_me=`$as_basename "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+	 X"$0" : 'X\(//\)$' \| \
+	 X"$0" : 'X\(/\)$' \| \
+	 .     : '\(.\)' 2>/dev/null ||
+echo X/"$0" |
+    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
+  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\/\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
 
-        else
-           echo "No Makefile.in found in ${srcdir}/${subdir}, unable to configure" 1>&2
-        fi
 
-        rm -f ${subdir}/Makefile.tem
+# PATH needs CR, and LINENO needs CR and PATH.
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
 
-        case "${host_makefile_frag}" in
-        "") using= ;;
-        *) using="and \"${host_makefile_frag}\"" ;;
-        esac
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+  echo "#! /bin/sh" >conf$$.sh
+  echo  "exit 0"   >>conf$$.sh
+  chmod +x conf$$.sh
+  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+    PATH_SEPARATOR=';'
+  else
+    PATH_SEPARATOR=:
+  fi
+  rm -f conf$$.sh
+fi
 
-        case "${target_makefile_frag}" in
-        "") ;;
-        *) using="${using} and \"${target_makefile_frag}\"" ;;
-        esac
 
-        case "${site_makefile_frag}" in
-        "") ;;
-        *) using="${using} and \"${site_makefile_frag}\"" ;;
-        esac
+  as_lineno_1=$LINENO
+  as_lineno_2=$LINENO
+  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
+  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
+  # Find who we are.  Look in the path if we contain no path at all
+  # relative or not.
+  case $0 in
+    *[\\/]* ) as_myself=$0 ;;
+    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+done
 
-        newusing=`echo "${using}" | sed 's/and/using/'`
-        using=${newusing}
-        echo "Created \"${Makefile}\" in" ${PWD=`pwd`} ${using}
+       ;;
+  esac
+  # We did not find ourselves, most probably we were run as `sh COMMAND'
+  # in which case we are not to be found in the path.
+  if test "x$as_myself" = x; then
+    as_myself=$0
+  fi
+  if test ! -f "$as_myself"; then
+    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
+echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
+   { (exit 1); exit 1; }; }
+  fi
+  case $CONFIG_SHELL in
+  '')
+    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for as_base in sh bash ksh sh5; do
+	 case $as_dir in
+	 /*)
+	   if ("$as_dir/$as_base" -c '
+  as_lineno_1=$LINENO
+  as_lineno_2=$LINENO
+  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
+  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
+	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
+	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
+	     CONFIG_SHELL=$as_dir/$as_base
+	     export CONFIG_SHELL
+	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
+	   fi;;
+	 esac
+       done
+done
+;;
+  esac
 
-        . ${tmpfile}.pos
+  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+  # uniformly replaced by the line number.  The first 'sed' inserts a
+  # line-number line before each line; the second 'sed' does the real
+  # work.  The second script uses 'N' to pair each line-number line
+  # with the numbered line, and appends trailing '-' during
+  # substitution so that $LINENO is not a special case at line end.
+  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
+  sed '=' <$as_myself |
+    sed '
+      N
+      s,$,-,
+      : loop
+      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
+      t loop
+      s,-$,,
+      s,^['$as_cr_digits']*\n,,
+    ' >$as_me.lineno &&
+  chmod +x $as_me.lineno ||
+    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
+echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
+   { (exit 1); exit 1; }; }
 
-        # describe the chosen configuration in config.status.
-        # Make that file a shellscript which will reestablish
-        # the same configuration.  Used in Makefiles to rebuild
-        # Makefiles.
+  # Don't try to exec as it changes $[0], causing all sort of problems
+  # (the dirname of $[0] is not the place where we might find the
+  # original and so on.  Autoconf is especially sensible to this).
+  . ./$as_me.lineno
+  # Exit status is that of the last command.
+  exit
+}
 
-        case "${norecursion}" in
-        "") arguments="${arguments} --norecursion" ;;
-        *) ;;
-        esac
 
-        if [ ${subdir} = . ] ; then
-            echo "#!/bin/sh
-# ${NO_EDIT}
-# This directory was configured as follows:
-${progname}" ${arguments}  "
-# ${using}" > ${subdir}/config.new
-        else
-            echo "#!/bin/sh
-# ${NO_EDIT}
-# This directory was configured as follows:
-cd ${invsubdir}
-${progname}" ${arguments}  "
-# ${using}" > ${subdir}/config.new
-        fi
-        chmod a+x ${subdir}/config.new
-        if [ -r ${subdir}/config.back ] ; then
-                mv -f ${subdir}/config.back ${subdir}/config.status
-        fi
-        ${moveifchange} ${subdir}/config.new ${subdir}/config.status
-        ;;
+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+  *c*,-n*) ECHO_N= ECHO_C='
+' ECHO_T='	' ;;
+  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
+  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
+esac
 
-    *)  rm -f ${Makefile} ${subdir}/config.status ${links} ;;
-    esac
+if expr a : '\(a\)' >/dev/null 2>&1; then
+  as_expr=expr
+else
+  as_expr=false
+fi
+
+rm -f conf$$ conf$$.exe conf$$.file
+echo >conf$$.file
+if ln -s conf$$.file conf$$ 2>/dev/null; then
+  # We could just check for DJGPP; but this test a) works b) is more generic
+  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+  if test -f conf$$.exe; then
+    # Don't use ln at all; we don't have any links
+    as_ln_s='cp -p'
+  else
+    as_ln_s='ln -s'
+  fi
+elif ln conf$$.file conf$$ 2>/dev/null; then
+  as_ln_s=ln
+else
+  as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.file
+
+if mkdir -p . 2>/dev/null; then
+  as_mkdir_p=:
+else
+  as_mkdir_p=false
+fi
+
+as_executable_p="test -f"
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
+
+
+# IFS
+# We need space, tab and new line, in precisely that order.
+as_nl='
+'
+IFS=" 	$as_nl"
+
+# CDPATH.
+$as_unset CDPATH
+
+exec 6>&1
+
+# Open the log real soon, to keep \$[0] and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.  Logging --version etc. is OK.
+exec 5>>config.log
+{
+  echo
+  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+} >&5
+cat >&5 <<_CSEOF
+
+This file was extended by HDF $as_me 4.2r1, which was
+generated by GNU Autoconf 2.57.  Invocation command line was
+
+  CONFIG_FILES    = $CONFIG_FILES
+  CONFIG_HEADERS  = $CONFIG_HEADERS
+  CONFIG_LINKS    = $CONFIG_LINKS
+  CONFIG_COMMANDS = $CONFIG_COMMANDS
+  $ $0 $@
+
+_CSEOF
+echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
+echo >&5
+_ACEOF
+
+# Files that config.status was made for.
+if test -n "$ac_config_files"; then
+  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_headers"; then
+  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_links"; then
+  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_commands"; then
+  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+
+ac_cs_usage="\
+\`$as_me' instantiates files from templates according to the
+current configuration.
+
+Usage: $0 [OPTIONS] [FILE]...
+
+  -h, --help       print this help, then exit
+  -V, --version    print version number, then exit
+  -q, --quiet      do not print progress messages
+  -d, --debug      don't remove temporary files
+      --recheck    update $as_me by reconfiguring in the same conditions
+  --file=FILE[:TEMPLATE]
+                   instantiate the configuration file FILE
+  --header=FILE[:TEMPLATE]
+                   instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration commands:
+$config_commands
+
+Report bugs to <bug-autoconf at gnu.org>."
+_ACEOF
+
+cat >>$CONFIG_STATUS <<_ACEOF
+ac_cs_version="\\
+HDF config.status 4.2r1
+configured by $0, generated by GNU Autoconf 2.57,
+  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
+
+Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
+Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+srcdir=$srcdir
+INSTALL="$INSTALL"
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+# If no file are specified by the user, then we need to provide default
+# value.  By we need to know if files were specified by the user.
+ac_need_defaults=:
+while test $# != 0
+do
+  case $1 in
+  --*=*)
+    ac_option=`expr "x$1" : 'x\([^=]*\)='`
+    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
+    ac_shift=:
+    ;;
+  -*)
+    ac_option=$1
+    ac_optarg=$2
+    ac_shift=shift
+    ;;
+  *) # This is not an option, so the user has probably given explicit
+     # arguments.
+     ac_option=$1
+     ac_need_defaults=false;;
+  esac
+
+  case $ac_option in
+  # Handling of the options.
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+    ac_cs_recheck=: ;;
+  --version | --vers* | -V )
+    echo "$ac_cs_version"; exit 0 ;;
+  --he | --h)
+    # Conflict between --help and --header
+    { { echo "$as_me:$LINENO: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&5
+echo "$as_me: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&2;}
+   { (exit 1); exit 1; }; };;
+  --help | --hel | -h )
+    echo "$ac_cs_usage"; exit 0 ;;
+  --debug | --d* | -d )
+    debug=: ;;
+  --file | --fil | --fi | --f )
+    $ac_shift
+    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
+    ac_need_defaults=false;;
+  --header | --heade | --head | --hea )
+    $ac_shift
+    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
+    ac_need_defaults=false;;
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+  | -silent | --silent | --silen | --sile | --sil | --si | --s)
+    ac_cs_silent=: ;;
+
+  # This is an error.
+  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
+Try \`$0 --help' for more information." >&5
+echo "$as_me: error: unrecognized option: $1
+Try \`$0 --help' for more information." >&2;}
+   { (exit 1); exit 1; }; } ;;
+
+  *) ac_config_targets="$ac_config_targets $1" ;;
+
+  esac
+  shift
 done
 
-# If there are subdirectories, then recur. 
-if [ -z "${norecursion}" -a -n "${configdirs}" ] ; then 
-        for configdir in ${configdirs} ; do
+ac_configure_extra_args=
 
-                if [ -d ${srcdir}/${configdir} ] ; then
-                        eval echo Configuring ${configdir}... ${redirect}
-                        case "${srcdir}" in
-                        ".") ;;
-                        *)
-                                if [ ! -d ./${configdir} ] ; then
-                                        if mkdir ./${configdir} ; then
-                                                true
-                                        else
-                                                echo '***' "${progname}: could not make ${PWD=`pwd`}/${configdir}" 1>&2
-                                                exit 1
-                                        fi
-                                fi
-                                ;;
-                        esac
+if $ac_cs_silent; then
+  exec 6>/dev/null
+  ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
 
-                        POPDIR=${PWD=`pwd`}
-                        cd ${configdir} 
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF
+if \$ac_cs_recheck; then
+  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
+  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+fi
 
-### figure out what to do with srcdir
-                        case "${srcdir}" in
-                        ".") newsrcdir=${srcdir} ;; # no -srcdir option.  We're building in place.
-                        /*) # absolute path
-                                newsrcdir=${srcdir}/${configdir}
-                                srcdiroption="--srcdir=${newsrcdir}"
-                                ;;
-                        *) # otherwise relative
-                                newsrcdir=../${srcdir}/${configdir}
-                                srcdiroption="--srcdir=${newsrcdir}"
-                                ;;
-                        esac
+_ACEOF
 
-### check for guested configure, otherwise fix possibly relative progname
-                        if [ -f ${newsrcdir}/configure ] ; then
-                                recprog=${newsrcdir}/configure
-                        elif [ -f ${newsrcdir}/configure.in ] ; then
-                                case "${progname}" in
-                                /*)     recprog=${progname} ;;
-##
-## Changed the way this is handled the default case is to use
-## the top level configure found originaly and not the one found in
-## parent directory -GV
-##                              *)      recprog=../${progname} ;;
-                                *)      recprog=${POPDIR}/${progname} ;;
-                                esac
-			else
-				eval echo No configuration information in ${configdir} ${redirect}
-				recprog=
-                        fi
+cat >>$CONFIG_STATUS <<_ACEOF
+#
+# INIT-COMMANDS section.
+#
 
-### The recursion line is here.
-			if [ ! -z "${recprog}" ] ; then
-	                        if eval ${config_shell} ${recprog} ${verbose} ${buildopt} --host=${host_alias} --target=${target_alias} \
-        	                        ${prefixoption} ${tmpdiroption} ${exec_prefixoption} \
-                	                ${srcdiroption} ${program_prefixoption} ${program_suffixoption} ${program_transform_nameoption} ${site_option} ${withoptions} ${withoutoptions} ${enableoptions} ${disableoptions} ${removing} ${other_options} ${redirect} ; then
-	                                true
-        	                else
-					echo Configure in `pwd` failed, exiting. 1>&2
-                	                exit 1
-                        	fi
-			fi
 
-                        cd ${POPDIR}
-                fi
-        done
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+
+_ACEOF
+
+
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+for ac_config_target in $ac_config_targets
+do
+  case "$ac_config_target" in
+  # Handling of arguments.
+  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+  "hdf/Makefile" ) CONFIG_FILES="$CONFIG_FILES hdf/Makefile" ;;
+  "hdf/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES hdf/src/Makefile" ;;
+  "hdf/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES hdf/test/Makefile" ;;
+  "hdf/util/Makefile" ) CONFIG_FILES="$CONFIG_FILES hdf/util/Makefile" ;;
+  "hdf/util/h4cc" ) CONFIG_FILES="$CONFIG_FILES hdf/util/h4cc" ;;
+  "hdf/util/h4fc" ) CONFIG_FILES="$CONFIG_FILES hdf/util/h4fc" ;;
+  "hdf/util/h4redeploy" ) CONFIG_FILES="$CONFIG_FILES hdf/util/h4redeploy" ;;
+  "hdf/util/testutil.sh" ) CONFIG_FILES="$CONFIG_FILES hdf/util/testutil.sh" ;;
+  "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
+  "mfhdf/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/Makefile" ;;
+  "mfhdf/dumper/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/dumper/Makefile" ;;
+  "mfhdf/dumper/testhdp.sh" ) CONFIG_FILES="$CONFIG_FILES mfhdf/dumper/testhdp.sh" ;;
+  "mfhdf/fortran/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/fortran/Makefile" ;;
+  "mfhdf/hdfimport/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/hdfimport/Makefile" ;;
+  "mfhdf/hdfimport/testutil.sh" ) CONFIG_FILES="$CONFIG_FILES mfhdf/hdfimport/testutil.sh" ;;
+  "mfhdf/hdiff/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/hdiff/Makefile" ;;
+  "mfhdf/hrepack/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/hrepack/Makefile" ;;
+  "mfhdf/libsrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/libsrc/Makefile" ;;
+  "mfhdf/ncdump/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/ncdump/Makefile" ;;
+  "mfhdf/ncgen/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/ncgen/Makefile" ;;
+  "mfhdf/nctest/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/nctest/Makefile" ;;
+  "mfhdf/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/port/Makefile" ;;
+  "mfhdf/xdr/Makefile" ) CONFIG_FILES="$CONFIG_FILES mfhdf/xdr/Makefile" ;;
+  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
+  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+  "hdf/src/h4config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS hdf/src/h4config.h" ;;
+  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
+echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+   { (exit 1); exit 1; }; };;
+  esac
+done
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used.  Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 fi
 
-# Perform the same cleanup as the trap handler, minus the "exit 1" of course,
-# and reset the trap handler.
-rm -f ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos
-trap 0
+# Have a temporary directory for convenience.  Make it in the build tree
+# simply because there is no reason to put it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Create a temporary directory, and hook for its removal unless debugging.
+$debug ||
+{
+  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
+  trap '{ (exit 1); exit 1; }' 1 2 13 15
+}
 
-exit 0
+# Create a (secure) tmp directory for tmp files.
 
+{
+  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
+  test -n "$tmp" && test -d "$tmp"
+}  ||
+{
+  tmp=./confstat$$-$RANDOM
+  (umask 077 && mkdir $tmp)
+} ||
+{
+   echo "$me: cannot create a temporary directory in ." >&2
+   { (exit 1); exit 1; }
+}
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<_ACEOF
+
 #
-# Local Variables:
-# fill-column: 131
-# End:
+# CONFIG_FILES section.
 #
 
-# end of configure
+# No need to generate the scripts if there are no CONFIG_FILES.
+# This happens for instance when ./config.status config.h
+if test -n "\$CONFIG_FILES"; then
+  # Protect against being on the right side of a sed subst in config.status.
+  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
+   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
+s, at SHELL@,$SHELL,;t t
+s, at PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
+s, at PACKAGE_NAME@,$PACKAGE_NAME,;t t
+s, at PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
+s, at PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
+s, at PACKAGE_STRING@,$PACKAGE_STRING,;t t
+s, at PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
+s, at exec_prefix@,$exec_prefix,;t t
+s, at prefix@,$prefix,;t t
+s, at program_transform_name@,$program_transform_name,;t t
+s, at bindir@,$bindir,;t t
+s, at sbindir@,$sbindir,;t t
+s, at libexecdir@,$libexecdir,;t t
+s, at datadir@,$datadir,;t t
+s, at sysconfdir@,$sysconfdir,;t t
+s, at sharedstatedir@,$sharedstatedir,;t t
+s, at localstatedir@,$localstatedir,;t t
+s, at libdir@,$libdir,;t t
+s, at includedir@,$includedir,;t t
+s, at oldincludedir@,$oldincludedir,;t t
+s, at infodir@,$infodir,;t t
+s, at mandir@,$mandir,;t t
+s, at build_alias@,$build_alias,;t t
+s, at host_alias@,$host_alias,;t t
+s, at target_alias@,$target_alias,;t t
+s, at DEFS@,$DEFS,;t t
+s, at ECHO_C@,$ECHO_C,;t t
+s, at ECHO_N@,$ECHO_N,;t t
+s, at ECHO_T@,$ECHO_T,;t t
+s, at LIBS@,$LIBS,;t t
+s, at INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
+s, at INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
+s, at INSTALL_DATA@,$INSTALL_DATA,;t t
+s, at CYGPATH_W@,$CYGPATH_W,;t t
+s, at PACKAGE@,$PACKAGE,;t t
+s, at VERSION@,$VERSION,;t t
+s, at ACLOCAL@,$ACLOCAL,;t t
+s, at AUTOCONF@,$AUTOCONF,;t t
+s, at AUTOMAKE@,$AUTOMAKE,;t t
+s, at AUTOHEADER@,$AUTOHEADER,;t t
+s, at MAKEINFO@,$MAKEINFO,;t t
+s, at AMTAR@,$AMTAR,;t t
+s, at install_sh@,$install_sh,;t t
+s, at STRIP@,$STRIP,;t t
+s, at ac_ct_STRIP@,$ac_ct_STRIP,;t t
+s, at INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
+s, at AWK@,$AWK,;t t
+s, at SET_MAKE@,$SET_MAKE,;t t
+s, at am__leading_dot@,$am__leading_dot,;t t
+s, at MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
+s, at MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
+s, at MAINT@,$MAINT,;t t
+s, at build@,$build,;t t
+s, at build_cpu@,$build_cpu,;t t
+s, at build_vendor@,$build_vendor,;t t
+s, at build_os@,$build_os,;t t
+s, at host@,$host,;t t
+s, at host_cpu@,$host_cpu,;t t
+s, at host_vendor@,$host_vendor,;t t
+s, at host_os@,$host_os,;t t
+s, at CC@,$CC,;t t
+s, at CFLAGS@,$CFLAGS,;t t
+s, at LDFLAGS@,$LDFLAGS,;t t
+s, at CPPFLAGS@,$CPPFLAGS,;t t
+s, at ac_ct_CC@,$ac_ct_CC,;t t
+s, at EXEEXT@,$EXEEXT,;t t
+s, at OBJEXT@,$OBJEXT,;t t
+s, at DEPDIR@,$DEPDIR,;t t
+s, at am__include@,$am__include,;t t
+s, at am__quote@,$am__quote,;t t
+s, at AMDEP_TRUE@,$AMDEP_TRUE,;t t
+s, at AMDEP_FALSE@,$AMDEP_FALSE,;t t
+s, at AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
+s, at CCDEPMODE@,$CCDEPMODE,;t t
+s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
+s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
+s, at CPP@,$CPP,;t t
+s, at CXX@,$CXX,;t t
+s, at CXXFLAGS@,$CXXFLAGS,;t t
+s, at ac_ct_CXX@,$ac_ct_CXX,;t t
+s, at CXXDEPMODE@,$CXXDEPMODE,;t t
+s, at am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
+s, at am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
+s, at F77@,$F77,;t t
+s, at FFLAGS@,$FFLAGS,;t t
+s, at ac_ct_F77@,$ac_ct_F77,;t t
+s, at HDF_BUILD_FORTRAN_TRUE@,$HDF_BUILD_FORTRAN_TRUE,;t t
+s, at HDF_BUILD_FORTRAN_FALSE@,$HDF_BUILD_FORTRAN_FALSE,;t t
+s, at LEX@,$LEX,;t t
+s, at LEXLIB@,$LEXLIB,;t t
+s, at LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
+s, at LN_S@,$LN_S,;t t
+s, at RANLIB@,$RANLIB,;t t
+s, at ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
+s, at YACC@,$YACC,;t t
+s, at AR@,$AR,;t t
+s, at DIFF@,$DIFF,;t t
+s, at NEQN@,$NEQN,;t t
+s, at TBL@,$TBL,;t t
+s, at EGREP@,$EGREP,;t t
+s, at HDF_BUILD_XDR_TRUE@,$HDF_BUILD_XDR_TRUE,;t t
+s, at HDF_BUILD_XDR_FALSE@,$HDF_BUILD_XDR_FALSE,;t t
+s, at CXXCPP@,$CXXCPP,;t t
+s, at LIBOBJS@,$LIBOBJS,;t t
+s, at LTLIBOBJS@,$LTLIBOBJS,;t t
+CEOF
+
+_ACEOF
+
+  cat >>$CONFIG_STATUS <<\_ACEOF
+  # Split the substitutions into bite-sized pieces for seds with
+  # small command number limits, like on Digital OSF/1 and HP-UX.
+  ac_max_sed_lines=48
+  ac_sed_frag=1 # Number of current file.
+  ac_beg=1 # First line for current file.
+  ac_end=$ac_max_sed_lines # Line after last line for current file.
+  ac_more_lines=:
+  ac_sed_cmds=
+  while $ac_more_lines; do
+    if test $ac_beg -gt 1; then
+      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
+    else
+      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
+    fi
+    if test ! -s $tmp/subs.frag; then
+      ac_more_lines=false
+    else
+      # The purpose of the label and of the branching condition is to
+      # speed up the sed processing (if there are no `@' at all, there
+      # is no need to browse any of the substitutions).
+      # These are the two extra sed commands mentioned above.
+      (echo ':t
+  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
+      if test -z "$ac_sed_cmds"; then
+  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
+      else
+  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
+      fi
+      ac_sed_frag=`expr $ac_sed_frag + 1`
+      ac_beg=$ac_end
+      ac_end=`expr $ac_end + $ac_max_sed_lines`
+    fi
+  done
+  if test -z "$ac_sed_cmds"; then
+    ac_sed_cmds=cat
+  fi
+fi # test -n "$CONFIG_FILES"
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
+  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
+  case $ac_file in
+  - | *:- | *:-:* ) # input from stdin
+        cat >$tmp/stdin
+        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+  * )   ac_file_in=$ac_file.in ;;
+  esac
+
+  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
+  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+         X"$ac_file" : 'X\(//\)[^/]' \| \
+         X"$ac_file" : 'X\(//\)$' \| \
+         X"$ac_file" : 'X\(/\)' \| \
+         .     : '\(.\)' 2>/dev/null ||
+echo X"$ac_file" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
+  { if $as_mkdir_p; then
+    mkdir -p "$ac_dir"
+  else
+    as_dir="$ac_dir"
+    as_dirs=
+    while test ! -d "$as_dir"; do
+      as_dirs="$as_dir $as_dirs"
+      as_dir=`(dirname "$as_dir") 2>/dev/null ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+         X"$as_dir" : 'X\(//\)[^/]' \| \
+         X"$as_dir" : 'X\(//\)$' \| \
+         X"$as_dir" : 'X\(/\)' \| \
+         .     : '\(.\)' 2>/dev/null ||
+echo X"$as_dir" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
+    done
+    test ! -n "$as_dirs" || mkdir $as_dirs
+  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
+   { (exit 1); exit 1; }; }; }
+
+  ac_builddir=.
+
+if test "$ac_dir" != .; then
+  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
+  # A "../" for each directory in $ac_dir_suffix.
+  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
+else
+  ac_dir_suffix= ac_top_builddir=
+fi
+
+case $srcdir in
+  .)  # No --srcdir option.  We are building in place.
+    ac_srcdir=.
+    if test -z "$ac_top_builddir"; then
+       ac_top_srcdir=.
+    else
+       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
+    fi ;;
+  [\\/]* | ?:[\\/]* )  # Absolute path.
+    ac_srcdir=$srcdir$ac_dir_suffix;
+    ac_top_srcdir=$srcdir ;;
+  *) # Relative path.
+    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
+    ac_top_srcdir=$ac_top_builddir$srcdir ;;
+esac
+# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
+# absolute.
+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+
+
+  case $INSTALL in
+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
+  esac
+
+  if test x"$ac_file" != x-; then
+    { echo "$as_me:$LINENO: creating $ac_file" >&5
+echo "$as_me: creating $ac_file" >&6;}
+    rm -f "$ac_file"
+  fi
+  # Let's still pretend it is `configure' which instantiates (i.e., don't
+  # use $as_me), people would be surprised to read:
+  #    /* config.h.  Generated by config.status.  */
+  if test x"$ac_file" = x-; then
+    configure_input=
+  else
+    configure_input="$ac_file.  "
+  fi
+  configure_input=$configure_input"Generated from `echo $ac_file_in |
+                                     sed 's,.*/,,'` by configure."
+
+  # First look for the input files in the build tree, otherwise in the
+  # src tree.
+  ac_file_inputs=`IFS=:
+    for f in $ac_file_in; do
+      case $f in
+      -) echo $tmp/stdin ;;
+      [\\/$]*)
+         # Absolute (can't be DOS-style, as IFS=:)
+         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+   { (exit 1); exit 1; }; }
+         echo $f;;
+      *) # Relative
+         if test -f "$f"; then
+           # Build tree
+           echo $f
+         elif test -f "$srcdir/$f"; then
+           # Source tree
+           echo $srcdir/$f
+         else
+           # /dev/null tree
+           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+   { (exit 1); exit 1; }; }
+         fi;;
+      esac
+    done` || { (exit 1); exit 1; }
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF
+  sed "$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s, at configure_input@,$configure_input,;t t
+s, at srcdir@,$ac_srcdir,;t t
+s, at abs_srcdir@,$ac_abs_srcdir,;t t
+s, at top_srcdir@,$ac_top_srcdir,;t t
+s, at abs_top_srcdir@,$ac_abs_top_srcdir,;t t
+s, at builddir@,$ac_builddir,;t t
+s, at abs_builddir@,$ac_abs_builddir,;t t
+s, at top_builddir@,$ac_top_builddir,;t t
+s, at abs_top_builddir@,$ac_abs_top_builddir,;t t
+s, at INSTALL@,$ac_INSTALL,;t t
+" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
+  rm -f $tmp/stdin
+  if test x"$ac_file" != x-; then
+    mv $tmp/out $ac_file
+  else
+    cat $tmp/out
+    rm -f $tmp/out
+  fi
+
+done
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+
+#
+# CONFIG_HEADER section.
+#
+
+# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
+# NAME is the cpp macro being defined and VALUE is the value it is being given.
+#
+# ac_d sets the value in "#define NAME VALUE" lines.
+ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
+ac_dB='[ 	].*$,\1#\2'
+ac_dC=' '
+ac_dD=',;t'
+# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
+ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
+ac_uB='$,\1#\2define\3'
+ac_uC=' '
+ac_uD=',;t'
+
+for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
+  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
+  case $ac_file in
+  - | *:- | *:-:* ) # input from stdin
+        cat >$tmp/stdin
+        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+  * )   ac_file_in=$ac_file.in ;;
+  esac
+
+  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
+echo "$as_me: creating $ac_file" >&6;}
+
+  # First look for the input files in the build tree, otherwise in the
+  # src tree.
+  ac_file_inputs=`IFS=:
+    for f in $ac_file_in; do
+      case $f in
+      -) echo $tmp/stdin ;;
+      [\\/$]*)
+         # Absolute (can't be DOS-style, as IFS=:)
+         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+   { (exit 1); exit 1; }; }
+         echo $f;;
+      *) # Relative
+         if test -f "$f"; then
+           # Build tree
+           echo $f
+         elif test -f "$srcdir/$f"; then
+           # Source tree
+           echo $srcdir/$f
+         else
+           # /dev/null tree
+           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+   { (exit 1); exit 1; }; }
+         fi;;
+      esac
+    done` || { (exit 1); exit 1; }
+  # Remove the trailing spaces.
+  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
+
+_ACEOF
+
+# Transform confdefs.h into two sed scripts, `conftest.defines' and
+# `conftest.undefs', that substitutes the proper values into
+# config.h.in to produce config.h.  The first handles `#define'
+# templates, and the second `#undef' templates.
+# And first: Protect against being on the right side of a sed subst in
+# config.status.  Protect against being in an unquoted here document
+# in config.status.
+rm -f conftest.defines conftest.undefs
+# Using a here document instead of a string reduces the quoting nightmare.
+# Putting comments in sed scripts is not portable.
+#
+# `end' is used to avoid that the second main sed command (meant for
+# 0-ary CPP macros) applies to n-ary macro definitions.
+# See the Autoconf documentation for `clear'.
+cat >confdef2sed.sed <<\_ACEOF
+s/[\\&,]/\\&/g
+s,[\\$`],\\&,g
+t clear
+: clear
+s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
+t end
+s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
+: end
+_ACEOF
+# If some macros were called several times there might be several times
+# the same #defines, which is useless.  Nevertheless, we may not want to
+# sort them, since we want the *last* AC-DEFINE to be honored.
+uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
+sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
+rm -f confdef2sed.sed
+
+# This sed command replaces #undef with comments.  This is necessary, for
+# example, in the case of _POSIX_SOURCE, which is predefined and required
+# on some systems where configure will not decide to define it.
+cat >>conftest.undefs <<\_ACEOF
+s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
+_ACEOF
+
+# Break up conftest.defines because some shells have a limit on the size
+# of here documents, and old seds have small limits too (100 cmds).
+echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
+echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
+echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
+echo '  :' >>$CONFIG_STATUS
+rm -f conftest.tail
+while grep . conftest.defines >/dev/null
+do
+  # Write a limited-size here document to $tmp/defines.sed.
+  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
+  # Speed up: don't consider the non `#define' lines.
+  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
+  # Work around the forget-to-reset-the-flag bug.
+  echo 't clr' >>$CONFIG_STATUS
+  echo ': clr' >>$CONFIG_STATUS
+  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
+  echo 'CEOF
+  sed -f $tmp/defines.sed $tmp/in >$tmp/out
+  rm -f $tmp/in
+  mv $tmp/out $tmp/in
+' >>$CONFIG_STATUS
+  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
+  rm -f conftest.defines
+  mv conftest.tail conftest.defines
+done
+rm -f conftest.defines
+echo '  fi # grep' >>$CONFIG_STATUS
+echo >>$CONFIG_STATUS
+
+# Break up conftest.undefs because some shells have a limit on the size
+# of here documents, and old seds have small limits too (100 cmds).
+echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
+rm -f conftest.tail
+while grep . conftest.undefs >/dev/null
+do
+  # Write a limited-size here document to $tmp/undefs.sed.
+  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
+  # Speed up: don't consider the non `#undef'
+  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
+  # Work around the forget-to-reset-the-flag bug.
+  echo 't clr' >>$CONFIG_STATUS
+  echo ': clr' >>$CONFIG_STATUS
+  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
+  echo 'CEOF
+  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
+  rm -f $tmp/in
+  mv $tmp/out $tmp/in
+' >>$CONFIG_STATUS
+  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
+  rm -f conftest.undefs
+  mv conftest.tail conftest.undefs
+done
+rm -f conftest.undefs
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+  # Let's still pretend it is `configure' which instantiates (i.e., don't
+  # use $as_me), people would be surprised to read:
+  #    /* config.h.  Generated by config.status.  */
+  if test x"$ac_file" = x-; then
+    echo "/* Generated by configure.  */" >$tmp/config.h
+  else
+    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
+  fi
+  cat $tmp/in >>$tmp/config.h
+  rm -f $tmp/in
+  if test x"$ac_file" != x-; then
+    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
+      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
+echo "$as_me: $ac_file is unchanged" >&6;}
+    else
+      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+         X"$ac_file" : 'X\(//\)[^/]' \| \
+         X"$ac_file" : 'X\(//\)$' \| \
+         X"$ac_file" : 'X\(/\)' \| \
+         .     : '\(.\)' 2>/dev/null ||
+echo X"$ac_file" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
+      { if $as_mkdir_p; then
+    mkdir -p "$ac_dir"
+  else
+    as_dir="$ac_dir"
+    as_dirs=
+    while test ! -d "$as_dir"; do
+      as_dirs="$as_dir $as_dirs"
+      as_dir=`(dirname "$as_dir") 2>/dev/null ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+         X"$as_dir" : 'X\(//\)[^/]' \| \
+         X"$as_dir" : 'X\(//\)$' \| \
+         X"$as_dir" : 'X\(/\)' \| \
+         .     : '\(.\)' 2>/dev/null ||
+echo X"$as_dir" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
+    done
+    test ! -n "$as_dirs" || mkdir $as_dirs
+  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
+   { (exit 1); exit 1; }; }; }
+
+      rm -f $ac_file
+      mv $tmp/config.h $ac_file
+    fi
+  else
+    cat $tmp/config.h
+    rm -f $tmp/config.h
+  fi
+# Compute $ac_file's index in $config_headers.
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+  case $_am_header in
+    $ac_file | $ac_file:* )
+      break ;;
+    * )
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+  esac
+done
+echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
+$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+         X$ac_file : 'X\(//\)[^/]' \| \
+         X$ac_file : 'X\(//\)$' \| \
+         X$ac_file : 'X\(/\)' \| \
+         .     : '\(.\)' 2>/dev/null ||
+echo X$ac_file |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`/stamp-h$_am_stamp_count
+done
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+
+#
+# CONFIG_COMMANDS section.
+#
+for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
+  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
+  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
+  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
+$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+         X"$ac_dest" : 'X\(//\)[^/]' \| \
+         X"$ac_dest" : 'X\(//\)$' \| \
+         X"$ac_dest" : 'X\(/\)' \| \
+         .     : '\(.\)' 2>/dev/null ||
+echo X"$ac_dest" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
+  ac_builddir=.
+
+if test "$ac_dir" != .; then
+  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
+  # A "../" for each directory in $ac_dir_suffix.
+  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
+else
+  ac_dir_suffix= ac_top_builddir=
+fi
+
+case $srcdir in
+  .)  # No --srcdir option.  We are building in place.
+    ac_srcdir=.
+    if test -z "$ac_top_builddir"; then
+       ac_top_srcdir=.
+    else
+       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
+    fi ;;
+  [\\/]* | ?:[\\/]* )  # Absolute path.
+    ac_srcdir=$srcdir$ac_dir_suffix;
+    ac_top_srcdir=$srcdir ;;
+  *) # Relative path.
+    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
+    ac_top_srcdir=$ac_top_builddir$srcdir ;;
+esac
+# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
+# absolute.
+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+
+
+  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
+echo "$as_me: executing $ac_dest commands" >&6;}
+  case $ac_dest in
+    default-1 )
+  echo "creating hdf/src/h4config.h"
+  sed 's/#define /#define H4_/' < hdf/src/h4config.h |\
+    sed 's/#undef /#undef H4_/' > h4config
+  if test ! -f hdf/src/h4config.h; then
+    /bin/mv -f h4config hdf/src/h4config.h
+  elif (diff h4config hdf/src/h4config.h >/dev/null); then
+    /bin/rm -f h4config
+    echo "hdf/src/h4config.h is unchanged"
+  else
+    /bin/mv -f h4config hdf/src/h4config.h
+  fi
+ ;;
+    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
+  # Strip MF so we end up with the name of the file.
+  mf=`echo "$mf" | sed -e 's/:.*$//'`
+  # Check whether this is an Automake generated Makefile or not.
+  # We used to match only the files named `Makefile.in', but
+  # some people rename them; so instead we look at the file content.
+  # Grep'ing the first line is not enough: some people post-process
+  # each Makefile.in and add a new line on top of each file to say so.
+  # So let's grep whole file.
+  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
+    dirpart=`(dirname "$mf") 2>/dev/null ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+         X"$mf" : 'X\(//\)[^/]' \| \
+         X"$mf" : 'X\(//\)$' \| \
+         X"$mf" : 'X\(/\)' \| \
+         .     : '\(.\)' 2>/dev/null ||
+echo X"$mf" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
+  else
+    continue
+  fi
+  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
+  # Extract the definition of DEP_FILES from the Makefile without
+  # running `make'.
+  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
+  test -z "$DEPDIR" && continue
+  # When using ansi2knr, U may be empty or an underscore; expand it
+  U=`sed -n -e '/^U = / s///p' < "$mf"`
+  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
+  # We invoke sed twice because it is the simplest approach to
+  # changing $(DEPDIR) to its actual value in the expansion.
+  for file in `sed -n -e '
+    /^DEP_FILES = .*\\\\$/ {
+      s/^DEP_FILES = //
+      :loop
+	s/\\\\$//
+	p
+	n
+	/\\\\$/ b loop
+      p
+    }
+    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
+       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+    # Make sure the directory exists.
+    test -f "$dirpart/$file" && continue
+    fdir=`(dirname "$file") 2>/dev/null ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+         X"$file" : 'X\(//\)[^/]' \| \
+         X"$file" : 'X\(//\)$' \| \
+         X"$file" : 'X\(/\)' \| \
+         .     : '\(.\)' 2>/dev/null ||
+echo X"$file" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
+    { if $as_mkdir_p; then
+    mkdir -p $dirpart/$fdir
+  else
+    as_dir=$dirpart/$fdir
+    as_dirs=
+    while test ! -d "$as_dir"; do
+      as_dirs="$as_dir $as_dirs"
+      as_dir=`(dirname "$as_dir") 2>/dev/null ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+         X"$as_dir" : 'X\(//\)[^/]' \| \
+         X"$as_dir" : 'X\(//\)$' \| \
+         X"$as_dir" : 'X\(/\)' \| \
+         .     : '\(.\)' 2>/dev/null ||
+echo X"$as_dir" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
+    done
+    test ! -n "$as_dirs" || mkdir $as_dirs
+  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
+echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
+   { (exit 1); exit 1; }; }; }
+
+    # echo "creating $dirpart/$file"
+    echo '# dummy' > "$dirpart/$file"
+  done
+done
+ ;;
+  esac
+done
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+
+{ (exit 0); exit 0; }
+_ACEOF
+chmod +x $CONFIG_STATUS
+ac_clean_files=$ac_clean_files_save
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded.  So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status.  When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+  ac_cs_success=:
+  ac_config_status_args=
+  test "$silent" = yes &&
+    ac_config_status_args="$ac_config_status_args --quiet"
+  exec 5>/dev/null
+  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+  exec 5>>config.log
+  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+  # would make configure fail if this is the last instruction.
+  $ac_cs_success || { (exit 1); exit 1; }
+fi
+
+
+chmod 755 hdf/util/h4cc hdf/util/h4redeploy
+
+if test "X$BUILD_FORTRAN" = "Xyes"; then
+  chmod 755 hdf/util/h4fc
+fi

Copied: packages/libhdf4/trunk/configure.ac (from rev 832, packages/libhdf4/branches/upstream/current/configure.ac)
===================================================================
--- packages/libhdf4/trunk/configure.ac	                        (rev 0)
+++ packages/libhdf4/trunk/configure.ac	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,638 @@
+dnl Process this file with autoconf to produce configure.
+dnl
+dnl Copyright by the Board of Trustees of the University of Illinois.
+dnl All rights reserved.
+dnl
+AC_REVISION($Id: configure.ac,v 1.8 2005/02/08 18:29:27 acheng Exp $)
+
+dnl ======================================================================
+dnl Initialize configure.
+dnl ======================================================================
+dnl AC_INIT takes the name of the package, the version number, and an
+dnl email address to report bugs. AC_CONFIG_SRCDIR takes a unique file
+dnl as its argument.
+dnl
+dnl NOTE: Don't forget to change the version number here when we do a
+dnl release!!!
+dnl
+AC_INIT([HDF], [4.2r1], [hdfhelp at ncsa.uiuc.edu])
+AC_CONFIG_SRCDIR([hdf/src/atom.c])
+AC_CONFIG_AUX_DIR([bin])
+AC_CONFIG_HEADER([hdf/src/h4config.h])
+
+AM_INIT_AUTOMAKE([HDF], [4.2r1])
+AM_MAINTAINER_MODE
+
+AC_PREFIX_DEFAULT([`pwd`/NewHDF])
+
+AC_OUTPUT_COMMANDS([
+  echo "creating hdf/src/h4config.h"
+  sed 's/#define /#define H4_/' < hdf/src/h4config.h |\
+    sed 's/#undef /#undef H4_/' > h4config
+  if test ! -f hdf/src/h4config.h; then
+    /bin/mv -f h4config hdf/src/h4config.h
+  elif (diff h4config hdf/src/h4config.h >/dev/null); then
+    /bin/rm -f h4config
+    echo "hdf/src/h4config.h is unchanged"
+  else
+    /bin/mv -f h4config hdf/src/h4config.h
+  fi
+])
+
+dnl ======================================================================
+dnl Information on the package
+dnl ======================================================================
+
+dnl Dump all shell variables values.
+AC_MSG_CHECKING([shell variables initial values])
+set >&AS_MESSAGE_LOG_FD
+AC_MSG_RESULT([done])
+
+AC_CANONICAL_HOST
+
+dnl Some platforms have broken tr, basename, and/or xargs programs. Check
+dnl that it actually does what it's supposed to do. Catch this early
+dnl since configure relies upon tr heavily and there's no use continuing
+dnl if it's broken.
+dnl
+AC_MSG_CHECKING([if tr works])
+TR_TEST="`echo Test | tr 'a-z,' 'A-Z '`"
+if test $TR_TEST != "TEST"; then
+  AC_MSG_ERROR([tr program doesn't work])
+else
+  AC_MSG_RESULT([yes])
+fi
+
+AC_MSG_CHECKING([if basename works])
+BASENAME_TEST="`basename /foo/bar/baz/qux/basename_works`"
+if test $BASENAME_TEST != "basename_works"; then
+  AC_MSG_ERROR([basename program doesn't work])
+else
+  AC_MSG_RESULT([yes])
+fi
+
+AC_MSG_CHECKING([if xargs works])
+XARGS_TEST="`echo /foo/bar/baz/qux/xargs_works | xargs basename`"
+if test $XARGS_TEST != "xargs_works"; then
+  AC_MSG_ERROR([xargs program doesn't work])
+else
+  AC_MSG_RESULT([yes])
+fi
+
+dnl Source any special files that we need. These files normally aren't
+dnl present but can be used by the maintainers to fine tune things like
+dnl turning on debug or profiling flags for the compiler. The search order
+dnl is:
+dnl
+dnl         CPU-VENDOR-OS
+dnl         VENDOR-OS
+dnl         CPU-OS
+dnl         CPU-VENDOR
+dnl         OS
+dnl         VENDOR
+dnl         CPU
+dnl
+dnl If the `OS' ends with a version number then remove it. For instance,
+dnl `freebsd3.1' would become `freebsd'
+dnl
+case "$host_os" in
+  aix4.*)       host_os_novers="aix4.x"     ;;
+  aix5.*)       host_os_novers="aix5.x"     ;;
+  freebsd*)     host_os_novers="freebsd"    ;;
+  irix5.*)      host_os_novers="irix5.x"    ;;
+  irix6.*)      host_os_novers="irix6.x"    ;;
+  osf4.*)       host_os_novers="osf4.x"     ;;
+  osf5.*)       host_os_novers="osf5.x"     ;;
+  solaris2.*)   host_os_novers="solaris2.x" ;;
+  *)            host_os_novers="$host_os"   ;;
+esac
+
+host_config="none"
+for f in $host_cpu-$host_vendor-$host_os        \
+         $host_cpu-$host_vendor-$host_os_novers \
+         $host_vendor-$host_os                  \
+         $host_vendor-$host_os_novers           \
+         $host_cpu-$host_os                     \
+         $host_cpu-$host_os_novers              \
+         $host_cpu-$host_vendor                 \
+         $host_os                               \
+         $host_os_novers                        \
+         $host_vendor                           \
+         $host_cpu ; do
+  AC_MSG_CHECKING([for config $f])
+  if test -f "$srcdir/config/$f"; then
+    host_config=$srcdir/config/$f
+    AC_MSG_RESULT([found])
+    break
+  fi
+  AC_MSG_RESULT([no])
+done
+if test "X$host_config" != "Xnone"; then
+  CC_BASENAME="`echo $CC | cut -f1 -d' ' | xargs basename 2>/dev/null`"
+  F77_BASENAME="`echo $F77 | cut -f1 -d' ' | xargs basename 2>/dev/null`"
+  CXX_BASENAME="`echo $CXX | cut -f1 -d' ' | xargs basename 2>/dev/null`"
+  . $host_config
+fi
+
+dnl ======================================================================
+dnl Checks for programs
+dnl ======================================================================
+
+AC_PROG_MAKE_SET
+
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_CXX
+
+AC_ARG_ENABLE([fortran],
+              [AC_HELP_STRING([--enable-fortran],
+                              [Build Fortran into library [default=yes]])],,
+              enableval="yes")
+
+case "$enableval" in
+  yes)
+    BUILD_FORTRAN="yes"
+    AC_PROG_F77
+
+    if test "X$F77" = "X"; then
+      BUILD_FORTRAN="no"
+    fi
+    ;;
+  no)
+    BUILD_FORTRAN="no"
+    ;;
+esac
+
+AM_CONDITIONAL([HDF_BUILD_FORTRAN], [test "X$BUILD_FORTRAN" = "Xyes"])
+
+AC_PROG_INSTALL
+AM_PROG_LEX
+AC_PROG_LN_S
+AC_PROG_RANLIB
+AC_PROG_YACC
+
+AC_CHECK_PROGS([AR], [ar xar], [:], [$PATH])
+
+AC_CHECK_PROG([DIFF],     [diff],     [diff -w])
+AC_CHECK_PROG([MAKEINFO], [makeinfo], [makeinfo])
+AC_CHECK_PROG([NEQN],     [neqn],     [neqn])
+AC_CHECK_PROG([TBL],      [tbl],      [tbl])
+
+AC_SUBST([AR])
+AC_SUBST([DIFF])
+
+dnl ======================================================================
+dnl Checks for libraries
+dnl ======================================================================
+
+dnl ----------------------------------------------------------------------
+dnl Fake --with-xxx option to allow us to create a help message for the
+dnl following --with-xxx options which can take either a =DIR or =INC,LIB
+dnl specifier.
+dnl
+AC_ARG_WITH([fnord],
+  [
+ For the following --with-xxx options, you can specify where the header
+ files and libraries are in two different ways:
+
+    --with-xxx=INC,LIB - Specify individually the include directory and
+                         library directory separated by a comma
+    --with-xxx=DIR     - Specify only the directory which contains the
+                         include/ and lib/ subdirectories
+  ])
+
+dnl ----------------------------------------------------------------------
+dnl Is the GNU zlib present? It has a header file `zlib.h' and a library
+dnl `-lz' and their locations might be specified with the `--with-zlib'
+dnl command-line switch. The value is an include path and/or a library path.
+dnl If the library path is specified then it must be preceded by a comma.
+AC_ARG_WITH([zlib],
+            [AC_HELP_STRING([--with-zlib=DIR],
+                            [Use zlib library [default=yes]])],,
+            [withval=yes])
+
+case "$withval" in
+  yes)
+    HAVE_ZLIB="yes"
+    AC_CHECK_HEADERS([zlib.h],, [unset HAVE_ZLIB])
+    AC_CHECK_LIB([z], [compress2],, [unset HAVE_ZLIB])
+
+    if test -z "$HAVE_ZLIB"; then
+      AC_MSG_ERROR([couldn't find zlib library])
+    fi
+    ;;
+  no)
+    AC_MSG_ERROR([zlib library required to build HDF4])
+    ;;
+  *)
+    HAVE_ZLIB="yes"
+    case "$withval" in
+      *,*)
+        zlib_inc="`echo $withval | cut -f1 -d,`"
+        zlib_lib="`echo $withval | cut -f2 -d, -s`"
+        ;;
+      *)
+        if test -n "$withval"; then
+          zlib_inc="$withval/include"
+          zlib_lib="$withval/lib"
+        fi
+        ;;
+    esac
+
+    dnl Trying to include -I/usr/include and -L/usr/lib is redundant and
+    dnl can mess some compilers up.
+    if test "X$zlib_inc" = "X/usr/include"; then
+      zlib_inc=""
+    fi
+    if test "X$zlib_lib" = "X/usr/lib"; then
+      zlib_lib=""
+    fi
+
+    if test -n "$zlib_inc"; then
+      CPPFLAGS="$CPPFLAGS -I$zlib_inc"
+    fi
+
+    AC_CHECK_HEADERS([zlib.h],, [unset HAVE_ZLIB])
+
+    if test -n "$zlib_lib"; then
+      LDFLAGS="$LDFLAGS -L$zlib_lib"
+    fi
+
+    AC_CHECK_LIB([z], [compress2],, [unset HAVE_ZLIB])
+
+    if test -z "$HAVE_ZLIB"; then
+      AC_MSG_ERROR([couldn't find zlib library])
+    fi
+    ;;
+esac
+
+dnl ----------------------------------------------------------------------
+dnl Is the JPEG library present?
+AC_ARG_WITH([jpeg],
+            [AC_HELP_STRING([--with-jpeg=DIR],
+                            [Use jpeg library [default=yes]])],,
+            [withval=yes])
+
+case "$withval" in
+  yes)
+    HAVE_JPEG="yes"
+    AC_CHECK_HEADERS([jpeglib.h],, [unset HAVE_JPEG])
+    AC_CHECK_LIB([jpeg], [jpeg_start_decompress],, [unset HAVE_JPEG])
+
+    if test -z "$HAVE_JPEG"; then
+      AC_MSG_ERROR([couldn't find jpeg library])
+    fi
+    ;;
+  no)
+    AC_MSG_ERROR([jpeg library required to build HDF4])
+    ;;
+  *)
+    HAVE_JPEG="yes"
+    case "$withval" in
+      *,*)
+        jpeg_inc="`echo $withval | cut -f1 -d,`"
+        jpeg_lib="`echo $withval | cut -f2 -d, -s`"
+        ;;
+      *)
+        if test -n "$withval"; then
+          jpeg_inc="$withval/include"
+          jpeg_lib="$withval/lib"
+        fi
+        ;;
+    esac
+
+    dnl Trying to include -I/usr/include and -L/usr/lib is redundant and
+    dnl can mess some compilers up.
+    if test "X$jpeg_inc" = "X/usr/include"; then
+      jpeg_inc=""
+    fi
+    if test "X$jpeg_lib" = "X/usr/lib"; then
+      jpeg_lib=""
+    fi
+
+    if test -n "$jpeg_inc"; then
+      CPPFLAGS="$CPPFLAGS -I$jpeg_inc"
+    fi
+
+    AC_CHECK_HEADERS([jpeglib.h],, [unset HAVE_JPEG])
+
+    if test -n "$jpeg_lib"; then
+      LDFLAGS="$LDFLAGS -L$jpeg_lib"
+    fi
+
+    AC_CHECK_LIB([jpeg], [jpeg_start_decompress],, [unset HAVE_JPEG])
+
+    if test -z "$HAVE_JPEG"; then
+      AC_MSG_ERROR([couldn't find jpeg library])
+    fi
+    ;;
+esac
+
+dnl ----------------------------------------------------------------------
+dnl Is the SZip library present?
+AC_ARG_WITH([szlib],
+            [AC_HELP_STRING([--with-szlib=DIR],
+                            [Use szlib library [default=no]])],,
+            [withval=no])
+
+case "$withval" in
+  yes)
+    HAVE_SZIP="yes"
+    AC_CHECK_HEADERS([szlib.h],, [unset HAVE_SZIP])
+    AC_CHECK_LIB([sz], [SZ_BufftoBuffCompress],, [unset HAVE_SZIP])
+
+    if test -z "$HAVE_SZIP"; then
+      AC_MSG_ERROR([couldn't find szlib library])
+    fi
+    ;;
+  no)
+    AC_MSG_CHECKING([for szlib])
+    AC_MSG_RESULT([suppressed])
+    ;;
+  *)
+    HAVE_SZIP="yes"
+    case "$withval" in
+      *,*)
+        szip_inc="`echo $withval | cut -f1 -d,`"
+        szip_lib="`echo $withval | cut -f2 -d, -s`"
+        ;;
+      *)
+        if test -n "$withval"; then
+          szip_inc="$withval/include"
+          szip_lib="$withval/lib"
+        fi
+        ;;
+    esac
+
+    dnl Trying to include -I/usr/include and -L/usr/lib is redundant and
+    dnl can mess some compilers up.
+    if test "X$szip_inc" = "X/usr/include"; then
+      szip_inc=""
+    fi
+    if test "X$szip_lib" = "X/usr/lib"; then
+      szip_lib=""
+    fi
+
+    if test -n "$szip_inc"; then
+      CPPFLAGS="$CPPFLAGS -I$szip_inc"
+    fi
+
+    AC_CHECK_HEADERS([szlib.h],, [unset HAVE_SZIP])
+
+    if test -n "$szip_lib"; then
+      LDFLAGS="$LDFLAGS -L$szip_lib"
+    fi
+
+    AC_CHECK_LIB([sz], [SZ_BufftoBuffCompress],, [unset HAVE_SZIP])
+
+    if test -z "$HAVE_SZIP"; then
+      AC_MSG_ERROR([couldn't find szlib library])
+    fi
+    ;;
+esac
+
+dnl ----------------------------------------------------------------------
+dnl Is XDR support present? The TRY_LINK info was gotten from the
+dnl mfhdf/libsrc/local_nc.c file.
+AC_MSG_CHECKING([for xdr library support])
+AC_TRY_LINK([
+#ifdef VMS
+#define STDC_INCLUDES
+#endif
+#ifdef __ultrix
+#define GCC_FIX
+#endif 
+#include <rpc/types.h>
+#ifdef __ultrix
+#undef GCC_FIX
+#endif
+#include <rpc/xdr.h>], [xdr_int],
+            [AC_MSG_RESULT([yes]); build_xdr="no"],
+            [AC_MSG_RESULT([no]); build_xdr="yes"])
+AM_CONDITIONAL([HDF_BUILD_XDR], [test "X$build_xdr" = "Xyes"])
+
+dnl For Solaris and Fuji systems, add the -nsl for XDR support
+case "$host" in
+  *-solaris*|*-hp-hpux*|S370-fujitsu-sysv*)
+    LIBS="$LIBS -lnsl"  ;;
+  *) ;;
+esac
+
+dnl ======================================================================
+dnl Checks for header files
+dnl ======================================================================
+
+dnl Always put the /usr/include/rpc directory first in the search list.
+CPPFLAGS="-I/usr/include/rpc $CPPFLAGS"
+
+AC_HEADER_STDC
+
+dnl ======================================================================
+dnl Checks for types
+dnl ======================================================================
+
+dnl ======================================================================
+dnl Checks for structures
+dnl ======================================================================
+
+dnl ======================================================================
+dnl Checks for compiler characteristics
+dnl ======================================================================
+
+AC_PROG_CC_C_O
+AC_PROG_CXXCPP
+
+if test "X$BUILD_FORTRAN" = "Xyes"; then
+  AC_PROG_F77_C_O
+fi
+
+dnl This is a bit of a hack. The AC_CHECK_SIZEOF macro is supposed to
+dnl #define a value in a header file. However, we don't use a generated
+dnl header file. So I check the value left over from autoconf's test  is
+dnl >= 8.
+AC_CHECK_SIZEOF([int*])
+
+if test $ac_cv_sizeof_intp -ge 8; then
+  CPPFLAGS="$CPPFLAGS -DBIG_LONGS"
+
+  dnl Define super secret special flag for AIX machines in 64-bit mode.
+  case "${host}" in
+    *-ibm-aix*) CPPFLAGS="$CPPFLAGS -DAIX5L64" ;;
+    *)          ;;
+  esac
+fi
+
+AC_C_BIGENDIAN([], [CPPFLAGS="$CPPFLAGS -DSWAP"])
+
+dnl Are we building this in debug or production mode? (Remove the -g flag
+dnl in production mode.)
+AC_MSG_CHECKING(for build mode)
+AC_ARG_ENABLE(production,
+              [AC_HELP_STRING([--enable-production],
+                              [Determines how to run the compiler.])])
+
+case "X-$enable_production" in
+  X-|X-yes)
+    AC_MSG_RESULT([production])
+
+    dnl Remove the "-g" flag from compile line if it's in there.
+    CFLAGS_temp=""
+    if test -n "$CFLAGS"; then
+      for d in $CFLAGS ; do
+        if test "X$d" != "X-g"; then
+          CFLAGS_temp="$CFLAGS_temp $d"
+        fi
+      done
+      CFLAGS=$CFLAGS_temp
+    fi
+
+    FFLAGS_temp=""
+    if test -n "$FFLAGS"; then
+      for d in $FFLAGS ; do
+        if test "X$d" != "X-g"; then
+          FFLAGS_temp="$FFLAGS_temp $d"
+        fi
+      done
+      FFLAGS=$FFLAGS_temp
+    fi
+
+    CXXFLAGS_temp=""
+    if test -n "$CXXFLAGS"; then
+      for d in $CXXFLAGS ; do
+        if test "X$d" != "X-g"; then
+          CXXFLAGS_temp="$CXXFLAGS_temp $d"
+        fi
+      done
+      CXXFLAGS=$CXXFLAGS_temp
+    fi
+
+    CFLAGS="$CFLAGS $PROD_CFLAGS"
+    CXXFLAGS="$CXXFLAGS $PROD_CXXFLAGS"
+    FFLAGS="$FFLAGS $PROD_FFLAGS"
+    CPPFLAGS="$CPPFLAGS $PROD_CPPFLAGS"
+    ;;
+  X-no)
+    AC_MSG_RESULT([development])
+    CFLAGS="$CFLAGS $DEBUG_CFLAGS"
+    FFLAGS="$FFLAGS $DEBUG_FFLAGS"
+    CXXFLAGS="$CXXFLAGS $DEBUG_CXXFLAGS"
+    CPPFLAGS="$CPPFLAGS $DEBUG_CPPFLAGS"
+    ;;
+  *)
+    AC_MSG_RESULT([user-defined])
+    ;;
+esac
+
+dnl ======================================================================
+dnl Checks for library functions
+dnl ======================================================================
+
+AC_MSG_CHECKING([for math library support])
+AC_TRY_LINK([#include <math.h>], [sqrt(37.927)],
+            [AC_MSG_RESULT([yes])],
+            [AC_MSG_RESULT([no]); LIBS="$LIBS -lm"])
+
+dnl ======================================================================
+dnl Checks for system services
+dnl ======================================================================
+
+dnl Copy NetCDF header files.
+dnl
+dnl FIXME: This is code stolen^Wborrowed from the old HDF4 configure.
+dnl These header files should probably be generated by autoconf instead
+dnl of being copied depending upon the host.
+case "$host" in
+  alpha-*-*)            BAR="alpha"       ;;
+  alphaev*-*-*)         BAR="alpha"       ;;
+  mips*-dec-ultrix*)    BAR="dec"         ;;
+  mips*-sgi-irix6.*)    BAR="irix6"       ;;
+  mips*-sgi-irix6_32*)  BAR="irix32"      ;;
+  mips*-sgi-irix5*)     BAR="irix5"       ;;
+  mips*-sgi-irix4*)     BAR="irix4"       ;;
+  *-linux*)             BAR="linux"       ;;
+  *-freebsd*)           BAR="fbsd"        ;;
+  ia64-*-*)             BAR="ia64"        ;;
+  *-ibm-aix*)           BAR="aix"         ;;
+  i386-*-solaris2*)     BAR="solarisx86"  ;;
+  sparc64-*-solaris2*)  BAR="solaris64"   ;;
+  *-*-solaris2*)        BAR="solaris"     ;;
+  *-sun-*)              BAR="sun"         ;;
+  *-hp-hpux*)           BAR="hpux"        ;;
+  *-convex-bsd*)        BAR="convex"      ;;
+  *-cray-unicos*)       BAR="unicos"      ;;
+  t3*-cray-craympp)     BAR="t3e"         ;;
+  S370-fujitsu-sysv*)   BAR="fujivp"      ;;
+  *-mac-*)              BAR="mac"         ;;
+  *-apple*)             BAR="apple"       ;;
+  *)                    echo "*** unknown host $host!"; exit 1 ;;
+esac
+
+src_files="mfhdf/libsrc/config/netcdf-FOO.h:mfhdf/libsrc/netcdf.h
+           mfhdf/fortran/config/jackets-FOO.c:mfhdf/fortran/jackets.c
+           mfhdf/fortran/config/netcdf-FOO.inc:mfhdf/fortran/netcdf.inc
+           mfhdf/fortran/config/ftest-FOO.f:mfhdf/fortran/ftest.f"
+src_files="`echo $src_files | sed -e s/FOO/${BAR}/g`"
+
+for config_file in $src_files; do
+  src_file="${srcdir}/`echo $config_file | sed -e s/:.*$//`"
+  target_file="`echo $config_file | sed -e s/^[[^:]]*://g`"
+
+  if test ! -r ${src_file}; then
+    echo '***' "${progname}: cannot copy file \"${target_file}\"," 1>&2                  
+    echo '***' "since the file \"${src_file}\" does not exist." 1>&2
+    exit 1
+  fi
+
+  ## this sed command emulates the dirname command
+  dstdir=`echo "$target_file" | sed -e 's,[[^/]]*$,,;s,/$,,;s,^$,.,'`
+
+  ## Create directory for the target_file if it's not there.
+  if test ! -d $dstdir; then
+    ${srcdir}/bin/mkinstalldirs $dstdir
+  fi
+
+  echo "Copying \"${src_file}\" to \"${target_file}\" ."
+  cp ${src_file} ${target_file}
+
+  if test ! -r ${target_file}; then
+    echo '***' "${progname}: cannot copy file \"${target_file}\"," 1>&2                  
+    exit 1
+  fi
+done
+
+AC_CONFIG_FILES([Makefile
+                 hdf/Makefile
+                 hdf/src/Makefile
+                 hdf/test/Makefile
+                 hdf/util/Makefile
+                 hdf/util/h4cc
+                 hdf/util/h4fc
+                 hdf/util/h4redeploy
+                 hdf/util/testutil.sh
+                 man/Makefile
+                 mfhdf/Makefile
+                 mfhdf/dumper/Makefile
+                 mfhdf/dumper/testhdp.sh
+                 mfhdf/fortran/Makefile
+                 mfhdf/hdfimport/Makefile
+                 mfhdf/hdfimport/testutil.sh
+                 mfhdf/hdiff/Makefile
+                 mfhdf/hrepack/Makefile
+                 mfhdf/libsrc/Makefile
+                 mfhdf/ncdump/Makefile
+                 mfhdf/ncgen/Makefile
+                 mfhdf/nctest/Makefile
+			 mfhdf/port/Makefile])
+
+dnl If we're building the XDR library, then generate its Makefile.
+if test "X$build_xdr" = "Xyes"; then
+  AC_CONFIG_FILES([mfhdf/xdr/Makefile])
+fi
+
+AC_OUTPUT
+
+chmod 755 hdf/util/h4cc hdf/util/h4redeploy
+
+if test "X$BUILD_FORTRAN" = "Xyes"; then
+  chmod 755 hdf/util/h4fc
+fi

Deleted: packages/libhdf4/trunk/configure.in
===================================================================
--- packages/libhdf4/trunk/configure.in	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/configure.in	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,201 +0,0 @@
-##############################################################################
-## This file was taken from the Cygnus Toolkit distribution and used as
-## as a template.
-
-## This file is a Bourne shell script fragment that supplies the information
-## necessary to tailor a template configure script into the configure
-## script appropriate for this directory.  For more information, check
-## any existing configure script.  
-
-## Be warned, there are two types of configure.in files.  There are those
-## used by Autoconf, which are macros which are expanded into a configure
-## script by autoconf.  The other sort, of which this is one, is executed
-## by Cygnus configure.  
-
-## For more information on these two systems, check out the documentation
-## for 'Autoconf' (autoconf.texi) and 'Configure' (configure.texi) or
-## the official documentation on these packages.  
-
-##############################################################################
-
-# Right now the JPEG has still needs a seperate makefile fragmenet
-# So we run configure here i.e we use configure.in and config/ 
-# directory found in the hdf/jpeg to build the configuration.
-host_libs=""
-
-# The followin features Not yet implemented
-#echo "without options are $withoutoptions"
-# without options for packages e.g 'jpeg'
-for wooption in $withoutoptions ; do
-if [ "$wooption" = "--without-jpeg" ] ; then 
-   host_libs=""
-fi
-done
-
-# Add file cache directory as a directory to run configure in also
-# since this is a self contained package that was setup 
-# using Cygnus configuration software.
-host_libs="$host_libs hdf/fmpool"
-
-# Not yet implemented
-#echo "enabled options are $enableoptions"
-# enabled options 'fmpool', 'pablo'
-#for eoption in $enableoptions ; do
-#if [ "$eoption" = "--enable-pablo" ] ; then 
-#   host_libs="$host_libs hdf/pablo"
-#fi
-#if [ "$eoption" = "--enable-fmpool" ] ; then 
-#   host_libs="$host_libs hdf/fmpool"
-#fi
-#done
-#echo "host libs are $host_libs"
-
-## We assign ${configdirs} this way to remove all embedded newlines.  This
-## is important because configure will choke if they ever get through.
-#
-configdirs=`echo ${host_libs}`
-
-#
-#Directories we want configure to generate Makefiles from Makefile.in
-#
-subdirs="hdf man hdf/src hdf/test hdf/util hdf/pablo mfhdf mfhdf/xdr mfhdf/libsrc mfhdf/dumper mfhdf/nctest mfhdf/ncgen mfhdf/ncdump mfhdf/fortran mfhdf/doc mfhdf/pablo"
-
-################################################################################
-
-srctrigger=move-if-change
-srcname="HDF/netCDF library"
-
-# This gets set non-empty for some net releases of packages.
-appdirs=""
-
-# per-host:
-
-# Work in distributions for each host makefile fragment
-host_makefile_frag=""
-if [ -d ${srcdir}/config ]; then
-case "${host}" in
-  *-*-linux*|*-*-gnu*)	  host_makefile_frag=config/mh-linux ;;
-  alpha-*-*)         	  host_makefile_frag=config/mh-alpha ;;
-  mips*-dec-ultrix*)      host_makefile_frag=config/mh-decstation ;;
-  mips*-sgi-irix6.*)      host_makefile_frag=config/mh-irix6 ;;
-  mips*-sgi-irix6_32*)    host_makefile_frag=config/mh-irix32 ;;
-  mips*-sgi-irix5*)       host_makefile_frag=config/mh-irix5 ;;
-  mips*-sgi-irix4*)       host_makefile_frag=config/mh-irix4 ;;
-  i[3456]86-*-freebsd*)   host_makefile_frag=config/mh-fbsd ;;
-  ia64-*-*)               host_makefile_frag=config/mh-ia64 ;;
-  *-ibm-aix*)             host_makefile_frag=config/mh-aix ;;
-  i386-*-solaris2*)       host_makefile_frag=config/mh-solarisx86 ;;
-  *-*-solaris2*)          host_makefile_frag=config/mh-solaris ;;
-  *-sun-*)                host_makefile_frag=config/mh-sun ;;
-  *-hp-hpux11*)           host_makefile_frag=config/mh-hpux11 ;;
-  *-hp-hpux*)             host_makefile_frag=config/mh-hpux ;;
-  *-convex-bsd*)          host_makefile_frag=config/mh-convex ;;
-  *-cray-unicos*)         host_makefile_frag=config/mh-unicos ;;
-  t3*-cray-craympp)       host_makefile_frag=config/mh-t3e ;;
-  S370-fujitsu-sysv*)     host_makefile_frag=config/mh-fujivp ;;
-  *-mac-*)                host_makefile_frag=config/mh-mac ;;
-esac
-fi
-
-# Check for valid platfroms before we continue
-if [ "${host_makefile_frag}" = "" ] ; then
-    echo '***' "The HDF/netCDF library is not supported on host ${host}" 1>&2
-    exit 1
-fi
-
-# make sure makefile fragment is there
-if [ ! -f ${srcdir}/${host_makefile_frag} ]; then
-    echo '***' "We are missing makefile fragment ${host_makefile_frag}" 1>&2
-    echo '***' "Please read the installation docs" 1>&2
-    exit 1
-fi
-
-
-# The Solaris /usr/ucb/cc compiler does not appear to work.
-case "${host}" in
-  sparc-sun-solaris2*)
-      if [ "`/usr/bin/which ${CC-cc}`" = "/usr/ucb/cc" ] ; then
-          could_use=
-          [ -d /opt/SUNWspro/bin ] && could_use="/opt/SUNWspro/bin"
-          if [ -d /opt/cygnus/bin ] ; then
-              if [ "$could_use" == "" ] ; then
-                  could_use="/opt/cygnus/bin"
-              else
-                  could_use="$could_use or /opt/cygnus/bin"
-              fi
-          fi
-        if [ "$could_use" = "" ] ; then
-            echo "Warning: compilation may fail because you're using"
-            echo "/usr/ucb/cc.  You should change your PATH or CC "
-            echo "variable and rerun configure."
-        else
-            echo "Warning: compilation may fail because you're using"
-            echo "/usr/ucb/cc, when you should use the C compiler from"
-            echo "$could_use.  You should change your"
-            echo "PATH or CC variable and rerun configure."
-        fi
-      fi
-  ;;
-esac
-
-# per-target:
-
-# 
-# Set proper files that need to linked to the correct pre-generated
-# configuration files. These are mainly on the MFHDF side as 
-# the HDF side stuff is taken care of in the configure.in found
-# in two directories hdf/fmpool and hdf/jpeg respectively.
-files=
-links="mfhdf/libsrc/netcdf.h mfhdf/fortran/jackets.c mfhdf/fortran/netcdf.inc mfhdf/fortran/ftest.f"
-if [ -d ${srcdir}/config ]; then
-case "${host}" in
-  *-*-linux*|*-*-gnu*)    files="mfhdf/libsrc/config/netcdf-linux.h mfhdf/fortran/config/jackets-linux.c mfhdf/fortran/config/netcdf-linux.inc mfhdf/fortran/config/ftest-linux.f" ;;
-  alpha-*-*)              files="mfhdf/libsrc/config/netcdf-alpha.h mfhdf/fortran/config/jackets-alpha.c mfhdf/fortran/config/netcdf-alpha.inc mfhdf/fortran/config/ftest-alpha.f" ;;
-  mips*-dec-ultrix*)      files="mfhdf/libsrc/config/netcdf-dec.h mfhdf/fortran/config/jackets-dec.c mfhdf/fortran/config/netcdf-dec.inc mfhdf/fortran/config/ftest-dec.f" ;;
-  mips*-sgi-irix6.*)      files="mfhdf/libsrc/config/netcdf-irix6.h mfhdf/fortran/config/jackets-irix6.c mfhdf/fortran/config/netcdf-irix6.inc mfhdf/fortran/config/ftest-irix6.f" ;;
-  mips*-sgi-irix6_32*)    files="mfhdf/libsrc/config/netcdf-irix32.h mfhdf/fortran/config/jackets-irix32.c mfhdf/fortran/config/netcdf-irix32.inc mfhdf/fortran/config/ftest-irix32.f" ;;
-  mips*-sgi-irix5*)       files="mfhdf/libsrc/config/netcdf-irix5.h mfhdf/fortran/config/jackets-irix5.c mfhdf/fortran/config/netcdf-irix5.inc mfhdf/fortran/config/ftest-irix5.f" ;;
-  mips*-sgi-irix4*)       files="mfhdf/libsrc/config/netcdf-irix4.h mfhdf/fortran/config/jackets-irix4.c mfhdf/fortran/config/netcdf-irix4.inc mfhdf/fortran/config/ftest-irix4.f" ;;
-  i[3456]86-*-freebsd*)   files="mfhdf/libsrc/config/netcdf-fbsd.h mfhdf/fortran/config/jackets-fbsd.c mfhdf/fortran/config/netcdf-fbsd.inc mfhdf/fortran/config/ftest-fbsd.f" ;;
-  ia64-*-*)               files="mfhdf/libsrc/config/netcdf-ia64.h mfhdf/fortran/config/jackets-ia64.c mfhdf/fortran/config/netcdf-ia64.inc mfhdf/fortran/config/ftest-ia64.f" ;;
-  *-ibm-aix*)             files="mfhdf/libsrc/config/netcdf-aix.h mfhdf/fortran/config/jackets-aix.c mfhdf/fortran/config/netcdf-aix.inc mfhdf/fortran/config/ftest-aix.f" ;;
-  i386-*-solaris2*)       files="mfhdf/libsrc/config/netcdf-solarisx86.h mfhdf/fortran/config/jackets-solarisx86.c mfhdf/fortran/config/netcdf-solarisx86.inc mfhdf/fortran/config/ftest-solarisx86.f" ;;
-  *-*-solaris2*)          files="mfhdf/libsrc/config/netcdf-solaris.h mfhdf/fortran/config/jackets-solaris.c mfhdf/fortran/config/netcdf-solaris.inc mfhdf/fortran/config/ftest-solaris.f";;
-  *-sun-*)		          files="mfhdf/libsrc/config/netcdf-sun.h mfhdf/fortran/config/jackets-sun.c mfhdf/fortran/config/netcdf-sun.inc mfhdf/fortran/config/ftest-sun.f";;
-  *-hp-hpux*)             files="mfhdf/libsrc/config/netcdf-hpux.h mfhdf/fortran/config/jackets-hpux.c mfhdf/fortran/config/netcdf-hpux.inc mfhdf/fortran/config/ftest-hpux.f";;
-  *-convex-bsd*)          files="mfhdf/libsrc/config/netcdf-convex.h mfhdf/fortran/config/jackets-convex.c mfhdf/fortran/config/netcdf-convex.inc mfhdf/fortran/config/ftest-convex.f" ;;
-  *-cray-unicos*)         files="mfhdf/libsrc/config/netcdf-unicos.h mfhdf/fortran/config/jackets-unicos.c mfhdf/fortran/config/netcdf-unicos.inc mfhdf/fortran/config/ftest-unicos.f" ;;
-  t3*-cray-craympp)       files="mfhdf/libsrc/config/netcdf-t3e.h mfhdf/fortran/config/jackets-t3e.c mfhdf/fortran/config/netcdf-t3e.inc mfhdf/fortran/config/ftest-t3e.f" ;;
-  S370-fujitsu-sysv*)     files="mfhdf/libsrc/config/netcdf-fujivp.h mfhdf/fortran/config/jackets-fujivp.c mfhdf/fortran/config/netcdf-fujivp.inc mfhdf/fortran/config/ftest-fujivp.f" ;;
-  *-mac-*)		          files="mfhdf/libsrc/config/netcdf-mac.h mfhdf/fortran/config/jackets-mac.c mfhdf/fortran/config/netcdf-mac.inc mfhdf/fortran/config/ftest-mac.f" ;;
-esac
-fi
-
-# make sure host specific files are there
-#if [ ! -f ${srcdir}/${files} ]; then
-#    echo '***' "We are missing host specific customize file ${files}" 1>&2
-#    echo '***' "Please read the installation docs" 1>&2
-#    exit 1
-#fi
-
-# Decided to copy files instead of using symbolic links.
-#
-# Now for Mac and PC configurations we want to copy and not use symbolic
-# links. You can use this also for any platfrom you want.
-if [ -d ${srcdir}/config ]; then
-case "${host}" in
-  *-mac-*)             symbolic_link="cp -p" ;;
-  *-win-*)             symbolic_link="cp -p" ;;
-  *)                   symbolic_link="cp" ;;
-esac
-fi
-
-# post-target:
-
-# We don't have anything
-
-#
-# Local Variables:
-# fill-column: 131
-# End:
-#

Modified: packages/libhdf4/trunk/debian/changelog
===================================================================
--- packages/libhdf4/trunk/debian/changelog	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/debian/changelog	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,3 +1,14 @@
+libhdf4 (4.2r1-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+    (closes: #217010)
+  * Added new Homepage field in debian/control
+    Merges from 4.1r4 series:
+  	* Introduced versioned conflicts against libhdf4-run.
+    	(closes: #425938)
+
+ -- Francesco Paolo Lovergine <frankie at debian.org>  Fri, 28 Sep 2007 23:44:02 +0200
+
 libhdf4 (4.1r4-20) unstable; urgency=low
 
   * New maintainership team. Added myself as uploader.

Modified: packages/libhdf4/trunk/debian/control
===================================================================
--- packages/libhdf4/trunk/debian/control	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/debian/control	2007-09-28 21:58:13 UTC (rev 1125)
@@ -5,13 +5,14 @@
 Uploaders: Francesco Paolo Lovergine <frankie at debian.org>
 Build-depends: g77, sharutils, libjpeg62-dev, zlib1g-dev, bison, flex, groff, autotools-dev
 Standards-Version: 3.7.2
+Home page: http://hdfgroup.com/products/hdf4/index.html
 
 Package: libhdf4g
 Section: libs
 Priority: optional
 Architecture: any
 Depends: ${shlibs:Depends}
-Conflicts: libhdf4 (<<4.0.2-4), libhdf4g-run
+Conflicts: libhdf4 (<<4.0.2-4), libhdf4g-run (<<4.1r4-20)
 Replaces: libhdf4
 Suggests: libhdf4g-doc, libhdf4g-dev, hdf4-tools
 Description: The Hierarchical Data Format library -- library package
@@ -24,15 +25,13 @@
  can be added by the HDF developers or users.
  .
  This package contains the HDF run-time libraries.
- .
-  Home page: http://www.hdfgroup.com/
 
 Package: hdf4-tools
 Section: graphics
 Priority: optional
 Architecture: any
 Depends: ${shlibs:Depends}
-Conflicts: libhdf4 (<<4.0.2-4), libhdf4g-run
+Conflicts: libhdf4 (<<4.0.2-4), libhdf4g-run (<<4.1r4-20)
 Replaces: libhdf4, libhdf4g, libhdf4g-run
 Provides: libhdf4g-run
 Description: The Hierarchical Data Format library -- runtime package
@@ -46,8 +45,6 @@
  .
  This package includes some basic utilities to view, pack, unpack, 
  HDF files.
- .
-  Home page: http://www.hdfgroup.com/
 
 Package: libhdf4g-dev
 Section: devel
@@ -65,8 +62,6 @@
  .
  This package contains development stuff, includomg files and static 
  library for the HDF package and some HDF API reference manpages.
- .
-  Home page: http://www.hdfgroup.com/
 
 Package: libhdf4g-doc
 Section: doc
@@ -84,5 +79,3 @@
  .
  This package contains user guide and reference manual for HDF format
  and API
- .
-  Home page: http://www.hdfgroup.com/

Copied: packages/libhdf4/trunk/hdf/COPYING (from rev 832, packages/libhdf4/branches/upstream/current/hdf/COPYING)
===================================================================
--- packages/libhdf4/trunk/hdf/COPYING	                        (rev 0)
+++ packages/libhdf4/trunk/hdf/COPYING	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,23 @@
+/*=======================================================================
+UNIVERSITY OF ILLINOIS (UI), NATIONAL CENTER FOR SUPERCOMPUTING
+APPLICATIONS (NCSA), Software Distribution Policy for Public Domain
+Software
+
+NCSA HDF Version 4.0 source code and documentation are in the public
+domain, available without fee for education, research, non-commercial and
+commercial purposes.  Users may distribute the binary or source code to
+third parties provided that this statement appears on all copies and that
+no charge is made for such copies.  
+
+UI MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE SOFTWARE FOR ANY
+PURPOSE.  IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.  THE
+UI SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY THE USER OF THIS
+SOFTWARE.  The software may have been developed under agreements between
+the UI and the Federal Government which entitle the Government to certain
+rights.
+
+By copying this program, you, the user, agree to abide by the conditions
+and understandings with respect to any software which is marked with a
+public domain notice.
+=======================================================================*/
+

Copied: packages/libhdf4/trunk/hdf/COPYRIGHT (from rev 832, packages/libhdf4/branches/upstream/current/hdf/COPYRIGHT)
===================================================================
--- packages/libhdf4/trunk/hdf/COPYRIGHT	                        (rev 0)
+++ packages/libhdf4/trunk/hdf/COPYRIGHT	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,23 @@
+/*=======================================================================
+UNIVERSITY OF ILLINOIS (UI), NATIONAL CENTER FOR SUPERCOMPUTING
+APPLICATIONS (NCSA), Software Distribution Policy for Public Domain
+Software
+
+NCSA HDF Version 3.3 source code and documentation are in the public
+domain, available without fee for education, research, non-commercial and
+commercial purposes.  Users may distribute the binary or source code to
+third parties provided that this statement appears on all copies and that
+no charge is made for such copies.  
+
+UI MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE SOFTWARE FOR ANY
+PURPOSE.  IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.  THE
+UI SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY THE USER OF THIS
+SOFTWARE.  The software may have been developed under agreements between
+the UI and the Federal Government which entitle the Government to certain
+rights.
+
+By copying this program, you, the user, agree to abide by the conditions
+and understandings with respect to any software which is marked with a
+public domain notice.
+=======================================================================*/
+

Deleted: packages/libhdf4/trunk/hdf/MAKE.COM
===================================================================
--- packages/libhdf4/trunk/hdf/MAKE.COM	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/hdf/MAKE.COM	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,108 +0,0 @@
-! ****************************************************************************
-! * NCSA HDF                                                                 *
-! * Software Development Group                                               *
-! * National Center for Supercomputing Applications                          *
-! * University of Illinois at Urbana-Champaign                               *
-! * 605 E. Springfield, Champaign IL 61820                                   *
-! *                                                                          *
-! * For conditions of distribution and use, see the accompanying             *
-! * hdf/COPYING file.                                                        *
-! *                                                                          *
-! ***************************************************************************
-!
-! $Id: MAKE.COM,v 1.15 1996/03/25 17:53:34 sxu Exp $
-!
-! $ !
-! $ ! Build the entire HDF library
-! $ !
-! $ !
-! $ ! The following defines should be used to tell VMS where to
-! $ !   place the resulting HDF library, include files, and utilites
-! $ !   These directories will not be created, you must create them
-! $ !   by hand.
-! $ !
-$ create/dir [-.lib]
-$ create/dir [-.include]
-$ create/dir [-.bin]
-$ define/nolog hdf$src     mrlxp4$dka200:[folk.dev.hdf.src]   ! HDF src
-$ define/nolog hdf$util    mrlxp4$dka200:[folk.dev.hdf.util]  ! HDF utilities
-$ define/nolog hdf$test    mrlxp4$dka200:[folk.dev.hdf.test]  ! HDF test programs
-$ define/nolog jpeg$src    mrlxp4$dka200:[folk.dev.hdf.jpeg]  !
-$ define/nolog zlib$src    mrlxp4$dka200:[folk.dev.hdf.zlib]  !
-$ define/nolog hdf$lib     mrlxp4$dka200:[folk.dev.lib]df ! Location and name for lib
-$ define/nolog jpeg$lib     mrlxp4$dka200:[folk.dev.lib]libjpeg.olb
-$ define/nolog zlib$lib     mrlxp4$dka200:[folk.dev.lib]libz.olb
-$ define/nolog hdf$include mrlxp4$dka200:[folk.dev.include] ! Where to put includes
-$ define/nolog hdf$bin     mrlxp4$dka200:[folk.dev.bin]   ! Where to put executables
-$ !
-$ define/nolog sys$clib sys$library:vaxcrtl
-$ !
-$ ! Makefile for VAX/VMX systems.
-$ !
-$ ! Make jpeg library
-$  type sys$input
-  ======== Building jpeg library =======
-$ set def jpeg$src
-$ copy jconfig.vms jconfig.h
-$ copy makefile.vms make.com
-$ @make
-$ copy libjpeg.olb jpeg$lib
-$ copy jconfig.h hdf$include
-$ copy jerror.h hdf$include
-$ copy jmorecfg.h  hdf$include
-$ copy jpeglib.h  hdf$include
-$ delete *.obj;*
-$ delete *.exe;*
-$!
-$ ! Make gzip library
-$  type sys$input
-  ======== Building gzip library =======
-$ set def zlib$src
-$ copy make_vms.com make.com
-$ @make
-$ copy libz.olb zlib$lib
-$ copy zconf.h hdf$include
-$ copy zlib.h  hdf$include
-$ delete *.obj;*
-$ delete *.exe;*
-$ !
-$ ! Make full df lib (with fortran stubs)
-$ type sys$input
-  ======== Building HDF 4.0 ========
-$ !              
-$ ! Build the base HDF library
-$ !
-$ set def hdf$src
-$ @MAKENOF
-$ !
-$ ! If you do not want to include the HDF Fortran interfaces, comment
-$ !   out the following command.
-$ !
-$ @MAKEFS
-$ !
-$ ! Move the files to their correct destinations
-$ !
-$ copy df.olb hdf$lib
-$ copy *.h    hdf$include
-$ delete *.obj;*
-$ !
-$ ! Build the HDF utility programs
-$ !
-$ set default hdf$util
-$ @MAKEUTIL
-$ !
-$ ! Move the HDF utilities to where they belong
-$ !
-$ copy *.exe hdf$bin
-$ delete *.obj;*
-$ !
-$ @setuputils
-$ !
-$ ! Build the test programs
-$ !
-$ set default hdf$test
-$ @MAKE
-$ !
-$ delete *.obj;*
-$ type sys$input
-  ======== HDF 4.0 has now been built ========

Copied: packages/libhdf4/trunk/hdf/Makefile.am (from rev 832, packages/libhdf4/branches/upstream/current/hdf/Makefile.am)
===================================================================
--- packages/libhdf4/trunk/hdf/Makefile.am	                        (rev 0)
+++ packages/libhdf4/trunk/hdf/Makefile.am	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1 @@
+SUBDIRS=src test util

Modified: packages/libhdf4/trunk/hdf/Makefile.in
===================================================================
--- packages/libhdf4/trunk/hdf/Makefile.in	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/hdf/Makefile.in	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,286 +1,429 @@
-# Makefile for HDF
-#
-### Start of system configuration section. ####
-# Set shell so we know what it is
-SHELL = /bin/sh
+# Makefile.in generated by automake 1.7.7 from Makefile.am.
+# @configure_input@
 
-# 'srcdir' Gets set to directory this Makefile is found in
-srcdir = .
-TOP_SRCDIR = ..
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-prefix = $(TOP_SRCDIR)/NewHDF
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
 
-exec_prefix = $(prefix)
-tooldir = $(exec_prefix)/$(target)
+ at SET_MAKE@
 
-program_transform_name =
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ..
 
-datadir = $(prefix)/lib
-mandir = $(prefix)/man
-man1dir = $(mandir)/man1
-man2dir = $(mandir)/man2
-man3dir = $(mandir)/man3
-man4dir = $(mandir)/man4
-man5dir = $(mandir)/man5
-man6dir = $(mandir)/man6
-man7dir = $(mandir)/man7
-man8dir = $(mandir)/man8
-man9dir = $(mandir)/man9
-docdir = $(datadir)/doc
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_triplet = @host@
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DIFF = @DIFF@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+HDF_BUILD_FORTRAN_FALSE = @HDF_BUILD_FORTRAN_FALSE@
+HDF_BUILD_FORTRAN_TRUE = @HDF_BUILD_FORTRAN_TRUE@
+HDF_BUILD_XDR_FALSE = @HDF_BUILD_XDR_FALSE@
+HDF_BUILD_XDR_TRUE = @HDF_BUILD_XDR_TRUE@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
+MAKEINFO = @MAKEINFO@
+NEQN = @NEQN@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+TBL = @TBL@
+VERSION = @VERSION@
+YACC = @YACC@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+SUBDIRS = src test util
+subdir = hdf
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/hdf/src/h4config.h
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
 
-INSTALL = ${TOP_SRCDIR}/install-sh -c
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL) -m 644
+RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
+	ps-recursive install-info-recursive uninstall-info-recursive \
+	all-recursive install-data-recursive install-exec-recursive \
+	installdirs-recursive install-recursive uninstall-recursive \
+	check-recursive installcheck-recursive
+DIST_COMMON = README $(srcdir)/Makefile.in COPYING Makefile.am
+DIST_SUBDIRS = $(SUBDIRS)
+all: all-recursive
 
-# /usr/local/bin/m4 (GNU version?)
-M4   = /usr/local/bin/m4
-# /usr/local/bin/perl (GNU version?)
-PERL = /usr/local/bin/perl
+.SUFFIXES:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign  hdf/Makefile
+Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+uninstall-info-am:
 
-# Name of achive randomizer, usually ranlib (use 'touch' if non-existant)
-RANLIB = ranlib
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+#     (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    dot_seen=yes; \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done; \
+	if test "$$dot_seen" = "no"; then \
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+	fi; test -z "$$fail"
 
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = r
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	case "$@" in \
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+	  *) list='$(SUBDIRS)' ;; \
+	esac; \
+	rev=''; for subdir in $$list; do \
+	  if test "$$subdir" = "."; then :; else \
+	    rev="$$subdir $$rev"; \
+	  fi; \
+	done; \
+	rev="$$rev ."; \
+	target=`echo $@ | sed s/-recursive//`; \
+	for subdir in $$rev; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done && test -z "$$fail"
+tags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+	done
+ctags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+	done
 
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
+ETAGS = etags
+ETAGSFLAGS =
 
-#defaults
-AS = as
-CC = gcc
-CFLAGS = -ansi
-FC = f77
-FFLAGS=
+CTAGS = ctags
+CTAGSFLAGS =
 
-# Set for document generation
-MAKEINFO = makeinfo
-TEXI2DVI = texi2dvi
+tags: TAGS
 
-# Directory in which to install scripts.
-bindir = $(exec_prefix)/bin
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
 
-# Directory in which to install library files.
-libdir = $(prefix)/lib
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	if (etags --etags-include --version) >/dev/null 2>&1; then \
+	  include_option=--etags-include; \
+	else \
+	  include_option=--include; \
+	fi; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test -f $$subdir/TAGS && \
+	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+	  fi; \
+	done; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	     $$tags $$unique
 
-# Directory in which to install documentation info files.
-infodir = $(prefix)/info
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
 
-#### ----- host and target specific makefile fragments come in here.-------
-### ------------------- end of makefile fragments -------------------------
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
 
-# ############# End of system configuration section. ###############
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-PACKAGE	 = HDF
-VERSION  = 4.0
+top_distdir = ..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
 
-MANIFEST = $(DISTFILES)
-DISTFILES = Makefile.in COPYING build.inc
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test -d $(distdir)/$$subdir \
+	    || mkdir $(distdir)/$$subdir \
+	    || exit 1; \
+	    (cd $$subdir && \
+	      $(MAKE) $(AM_MAKEFLAGS) \
+	        top_distdir="$(top_distdir)" \
+	        distdir=../$(distdir)/$$subdir \
+	        distdir) \
+	      || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
 
-SUBDIRS= src fmpool pablo test util
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
 
-HDFINC= $(srcdir)/src
-HDFLIB= $(srcdir)/src
-HDFBIN= $(srcdir)/bin
-PABLO_HINC= $(srcdir)/pablo
-FMPOOL_INC= $(srcdir)/fmpool
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
-#
-#
-# Flags to recursively send
-#
+installcheck: installcheck-recursive
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
 
-HDF_FLAGS       = \
-        CC="$(CC)" \
-        CFLAGS="$(CFLAGS)" \
-        FC="$(FC)" \
-        FFLAGS="$(FFLAGS)" \
-        RANLIB="$(RANLIB)" \
-        AR="$(AR)" \
-        ARFLAGS="$(ARFLAGS)" \
-        RM="$(RM)" \
-        RMFLAGS="$(RMFLAGS)" \
-        FMPOOL_FLAGS="$(FMPOOL_FLAGS)" \
-        PABLO_FLAGS="$(PABLO_FLAGS)" \
-        PABLO_INCLUDE="$(PABLO_INCLUDE)" \
-        MACHINE="$(MACHINE)" 
+clean-generic:
 
-LOCAL_MACROS  = CC="$(CC)" \
-	CFLAGS="$(CFLAGS)" \
-	CPP="$(CPP)" \
-	CPPFLAGS="$(CPPFLAGS)" \
-	exec_prefix="$(exec_prefix)" \
-	FC="$(FC)" \
-        FFLAGS="$(FFLAGS)" \
-	prefix="$(prefix)"
+distclean-generic:
+	-rm -f $(CONFIG_CLEAN_FILES)
 
-#
-#
-# General rules
-#
-all:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="src pablo fmpool util test" subd
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
 
-allnofortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=nofortran \
-          SUBDIRS="src pablo fmpool util test" subd
+clean-am: clean-generic mostlyclean-am
 
-rebuild rebuildnofortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="src pablo fmpool util test" subd
+distclean: distclean-recursive
+	-rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
 
-libnofortran:
-	@$(MAKE) $(MYFLAGS) $(HDF_FLAGS) TARG=nofortran \
-	  SUBDIRS="src pablo fmpool" subd
+dvi: dvi-recursive
 
-libnostub: libnofortran
+dvi-am:
 
-allnostub: allnofortran
+info: info-recursive
 
-libs:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=all \
-          SUBDIRS="src pablo fmpool" subd
+info-am:
 
-libdf:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=all \
-          SUBDIRS="src" subd
+install-data-am:
 
-utilities:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=all \
-          SUBDIRS="src pablo fmpool util" subd
+install-exec-am:
 
-hdf-test:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=all \
-          SUBDIRS="src pablo fmpool test" subd
+install-info: install-info-recursive
 
-hdf-testnofortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=nofortran \
-          SUBDIRS="src pablo fmpool test" subd
+install-man:
 
-testnofortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=nofortran \
-          SUBDIRS="src pablo fmpool test" subd
+installcheck-am:
 
-test-hdf:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=test-hdf \
-          SUBDIRS="test" subd
+maintainer-clean: maintainer-clean-recursive
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
 
-test-hdfnofortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=test-hdfnofortran \
-          SUBDIRS="test" subd
+mostlyclean: mostlyclean-recursive
 
-test-hdffortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=test-hdffortran \
-          SUBDIRS="test" subd
+mostlyclean-am: mostlyclean-generic
 
-test-utils:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=test-utils \
-          SUBDIRS="util" subd
+pdf: pdf-recursive
 
-install:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=install-lib \
-          SUBDIRS="src pablo fmpool" subd
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=install \
-          SUBDIRS="util" subd
+pdf-am:
 
-install-libs:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=install-lib \
-          SUBDIRS="src pablo fmpool" subd
+ps: ps-recursive
 
-install-includes:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=install-includes \
-          SUBDIRS="src pablo fmpool" subd
+ps-am:
 
-install-utils:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=install \
-          SUBDIRS="util" subd
+uninstall-am: uninstall-info-am
 
-perfs:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=all \
-          SUBDIRS="src perf fmpool" subd
+uninstall-info: uninstall-info-recursive
 
-#install:      $(INSTALL_DIRS)
-#	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@  \
-#          SUBDIRS="src util test" subd
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
+	clean-generic clean-recursive ctags ctags-recursive distclean \
+	distclean-generic distclean-recursive distclean-tags distdir \
+	dvi dvi-am dvi-recursive info info-am info-recursive install \
+	install-am install-data install-data-am install-data-recursive \
+	install-exec install-exec-am install-exec-recursive \
+	install-info install-info-am install-info-recursive install-man \
+	install-recursive install-strip installcheck installcheck-am \
+	installdirs installdirs-am installdirs-recursive \
+	maintainer-clean maintainer-clean-generic \
+	maintainer-clean-recursive mostlyclean mostlyclean-generic \
+	mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
+	ps-recursive tags tags-recursive uninstall uninstall-am \
+	uninstall-info-am uninstall-info-recursive uninstall-recursive
 
-debug:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=debug \
-          SUBDIRS="src fmpool test" subd
-
-saber:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=saber \
-          SUBDIRS="src test" subd
-
-clean:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@  \
-          SUBDIRS="src pablo fmpool util test" subd
-	-$(RM) $(RMFLAGS) core *.log
-
-distclean:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@  \
-          SUBDIRS="src pablo fmpool util test" subd
-	-$(RM) $(RMFLAGS) core *.log
-	-$(RM) -rf bin lib include config.status Makefile
-
-# for recusive make in subdirs
-subd:
-	@for dir in $(SUBDIRS); do \
-          (cd $$dir; echo Making \`$(TARG)\' in `pwd`; \
-              $(MAKE) $(MFLAGS) $(HDF_FLAGS) $(TARG)); \
-	done
-
-# for distribution creation
-distdir = $(TOP_SRCDIR)/$(PACKAGE)-$(VERSION)/$(curdir)
-curdir = hdf
-dist: $(DISTFILES)
-	@for file in $(DISTFILES); do \
-	  ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
-	    || { echo copying $$file instead; \
-	    cp -p $(srcdir)/$$file $(distdir)/$$file;}; \
-	done
-	for subdir in $(SUBDIRS); do \
-	  echo making $@ in $$subdir; \
-	  mkdir $(distdir)/$$subdir || exit 1; \
-	  (cd $$subdir && $(MAKE) $@) || exit 1; \
-	done
-
-# for auto remaking, see toplevel Makefile
-#Makefile: $(TOP_SRCDIR)/config.status Makefile.in
-#	CONFIG_FILES=$@ CONFIG_HEADERS= $(TOP_SRCDIR)/config.status
-
-# Tell versions [3.59,3.63) of GNU make not to export all variables.
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
-
-
-help:
-	@echo ""
-	@echo "Make supports the following targets"
-	@echo "make help    - prints this usage section"
-	@echo "make all     - (DEFAULT) makes HDF package"
-	@echo "make allnofortran - makes HDF package excluding fortran support"
-	@echo "make libnofortran - makes HDF library excluding fortran support"
-	@echo "make testnofortran - makes HDF library and tests"
-	@echo "                     excluding fortran support"
-	@echo "make hdf-test      - makes HDF library and tests"
-	@echo "make utilities     - makes HDF library and utilities"
-	@echo "make libs          - makes HDF libraries only"
-	@echo "make libdf         - makes HDF library "
-	@echo "make test-hdf          - run HDF library tests " 
-	@echo "make test-hdfnofortran - run HDF library tests except the fortran test " 
-	@echo "make test-hdffortran   - run HDF library fortran tests only " 
-	@echo "make test-utils        - run HDF utilities test"
-	@echo "make install           - install HDF library, "
-	@echo "                         utilites, and includes " 
-	@echo "make install-libs      - install HDF library and includes " 
-	@echo "make install-includes  - install HDF includes " 
-	@echo "make install-utils     - install HDF utilities " 
-	@echo "make clean     - cleans up HDF packages(*.o,libdf.a,..)"
-	@echo "make distclean - cleans up HDF packages including"
-	@echo "                 configuration(Makefiles,config.status,..)"
-	@echo ""
-
-

Copied: packages/libhdf4/trunk/hdf/README.33r4 (from rev 832, packages/libhdf4/branches/upstream/current/hdf/README.33r4)
===================================================================
--- packages/libhdf4/trunk/hdf/README.33r4	                        (rev 0)
+++ packages/libhdf4/trunk/hdf/README.33r4	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,31 @@
+
+In general, HDF 4.0 can be built with a single command from this 
+directory.  The file Makefile is a generic, machine independent 
+Makefile which you can modify if there is no Makefile already built 
+for your machine.
+
+For convenience, there are also machine customized makefiles.  For
+example MAKE.IBM6000 is a Makefile suitable for compiling HDF
+on an IBM RS/6000.
+
+Assuming you are on an IBM RS/6000:
+
+cp MAKE.IBM6000 Makefile
+
+make    
+make all 
+        --- builds HDF library and the C and Fortran interfaces, the 
+                utilities and C and Fortran test programs.
+
+make allnofortran   
+        --- builds the HDF library and only the C interfaces, the
+                utilities and the C test programs.
+
+make libdf
+        --- builds the HDF library and the C and Fortran interfaces
+
+make utilities
+        --- builds only the utility programs
+
+make tests
+        --- builds all of the test programs

Deleted: packages/libhdf4/trunk/hdf/build.inc
===================================================================
--- packages/libhdf4/trunk/hdf/build.inc	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/hdf/build.inc	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,133 +0,0 @@
-# ****************************************************************************
-# * NCSA HDF                                                                 *
-# * Software Development Group                                               *
-# * National Center for Supercomputing Applications                          *
-# * University of Illinois at Urbana-Champaign                               *
-# * 605 E. Springfield, Champaign IL 61820                                   *
-# *                                                                          *
-# * For conditions of distribution and use, see the accompanying             *
-# * hdf/COPYING file.                                                        *
-# *                                                                          *
-# ***************************************************************************
-#
-# $Id: build.inc,v 1.6 1995/05/17 02:57:40 georgev Exp $
-#
-# ##################################################################
-#
-#
-# This is the top level Makefile to build HDF 4.0 on Unix based
-#       platforms
-#
-
-#
-#
-# Flags to recursively send
-#
-
-HDF_FLAGS       = \
-        CC="$(CC)" \
-        CFLAGS="$(CFLAGS)" \
-        FC="$(FC)" \
-        FFLAGS="$(FFLAGS)" \
-        RANLIB="$(RANLIB)" \
-        AR="$(AR)" \
-        ARFLAGS="$(ARFLAGS)" \
-        RM="$(RM)" \
-        RMFLAGS="$(RMFLAGS)" \
-        MACHINE="$(MACHINE)" \
-        HDFLIB="$(HDFLIB)" \
-        HDFINC="$(HDFINC)" \
-	HDFBIN="$(HDFBIN)"	
-
-#
-#
-# General rules
-#
-all:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="src jpeg util test" subd message 
-
-allnofortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=nofortran \
-          SUBDIRS="src jpeg util test" subd message 
-
-rebuild rebuildnofortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@ \
-          SUBDIRS="src jpeg util test" subd message 
-
-libnofortran:
-	@$(MAKE) $(MYFLAGS) $(HDF_FLAGS) TARG=nofortran \
-	  SUBDIRS="src jpeg" subd message
-
-libnostub: libnofortran
-
-allnostub: allnofortran
-
-libdf:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=all \
-          SUBDIRS="src" subd
-
-libjpeg:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=all \
-          SUBDIRS="jpeg" subd
-
-utilities:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=all \
-          SUBDIRS="src jpeg util" subd
-
-tests:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=all \
-          SUBDIRS="src jpeg test" subd
-
-testnofortran:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=nofortran \
-          SUBDIRS="src jpeg test" subd message 
-
-perfs:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=all \
-          SUBDIRS="src jpeg perf" subd
-
-#install:      $(INSTALL_DIRS)
-#	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@  \
-#          SUBDIRS="src util test" subd
-
-debug:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=debug \
-          SUBDIRS="src jpeg test" subd message 
-
-saber:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=saber \
-          SUBDIRS="src jpeg test" subd
-
-clean:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@  \
-          SUBDIRS="src jpeg util test" subd
-	$(RM) $(RMFLAGS) core *.log
-
-distclean:
-	@$(MAKE) $(MFLAGS) $(HDF_FLAGS) TARG=$@  \
-          SUBDIRS="src jpeg util test" subd
-	$(RM) $(RMFLAGS) core *.log
-	$(RM) -rf bin lib include
-
-subd:
-	@for dir in $(SUBDIRS); do \
-		(cd $$dir; echo Making \`$(TARG)\' in `pwd`; \
-		$(MAKE) $(MFLAGS) $(HDF_FLAGS) $(TARG)); \
-	done
-
-message:
-	@echo ""
-	@echo "***********************************************************"
-	@echo " HDF 4.0 library successfully created."
-	@echo ""
-	@echo "If you have any old vset files (v 1.0) you must use vcompat"
-	@echo "to make them compatible with Vset 2.0 applications"
-	@echo ""
-	@echo "User programs can be created as follows:"
-	@echo ""
-	@echo "   ${CC} program.c libdf.a -o program"
-	@echo ""
-	@echo "***********************************************************"
-	@echo ""
-

Modified: packages/libhdf4/trunk/hdf/fmpool/Makefile.in
===================================================================
--- packages/libhdf4/trunk/hdf/fmpool/Makefile.in	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/hdf/fmpool/Makefile.in	2007-09-28 21:58:13 UTC (rev 1125)
@@ -114,7 +114,6 @@
 HDFINC= $(srcdir)/../src
 HDFLIB= $(srcdir)/../src
 HDFBIN= $(srcdir)/../bin
-PABLO_DIR= $(srcdir)/../pablo
 
 #### makefile fragment from 'config/' goes here ##############
 ## ------------------------ end of makefile fragments--------------------
@@ -152,13 +151,6 @@
 	  $(MAKE) $(MFLAGS) $(HDF_FLAGS) pall; \
 	fi
 
-pall::         FORCE
-	@if test -z "$(PABLO_FLAGS)"; then \
-	  $(MAKE) $(MFLAGS) $(HDF_FLAGS) libfmpool.a; \
-	else		 \
-	  $(MAKE) $(MFLAGS) $(HDF_FLAGS) libfmpool.a pablolib; \
-	fi
-
 libfmpool.a: $(LIBOBJECTS) $(HDFLIB)/libdf.a
 	$(RM) $(RMFLAGS) libfmpool.a
 	$(AR) $(ARFLAGS) libfmpool.a  $(LIBOBJECTS)
@@ -173,12 +165,6 @@
 	$(AR) $(ARFLAGS) libfmpool.a  $(LIBOBJECTS)
 	$(AR2) libfmpool.a
 
-pablolib: $(LIBOBJECTS) $(PABLO_DIR)/libdf-inst.a
-	if test -f $(PABLO_DIR)/libdf-inst.a ; then \
-	  $(AR) rcuv $(PABLO_DIR)/libdf-inst.a $(LIBOBJECTS); \
-	  $(RANLIB) $(PABLO_DIR)/libdf-inst.a ; \
-	fi
-
 tfmp: ${INCLUDES} fmpconf.h test_fmpio.c libfmpool.a
 	${CC} $(CFLAGS)  ${AUXFLAGS} -I. -c test_fmpio.c 
 	$(LN) $(LDFLAGS) -o tfmp $(TOBJECTS) libfmpool.a $(LDLIBS)

Copied: packages/libhdf4/trunk/hdf/src/INSTALL (from rev 832, packages/libhdf4/branches/upstream/current/hdf/src/INSTALL)
===================================================================
--- packages/libhdf4/trunk/hdf/src/INSTALL	                        (rev 0)
+++ packages/libhdf4/trunk/hdf/src/INSTALL	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,75 @@
+***********************************************************************
+			NCSA HDF version 4.1
+***********************************************************************
+
+     ---------------- Invoking the Makefile ------------------ 
+
+A Makefile is provided for building HDF4.1.  Open the Makefile
+in your editor and read the instructions at the top of the file.
+The section marked PORTING INSTRUCTIONS indicates that you need
+to modify certain lines in order to configure the Makefile for your
+particular system.
+
+Make targets available are :
+make            -- compile and install library 
+make all        -- compile and install library
+make libdf.a    -- compile library
+make nofortran  -- compile and install library, only C interface
+make libnostub  -- same as make nofortran
+make libnofortran  -- compile library and only C interface
+make install_it    -- install library 
+make clean      -- rm intermediate files
+make cleanup    -- rm all make products
+
+
+    --------------- Compiling Subsets of HDF ---------------
+
+In order to use HDF, you must compile the C routines using the
+following modules: hfile.c, hfile.h, hdf.h, hdfi.h, herr.c, herr.h,
+hkit.c and hproto.h.  You can omit various other routines by
+deleting references to certain files from the makefile, as
+follows:
+
+ To omit selected fortran interfaces, delete all references to
+     fortran files that contain those interfaces (xxx.f) and 
+     their object files (xxx.o).
+
+Similarly:
+
+  To omit DFR8 routines, delete files that begin dfr8...
+  To omit DF24 routines, delete files that begin df24...
+  To omit DFP  routines, delete files that begin dfp...
+  To omit DFSD routines, delete files that begin dfsd...
+  To omit DFAN routines, delete files that begin dfan...
+  To omit Vset routines, delete files that begin v...
+  To omit conversion routines (currently only used by DFSD
+     and Vset), delete files that begin dfconv...
+  To omit the routines that emulate the old lower layer
+     of HDF, delete df.h, dfi.h, df.c, dfF.c and dfFf.f
+
+
+     ------------ Compiling C programs with HDF ----------------
+
+To use HDF routines in your program, you must have the line
+'#include "hdf.h"' near the beginning of your code.  You may also
+need to include additional header files (eg. dfrig.h or dfsd.h, etc),
+depending on the interfaces you are using.  Call the appropriate
+HDF routines as described in the documentation. 
+Compile a C program called "myprog.c" as follows:
+
+    cc myprog.c libdf.a -o myprog
+or
+    cc myprog.c -o myprog -ldf
+
+If the include files are in the directory "incdir", and the 
+library file "libdf.a" is in "libdir", use
+
+    cc -Iincdir myprog.c libdir/libdf.a -o myprog
+or
+    cc -Iincdir myprog.c -o myprog -L libdir -ldf
+
+
+    ------------ Testing HDF ----------------
+
+A partial test suite should be included in this distribution.
+A Makefile and instructions are included with this test suite.

Copied: packages/libhdf4/trunk/hdf/src/Makefile.am (from rev 832, packages/libhdf4/branches/upstream/current/hdf/src/Makefile.am)
===================================================================
--- packages/libhdf4/trunk/hdf/src/Makefile.am	                        (rev 0)
+++ packages/libhdf4/trunk/hdf/src/Makefile.am	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,48 @@
+#############################################################################
+##                          Library to build                               ##
+#############################################################################
+
+lib_LIBRARIES = libdf.a
+
+FSOURCES = df24ff.f dfanf.c dfanff.f dff.c dfff.f dfpf.c dfpff.f dfr8f.c    \
+           dfr8ff.f dfsdf.c dfsdff.f dfufp2if.f dfutilf.c herrf.c hfilef.c  \
+           hfileff.f mfanf.c mfgrf.c mfgrff.f vattrf.c vattrff.f vgf.c vgff.f 
+CSOURCES = atom.c bitvect.c cdeflate.c cnbit.c cnone.c crle.c cskphuff.c    \
+           cszip.c df24.c df24f.c dfan.c dfcomp.c dfconv.c dfgr.c dfgroup.c \
+           dfimcomp.c dfjpeg.c dfkconv.c dfkcray.c dfkfuji.c dfknat.c       \
+           dfkswap.c dfkvms.c dfp.c dfr8.c dfrle.c dfsd.c dfstubs.c         \
+           dfufp2i.c dfunjpeg.c dfutil.c dynarray.c glist.c hbitio.c        \
+           hblocks.c hbuffer.c hchunks.c hcomp.c hcompri.c hdfalloc.c       \
+           herr.c hextelt.c hfile.c hfiledd.c hkit.c linklist.c mcache.c    \
+           mfan.c mfgr.c mstdio.c tbbt.c vattr.c vconv.c vg.c vgp.c vhi.c   \
+           vio.c vparse.c vrw.c vsfld.c
+
+CHEADERS = atom.h bitvect.h cdeflate.h cnbit.h cnone.h cskphuff.h crle.h    \
+           cszip.h df.h dfan.h dfi.h dfgr.h dfrig.h dfsd.h dfstubs.h        \
+           dfufp2i.h dynarray.h h4config.h hbitio.h hchunks.h hcomp.h       \
+           hcompi.h hconv.h hdf.h hdfi.h herr.h hfile.h hkit.h hlimits.h    \
+           hntdefs.h hproto.h  htags.h linklist.h mfan.h mfgr.h mstdio.h    \
+           tbbt.h vattr.h vg.h
+FHEADERS = dffunc.f90 hdf.f90 dffunc.inc hdf.inc
+
+if HDF_BUILD_FORTRAN
+libdf_a_SOURCES = $(CSOURCES) $(FSOURCES)
+include_HEADERS = $(CHEADERS) $(FHEADERS)
+else
+libdf_a_SOURCES = $(CSOURCES)
+include_HEADERS = $(CHEADERS)
+endif
+
+SUFFIXES = .inc .f90
+.inc.f90:
+	if test -f $<; then                                             \
+	  sed -e 's/^[cC]/!/' -e 's/^     [^ ]/     \&/' < $< > $*.f90; \
+	else                                                            \
+	  sed -e 's/^[cC]/!/' -e 's/^     [^ ]/     \&/' < $(srcdir)/$< > $*.f90; \
+	fi
+
+#############################################################################
+##                          And the cleanup                                ##
+#############################################################################
+
+DISTCLEANFILES = dffunc.f90 hdf.f90

Modified: packages/libhdf4/trunk/hdf/src/Makefile.in
===================================================================
--- packages/libhdf4/trunk/hdf/src/Makefile.in	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/hdf/src/Makefile.in	2007-09-28 21:58:13 UTC (rev 1125)
@@ -1,519 +1,665 @@
-# ****************************************************************************
-# * NCSA HDF                                                                 *
-# * Software Development Group                                               *
-# * National Center for Supercomputing Applications                          *
-# * University of Illinois at Urbana-Champaign                               *
-# * 605 E. Springfield, Champaign IL 61820                                   *
-# *                                                                          *
-# * For conditions of distribution and use, see the accompanying             *
-# * hdf/COPYING file.                                                        *
-# *                                                                          *
-# ***************************************************************************
-#
-# $Id: Makefile.in,v 1.28 2000/08/29 11:04:27 acheng Exp $
-#
-# ##################################################################
-#
-#           MAKEFILE for creating the HDF library, libdf.a,
-#
-# This makefile creates the following FORTRAN and C interfaces 
-# for HDF in a library called "libdf.a": 
-#
-#              DFR8   (8-bit raster image sets)
-#              DF24   (24-bit raster image sets)
-#              DFP    (palettes)
-#              DFSD   (scientific data sets)
-#              DFAN   (annotations)
-#              V      (vsets)
-#
-# See the file INSTALL for further information on how to invoke
-# this makefile.
-#
-# This release of HDF marks the first use of a new set of lower
-# level routines.  The makefile also creates these interfaces,
-# which are available in C only.  These routines are categorized 
-# as follows:
-#
-#              H      (new lower level i/o)
-#              DF     (emulation of old lower level i/o routines)
-#              HD     (lower level utilities for developers)
-#              HE     (lower level error-handling)
-#              HD     (lower level utilities, for developers)
-#              DFK    (conversion routines)
-#
-# ##################################################################
-#
-#
-# PORTING INSTRUCTIONS
-# You must modify the lines marked "# ==>".
-#
-#
-# These values will typically be over ridden by values passed 
-#   down from the top level HDF makefile
-#
-#
-### Start of system configuration section. ####
-# Set shell so we know what it is
-SHELL = /bin/sh
+# Makefile.in generated by automake 1.7.7 from Makefile.am.
+# @configure_input@
 
-# 'srcdir' Gets set to directory this Makefile is found in
-srcdir = .
-TOP_SRCDIR = ../..
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-prefix = $(TOP_SRCDIR)/NewHDF
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
 
-exec_prefix = $(prefix)
-tooldir = $(exec_prefix)/$(target)
+ at SET_MAKE@
 
-program_transform_name =
+#############################################################################
+#############################################################################
 
-datadir = $(prefix)/lib
-mandir = $(prefix)/man
-man1dir = $(mandir)/man1
-man2dir = $(mandir)/man2
-man3dir = $(mandir)/man3
-man4dir = $(mandir)/man4
-man5dir = $(mandir)/man5
-man6dir = $(mandir)/man6
-man7dir = $(mandir)/man7
-man8dir = $(mandir)/man8
-man9dir = $(mandir)/man9
-docdir = $(datadir)/doc
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../..
 
-INSTALL = ${TOP_SRCDIR}/install-sh -c
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL) -m 644
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_triplet = @host@
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DIFF = @DIFF@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+HDF_BUILD_FORTRAN_FALSE = @HDF_BUILD_FORTRAN_FALSE@
+HDF_BUILD_FORTRAN_TRUE = @HDF_BUILD_FORTRAN_TRUE@
+HDF_BUILD_XDR_FALSE = @HDF_BUILD_XDR_FALSE@
+HDF_BUILD_XDR_TRUE = @HDF_BUILD_XDR_TRUE@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
+MAKEINFO = @MAKEINFO@
+NEQN = @NEQN@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+TBL = @TBL@
+VERSION = @VERSION@
+YACC = @YACC@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
 
-# /usr/local/bin/m4 (GNU version?)
-M4   = /usr/local/bin/m4
-# /usr/local/bin/perl (GNU version?)
-PERL = /usr/local/bin/perl
+lib_LIBRARIES = libdf.a
 
-# Name of achive randomizer, usually ranlib (use 'touch' if non-existant)
-RANLIB = ranlib
+FSOURCES = df24ff.f dfanf.c dfanff.f dff.c dfff.f dfpf.c dfpff.f dfr8f.c    \
+           dfr8ff.f dfsdf.c dfsdff.f dfufp2if.f dfutilf.c herrf.c hfilef.c  \
+           hfileff.f mfanf.c mfgrf.c mfgrff.f vattrf.c vattrff.f vgf.c vgff.f 
 
-# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
-AR = ar
-ARFLAGS = r
+CSOURCES = atom.c bitvect.c cdeflate.c cnbit.c cnone.c crle.c cskphuff.c    \
+           cszip.c df24.c df24f.c dfan.c dfcomp.c dfconv.c dfgr.c dfgroup.c \
+           dfimcomp.c dfjpeg.c dfkconv.c dfkcray.c dfkfuji.c dfknat.c       \
+           dfkswap.c dfkvms.c dfp.c dfr8.c dfrle.c dfsd.c dfstubs.c         \
+           dfufp2i.c dfunjpeg.c dfutil.c dynarray.c glist.c hbitio.c        \
+           hblocks.c hbuffer.c hchunks.c hcomp.c hcompri.c hdfalloc.c       \
+           herr.c hextelt.c hfile.c hfiledd.c hkit.c linklist.c mcache.c    \
+           mfan.c mfgr.c mstdio.c tbbt.c vattr.c vconv.c vg.c vgp.c vhi.c   \
+           vio.c vparse.c vrw.c vsfld.c
 
-# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
-RM = /bin/rm
-RMFLAGS = -f
 
-#Compilier defaults overriden by top level make
-AS = as
-CC = gcc
-CFLAGS = -ansi
-FC = f77
-FFLAGS=
+CHEADERS = atom.h bitvect.h cdeflate.h cnbit.h cnone.h cskphuff.h crle.h    \
+           cszip.h df.h dfan.h dfi.h dfgr.h dfrig.h dfsd.h dfstubs.h        \
+           dfufp2i.h dynarray.h h4config.h hbitio.h hchunks.h hcomp.h       \
+           hcompi.h hconv.h hdf.h hdfi.h herr.h hfile.h hkit.h hlimits.h    \
+           hntdefs.h hproto.h  htags.h linklist.h mfan.h mfgr.h mstdio.h    \
+           tbbt.h vattr.h vg.h
 
-# Set for document generation
-MAKEINFO = makeinfo
-TEXI2DVI = texi2dvi
+FHEADERS = dffunc.f90 hdf.f90 dffunc.inc hdf.inc
 
-# Directory in which to install scripts.
-bindir = $(exec_prefix)/bin
+ at HDF_BUILD_FORTRAN_TRUE@libdf_a_SOURCES = $(CSOURCES) $(FSOURCES)
+ at HDF_BUILD_FORTRAN_FALSE@libdf_a_SOURCES = $(CSOURCES)
+ at HDF_BUILD_FORTRAN_TRUE@include_HEADERS = $(CHEADERS) $(FHEADERS)
+ at HDF_BUILD_FORTRAN_FALSE@include_HEADERS = $(CHEADERS)
 
-# Directory in which to install library files.
-libdir = $(prefix)/lib
+SUFFIXES = .inc .f90
 
-# Directory in which to install include files.
-includedir = $(prefix)/include
 
-# Directory in which to install documentation info files.
-infodir = $(prefix)/info
+#############################################################################
+#############################################################################
+DISTCLEANFILES = dffunc.f90 hdf.f90
+subdir = hdf/src
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs
+CONFIG_HEADER = h4config.h
+CONFIG_CLEAN_FILES =
+LIBRARIES = $(lib_LIBRARIES)
 
-TARGETLIB = libdf.a
+libdf_a_AR = $(AR) cru
+libdf_a_LIBADD =
+am__libdf_a_SOURCES_DIST = atom.c bitvect.c cdeflate.c cnbit.c cnone.c \
+	crle.c cskphuff.c cszip.c df24.c df24f.c dfan.c dfcomp.c \
+	dfconv.c dfgr.c dfgroup.c dfimcomp.c dfjpeg.c dfkconv.c \
+	dfkcray.c dfkfuji.c dfknat.c dfkswap.c dfkvms.c dfp.c dfr8.c \
+	dfrle.c dfsd.c dfstubs.c dfufp2i.c dfunjpeg.c dfutil.c \
+	dynarray.c glist.c hbitio.c hblocks.c hbuffer.c hchunks.c \
+	hcomp.c hcompri.c hdfalloc.c herr.c hextelt.c hfile.c hfiledd.c \
+	hkit.c linklist.c mcache.c mfan.c mfgr.c mstdio.c tbbt.c \
+	vattr.c vconv.c vg.c vgp.c vhi.c vio.c vparse.c vrw.c vsfld.c \
+	df24ff.f dfanf.c dfanff.f dff.c dfff.f dfpf.c dfpff.f dfr8f.c \
+	dfr8ff.f dfsdf.c dfsdff.f dfufp2if.f dfutilf.c herrf.c hfilef.c \
+	hfileff.f mfanf.c mfgrf.c mfgrff.f vattrf.c vattrff.f vgf.c \
+	vgff.f
+am__objects_1 = atom.$(OBJEXT) bitvect.$(OBJEXT) cdeflate.$(OBJEXT) \
+	cnbit.$(OBJEXT) cnone.$(OBJEXT) crle.$(OBJEXT) \
+	cskphuff.$(OBJEXT) cszip.$(OBJEXT) df24.$(OBJEXT) \
+	df24f.$(OBJEXT) dfan.$(OBJEXT) dfcomp.$(OBJEXT) \
+	dfconv.$(OBJEXT) dfgr.$(OBJEXT) dfgroup.$(OBJEXT) \
+	dfimcomp.$(OBJEXT) dfjpeg.$(OBJEXT) dfkconv.$(OBJEXT) \
+	dfkcray.$(OBJEXT) dfkfuji.$(OBJEXT) dfknat.$(OBJEXT) \
+	dfkswap.$(OBJEXT) dfkvms.$(OBJEXT) dfp.$(OBJEXT) dfr8.$(OBJEXT) \
+	dfrle.$(OBJEXT) dfsd.$(OBJEXT) dfstubs.$(OBJEXT) \
+	dfufp2i.$(OBJEXT) dfunjpeg.$(OBJEXT) dfutil.$(OBJEXT) \
+	dynarray.$(OBJEXT) glist.$(OBJEXT) hbitio.$(OBJEXT) \
+	hblocks.$(OBJEXT) hbuffer.$(OBJEXT) hchunks.$(OBJEXT) \
+	hcomp.$(OBJEXT) hcompri.$(OBJEXT) hdfalloc.$(OBJEXT) \
+	herr.$(OBJEXT) hextelt.$(OBJEXT) hfile.$(OBJEXT) \
+	hfiledd.$(OBJEXT) hkit.$(OBJEXT) linklist.$(OBJEXT) \
+	mcache.$(OBJEXT) mfan.$(OBJEXT) mfgr.$(OBJEXT) mstdio.$(OBJEXT) \
+	tbbt.$(OBJEXT) vattr.$(OBJEXT) vconv.$(OBJEXT) vg.$(OBJEXT) \
+	vgp.$(OBJEXT) vhi.$(OBJEXT) vio.$(OBJEXT) vparse.$(OBJEXT) \
+	vrw.$(OBJEXT) vsfld.$(OBJEXT)
+am__objects_2 = df24ff.$(OBJEXT) dfanf.$(OBJEXT) dfanff.$(OBJEXT) \
+	dff.$(OBJEXT) dfff.$(OBJEXT) dfpf.$(OBJEXT) dfpff.$(OBJEXT) \
+	dfr8f.$(OBJEXT) dfr8ff.$(OBJEXT) dfsdf.$(OBJEXT) \
+	dfsdff.$(OBJEXT) dfufp2if.$(OBJEXT) dfutilf.$(OBJEXT) \
+	herrf.$(OBJEXT) hfilef.$(OBJEXT) hfileff.$(OBJEXT) \
+	mfanf.$(OBJEXT) mfgrf.$(OBJEXT) mfgrff.$(OBJEXT) \
+	vattrf.$(OBJEXT) vattrff.$(OBJEXT) vgf.$(OBJEXT) vgff.$(OBJEXT)
+ at HDF_BUILD_FORTRAN_TRUE@am_libdf_a_OBJECTS = $(am__objects_1) \
+ at HDF_BUILD_FORTRAN_TRUE@	$(am__objects_2)
+ at HDF_BUILD_FORTRAN_FALSE@am_libdf_a_OBJECTS = $(am__objects_1)
+libdf_a_OBJECTS = $(am_libdf_a_OBJECTS)
 
-#### ----- host and target specific makefile fragments come in here.-------
-### ------------------- end of makefile fragments -------------------------
+DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
+depcomp = $(SHELL) $(top_srcdir)/bin/depcomp
+am__depfiles_maybe = depfiles
+ at AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/atom.Po ./$(DEPDIR)/bitvect.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/cdeflate.Po ./$(DEPDIR)/cnbit.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/cnone.Po ./$(DEPDIR)/crle.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/cskphuff.Po ./$(DEPDIR)/cszip.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/df24.Po ./$(DEPDIR)/df24f.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfan.Po ./$(DEPDIR)/dfanf.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfcomp.Po ./$(DEPDIR)/dfconv.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dff.Po ./$(DEPDIR)/dfgr.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfgroup.Po ./$(DEPDIR)/dfimcomp.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfjpeg.Po ./$(DEPDIR)/dfkconv.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfkcray.Po ./$(DEPDIR)/dfkfuji.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfknat.Po ./$(DEPDIR)/dfkswap.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfkvms.Po ./$(DEPDIR)/dfp.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfpf.Po ./$(DEPDIR)/dfr8.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfr8f.Po ./$(DEPDIR)/dfrle.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfsd.Po ./$(DEPDIR)/dfsdf.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfstubs.Po ./$(DEPDIR)/dfufp2i.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfunjpeg.Po ./$(DEPDIR)/dfutil.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/dfutilf.Po ./$(DEPDIR)/dynarray.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/glist.Po ./$(DEPDIR)/hbitio.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/hblocks.Po ./$(DEPDIR)/hbuffer.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/hchunks.Po ./$(DEPDIR)/hcomp.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/hcompri.Po ./$(DEPDIR)/hdfalloc.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/herr.Po ./$(DEPDIR)/herrf.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/hextelt.Po ./$(DEPDIR)/hfile.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/hfiledd.Po ./$(DEPDIR)/hfilef.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/hkit.Po ./$(DEPDIR)/linklist.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/mcache.Po ./$(DEPDIR)/mfan.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/mfanf.Po ./$(DEPDIR)/mfgr.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/mfgrf.Po ./$(DEPDIR)/mstdio.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/tbbt.Po ./$(DEPDIR)/vattr.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/vattrf.Po ./$(DEPDIR)/vconv.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/vg.Po ./$(DEPDIR)/vgf.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/vgp.Po ./$(DEPDIR)/vhi.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/vio.Po ./$(DEPDIR)/vparse.Po \
+ at AMDEP_TRUE@	./$(DEPDIR)/vrw.Po ./$(DEPDIR)/vsfld.Po
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
+F77LD = $(F77)
+F77LINK = $(F77LD) $(AM_FFLAGS) $(FFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+DIST_SOURCES = $(am__libdf_a_SOURCES_DIST)
+HEADERS = $(include_HEADERS)
 
-# ############# End of system configuration section. ###############
-HDF_FLAGS       = \
-        CC="$(CC)" \
-        CFLAGS="$(CFLAGS)" \
-        FC="$(FC)" \
-        FFLAGS="$(FFLAGS)" \
-        RANLIB="$(RANLIB)" \
-        AR="$(AR)" \
-        ARFLAGS="$(ARFLAGS)" \
-        RM="$(RM)" \
-        RMFLAGS="$(RMFLAGS)" \
-        MACHINE="$(MACHINE)" 
+DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in INSTALL \
+	Makefile.am h4config.h.in
+SOURCES = $(libdf_a_SOURCES)
 
-LOCAL_MACROS  = CC="$(CC)" \
-	CFLAGS="$(CFLAGS)" \
-	CPP="$(CPP)" \
-	CPPFLAGS="$(CPPFLAGS)" \
-	exec_prefix="$(exec_prefix)" \
-	FC="$(FC)" \
-	prefix="$(prefix)"
+all: h4config.h
+	$(MAKE) $(AM_MAKEFLAGS) all-am
 
-# ==> specify directories where to find inludes and library
-#     HDF library, and HDF utilities
-HDFINC= $(srcdir)/../src
-HDFLIB= $(srcdir)/../src
-HDFBIN= $(srcdir)/../bin
+.SUFFIXES:
+.SUFFIXES: .inc .f90 .c .f .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign  hdf/src/Makefile
+Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
 
-# ==> specify where to find the JPEG include files and library
-JPEGINC=$(srcdir)/../jpeg
-JPEGLIB=$(srcdir)/../jpeg
+h4config.h: stamp-h1
+	@if test ! -f $@; then \
+	  rm -f stamp-h1; \
+	  $(MAKE) stamp-h1; \
+	else :; fi
 
-# ==> specify where to find the Pablo include and source files 
-PABLO_HINC=$(srcdir)/../pablo
-PABLO_SRC=$(srcdir)/../pablo
+stamp-h1: $(srcdir)/h4config.h.in $(top_builddir)/config.status
+	@rm -f stamp-h1
+	cd $(top_builddir) && $(SHELL) ./config.status hdf/src/h4config.h
 
-# ==> specify where to find the FMPOOL include and source files 
-FMPOOL_INC=$(srcdir)/../fmpool
-FMPOOL_SRC=$(srcdir)/../fmpool
+$(srcdir)/h4config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOHEADER)
+	touch $(srcdir)/h4config.h.in
 
-ALL_CFLAGS = -I. $(CFLAGS) $(FMPOOL_FLAGS)
-LINTFLAGS=
-SHAR=shar
-ARCHIVE=hdf.shar
+distclean-hdr:
+	-rm -f h4config.h stamp-h1
+libLIBRARIES_INSTALL = $(INSTALL_DATA)
+install-libLIBRARIES: $(lib_LIBRARIES)
+	@$(NORMAL_INSTALL)
+	$(mkinstalldirs) $(DESTDIR)$(libdir)
+	@list='$(lib_LIBRARIES)'; for p in $$list; do \
+	  if test -f $$p; then \
+	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+	    echo " $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f"; \
+	    $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f; \
+	  else :; fi; \
+	done
+	@$(POST_INSTALL)
+	@list='$(lib_LIBRARIES)'; for p in $$list; do \
+	  if test -f $$p; then \
+	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+	    echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
+	    $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
+	  else :; fi; \
+	done
 
-MANIFEST = $(DISTFILES)
-DISTFILES = Makefile.in src.inc $(HDRS) $(CSRCS) $(FSRCS) $(FINCS) \
-	win32hdf.mak hdfnof.bld hdfnofw3.lbc hdfnofwc.lbc \
-	hdfw386.lbc hdfwcc.lbc makepc.msc makepc.386 makepc.wcc makewin.msc
+uninstall-libLIBRARIES:
+	@$(NORMAL_UNINSTALL)
+	@list='$(lib_LIBRARIES)'; for p in $$list; do \
+	  p="`echo $$p | sed -e 's|^.*/||'`"; \
+	  echo " rm -f $(DESTDIR)$(libdir)/$$p"; \
+	  rm -f $(DESTDIR)$(libdir)/$$p; \
+	done
 
-#
-#include the source file definitions
-#
-include src.inc
+clean-libLIBRARIES:
+	-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
+libdf.a: $(libdf_a_OBJECTS) $(libdf_a_DEPENDENCIES) 
+	-rm -f libdf.a
+	$(libdf_a_AR) libdf.a $(libdf_a_OBJECTS) $(libdf_a_LIBADD)
+	$(RANLIB) libdf.a
 
-HINCS = $(HDRS) $(FINCS)
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT) core *.core
 
-#.SUFFIXES:
-.SUFFIXES: .sho .c.o .f.o .c.sho .f.sho .installed .finstalled
+distclean-compile:
+	-rm -f *.tab.c
 
-# This rule causes ansi2knr to be invoked.
-#@ISANSICOM at .c.o:
-#@ISANSICOM@	./ansi2knr $(srcdir)/$*.c T$*.c
-#@ISANSICOM@	$(CC) $(CFLAGS) -c T$*.c
-#@ISANSICOM@	$(RM) $(RMFLAGS) T$*.c $*.o
-#@ISANSICOM@	$(MV) T$*.o $*.o
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/atom.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/bitvect.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/cdeflate.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/cnbit.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/cnone.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/crle.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/cskphuff.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/cszip.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/df24.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/df24f.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfan.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfanf.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfcomp.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfconv.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dff.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfgr.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfgroup.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfimcomp.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfjpeg.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfkconv.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfkcray.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfkfuji.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfknat.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfkswap.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfkvms.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfp.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfpf.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfr8.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfr8f.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfrle.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfsd.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfsdf.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfstubs.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfufp2i.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfunjpeg.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfutil.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dfutilf.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dynarray.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/glist.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hbitio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hblocks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hbuffer.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hchunks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hcomp.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hcompri.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hdfalloc.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/herr.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/herrf.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hextelt.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hfile.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hfiledd.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hfilef.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/hkit.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/linklist.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/mcache.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/mfan.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/mfanf.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/mfgr.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/mfgrf.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/mstdio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/tbbt.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vattr.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vattrf.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vconv.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vg.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vgf.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vgp.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vhi.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vparse.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vrw.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vsfld.Po at am__quote@
 
-#ansi2knr: ansi2knr.c
-#	$(CC) $(CFLAGS) $(ANSI2KNRFLAGS) -o ansi2knr ansi2knr.c
-
 .c.o:
-	$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -D_REENTRANT -c $<
+ at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
+ at am__fastdepCC_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
+ at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
+ at am__fastdepCC_TRUE@	fi
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
 
-.c.sho:
-	$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -D_REENTRANT -fPIC -o $@ -c $<
+.c.obj:
+ at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
+ at am__fastdepCC_TRUE@	  -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
+ at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
+ at am__fastdepCC_TRUE@	fi
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
 
 .f.o:
-	$(FC) $(FFLAGS) -D_REENTRANT -c $<
+	$(F77COMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
 
-.f.sho:
-	$(FC) $(FFLAGS) -D_REENTRANT -fPIC -o $@ -c $<
+.f.obj:
+	$(F77COMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+uninstall-info-am:
+includeHEADERS_INSTALL = $(INSTALL_HEADER)
+install-includeHEADERS: $(include_HEADERS)
+	@$(NORMAL_INSTALL)
+	$(mkinstalldirs) $(DESTDIR)$(includedir)
+	@list='$(include_HEADERS)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+	done
 
-# Rules to make Free format Fortran90 include files from F77 include files
-# 1) change all col. 1 [Cc] to '!'
-# 2) change all col. 6 continuation character to '&'
-#
-.SUFFIXES:	.inc .f90
+uninstall-includeHEADERS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(include_HEADERS)'; for p in $$list; do \
+	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
+	  rm -f $(DESTDIR)$(includedir)/$$f; \
+	done
 
-.inc.f90:
-	sed -e 's/^[cC]/!/' -e 's/^     [^ ]/     \&/' < $< > $*.f90
+ETAGS = etags
+ETAGSFLAGS =
 
-.PHONY : all nofortran libnostub clean distclean debug saber lint
+CTAGS = ctags
+CTAGSFLAGS =
 
+tags: TAGS
 
-all::		FORCE
-	@case "$(FC)" in \
-	NONE*|none*) \
-	    $(MAKE) $(MFLAGS) $(HDF_FLAGS) libnofortran ;; \
-	*) \
-	    $(MAKE) $(MFLAGS) $(HDF_FLAGS) rall ; \
-	esac
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
 
-rall::         FORCE
-	@if test -z "$(FMPOOL_FLAGS)"; then \
-	  $(MAKE) $(MFLAGS) $(HDF_FLAGS) libdf.a libdf.so; \
-	else		 \
-	  $(MAKE) $(MFLAGS) $(HDF_FLAGS) FMPOOL_FLAGS="$(FMPOOL_FLAGS) -I$(FMPOOL_INC)" libdf.a libdf.so; \
-	fi
+TAGS:  $(HEADERS) $(SOURCES) h4config.h.in $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS) h4config.h.in $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	     $$tags $$unique
 
-libnofortran::         FORCE
-	@if test -z "$(FMPOOL_FLAGS)"; then \
-	  $(MAKE) $(MFLAGS) $(HDF_FLAGS) nofort-libdf.a nofort-libdf.so; \
-	else		 \
-	  $(MAKE) $(MFLAGS) $(HDF_FLAGS) FMPOOL_FLAGS="$(FMPOOL_FLAGS) -I$(FMPOOL_INC)" nofort-libdf.a nofort-libdf.so; \
-	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES) h4config.h.in $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS) h4config.h.in $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
 
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
 
-libdf.a: $(COBJS) $(FOBJS)
-	-$(RM) $(RMFLAGS) libdf.a
-#	$(AR) $(ARFLAGS) libdf.a `lorder '$(COBJS) $(FOBJS)' | tsort `
-	$(AR) $(ARFLAGS) libdf.a $(COBJS) $(FOBJS)
-	$(RANLIB) libdf.a
-#	$(LD) -b -o libdf.sl $(COBJS) $(FOBJS)
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-nofort-libdf.a: $(COBJS)
-	-$(RM) $(RMFLAGS) libdf.a
-#	$(AR) $(ARFLAGS) libdf.a `lorder $(COBJS) | tsort `
-	$(AR) $(ARFLAGS) libdf.a $(COBJS)
-	$(RANLIB) libdf.a
+top_distdir = ../..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
 
-libdf.so: libdf.so.$(somajor)
-	ln -sf $^ $@
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LIBRARIES) $(HEADERS) h4config.h
 
-libdf.so.$(somajor): libdf.so.$(sominor)
-	ln -sf $^ $@
+installdirs:
+	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
 
-ifeq ($(NOFORTRANINSOLIB),)
-libdf.so.$(sominor): $(COBJS:%.o=%.sho) $(FOBJS:%.o=%.sho)
-else
-libdf.so.$(sominor): $(COBJS:%.o=%.sho)
-	@echo "### Temporary Debian hack: build solib without fortran"
-endif
-	$(CC) -shared -Wl,-soname,libdf.so.$(somajor) -o $@ $^ -lz -ljpeg -lc
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
-nofort-libdf-inst.a:   $(COBJS) $(PCOBJS)
-	-$(RM) $(RMFLAGS) libdf-inst.a libdf.a
-	$(AR) $(ARFLAGS) libdf-inst.a  $(COBJS) $(PCOBJS)
-	$(RANLIB) libdf-inst.a
-	ln -s libdf-inst.a libdf.a
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
 
+clean-generic:
 
-#libnostub nofortran: libnofortran .finstalled
-libnostub nofortran: libnofortran 
+distclean-generic:
+	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
 
-rebuild:
-	@$(MAKE) all $(HDF_FLAGS) FRC=force_rebuild
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
 
-rebuildnofortran:
-	@$(MAKE) nofortran $(MFLAGS) $(HDF_FLAGS) FRC=force_rebuild
+clean-am: clean-generic clean-libLIBRARIES mostlyclean-am
 
-# Leave this target blank with no actions, the rebuild macros above depend on it
-force_rebuild:
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
 
-$(FOBJS): $(FRC)
+distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \
+	distclean-tags
 
-#debug: libdf.a .installed
-debug: libdf.a 
+dvi: dvi-am
 
-saber:
-	#load -D$(MACHINE) $(CSRCS) $(TSRCS) -lc
+dvi-am:
 
-install: install-lib install-headers
+info: info-am
 
-install-includes: install-headers
+info-am:
 
-install-lib: install-headers
-	$(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB).n
-	( cd $(libdir) ; $(RANLIB) $(libdir)/$(TARGETLIB).n )
-	mv -f $(libdir)/$(TARGETLIB).n $(libdir)/$(TARGETLIB)
-	cp -a libdf.so* $(libdir)/
+install-data-am: install-includeHEADERS
 
-install-headers: FORCE
-	@case "$(FC)" in \
-	NONE*|none*) \
-	    $(MAKE) $(MFLAGS) $(HDF_FLAGS) install-headers-nofort;; \
-	*) \
-	    $(MAKE) $(MFLAGS) $(HDF_FLAGS) install-headers-all; \
-	esac
+install-exec-am: install-libLIBRARIES
 
-install-headers-all: $(HDRS) $(FINCS)
-	for p in $(HDRS) $(FINCS); do \
-	    $(INSTALL_DATA) \
-		`pwd`/$$p $(includedir)/$$p; \
-	done
+install-info: install-info-am
 
-install-headers-nofort: $(HDRS)
-	for p in $(HDRS); do \
-	    $(INSTALL_DATA) \
-		`pwd`/$$p $(includedir)/$$p; \
-	done
+install-man:
 
-.installed: libdf.a
-	-if (test \! -d $(HDFINC)) then (mkdir $(HDFINC) ) fi
-	-cp $(HDRS) $(FINCS) $(HDFINC)
-	-if (test \! -d $(HDFLIB)) then (mkdir $(HDFLIB) ) fi
-	-cp libdf.a $(HDFLIB)
-	-$(RANLIB) $(HDFLIB)/libdf.a
-	-touch .installed
+installcheck-am:
 
-.finstalled: libnofortran
-	-if (test \! -d $(HDFINC)) then (mkdir $(HDFINC) ) fi
-	-cp $(HDRS) $(FINCS) $(HDFINC)
-	-if (test \! -d $(HDFLIB)) then (mkdir $(HDFLIB) ) fi
-	-cp libdf.a $(HDFLIB)
-	-$(RANLIB) $(HDFLIB)/libdf.a
-	-touch .finstalled
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
 
-depend:
-	makedepend -fMakefile -- $(CSRCS)
+maintainer-clean-am: distclean-am maintainer-clean-generic
 
-clean:
-	-$(RM) $(RMFLAGS) *.o *.sho $(F90INCS) 
+mostlyclean: mostlyclean-am
 
-distclean:
-	-$(RM) $(RMFLAGS) *.o *.sho libdf.a config.status Makefile $(F90INCS) \
-		libdf.so*
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
 
-lint: $(SRCS) $(R8SRCS)
-	$(LINT) $(LINTFLAGS) $(SRCS)
+pdf: pdf-am
 
-TAGS: $(SRCS) $(HDRS)
-	etags $(SRCS) $(HDRS)
+pdf-am:
 
-# for distribution creation
-distdir = $(TOP_SRCDIR)/$(PACKAGE)-$(VERSION)/$(curdir)
-curdir = hdf/src
-dist: $(DISTFILES)
-	@for file in $(DISTFILES); do \
-	  ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
-	    || { echo copying $$file instead; \
-	    cp -p $(srcdir)/$$file $(distdir)/$$file;}; \
-	done
+ps: ps-am
 
-# for auto remaking, see toplevel Makefile
-#Makefile: $(TOP_SRCDIR)/config.status Makefile.in
-#	CONFIG_FILES=$@ CONFIG_HEADERS= $(TOP_SRCDIR)/config.status
+ps-am:
 
-# Tell versions [3.59,3.63) of GNU make not to export all variables.
+uninstall-am: uninstall-includeHEADERS uninstall-info-am \
+	uninstall-libLIBRARIES
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+	clean-libLIBRARIES ctags distclean distclean-compile \
+	distclean-generic distclean-hdr distclean-tags distdir dvi \
+	dvi-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am \
+	install-includeHEADERS install-info install-info-am \
+	install-libLIBRARIES install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
+	uninstall-am uninstall-includeHEADERS uninstall-info-am \
+	uninstall-libLIBRARIES
+
+.inc.f90:
+	if test -f $<; then                                             \
+	  sed -e 's/^[cC]/!/' -e 's/^     [^ ]/     \&/' < $< > $*.f90; \
+	else                                                            \
+	  sed -e 's/^[cC]/!/' -e 's/^     [^ ]/     \&/' < $(srcdir)/$< > $*.f90; \
+	fi
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
-
-# The following dummy target is useful as a dependency to ensure that a
-# rule is always executed.
-#
-FORCE:
-
-help:
-	@echo ""
-	@echo "Make supports the following targets"
-	@echo "make help    - prints this usage section"
-	@echo "make all     - (DEFAULT) makes HDF library"
-	@echo "make libdf.a      - makes HDF library "
-	@echo "make libnofortran - makes HDF library excluding fortran support"
-	@echo "make rebuild      - rebuilds HDF library "
-	@echo "make rebuildnofortran - rebuilds HDF library excluding"
-	@echo "                        fortran support "
-	@echo "make install          - install HDF library, "
-	@echo "                        and includes " 
-	@echo "make install-includes - install HDF includes "
-	@echo "make clean     - cleans up HDF library(*.o,libdf.a,..)"
-	@echo "make distclean - cleans up HDF library including"
-	@echo "                 configuration(Makefiles,config.status,..)"
-	@echo ""
-
-#$(ARCHIVE): ChangeLog Makefile $(SRCS) $(HDRS) $(TSRCS) $(USRCS)
-#       $(RM) $(RMFLAGS) $(ARCHIVE)
-#       $(SHAR) $(ARCHIVE) ChangeLog Makefile $(SRCS) $(HDRS) \
-#               $(TSRCS) $(USRCS)
-
-#archive: $(ARCHIVE)
-
-#backup: ChangeLog Makefile $(SRCS) $(HDRS) $(TSRCS) $(USRCS)
-#       cp ChangeLog Makefile $(SRCS) $(HDRS) $(TSRCS) $(USRCS) $(BDIR)
-
-# DO NOT DELETE THIS LINE -- make depend depends on it.
-
-hfile.o: hdf.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-hfile.o: hfile.h $(FRC)
-herr.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-herr.o: $(FRC)
-hblocks.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-hblocks.o: hfile.h $(FRC)
-hextelt.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-hextelt.o: hfile.h $(FRC)
-hkit.o: hdf.h hlimits.h hdfi.h hbitio.h
-hkit.o: hcomp.h herr.h hproto.h hfile.h hkit.h $(FRC)
-dfan.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfan.o: hfile.h dfan.h $(FRC)
-dfr8.o: hdf.h hlimits.h hdfi.h  hbitio.h hcomp.h herr.h hproto.h
-dfr8.o: dfrig.h $(FRC)
-dfcomp.o: hdf.h hlimits.h hdfi.h  hbitio.h hcomp.h herr.h hproto.h
-dfcomp.o: $(FRC)
-dfrle.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfrle.o: $(FRC)
-dfimcomp.o: hdf.h hlimits.h hdfi.h  hbitio.h hcomp.h herr.h
-dfimcomp.o: hproto.h $(FRC)
-dfjpeg.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfjpeg.o: $(FRC)
-dfunjpeg.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h
-dfunjpeg.o: hproto.h $(FRC)
-dfp.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfp.o: hfile.h $(FRC)
-dfgr.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfgr.o: dfgr.h $(FRC)
-df24.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-df24.o: dfgr.h $(FRC)
-dfsd.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfsd.o: dfsd.h hfile.h $(FRC)
-dfgroup.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfgroup.o: hfile.h $(FRC)
-dfconv.o: hdf.h hlimits.h hdfi.h hbitio.h
-dfconv.o: hcomp.h herr.h hproto.h hconv.h $(FRC)
-dfufp2i.o: hdf.h hlimits.h hdfi.h hbitio.h
-dfufp2i.o: hcomp.h herr.h hproto.h dfufp2i.h dfsd.h $(FRC)
-vg.o: vg.h hdf.h hlimits.h hdfi.h  hbitio.h hcomp.h herr.h hproto.h
-vg.o: tbbt.h $(FRC)
-vrw.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-vrw.o: vg.h tbbt.h hfile.h $(FRC)
-vio.o: vg.h hdf.h hlimits.h hdfi.h  hbitio.h hcomp.h herr.h
-vio.o: hproto.h tbbt.h hfile.h $(FRC)
-vparse.o: vg.h hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h
-vparse.o: hproto.h tbbt.h $(FRC)
-vconv.o: vg.h hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h
-vconv.o: hproto.h tbbt.h $(FRC)
-vsfld.o: vg.h hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h
-vsfld.o: hproto.h tbbt.h $(FRC)
-vgp.o: vg.h hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h
-vgp.o: hproto.h tbbt.h hfile.h $(FRC)
-vhi.o: vg.h hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h
-vhi.o: hproto.h tbbt.h $(FRC)
-dfutil.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfutil.o: $(FRC)
-dfstubs.o: dfstubs.h df.h hdf.h hlimits.h hdfi.h hbitio.h hcomp.h
-dfstubs.o: herr.h hproto.h $(FRC)
-dfknat.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfknat.o: hconv.h $(FRC)
-dfkswap.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfkswap.o: hconv.h $(FRC)
-dfkcray.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfkcray.o: hconv.h $(FRC)
-dfkvms.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfkvms.o: hconv.h $(FRC)
-dfkconv.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfkconv.o: hconv.h $(FRC)
-dfkfuji.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-dfkfuji.o: hconv.h $(FRC)
-hbitio.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-hbitio.o: hfile.h $(FRC)
-tbbt.o:  hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-tbbt.o: tbbt.h $(FRC)
-atom.o:  hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-atom.o: atom.h $(FRC)
-hdfalloc.o: hdf.h hlimits.h hdfi.h  hbitio.h
-hdfalloc.o: hcomp.h herr.h hproto.h hfile.h $(FRC)
-hcomp.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-hcomp.o: hfile.h hcompi.h mstdio.h cnone.h crle.h cnbit.h cskphuff.h cdeflate.h $(FRC)
-crle.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-crle.o: hfile.h hcompi.h mstdio.h crle.h  $(FRC)
-cnbit.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-cnbit.o: hfile.h hcompi.h mstdio.h cnbit.h $(FRC)
-mstdio.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-mstdio.o: hfile.h hcompi.h mstdio.h $(FRC)
-cnone.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-cnone.o: hfile.h hcompi.h mstdio.h cnone.h $(FRC)
-cskphuff.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-cskphuff.o: hfile.h hcompi.h mstdio.h cskphuff.h $(FRC)
-cdeflate.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-cdeflate.o: hfile.h hcompi.h mstdio.h cdeflate.h $(FRC)
-hblocks.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-hblocks.o: hfile.h $(FRC)
-mfan.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-mfan.o: hfile.h mfan.h $(FRC)
-mfanf.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-mfanf.o: hfile.h mfan.h $(FRC)
-mfgr.o: hdf.h hlimits.h hdfi.h herr.h hproto.h hfile.h mfgr.h $(FRC)
-hchunks.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-hchunks.o: hfile.h hchunks.h mcache.h hqueue.h $(FRC)
-mcache.o: hdf.h hlimits.h hdfi.h hbitio.h hcomp.h herr.h hproto.h
-mcache.o: hfile.h mcache.h hqueue.h
-vattr.o:  hdf.h hlimits.h hdfi.h herr.h hproto.h vg.h

Modified: packages/libhdf4/trunk/hdf/src/atom.c
===================================================================
--- packages/libhdf4/trunk/hdf/src/atom.c	2007-09-28 21:43:40 UTC (rev 1124)
+++ packages/libhdf4/trunk/hdf/src/atom.c	2007-09-28 21:58:13 UTC (rev 1125)
@@ -11,11 +11,11 @@
  ****************************************************************************/
 
 #ifdef RCSID
-static char RcsId[] = "@(#)$Revision: 1.7 $";
+static char RcsId[] = "@(#)$Revision: 1.9 $";
 #endif
 
 
-/* $Id: atom.c,v 1.7 1999/06/16 21:10:38 dwells Exp $ */
+/* $Id: atom.c,v 1.9 2005/01/09 20:53:43 mcgrath Exp $ */
 
 /*
 FILE
@@ -64,9 +64,6 @@
 #include "atom.h"
 #include <assert.h>
 
-#ifdef HAVE_PABLO
-#define PABLO_mask ID_atom_c
-#endif
 /* Private function prototypes */
 static atom_info_t *HAIfind_atom(atom_t atm);
 
@@ -96,10 +93,6 @@
     atom_group_t *grp_ptr=NULL;     /* ptr to the atomic group */
     intn ret_value=SUCCEED;
 
-#ifdef HAVE_PABLO
-    TRACE_ON(PABLO_mask, ID_HAinit_group);
-#endif /* HAVE_PABLO */
-
     HEclear();
     if((grp<=BADGROUP || grp>=MAXGROUP) && hash_size>0)
         HGOTO_ERROR(DFE_ARGS, FAIL);
@@ -110,16 +103,7 @@
 #endif /* ATOMS_CACHE_INLINE */
 
 #ifdef HASH_SIZE_POWER_2
-    /* If anyone knows a faster test for a power of two, please change this silly code -QAK */
-    if(!(hash_size==2 || hash_size==4 || hash_size==8 || hash_size==16
-            || hash_size==32 || hash_size==64 || hash_size==128 || hash_size==256
-            || hash_size==512 || hash_size==1024 || hash_size==2048
-            || hash_size==4096 || hash_size==8192 || hash_size==16374
-            || hash_size==32768 || hash_size==65536 || hash_size==131072
-            || hash_size==262144 || hash_size==524288 || hash_size==1048576
-            || hash_size==2097152 || hash_size==4194304 || hash_size==8388608
-            || hash_size==16777216 || hash_size==33554432 || hash_size==67108864
-            || hash_size==134217728 || hash_size==268435456))
+    if(hash_size & (hash_size-1))
         HGOTO_ERROR(DFE_ARGS, FAIL);
 #endif /* HASH_SIZE_POWER_2 */
 
@@ -160,9 +144,6 @@
     } /* end if */
 
   /* Normal function cleanup */
-#ifdef HAVE_PABLO
-    TRACE_OFF(PABLO_mask, ID_HAinit_group);
-#endif /* HAVE_PABLO */
 
   return ret_value;
 }   /* end HAinit_group() */
@@ -188,10 +169,6 @@
     atom_group_t *grp_ptr=NULL;     /* ptr to the atomic group */
     intn ret_value=SUCCEED;
 
-#ifdef HAVE_PABLO
-    TRACE_ON(PABLO_mask, ID_HAdestroy_group);
-#endif /* HAVE_PABLO */
-
     HEclear();
     if(grp<=BADGROUP || grp>=MAXGROUP)
         HGOTO_ERROR(DFE_ARGS, FAIL);
@@ -228,9 +205,6 @@
     } /* end if */
 
   /* Normal function cleanup */
-#ifdef HAVE_PABLO
-    TRACE_OFF(PABLO_mask, ID_HAdestroy_group);
-#endif /* HAVE_PABLO */
 
   return ret_value;
 }   /* end HAdestroy_group() */
@@ -262,10 +236,6 @@
     uintn hash_loc;                 /* new item's hash table location */
     atom_t ret_value=SUCCEED;
 
-#ifdef HAVE_PABLO
-    TRACE_ON(PABLO_mask, ID_HAregister_atom);
-#endif /* HAVE_PABLO */
-
     HEclear();
     if(grp<=BADGROUP || grp>=MAXGROUP)
         HGOTO_ERROR(DFE_ARGS, FAIL);
@@ -302,9 +272,6 @@
     } /* end if */
 
   /* Normal function cleanup */
-#ifdef HAVE_PABLO
-    TRACE_OFF(PABLO_mask, ID_HAregister_atom);
-#endif /* HAVE_PABLO */
 
   return ret_value;
 }   /* end HAregister_atom() */
@@ -337,10 +304,6 @@
     atom_info_t *atm_ptr=NULL;      /* ptr to the new atom */
     VOIDP ret_value=NULL;
 
-#ifdef HAVE_PABLO
-    TRACE_ON(PABLO_mask, ID_HAatom_object);
-#endif /* HAVE_PABLO */
-
     HEclear();
 
 #ifndef ATOMS_CACHE_INLINE
@@ -380,9 +343,6 @@
     } /* end if */
 
   /* Normal function cleanup */
-#ifdef HAVE_PABLO
-    TRACE_OFF(PABLO_mask, ID_HAatom_object);
-#endif /* HAVE_PABLO */
 
   return ret_value;
 }   /* end HAatom_object() */
@@ -404,10 +364,6 @@
     CONSTR(FUNC, "HAatom_group");	/* for HERROR */
     group_t ret_value=BADGROUP;
 
-#ifdef HAVE_PABLO
-    TRACE_ON(PABLO_mask, ID_HAatom_group);
-#endif /* HAVE_PABLO */
-
     HEclear();
     ret_value=ATOM_TO_GROUP(atm);
     if(ret_value<=BADGROUP || ret_value>=MAXGROUP)
@@ -420,9 +376,6 @@
     } /* end if */
 
   /* Normal function cleanup */
-#ifdef HAVE_PABLO
-    TRACE_OFF(PABLO_mask, ID_HAatom_group);
-#endif /* HAVE_PABLO */
 
   return ret_value;
 }   /* end HAatom_group() */
@@ -452,10 +405,6 @@
 #endif /* ATOMS_ARE_CACHED */
     VOIDP ret_value=NULL;
 
-#ifdef HAVE_PABLO
-    TRACE_ON(PABLO_mask, ID_HAremove_atom);
-#endif /* HAVE_PABLO */
-
     HEclear();
     grp=ATOM_TO_GROUP(atm);
     if(grp<=BADGROUP || grp>=MAXGROUP)
@@ -513,9 +462,6 @@
     } /* end if */
 
   /* Normal function cleanup */
-#ifdef HAVE_PABLO
-    TRACE_OFF(PABLO_mask, ID_HAremove_atom);
-#endif /* HAVE_PABLO */
 
   return ret_value;
 }   /* end HAremove_atom() */
@@ -545,10 +491,6 @@
     intn i;                         /* local counting variable */
     void * ret_value=NULL;
 
-#ifdef HAVE_PABLO
-    TRACE_ON(PABLO_mask, ID_HAsearch_atom);
-#endif /* HAVE_PABLO */
-
     HEclear();
     if(grp<=BADGROUP || grp>=MAXGROUP)
         HGOTO_ERROR(DFE_ARGS, NULL);
@@ -576,9 +518,6 @@
     } /* end if */
 
   /* Normal function cleanup */
-#ifdef HAVE_PABLO
-    TRACE_OFF(PABLO_mask, ID_HAsearch_atom);
-#endif /* HAVE_PABLO */
 
   return ret_value;
 }   /* end HAsearch_atom() */

Copied: packages/libhdf4/trunk/hdf/src/cszip.c (from rev 832, packages/libhdf4/branches/upstream/current/hdf/src/cszip.c)
===================================================================
--- packages/libhdf4/trunk/hdf/src/cszip.c	                        (rev 0)
+++ packages/libhdf4/trunk/hdf/src/cszip.c	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,1080 @@
+/****************************************************************************
+ * NCSA HDF                                                                 *
+ * Software Development Group                                               *
+ * National Center for Supercomputing Applications                          *
+ * University of Illinois at Urbana-Champaign                               *
+ * 605 E. Springfield, Champaign IL 61820                                   *
+ *                                                                          *
+ * For conditions of distribution and use, see the accompanying             *
+ * hdf/COPYING file.                                                        *
+ *                                                                          *
+ ****************************************************************************/
+
+#ifdef RCSID
+static char RcsId[] = "@(#)$Revision: 1.9 $";
+#endif
+
+/* $Id: cszip.c,v 1.9 2005/01/08 20:12:34 mcgrath Exp $ */
+
+/* General HDF includes */
+
+#include "hdf.h"
+
+#ifdef H4_HAVE_LIBSZ
+#include "szlib.h"
+#endif
+
+#define CSZIP_MASTER
+#define CODER_CLIENT
+/* HDF compression includes */
+#include "hcompi.h"     /* Internal definitions for compression */
+
+/* internal defines */
+#define TMP_BUF_SIZE    8192    /* size of throw-away buffer */
+
+/* declaration of the functions provided in this module */
+PRIVATE int32 HCIcszip_staccess
+            (accrec_t * access_rec, int16 acc_mode);
+
+PRIVATE int32 HCIcszip_init
+            (accrec_t * access_rec);
+
+PRIVATE int32 HCIcszip_decode
+            (compinfo_t * info, int32 length, uint8 *buf);
+
+PRIVATE int32 HCIcszip_encode
+            (compinfo_t * info, int32 length, const uint8 *buf);
+
+PRIVATE int32 HCIcszip_term
+            (compinfo_t * info);
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCIcszip_init -- Initialize a SZIP compressed data element.
+
+ USAGE
+    int32 HCIcszip_init(access_rec)
+    accrec_t *access_rec;   IN: the access record of the data element
+
+ RETURNS
+    Returns SUCCEED or FAIL
+
+ DESCRIPTION
+    Common code called by HCIcszip_staccess and HCIcszip_seek
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+PRIVATE int32
+HCIcszip_init(accrec_t * access_rec)
+{
+    CONSTR(FUNC, "HCIcszip_init");
+    compinfo_t *info;           /* special element information */
+    comp_coder_szip_info_t *szip_info;    /* ptr to SZIP info */
+
+#ifndef H4_HAVE_LIBSZ
+    HRETURN_ERROR(DFE_CANTCOMP, FAIL);
+#endif
+
+    info = (compinfo_t *) access_rec->special_info;
+    if (Hseek(info->aid, 0, DF_START) == FAIL)  /* seek to beginning of element */
+        HRETURN_ERROR(DFE_SEEKERROR, FAIL);
+
+    szip_info = &(info->cinfo.coder_info.szip_info);
+
+    /* Initialize SZIP state information */
+    szip_info->szip_state = SZIP_INIT;     /* start in initial state */
+    if (szip_info->buffer_size != 0) {
+        szip_info->buffer_size = 0;   /* offset into the file */
+        if (szip_info->buffer != NULL) {
+		HDfree(szip_info->buffer);
+		szip_info->buffer = NULL;
+        }
+    }
+    szip_info->offset = 0;   /* offset into the file */
+    szip_info->szip_dirty=SZIP_CLEAN;
+
+    return (SUCCEED);
+}   /* end HCIcszip_init() */
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCIcszip_decode -- Decode SZIP compressed data into a buffer.
+
+ USAGE
+    int32 HCIcszip_decode(info,length,buf)
+    compinfo_t *info;   IN: the info about the compressed element
+    int32 length;       IN: number of bytes to read into the buffer
+    uint8 *buf;         OUT: buffer to store the bytes read
+
+ RETURNS
+    Returns SUCCEED or FAIL
+
+ DESCRIPTION
+    Common code called to decode SZIP data from the file.
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+PRIVATE int32
+HCIcszip_decode(compinfo_t * info, int32 length, uint8 *buf)
+{
+    CONSTR(FUNC, "HCIcszip_decode");
+    accrec_t *access_rec;
+    comp_coder_szip_info_t *szip_info;    /* ptr to SZIP info */
+    uint8 *in_buffer;
+    uint8 *out_buffer;
+    int32 in_length;
+    int32 out_length;
+    int bytes_per_pixel;
+    int32 rbytes;
+    uint16 tag,ref;
+    int32 len1;
+    int32 aid;
+    int32 status;
+    size_t size_out;
+    uint8 *cp;
+    int32 good_bytes;
+    int32 old_way;
+#ifdef H4_HAVE_LIBSZ
+    SZ_com_t sz_param;
+#endif
+
+#ifdef H4_HAVE_LIBSZ
+
+    szip_info = &(info->cinfo.coder_info.szip_info);
+    if (szip_info->szip_state == SZIP_INIT) {
+	/*  Load from disk, decode the data */
+
+	if ((access_rec = HAatom_object(info->aid)) == NULL)    /* get the access_rec pointer */
+	    HRETURN_ERROR(DFE_ARGS, FAIL);
+
+	/* Discover how much data must be read */
+	if(HTPinquire(access_rec->ddid,&tag,&ref,NULL,&in_length)==FAIL)
+		HRETURN_ERROR(DFE_INTERNAL, FAIL);
+
+        if (in_length == -1)
+		HRETURN_ERROR(DFE_INTERNAL, FAIL);
+
+        if (tag & 0x4000) {
+	    /* this is linked list -- get the length of the data */
+            aid = Hstartread(access_rec->file_id, tag, ref);
+            if (HDinqblockinfo(aid, &len1, NULL, NULL, NULL) == FAIL) {
+	       Hendaccess(aid);
+	       HRETURN_ERROR(DFE_INTERNAL, FAIL);
+            }
+            in_length = len1; 
+	    Hendaccess(aid);
+        }
+
+	old_way = (int)(szip_info->options_mask & SZ_H4_REV_2);
+	if (old_way == 0) {
+		/* special case: read data encoded in V4.2r0 */
+		old_way = 1;
+		good_bytes = in_length;
+                in_length = in_length+5;
+	        if ((in_buffer = (uint8 *) HDmalloc(in_length)) == NULL)
+    	           HRETURN_ERROR(DFE_NOSPACE, FAIL);
+		cp = in_buffer;
+		*cp = 0;
+		cp++;
+		INT32ENCODE(cp, good_bytes);
+	} else {
+		/*  V4.2r1: in_length is correct */
+		old_way = 0;
+	        if ((in_buffer = (uint8 *) HDmalloc(in_length)) == NULL)
+    	           HRETURN_ERROR(DFE_NOSPACE, FAIL);
+	}
+
+        /* Allocate memory for the uncompressed data */
+	bytes_per_pixel = (szip_info->bits_per_pixel + 7) >> 3;
+	if (bytes_per_pixel == 3)
+		bytes_per_pixel++;
+
+        out_length = szip_info->pixels * bytes_per_pixel;
+	if ((out_buffer = (uint8 *) HDmalloc(out_length)) == NULL)
+		HRETURN_ERROR(DFE_NOSPACE, FAIL);
+
+	/* Read the unompressed data */
+	if (old_way == 1) {
+		/* this is encoded in V4.2r0 */
+		/* the preamble isn't in the file, so read only the data */
+		if ((rbytes = Hread(info->aid, in_length-5, in_buffer+5)) == FAIL)
+		{
+			HDfree(out_buffer);
+			HDfree(in_buffer);
+			HRETURN_ERROR(DFE_READERROR, FAIL);
+		}
+		if (rbytes == 0 || rbytes != (in_length - 5)) {
+			/* is this possible? */
+			HDfree(out_buffer);
+			HDfree(in_buffer);
+			HRETURN_ERROR(DFE_READERROR, FAIL);
+		}
+	} else {
+		/* HDF4.2R1: read the data plus preamble */
+		if ((rbytes = Hread(info->aid, in_length, in_buffer)) == FAIL)
+		{
+			HDfree(out_buffer);
+			HDfree(in_buffer);
+			HRETURN_ERROR(DFE_READERROR, FAIL);
+		}
+		if (rbytes == 0 || rbytes != in_length) {
+			/* is this possible? */
+			HDfree(out_buffer);
+			HDfree(in_buffer);
+			HRETURN_ERROR(DFE_READERROR, FAIL);
+		}
+	}
+        cp = in_buffer;
+        cp++;
+        INT32DECODE(cp, good_bytes);
+	if (in_buffer[0] == 1) {
+           /* This byte means the data was not compressed -- just copy out */
+	    szip_info->szip_state = SZIP_RUN;
+	    HDmemcpy(out_buffer, in_buffer+5, good_bytes);
+	    szip_info->buffer = out_buffer;
+	    szip_info->buffer_pos = 0;
+	    szip_info->buffer_size = good_bytes;
+	    szip_info->offset = 0;
+	    if (good_bytes > length) {
+		/* partial read */
+		HDmemcpy(buf, in_buffer+5, length);
+	        szip_info->buffer_pos += length;
+	        szip_info->buffer_size -= length;
+	    } else {
+		/* read the whole data block to the user buffer */
+		HDmemcpy(buf, in_buffer+5, good_bytes);
+	        szip_info->buffer_pos += good_bytes;
+	        szip_info->buffer_size -= good_bytes;
+	    }
+	    szip_info->offset = szip_info->buffer_pos;
+	    HDfree(in_buffer);
+	    if (szip_info->buffer_size == 0) {
+		if (szip_info->buffer != NULL) {
+		   HDfree(szip_info->buffer);
+		   szip_info->buffer = NULL;
+		}
+	    }
+	    return (SUCCEED);
+        }
+
+	/* Decompress the data */
+     
+        /* set up the parameters */
+	sz_param.options_mask = (szip_info->options_mask & ~SZ_H4_REV_2);
+	sz_param.bits_per_pixel = szip_info->bits_per_pixel;
+	sz_param.pixels_per_block = szip_info->pixels_per_block;
+	sz_param.pixels_per_scanline = szip_info->pixels_per_scanline;
+	size_out = out_length;
+	if(SZ_OK!= (status = SZ_BufftoBuffDecompress(out_buffer, &size_out, (in_buffer+5), good_bytes, &sz_param)))
+         {
+		HDfree(out_buffer);
+		HDfree(in_buffer);
+		HRETURN_ERROR(DFE_CDECODE, FAIL);
+        }
+
+	if (size_out != out_length) {
+	   /* This should never happen?? */
+	   printf("status: %d ??bytes != out_length %d != %d\n",status,size_out,out_length);
+	}
+
+        /* The data is successfully decompressed. Put into the szip struct */
+	 HDfree(in_buffer);
+	 szip_info->szip_state = SZIP_RUN;
+	 szip_info->buffer = out_buffer;
+	 szip_info->buffer_pos = 0;
+	 szip_info->buffer_size = out_length;
+	 szip_info->offset = 0;
+    }
+
+   /* copy the data into the return buffer */
+    if (length > szip_info->buffer_size)
+    {	
+        /*  can't happen?? panic?? */
+	if (szip_info->buffer != NULL) {
+            HDfree(szip_info->buffer);
+	    szip_info->buffer = NULL;
+        } 
+        return (FAIL);
+    }
+
+    HDmemcpy(buf, szip_info->buffer + szip_info->buffer_pos, length);
+    szip_info->buffer_pos += length;
+    szip_info->buffer_size -= length;
+    szip_info->offset = szip_info->buffer_pos;
+
+    if (szip_info->buffer_size == 0) {
+       if (szip_info->buffer != NULL) {
+  	    HDfree(szip_info->buffer);
+	    szip_info->buffer = NULL;
+       }
+    }
+
+    return (SUCCEED);
+
+#else /* ifdef H4_HAVE_LIBSZ */
+
+    HRETURN_ERROR(DFE_CANTCOMP, FAIL);
+
+#endif /* H4_HAVE_LIBSZ */
+
+}   /* end HCIcszip_decode() */
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCIcszip_encode -- Encode data from a buffer into SZIP compressed data
+
+ USAGE
+    int32 HCIcszip_encode(info,length,buf)
+    compinfo_t *info;   IN: the info about the compressed element
+    int32 length;       IN: number of bytes to store from the buffer
+    const uint8 *buf;         OUT: buffer to get the bytes from
+
+ RETURNS
+    Returns SUCCEED or FAIL
+
+ DESCRIPTION
+    Common code called to encode SZIP data into a file.
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+PRIVATE int32
+HCIcszip_encode(compinfo_t * info, int32 length, const uint8 *buf)
+{
+    CONSTR(FUNC, "HCIcszip_encode");
+    int bytes_per_pixel;
+    comp_coder_szip_info_t *szip_info;    /* ptr to SZIP info */
+    int32 buffer_size;
+
+#ifdef H4_HAVE_LIBSZ
+    if (SZ_encoder_enabled() == 0) 
+        HRETURN_ERROR(DFE_NOENCODER, FAIL);
+
+    szip_info = &(info->cinfo.coder_info.szip_info);
+    if (szip_info->szip_state == SZIP_INIT) {
+	/* Need to initialize */
+	bytes_per_pixel = (szip_info->bits_per_pixel + 7) >> 3;
+	if (bytes_per_pixel == 3)
+		bytes_per_pixel = 4;
+
+	buffer_size = szip_info->pixels * bytes_per_pixel;
+	if ((szip_info->buffer = HDmalloc(buffer_size)) == NULL)
+			HRETURN_ERROR(DFE_NOSPACE, FAIL);
+	
+	szip_info->buffer_size = buffer_size;
+	szip_info->buffer_pos = 0;
+	szip_info->szip_state = SZIP_RUN;
+    }
+
+    /* copy the data into the buffer.  This wil be written in 'term' function */
+    HDmemcpy(szip_info->buffer + szip_info->buffer_pos, buf, length);
+    szip_info->buffer_pos += length;
+    szip_info->buffer_size -= length;
+    szip_info->offset = szip_info->buffer_pos; 
+    szip_info->szip_dirty=SZIP_DIRTY;
+
+    return (SUCCEED);
+
+#else /* ifdef H4_HAVE_LIBSZ */
+
+    HRETURN_ERROR(DFE_CANTDECOMP, FAIL);
+
+#endif /* H4_HAVE_LIBSZ */
+
+}   /* end HCIcszip_encode() */
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCIcszip_term -- Flush encoded data from internal buffer to SZIP compressed data
+
+ USAGE
+    int32 HCIcszip_term(info)
+    compinfo_t *info;   IN: the info about the compressed element
+
+ RETURNS
+    Returns SUCCEED or FAIL
+
+ DESCRIPTION
+    Common code called to flush SZIP data into a file.
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+PRIVATE int32
+HCIcszip_term(compinfo_t * info)
+{
+    CONSTR(FUNC, "HCIcszip_term");
+    comp_coder_szip_info_t *szip_info;    /* ptr to SZIP info */
+    uint8 *out_buffer;
+    uint8 *ob;
+    int32 out_buffer_size;
+    int bytes_per_pixel;
+    int32 current_size;
+    accrec_t *access_rec;
+    uint16 tag,ref;
+    int32 len1;
+    int32 aid;
+#ifdef H4_HAVE_LIBSZ
+    SZ_com_t sz_param;
+#endif
+    size_t size_out;
+    int32 status;
+    uint8 *cp;
+
+#ifdef H4_HAVE_LIBSZ
+
+    szip_info = &(info->cinfo.coder_info.szip_info);
+    if (szip_info->szip_state != SZIP_RUN)
+	return (SUCCEED); /* nothing to do */
+
+    if (szip_info->szip_dirty != SZIP_DIRTY) /* Should never happen?? */
+    {
+	    if (szip_info->buffer_size == 0) {
+                if (szip_info->buffer != NULL) {
+		    HDfree(szip_info->buffer);
+	            szip_info->buffer = NULL;
+                }
+            }
+	return (SUCCEED);
+    }
+
+    szip_info->szip_state = SZIP_TERM;
+
+    current_size = 0;
+    if ((access_rec = HAatom_object(info->aid)) == NULL)    /* get the access_rec pointer */
+		HRETURN_ERROR(DFE_INTERNAL, FAIL);
+
+    /* Discover how much data must be read */
+    if(HTPinquire(access_rec->ddid,&tag,&ref,NULL, &current_size)==FAIL)
+	HRETURN_ERROR(DFE_INTERNAL, FAIL);
+    if (tag & 0x4000) {
+    /* this is linked list -- get the length of the data */
+        aid = Hstartread(access_rec->file_id, tag, ref);
+        if (HDinqblockinfo(aid, &len1, NULL, NULL, NULL) == FAIL) 
+        {
+            Hendaccess(aid);
+	    HRETURN_ERROR(DFE_INTERNAL, FAIL);
+        }
+        current_size = len1; 
+	Hendaccess(aid);
+    }
+
+   /* Compute how much memory is needed to hold compressed data */
+    bytes_per_pixel = (szip_info->bits_per_pixel + 7) >> 3;
+    if (bytes_per_pixel == 3)
+	bytes_per_pixel = 4;
+
+    /* temporary buffer for compression -- leave extra space in case of
+          overflow in the SZIP algorithm. (This number corresponds to
+          the current internal buffer of szip lib.)  Sigh. */
+    /* allocate one byte to indicate when data is written uncompressed */
+    /* allocate 4 bytes to store the amount of data written:  
+        after compression may be less than the previous size  */
+    out_buffer_size = (szip_info->pixels * 2 * bytes_per_pixel) + 5;
+
+    /* heuristic for tiny data -- really shouldn't compress stuff this small,
+       but there isn't any way to prevent it from getting here */
+    if (out_buffer_size < 1024) out_buffer_size = 1024;
+    if ((out_buffer = HDmalloc(out_buffer_size)) == NULL)
+		HRETURN_ERROR(DFE_NOSPACE, FAIL);
+
+    /* set parms */
+    sz_param.options_mask = szip_info->options_mask;
+    sz_param.bits_per_pixel = szip_info->bits_per_pixel;
+    sz_param.pixels_per_block = szip_info->pixels_per_block;
+    sz_param.pixels_per_scanline = szip_info->pixels_per_scanline;
+    size_out = out_buffer_size - 5;
+
+    *out_buffer=0;
+    if(SZ_OK!= (status =SZ_BufftoBuffCompress((out_buffer+5), &size_out, szip_info->buffer, szip_info->buffer_pos, &sz_param)))
+    {
+       /* Compression Failed.  Analyse several cases, and clean up the mess */
+	if (size_out > out_buffer_size) {
+                /* Should never happen */
+		printf("PANIC: overwrote memory\n");fflush(stdout);
+	}
+	if (status == 2/*SZ_OUTBUF_FULL*/) {
+            /* SZIP internal overflow: data not successfully compressed */
+            /* Write out the uncompressed data */
+	    *out_buffer=1;  /* 1 = don't decompress */
+            cp = out_buffer;
+            cp++;
+            INT32ENCODE(cp, szip_info->buffer_pos);
+	    HDmemcpy((out_buffer+5), szip_info->buffer, szip_info->buffer_pos);
+	    HDfree(out_buffer);
+	    szip_info->szip_dirty=SZIP_CLEAN;
+			
+	    if (szip_info->buffer_size == 0) {
+	        if (szip_info->buffer != NULL)  {
+		    HDfree(szip_info->buffer);
+	            szip_info->buffer = NULL;
+                }
+            }
+	    return (SUCCEED);
+	 } 
+
+	  /* compress failed, return error */
+          szip_info->szip_dirty=SZIP_CLEAN;
+          HDfree(out_buffer);
+	  if (szip_info->buffer_size == 0) {
+	        if (szip_info->buffer != NULL)  {
+		    HDfree(szip_info->buffer);
+	            szip_info->buffer = NULL;
+                }
+          }
+	  HRETURN_ERROR(DFE_CENCODE, FAIL);
+	}
+
+        /* Compression Succeeded, write out the compressed data */
+
+	if (size_out >= out_buffer_size) 
+		printf("PANIC: overwrote memory but returned OK?\n");fflush(stdout);
+	if (size_out > (szip_info->pixels * bytes_per_pixel)) {
+            /* The compression succeeded, but is larger than the original data! */
+	    /*  Write the original data, discard the output  */
+	    *out_buffer=1;  /* 1 = don't decompress */
+            cp = out_buffer;
+            cp++;
+            INT32ENCODE(cp, szip_info->buffer_pos);
+	    HDmemcpy((out_buffer+5), szip_info->buffer, szip_info->buffer_pos);
+	    Hwrite(info->aid, (szip_info->buffer_pos+5), out_buffer);
+	    szip_info->szip_dirty=SZIP_CLEAN;
+	    HDfree(out_buffer);
+	    if (szip_info->buffer_size == 0) {
+	        if (szip_info->buffer != NULL) {
+		    HDfree(szip_info->buffer);
+	            szip_info->buffer = NULL;
+                }
+            }
+	    return (SUCCEED);
+	}
+
+      if ((current_size > 0) && ((size_out+5) < current_size)) {
+            /* SZIP freaks out if there is junk at the end of the good data */
+            /* need to have enough data to overwrite the existing data */
+            /* allocate a buffer, fill in the good data. The rest must be
+                zeroes */
+            if ((ob = HDmalloc(current_size)) == NULL)
+		HRETURN_ERROR(DFE_NOSPACE, FAIL);
+	    *ob=0;  /* data needs to be decompressed */
+            cp = ob;
+            cp++;
+            INT32ENCODE(cp, size_out); /* how much to decompress  (< total size)*/
+	    HDmemcpy((ob+5), out_buffer+5, size_out);
+	    Hwrite(info->aid, current_size, ob);  /* write out at least 'current_size' bytes */
+	    szip_info->szip_dirty=SZIP_CLEAN;
+	    HDfree(out_buffer);
+	    HDfree(ob);
+	    if (szip_info->buffer_size == 0) {
+	        if (szip_info->buffer != NULL)  {
+		    HDfree(szip_info->buffer);
+	            szip_info->buffer = NULL;
+                }
+            }
+	    return (SUCCEED);
+     } 
+
+      /* Finally!  Write the compressed data. Byte 0 is '0' */ 
+    *out_buffer=0;   /* data needs to be decompressed */
+    cp = out_buffer;
+    cp++;
+    INT32ENCODE(cp, size_out);   /* whole bufer needs to be decompressed */
+    status = Hwrite(info->aid, size_out+5, out_buffer);
+
+    szip_info->szip_dirty=SZIP_CLEAN;
+    if (szip_info->buffer_size == 0) {
+	if (szip_info->buffer != NULL) {
+	    HDfree(szip_info->buffer);
+	    szip_info->buffer = NULL;
+        }
+    }
+    HDfree(out_buffer);
+
+    return (SUCCEED);
+
+#else /* H4_HAVE_LIBSZ */
+
+    HRETURN_ERROR(DFE_CANTCOMP, FAIL);
+
+#endif /* H4_HAVE_LIBSZ */
+
+}   /* end HCIcszip_term() */
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCIcszip_staccess -- Start accessing a SZIP compressed data element.
+
+ USAGE
+    int32 HCIcszip_staccess(access_rec, access)
+    accrec_t *access_rec;   IN: the access record of the data element
+    int16 access;           IN: the type of access wanted
+
+ RETURNS
+    Returns SUCCEED or FAIL
+
+ DESCRIPTION
+    Common code called by HCIcszip_stread and HCIcszip_stwrite
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+PRIVATE int32
+HCIcszip_staccess(accrec_t * access_rec, int16 acc_mode)
+{
+    CONSTR(FUNC, "HCIcszip_staccess");
+    compinfo_t *info;           /* special element information */
+
+#ifdef H4_HAVE_LIBSZ
+
+    info = (compinfo_t *) access_rec->special_info;
+
+    if (acc_mode == DFACC_READ)
+        info->aid = Hstartread(access_rec->file_id, DFTAG_COMPRESSED,
+                               info->comp_ref);
+    else
+	{
+	    if (SZ_encoder_enabled() == 0) 
+		HRETURN_ERROR(DFE_NOENCODER, FAIL);
+	    info->aid = Hstartaccess(access_rec->file_id, DFTAG_COMPRESSED,
+                       info->comp_ref, DFACC_RDWR|DFACC_APPENDABLE);
+	}
+
+    if (info->aid == FAIL)
+        HRETURN_ERROR(DFE_DENIED, FAIL);
+
+    return (HCIcszip_init(access_rec));  /* initialize the SZIP info */
+
+#else /* H4_HAVE_LIBSZ */
+
+    HRETURN_ERROR(DFE_DENIED, FAIL);
+
+#endif /* H4_HAVE_LIBSZ */
+
+}   /* end HCIcszip_staccess() */
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCPcszip_stread -- start read access for compressed file
+
+ USAGE
+    int32 HCPcszip_stread(access_rec)
+    accrec_t *access_rec;   IN: the access record of the data element
+
+ RETURNS
+    Returns SUCCEED or FAIL
+
+ DESCRIPTION
+    Start read access on a compressed data element using a simple SZIP scheme.
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+int32
+HCPcszip_stread(accrec_t * access_rec)
+{
+    CONSTR(FUNC, "HCPcszip_stread");
+    int32       ret;
+
+    if ((ret = HCIcszip_staccess(access_rec, DFACC_READ)) == FAIL)
+        HRETURN_ERROR(DFE_CINIT, FAIL);
+    return (ret);
+}   /* HCPcszip_stread() */
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCPcszip_stwrite -- start write access for compressed file
+
+ USAGE
+    int32 HCPcszip_stwrite(access_rec)
+    accrec_t *access_rec;   IN: the access record of the data element
+
+ RETURNS
+    Returns SUCCEED or FAIL
+
+ DESCRIPTION
+    Start write access on a compressed data element using a simple SZIP scheme.
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+int32
+HCPcszip_stwrite(accrec_t * access_rec)
+{
+    CONSTR(FUNC, "HCPcszip_stwrite");
+    int32       ret;
+
+    if ((ret = HCIcszip_staccess(access_rec, DFACC_WRITE)) == FAIL)
+        HRETURN_ERROR(DFE_CINIT, FAIL);
+    return (ret);
+}   /* HCPcszip_stwrite() */
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCPcszip_seek -- Seek to offset within the data element
+
+ USAGE
+    int32 HCPcszip_seek(access_rec,offset,origin)
+    accrec_t *access_rec;   IN: the access record of the data element
+    int32 offset;       IN: the offset in bytes from the origin specified
+    intn origin;        IN: the origin to seek from [UNUSED!]
+
+ RETURNS
+    Returns SUCCEED or FAIL
+
+ DESCRIPTION
+    Seek to a position with a compressed data element.  The 'origin'
+    calculations have been taken care of at a higher level, it is an
+    un-used parameter.  The 'offset' is used as an absolute offset
+    because of this.
+
+    COMMENT:
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+int32
+HCPcszip_seek(accrec_t * access_rec, int32 offset, int origin)
+{
+    CONSTR(FUNC, "HCPcszip_seek");
+    compinfo_t *info;           /* special element information */
+    comp_coder_szip_info_t *szip_info;    /* ptr to SZIP info */
+    uint8      *tmp_buf;        /* pointer to throw-away buffer */
+
+    /* shut compiler up */
+    origin = origin;
+
+    info = (compinfo_t *) access_rec->special_info;
+    szip_info = &(info->cinfo.coder_info.szip_info);
+
+    if (offset < szip_info->offset)
+      {     /* need to seek from the beginning */
+          if (szip_info->szip_dirty == SZIP_DIRTY && szip_info->szip_state != SZIP_INIT)
+{
+              if (HCIcszip_term(info) == FAIL)
+                  HRETURN_ERROR(DFE_CTERM, FAIL);
+}
+          if (HCIcszip_init(access_rec) == FAIL)
+              HRETURN_ERROR(DFE_CINIT, FAIL);
+      }     /* end if */
+
+    if ((tmp_buf = (uint8 *) HDmalloc(TMP_BUF_SIZE)) == NULL)     /* get tmp buffer */
+        HRETURN_ERROR(DFE_NOSPACE, FAIL);
+
+    while (szip_info->offset + TMP_BUF_SIZE < offset)    /* grab chunks */
+    {
+        if (HCIcszip_decode(info, TMP_BUF_SIZE, tmp_buf) == FAIL)
+          {
+              HDfree(tmp_buf);
+              HRETURN_ERROR(DFE_CDECODE, FAIL)
+          }     /* end if */
+    }
+    if (szip_info->offset < offset)  /* grab the last chunk */
+    {
+        if (HCIcszip_decode(info, offset - szip_info->offset, tmp_buf) == FAIL)
+          {
+              HDfree(tmp_buf);
+              HRETURN_ERROR(DFE_CDECODE, FAIL)
+          }     /* end if */
+    }
+
+    HDfree(tmp_buf);
+    return (SUCCEED);
+}   /* HCPcszip_seek() */
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCPcszip_read -- Read in a portion of data from a compressed data element.
+
+ USAGE
+    int32 HCPcszip_read(access_rec,length,data)
+    accrec_t *access_rec;   IN: the access record of the data element
+    int32 length;           IN: the number of bytes to read
+    void * data;             OUT: the buffer to place the bytes read
+
+ RETURNS
+    Returns the number of bytes read or FAIL
+
+ DESCRIPTION
+    Read in a number of bytes from a SZIP compressed data element.
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+int32
+HCPcszip_read(accrec_t * access_rec, int32 length, void * data)
+{
+    CONSTR(FUNC, "HCPcszip_read");
+    compinfo_t *info;           /* special element information */
+
+    info = (compinfo_t *) access_rec->special_info;
+
+    if (HCIcszip_decode(info, length, data) == FAIL)
+        HRETURN_ERROR(DFE_CDECODE, FAIL);
+
+#ifdef QAK
+printf("%s: *data=%u\n",FUNC,*(uint8 *)data);
+#endif /* QAK */
+    return (length);
+}   /* HCPcszip_read() */
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCPcszip_write -- Write out a portion of data from a compressed data element.
+
+ USAGE
+    int32 HCPcszip_write(access_rec,length,data)
+    accrec_t *access_rec;   IN: the access record of the data element
+    int32 length;           IN: the number of bytes to write
+    void * data;             IN: the buffer to retrieve the bytes written
+
+ RETURNS
+    Returns the number of bytes written or FAIL
+
+ DESCRIPTION
+    Write out a number of bytes to a SZIP compressed data element.
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+int32
+HCPcszip_write(accrec_t * access_rec, int32 length, const void * data)
+{
+    CONSTR(FUNC, "HCPcszip_write");
+    compinfo_t *info;           /* special element information */
+    comp_coder_szip_info_t *szip_info;    /* ptr to SZIP info */
+
+    if (SZ_encoder_enabled() == 0) 
+	HRETURN_ERROR(DFE_NOENCODER, FAIL);
+    info = (compinfo_t *) access_rec->special_info;
+    szip_info = &(info->cinfo.coder_info.szip_info);
+
+    /* Don't allow random write in a dataset unless: */
+    /*  1 - append onto the end */
+    /*  2 - start at the beginning and rewrite (at least) the whole dataset */
+    if ((info->length != szip_info->offset)
+        && (szip_info->offset != 0 || length < info->length))
+        HRETURN_ERROR(DFE_UNSUPPORTED, FAIL);
+
+    if (HCIcszip_encode(info, length, data) == FAIL)
+        HRETURN_ERROR(DFE_CENCODE, FAIL);
+
+    return (length);
+}   /* HCPcszip_write() */
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCPcszip_inquire -- Inquire information about the access record and data element.
+
+ USAGE
+    int32 HCPcszip_inquire(access_rec,pfile_id,ptag,pref,plength,poffset,pposn,
+            paccess,pspecial)
+    accrec_t *access_rec;   IN: the access record of the data element
+    int32 *pfile_id;        OUT: ptr to file id
+    uint16 *ptag;           OUT: ptr to tag of information
+    uint16 *pref;           OUT: ptr to ref of information
+    int32 *plength;         OUT: ptr to length of data element
+    int32 *poffset;         OUT: ptr to offset of data element
+    int32 *pposn;           OUT: ptr to position of access in element
+    int16 *paccess;         OUT: ptr to access mode
+    int16 *pspecial;        OUT: ptr to special code
+
+ RETURNS
+    Returns SUCCEED or FAIL
+
+ DESCRIPTION
+    Inquire information about the access record and data element.
+    [Currently a NOP].
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+int32
+HCPcszip_inquire(accrec_t * access_rec, int32 *pfile_id, uint16 *ptag,
+                uint16 *pref, int32 *plength, int32 *poffset,
+                int32 *pposn, int16 *paccess, int16 *pspecial)
+{
+    /* shut compiler up */
+    access_rec = access_rec;
+    pfile_id = pfile_id;
+    ptag = ptag;
+    pref = pref;
+    plength = plength;
+    poffset = poffset;
+    pposn = pposn;
+    paccess = paccess;
+    pspecial = pspecial;
+
+    return (SUCCEED);
+}   /* HCPcszip_inquire() */
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCPcszip_endaccess -- Close the compressed data element
+
+ USAGE
+    int32 HCPcszip_endaccess(access_rec)
+    accrec_t *access_rec;   IN: the access record of the data element
+
+ RETURNS
+    Returns SUCCEED or FAIL
+
+ DESCRIPTION
+    Close the compressed data element and free encoding info.
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+intn
+HCPcszip_endaccess(accrec_t * access_rec)
+{
+    CONSTR(FUNC, "HCPcszip_endaccess");
+    compinfo_t *info;           /* special element information */
+    comp_coder_szip_info_t *szip_info;    /* ptr to SZIP info */
+
+    info = (compinfo_t *) access_rec->special_info;
+    szip_info = &(info->cinfo.coder_info.szip_info);
+
+    /* flush out SZIP buffer if there is unwritten data */
+    if (szip_info->szip_dirty == SZIP_DIRTY && szip_info->szip_state != SZIP_INIT)
+{
+        if (HCIcszip_term(info) == FAIL)
+            HRETURN_ERROR(DFE_CTERM, FAIL);
+    }
+
+    /* close the compressed data AID */
+    if (Hendaccess(info->aid) == FAIL)
+        HRETURN_ERROR(DFE_CANTCLOSE, FAIL);
+
+    return (SUCCEED);
+}   /* HCPcszip_endaccess() */
+
+
+/*--------------------------------------------------------------------------
+ NAME
+    HCPsetup_szip_parms -- Initialize SZIP parameters
+
+ USAGE
+    intn HCPcszip_setup_parms( comp_info *c_info, int32 nt, int32 ndims, int32 *dims, int32 *cdims)
+    comp_info *c_info;    IN/OUT: the szip compression params
+    int32 nt;             IN: the number type of the data
+    int32 ncomp;          IN: components in GR, 1 for SD
+    int32 ndims;          IN: The rank of the data
+    int32 *dims;          IN: the dimensions 
+    int32 *cdims;         IN: the dimensions of a chunk, if chunked, or NULL;
+
+ RETURNS
+    Returns SUCCEED or FAIL
+
+ DESCRIPTION
+    
+    Computes the SZIP parameters for dataset or chunk:
+       pixels -- total elements per compression
+       pixels_per_scanline 
+       bits_per_pixel
+    
+    This is called from SDsetcompress, SDsetchunk, GRsetcompress, GRsetchunk
+
+ GLOBAL VARIABLES
+ COMMENTS, BUGS, ASSUMPTIONS
+ EXAMPLES
+ REVISION LOG
+--------------------------------------------------------------------------*/
+intn 
+HCPsetup_szip_parms( comp_info *c_info, int32 nt, int32 ncomp, int32 ndims, int32 *dims, int32 *cdims)
+{
+    int32 scanline;
+    int32 npoints;
+    int32 sz;
+    int i;
+    intn       ret_value = SUCCEED;
+
+#ifdef H4_HAVE_LIBSZ
+    if (ndims <= 0) {
+          ret_value = FAIL;
+          goto done;
+    }
+
+    /* compute the number of elements in the compressed unit:
+        if chunked, compress each chunk. If not, compress whole 
+        object
+    */
+    npoints = ncomp; /* for GR24, treat as 3 D data for szip */
+    /* get npoints */
+    if (cdims == NULL ) {
+	   /* the whole array */
+        for (i = 0; i < ndims; i++) {
+	  npoints *= dims[i];
+        }
+    } else {
+	   /* elements in a single chunk */
+        for (i = 0; i < ndims; i++) {
+	  npoints *= cdims[i];
+        }
+    }
+    c_info->szip.pixels = npoints;
+
+    /* compute the pixels per scanline */
+	/* start with the n-1th dimension, allow for components of GR */
+    if (cdims == NULL ) {
+	scanline = dims[ndims - 1] * ncomp;
+    } else {
+	scanline = cdims[ndims-1] * ncomp;
+    }
+
+    /* apply restrictions to find the correct value */
+    if (scanline < c_info->szip.pixels_per_block) {
+	if (c_info->szip.pixels < c_info->szip.pixels_per_block) {
+	    ret_value = FAIL;
+	    goto done;
+	}
+	scanline = MIN((c_info->szip.pixels_per_block * SZ_MAX_BLOCKS_PER_SCANLINE), npoints);
+		
+    } else {
+	if (scanline <= SZ_MAX_PIXELS_PER_SCANLINE) {
+		scanline = MIN((c_info->szip.pixels_per_block * SZ_MAX_BLOCKS_PER_SCANLINE), scanline);
+	} else {
+		scanline = c_info->szip.pixels_per_block * SZ_MAX_BLOCKS_PER_SCANLINE;
+	}
+    }
+    c_info->szip.pixels_per_scanline = scanline;
+
+    /* compute the bits per pixel from the HDF NDT */
+    if (FAIL == (sz = DFKNTsize(nt | DFNT_NATIVE))) {
+            ret_value = FAIL;
+            goto done;
+    }
+    c_info->szip.bits_per_pixel = sz * 8;
+
+done:
+    return(ret_value);
+#else
+   /* szip not enabled */
+   return(FAIL);
+#endif
+}

Copied: packages/libhdf4/trunk/hdf/src/cszip.h (from rev 832, packages/libhdf4/branches/upstream/current/hdf/src/cszip.h)
===================================================================
--- packages/libhdf4/trunk/hdf/src/cszip.h	                        (rev 0)
+++ packages/libhdf4/trunk/hdf/src/cszip.h	2007-09-28 21:58:13 UTC (rev 1125)
@@ -0,0 +1,110 @@
+
+/****************************************************************************
+  * NCSA HDF                                                                 *
+  * Software Development Group                                               *
+  * National Center for Supercomputing Applications                          *
+  * University of Illinois at Urbana-Champaign                               *
+  * 605 E. Springfield, Champaign IL 61820                                   *
+  *                                                                          *
+  * For conditions of distribution and use, see the accompanying             *
+  * hdf/COPYING file.                                                        *
+  *                                                                          *
+  ****************************************************************************/
+
+/* $Id: cszip.h,v 1.4 2005/01/03 22:18:40 mcgrath Exp $ */
+
+/*-----------------------------------------------------------------------------
+  * File:    cszip.h
+  * Purpose: Header file for szip encoding information.
+  * Dependencies: should only be included from hcompi.h
+  * Invokes: none
+  * Contents: Structures & definitions for szip encoding.  This header
+  *              should only be included in hcomp.c and cszip.c.
+  * Structure definitions:
+  * Constant definitions:
+  *---------------------------------------------------------------------------*/
+
+/* avoid re-inclusion */
+#ifndef __CSZIP_H
+#define __CSZIP_H
+
+#if defined c_plusplus || defined __cplusplus
+extern      "C"
+{
+#endif                          /* c_plusplus || __cplusplus */
+
+/*
+    ** from cszip.c
+  */
+
+     extern int32 HCPcszip_stread
+                 (accrec_t * rec);
+
+     extern int32 HCPcszip_stwrite
+                 (accrec_t * rec);
+
+     extern int32 HCPcszip_seek
+                 (accrec_t * access_rec, int32 offset, int origin);
+
+     extern int32 HCPcszip_inquire
+                 (accrec_t * access_rec, int32 *pfile_id, uint16 *ptag, 
+uint16 *pref,
+                int32 *plength, int32 *poffset, int32 *pposn, int