Commit Graph

147 Commits

Author SHA1 Message Date
Bill Wendling
adbd3ac893 [svn-r4139]
Purpose:
    Bug Fix
Description:
    Back ported bug fix from the 1.5 branch re the nsl library being
    checked for and used on all platforms (only Solaris seems to need
    it).
2001-07-06 15:13:16 -05:00
Bill Wendling
78e2bab0b4 [svn-r4115] Purpose:
Bug Fix
Description:
    Small bug fix introduced by the changing of the name of the README
    file to README.txt
Solution:
    Changed the file name in the configure script from README to
    README.txt
Platforms tested:
    Linux
2001-07-05 15:17:27 -05:00
Albert Cheng
1a4c6d9966 [svn-r4070] Description:
Put the enable-hdf5v1_2 back in.
Platforms tested:
    modi4 (parallel), eirene (with and without enable-hdf5v1_2 on).
2001-06-25 17:48:38 -05:00
Albert Cheng
fe56538eec [svn-r4000] Purpose:
Cleaning
Description:
    Removed the --enable-hdf5v1_2 configure option.  It was intended
    to help users migrate from 1.2 to 1.4.0.
    Notice that the code are still in.  Will clean them out when
    it is confirmed there is no big cry for it.
Platforms tested:
    eirene with mpich.
2001-06-14 13:17:33 -05:00
Rushabh Doshi
48f724c523 [svn-r3924]
Purpose:
    Adding new feature
Description:
    Added gif2h5 and h52gif conversion utilities
Solution:
    The utilites follow the framework built for the gif2hdf and hdf2gif
    utilities for hdf4. The main files modified were those that read the
    H5 file and those that write H5 file. In the future, if you wish to
    continue with the framework and extend it to .png or some other fileformat
    the main files to edit will be the gif reader and writer.
    One point to note with h52gif. You have to specify the exact location of
    the image and the palette that it links to. You can choose not to specify
    a palette (uniform grayscale chosen in this case) but you must specify
    image location. In the future, someone could edit the readhdf.c source
    to enable the reader to parse the hdf file and select all images with
    corresponding palettes.
Platforms tested:
    modi4 , eirene , hawkwind , arabica , Ren (NT 4.0) , Personal box (win2k)
2001-05-12 16:12:29 -05:00
Bill Wendling
01e00e23a3 [svn-r3895] Purpose:
Feature Add
Description:
    Added support for >2GB files to the Linux architecture. This is a
    sync with the 1.5 branch. The CFLAGS now gets set in the gnu-flags
    file instead of the configure script (as it should). There's special
    logic to test for 64-bit files systems in Linux and add the
    appropriate flags, etc.
Platforms tested:
    Linux
2001-05-08 16:36:17 -05:00
Bill Wendling
fa89e8134c [svn-r3797] Purpose:
Bug Fix
Description:
    Forgot to propagate the '-c' flag if the install-sh script is being
    used. This caused some machines *cough*T3E*cough* to move instead of
    copy the files...
Solution:
    Added the -c back in with the install-sh script.
2001-04-11 12:19:08 -05:00
Albert Cheng
2b3b5cc556 [svn-r3724] Purpose:
Improvement
Description:
    Changed the default value of $NPROCS from 2 to 3.  This is the
    value libSAF uses since 3 processes have a much bigger chance
    catching parallel errors than just 2 processes.
    Changed the default dataset sizes from 800 to 1200 so that it is
    a multiple for 3 (and 8 too which is ofter used in the Tflops test.)
Platforms tested:
    Modi4 (IRIX64) both serial and parallel modes.
2001-03-27 11:32:08 -05:00
Bill Wendling
30d0bfe906 [svn-r3702] Purpose:
Fix
Description:
    Readded generation of Makefile in the java examples directory.
2001-03-23 14:24:45 -05:00
Bill Wendling
c041a0dc92 [svn-r3691] Purpose:
Bug FIx
Description:
    Makefiles were being generated for the HDF4 and parallel stuff even
    if they weren't being used.
Solution:
    Conditionally create those files now. I check if the Parallel and
    HDF4 stuff is specified and then create them.
Platforms tested:
    Modi4 and Linux
2001-03-22 13:15:04 -05:00
Bill Wendling
159482fa07 [svn-r3684] Purpose:
Code Movement
Description:
    Added code to generate the Makefiles in the newly created tools
    subdirectories.
Platforms tested:
    Linux
2001-03-21 18:01:56 -05:00
MuQun Yang
6fd91a1f40 [svn-r3599]
Purpose:
    arrange configure.in to include compiling h4toh5test
Description:
Solution:
     Adding a macro H4TOH5TEST
Platforms tested:
     linux, solaris 2.7
2001-03-09 18:53:53 -05:00
Bill Wendling
e8316ff8c6 [svn-r3504] Purpose:
Fix
Description:
    There was a small error in the install-doc stuff. First, we needed to
    generate the Makefile in the html/Intro directory (configure* fixes)
    and then the Makefile needed a Dependencies file.
Solution:
    Added Dependencies file and the Makefile generation thingy to the
    configure stuff.
Platforms tested:
    Linux
2001-02-23 12:37:34 -05:00
Bill Wendling
a0382e8da1 [svn-r3358] Purpose:
Feature Fix
Description:
    Added more Makefile generations to support the ``install-doc''
    command.
Platforms tested:
    Linux, Solaris
2001-02-05 15:15:26 -05:00
Bill Wendling
f13a9f9a70 [svn-r3313] Purpose:
Feature Fix
Description:
    When user specifies the --disable-hsizet flag, we still warn them
    about this when they use gcc 2.91.66.
Solution:
    I moved the check above the place where it checks what version gcc
    compiler it is. If they did specify the flag and it is a 2.91.66
    compiler, then it won't print the message out.
Platforms tested:
    Linux
2001-01-19 17:13:06 -05:00
Quincey Koziol
d11eab4dc7 [svn-r3282] Purpose:
Suppress warnings for release.
Description:
    Took out the -Wconversion -Wredundant-decls warning flags for gcc until
    after the tree is split.
Platforms tested:
    Linux 2.2.16 (eirene)
2001-01-12 14:59:35 -05:00
Bill Wendling
a1551e334d [svn-r3279] Purpose:
Warning Reduction
Description:
    Removed the -Wpointer-arith flag which complains about addintion with
    void * pointers. This is a known gcc 2.95.2 annoyance.

    There's still some issues with many str* warnings...not 7000, though.
Platforms tested:
    Linux
2001-01-12 13:44:52 -05:00
Bill Wendling
dc9c387ba2 [svn-r3266] Purpose:
Name change
Description:
    Changed the names of the testh5toh4 and testh4toh5 scripts to the
    "canonical" form -- testh4toh5.sh and testh5toh4.sh.
Platforms tested:
    Linux
2001-01-10 16:56:47 -05:00
Quincey Koziol
1290c4808d [svn-r3251] Purpose:
New configure feature.
Description:
    The H5private.h header file was re-defining the strdup function on several
    platforms, generating a warning.
Solution:
    Detect if the system defines a strdup function and don't re-define it, if
    so.
Platforms tested:
    FreeBSD 4.2 (hawkwind), IRIX64-64 (modi4)
2001-01-09 16:16:15 -05:00
Albert Cheng
8a2eebbc58 [svn-r3238] Purpose:
Bug fix
Description:
    The zlib.h header check was skipped if it thought it had
    found -lz already.  That resulted in H5_HAVE_ZLIB_H not defined
    which caused compression feature not compiled even though everything
    else said it was in.
    The --with-hdf4 was default to yes but configure had no clue where to
    find them.  A plain waste of time and affected ZLIB's searching later.
Solution:
    Basically restored what it was before--checking the optional switch
    of with-hdf4 first, then with-zlib.  (with-hdf4 now defaults to no.)
    Added a big chunk of comments explaining why these two options must
    be checked in this order.
    Changes applied to configure.in.  Then ran autoconf to generate
    configure.
Platforms tested:
    eirene (default and with-hdf4), modi4-64-parallel (with-hdf4),
    arabica (with-hdf4) and, gondoline.  That is right, even tested
    it out with gondoline (with-hdf4 too.)  All except modi4 configured,
    compiled and tested correctly.  Modi4 died in the compiling of
    src/H5Zdeflate.c but that was not due to the configure changes.
2001-01-04 01:34:06 -05:00
Quincey Koziol
85c19fc0ba [svn-r3235] Purpose:
Improve compiler warnings
Description:
    Added several more warning flags to the gcc compiler flags..
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-03 20:30:43 -05:00
Robb Matzke
eb8a2948b3 [svn-r3211] ./hdf5/configure.in
2000-12-29 11:54:38 Robb Matzke  <matzke@llnl.gov>
	*: Added recognition of LAM's hcc, which is almost identical to
	   MPICH's mpicc.
2000-12-29 13:35:10 -05:00
Albert Cheng
976700c212 [svn-r3161] Purpose:
Prepare for 1.4.0beta1 release

README:
src/H5public.h:
    Updated with 1.4.0beta1 version information.

configure.in:
    Changed default setting to --enable-production --disable-debug.

configure:
    Derived from configure.in via autoconf.

Platforms tested:
    Eirene (linux) running just the configure command and compared
    difference with previous configure output to verify expected
    difference.
2000-12-19 14:23:09 -05:00
Albert Cheng
ae97d70661 [svn-r3160] Purpose:
Bug fix
Description:
    The last modification put an extra comma in the AC_CHECK_HEADERS
    that would generate an bad configure file.
Solution:
    Removed the comma.
Platforms tested:
    Ran autoconf and verified it by comparing the same with
    the current working configure file which has been tested.
2000-12-19 14:05:35 -05:00
Thomas Radke
e10233b5f0 [svn-r3057]
Purpose:
    Bugfix
Description:
    Under SunOS 5.5 the symbol FIONBIO wasn't known when compiling
    with the Stream VFD configured.
Solution:
    This symbol is defined in the system header file <sys/filio.h>.
    Here we check whether this header is available.
Platforms tested:
    SunOS 5.5 (hatteras), SunOS 5.6 (thor.sistec.kp.dlr.de)
2000-12-01 16:48:49 -05:00
Bill Wendling
948a75a793 [svn-r3029] Purpose:
Bug Fix
Description:
	Some platforms, when building static libraries, complain that
	libc doesn't have dlopen and friends.
Solution:
	libtool supports workarounds for this. The one used here may not
	work, but it's an attempt to correct it. If it doesn't work, then
	there's something going on which I'm not privvy to...
Platforms tested:
	(untested as of yet)
2000-11-29 17:26:45 -05:00
Robb Matzke
3081ac613a [svn-r2944] ./hdf5/configure.in
* 2000-11-15 Robb Matzke  <matzke@llnl.gov> (CC_VERSION)
	The compiler is always expanded to a
	full path name if possible.  This feature enhancement was
	requested by Mark Miller, LLNL.
2000-11-16 09:50:38 -05:00
Bill Wendling
c22d6272bc [svn-r2923] Purpose:
Bug fix
Description:
	Wasn't picking up the c++ directory.
Solution:
	The string needed to be in quotes.
Platforms tested:
	Linux
2000-11-15 12:13:39 -05:00
Bill Wendling
a858f98bf6 [svn-r2894] Purpose:
Command-line name change
Description:
	Changed --with-stream-vfd to --enable-strea-vfd to be more
	consistent with what people expect from the --with-FOO and
	--enable-FOO arguments.
2000-11-14 12:34:38 -05:00
Bill Wendling
fce9bef52d [svn-r2889] Purpose:
Cleanup
Description:
	--with-Stream-VFD should be lower case to be consistent with the
	rest of the options...
2000-11-13 16:42:57 -05:00
Quincey Koziol
2da4c9cfaa [svn-r2885] Purpose:
Backward compatibility additions
Description:
    Added "--enable-hdf5v1_2" flag to enable HDF5 v1.2 compatibility API
    functions (H5Tget_member_dims & H5Tinsert_array) being built in the
    library.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-13 16:25:12 -05:00
Thomas Radke
ae1a3c1300 [svn-r2830]
Purpose:
    Bugfix
Description:
    Rename the [H5_]HAVE_STRUCT_SOCKLEN_T into [H5_]HAVE_SOCKLEN_T.
Solution:
    As pointed out by Bill the socklen_t type isn't a structure if
    is it defined by the system headers.
    So we should better take out the _STRUCT_ from the defines.
Platforms tested:
2000-11-08 17:33:24 -05:00
Thomas Radke
36456dcccf [svn-r2815]
Purpose:
    Bugfix
Description:
    Detect whether the 'struct socklen_t' type is defined in the
    system include header files.
Solution:
    Added an AC_TRY_COMPILE test for 'struct socklen_t' to the configure
    script. This test is only executed if the Stream VFD is configured.
    Also added detection of <sys/types.h> and <sys/socket.h> system
    header files.
Platforms tested:
    Solaris 2.6 and 2.7
    IRIX64
    Linux
    Windows NT (command line configure with gcc and cl)
2000-11-08 15:04:36 -05:00
Bill Wendling
8073cbe745 [svn-r2814] Purpose:
Stupidity Fix
Description:
	Forgot to remove one of the X from a `for' shell script.
Solution:
	Removed it...it works now.
Platforms tested:
	Linux
2000-11-08 12:58:50 -05:00
Bill Wendling
b1ea50c046 [svn-r2813] Purpose:
Buglet
Description:
	Wasn't picking up specified directories for the run-time linking
	stuff that libtools does.
Solution:
	There was some confusion about how the regex stuff works with
	scripts. It's not `.*' for any character by `*'...Fixed.
Platforms tested:
	Arabica
2000-11-08 11:57:24 -05:00
Bill Wendling
fee0dc2bb6 [svn-r2798] Purpose:
Bug Fix...AGAIN!
Description:
	The logic to create the DYNAMIC_DIRS macro was accepting such
	things as -lnoop_stubs which would cause libtools to barf.
Solution:
	I'm pretty sure I fixed this once before. The change was lost. I
	now test to make sure that the flag I'm adding has a "-L" prefix
	on it...
2000-11-03 15:29:11 -05:00
Thomas Radke
a79dc754b8 [svn-r2747]
Purpose:
    Detect whether the system has the netinet/tcp.h header file.
Description:
    The Stream VFD uses setsockopt(2) to set TCP_NODELAY on an opened
    socket. This constant is defined normally in netinet/tcp.h
    except for GNU cc under Windows where this header doesn't exist.
Platforms tested:
    Windows NT, GNU cc
2000-10-28 13:59:32 -05:00
Bill Wendling
8f6dc0bc88 [svn-r2695] Purpose:
Buglet Fix...kinda
Description:
	The --enable-c++ flag is in there, but configure can't handle the
	++ on the end.
Solution:
	Changed it to --enable-cxx instead. N.B. This feature isn't
	really needed yet since C++ isn't integrated with the library
	proper.
Platforms tested:
	Linux
2000-10-18 11:46:00 -05:00
Bill Wendling
59a0d7d806 [svn-r2667] Purpose:
Bug Fix
Description:
	Broke on Arabica trying to export the SEARCH macro.
Solution:
	Assigned to the SEARCH macro and then exported it.
Platforms tested:
	Arabica.
2000-10-11 12:25:21 -05:00
Bill Wendling
820b18e598 [svn-r2659] Purpose:
Bug Fix
Description:
	When running configure on subdirectories (like fortran/), looking
	up how make implements SEARCHes failed.
Solution:
	Exporting the SEARCH macro so that subdirectories don't have to
	look for it.
Platforms tested:
	Modi4.
2000-10-10 18:15:40 -05:00
Bill Wendling
546591aaaf [svn-r2630] Purpose:
Bug Fix
Description:
	zlib was not being retrieved from the place specified by the user
	even if the user used the --with-zlib flag.
Solution:
	Removed the automatic inclusion of /usr/ncsa/* into the macros
	and use the user-defined place to try to pickup the zlib. I'm
	relying on the order of the -L flags in the compile line to
	specify which libraries to look into first before going on to
	look into the system libraries. If some compiler doesn't honor
	the this order, yikes...
Platforms tested:
	Linux
2000-10-03 17:28:31 -05:00
MuQun Yang
f527143c85 [svn-r2612]
Purpose:
      h4toh5 converter tool under tools
Description:
      put flag h4toh5 and testh4toh5 into the configure file.
Solution:
    [details about the changes, algorithm, etc...]
    [Please as detail as you can since your own explanation is
    better than others guessing it from the code.]
Platforms tested:
    at eirene and arabica.
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2000-09-28 15:44:42 -05:00
Bill Wendling
ae6fba41fc [svn-r2591] Purpose:
Libtool bug
Description:
	The AR macro wasn't being propagated to the libtool file
	correctly. When libtool was being generated, it wasn't
	recoginizing the AR that was set in the configure script.
Solution:
	export the AR macro after it's set.
Platforms tested:
	Linux
2000-09-25 12:35:08 -05:00
Bill Wendling
cbf85a8964 [svn-r2569] Purpose:
I introduced a small bug when trying to fix the zlib stuff.

Description:
	-lz wouldn't be specified with the compile flags if it was found
	while checking for the HDF4 library.

Solution:
	Removed my bad check and replaced with a better one.

Platforms:
	Linux, Solaris
2000-09-18 12:00:18 -05:00
Bill Wendling
2f725eeb40 [svn-r2565] Purpose:
Stupid error in one of the tests.
Description:
	The string tested needed to be in quotes.
Platforms:
	Linux, Solaris
2000-09-15 14:59:33 -05:00
Thomas Radke
a8932fbddc [svn-r2553] Purpose:
Added new option --with-Stream-VFD.

Description:
        The configure option --with-Stream-VFD[={yes}|{no}] is used
        to configure HDF5 to build the Stream Virtual File Driver.
        The default is not to build it.

Platforms:
        all platforms
2000-09-15 06:14:40 -05:00
Bill Wendling
7a01c17543 [svn-r2550] Purpose:
Cleaned up the configure file a bit.

Description:
	There were a few small bugs having to do with checking if strings
	were empty. Also needed to force paths to be absolute instead of
	relative.

Solution:
	I standardized string checking (test -z for an empty string and
	test -n for a non-empty string). Also, if the user specifies a
	relative path for any of the options, the configure now makes it
	into an absolute path for both CPPFLAGS and LDFLAGS macros.

Platforms:
	Solaris, Linux
2000-09-14 17:19:24 -05:00
Bill Wendling
cd2902be83 [svn-r2537] I take the LDFLAGS macro, scan it for -L/<path> statements and add the
equivalent -R/<path> to the LT_LINK_EXE command. Therefore, any
executables created will know where we got the different libraries from
automagically.
2000-09-12 02:53:49 -05:00
Bill Wendling
ba41d8e86b [svn-r2526] Added the ability to compile executables things as completely static.
Also I'm keeping the place the user indicated the zlib would be...
2000-09-08 17:57:21 -05:00
Bill Wendling
471550e166 [svn-r2523] Yet another small fix... 2000-09-07 16:01:32 -05:00