Commit Graph

140 Commits

Author SHA1 Message Date
Bill Wendling
974e97e08d [svn-r3450] Purpose:
Update
Description:
    Added support for the h4toh5test program. It needs to be
    conditionally compiled if HDF4 is included.
Platforms tested:
    Linux
2001-02-19 12:18:50 -05:00
Bill Wendling
a66186cc0d [svn-r3406] Purpose:
Fixlet
Description:
    FIxed the hack for the INSTALL macro. It was checking the "whole"
    path to the install-sh script instead of if it was just a relative
    path with install-sh at the end.
Solution:
    Changed the test to match any relative path with install-sh at the
    end. This assumes that the install-sh is the one we supply to them
    (an assumption it was making before, really).
Platforms tested:
    Gondolin, Linux
2001-02-13 14:42:06 -05:00
Bill Wendling
7c0fb27132 [svn-r3403] Purpose:
Fix
Description:
    On machines which use the bin/install-sh script, it wasn't picking up
    the install-sh script unless it was one directory depth away from it
    (ie, it thought that it was in ../bin/install-sh, which isn't good
    if, like with the documentation, it's in a deeper directory).
Solution:
    Hacked it up so that, if it does use the broken relative-path schema,
    then it will change it to use the $(top_srcdir) macro instead.
Platforms tested:
    Linux
2001-02-12 17:52:00 -05:00
Bill Wendling
e361fef08b [svn-r3402] Purpose:
Fix
Description:
    I didn't add the doc/html/Intro directory to the MAkefile configure
    stuff.
Solution:
    Added
Platforms tested:
    Linux
2001-02-12 17:17:31 -05:00
Albert Cheng
a9a7963c66 [svn-r3401] Purpose:
[is this a bug fix? feature? ...]
Description:
    Changed the default settings for enable-production and enable-debug
    to no and yes respective, for this development branch.
Platforms tested:
    Modi4 parallel and eirene.
2001-02-12 15:21:17 -05:00
Quincey Koziol
d7b92c34eb [svn-r3400] Purpose:
Code cleaning
Description:
    Moved all gcc compiler flags into the config/gnu-flags file and re-added
    the warning flags removed during the beta testing.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-02-12 11:29:15 -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
Bill Wendling
9a99342370 [svn-r2522] Small bug. A test if src/H5pubconf.h already contains the __cplusplus
macro didn't work on all systems. This fixes it.

This also introduces the ability to configure for fortran and c++. This
is not to be implemented yet, though!
2000-09-07 15:57:34 -05:00
Bill Wendling
763bb8d9a0 [svn-r2516] Added stuff so that C++ compilers can include the src/H5{pub}config.h
files. I append to them an #undef of the inline macro. Then, if it's a
C++ compiler, the inline keyword isn't redefined incorrectly...
2000-09-06 13:31:47 -05:00
Robb Matzke
2c56fcbe23 [svn-r2409] If the user wants static/shared libs but ltconfig decides it can't build
static/shared libs then the comment in libhdf5.settings will be correct.
2000-06-23 12:44:30 -05:00
Bill Wendling
6ef640cb99 [svn-r2340] HAVE_THREADSAFE was being incorrectly set if we didn't want threadsafety. 2000-06-06 12:06:30 -05:00
Bill Wendling
956895ef48 [svn-r2339] Fixed problem with enabling/disabling thread safe mode... 2000-06-05 18:25:29 -05:00
Quincey Koziol
f4b618e5e1 [svn-r2274] Hacked to detect pthreads on FreeBSD and add correct compilation options. 2000-05-19 09:50:48 -05:00
Albert Cheng
043b7c4ec5 [svn-r2198] Figure out the whole path of the $CC command if it is in simple
command form (e.g., cc, gcc) and put that in the libhdf5.settings
file.  This would help show exactly which compiler was used during
the configure stage.  It may not be 100% "correct" in some cases
such as "configure done in one machine but compiling done in another."
2000-04-24 15:34:05 -05:00