Commit Graph

126 Commits

Author SHA1 Message Date
Robb Matzke
f5198a8a79 [svn-r2943] ./hdf5/configure
Regenerated
2000-11-16 09:50:15 -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
Bill Wendling
2a4c631e2c [svn-r2564] Purpose:
Regenerated after changes to the configure.in file made by Thomas
     Radke <tradke@aei-potsdam.mpg.de>
Platforms:
     Linux
2000-09-15 10:41:45 -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
cc603b9dc9 [svn-r2413] Regenerated 2000-06-23 13:05:37 -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
c0d424e947 [svn-r2275] Updated from modified configure.in 2000-05-19 09:51:02 -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
Quincey Koziol
06495ff028 [svn-r2169] Sprinkled some AC_CACHE_SAVE's into configure.in and re-ran autoconf 2000-04-20 13:41:51 -05:00
Raymond Lu
cd6f954955 [svn-r2136] Took out HAVE_SRB, HAVE_GASS and HAVE_GRIDSTORAGE. Put them in src/H5config.h.in 2000-04-13 10:14:31 -05:00
Albert Cheng
d7df48b8d9 [svn-r2101] Added --enable-threadsafe option to support the Thread-safe option. 2000-04-10 13:23:38 -05:00
Albert Cheng
3e942ac9bb [svn-r2062] Just some simple indentation adjustment. No real code changes. 2000-03-30 17:02:03 -05:00
Albert Cheng
69967557a8 [svn-r2061] Changed the parsing of --enable-debug option to case statement
style instead of it-then-else.  It makes it easier to understand
and easier to change the defaults of it.
2000-03-30 16:33:24 -05:00
Raymond Lu
ce99fccca0 [svn-r2026] Switch from Globus1.0 to Globus1.1.x. Remove Globus configuration, keep GASS configuration. 2000-03-13 14:33:36 -05:00
Albert Cheng
b70c49d253 [svn-r1995] configure.in:
Makefile.in:
acconfig.h:
src/H5F.c:
src/H5FDdpss.c:
src/H5FDdpss.h:
src/H5config.h.in:
test/dpss_read.c:
test/dpss_write.c:
    Changed the name DPSS to GRIDSTORAGE since that is the real name
    of the API from ANL.  DPSS is just one of the protocols it can use.
    Changed a bug in the --with-ssl option.

Makefile.in:
    Removed the copying of Makefile.dist since it caused problems
    when doing a make distclean in a --srcdir configured directory.
2000-03-01 18:56:22 -05:00
Albert Cheng
fe91b80353 [svn-r1978] configure.in:
Removed the unnecessary warning message from the SSL test.
    Made it to set variable SSL instead.
configure:
    Auto-generated from configure.in.
2000-02-18 21:26:14 -05:00
Albert Cheng
9ca6cfa0aa [svn-r1975] Purpose:
Configuration improvement

Problem:
Arabica has a zlib library that is a dynamic lib in /usr/ncsa/lib.
Binary generated would fail to run with a missig libz.so complain
if /usr/ncsa/lib is not in $LD_LIBRARY_PATH.  This exposed the
problem that if the binary is linked with -L$mylibpath -lxyz
where libxyz is a dynamic type, the binary can't run if $mylibpath
is not in $LD_LIBRARY_PATH (or equivalent) or as part of the
system default library paths (e.g., /usr/lib, /usr/local/lib).
This problem also caused failures during configure (when trying
to see what format to print long long) and during H5detect.
The base cause is because libtool does not "transfer" the
knowledge of -L$mylibpath to the wrapper file its mode=link
generates.

Solution:
bin/ltmain.sh:
    Changed it so that it transfers the libpaths from -Llibpaths
    to the wrapper generated.  I used the already defined variable
    finalize_shlibpath.  Not sure it is correct to use it this way.
    Need to check on this.
configure.in:
    Put in a patch to transfer information from LDFLAGS to LD_LIBRARY_PATH
    right before the AC_TRY_RUN.  The above fix for ltmain.sh does not
    work here because libtool is generated later than this point.
    There should be a cleaner way to do this.
    Removed the hardcode of NCSA_LT_LINK_EXE because it is no longer
    needed.
commence.in:
    Removed the hardcode of NCSA_LT_LINK_EXE because it is no longer
    needed.
Makefile.in:
    Another patch of LDFLAGS to LD_LIBRARY_PATH because I could not
    make it to generate H5detect in the wrapper form of libtool.
    Need to make it to use the libtool correctly. Later.

Platform tested:
arabica (solaris 2.7)
baldric (solaris 2.6)
2000-02-18 07:53:32 -05:00
Quincey Koziol
0fd1ac6740 [svn-r1951] Tweaks to detect the shared libraries on NCSA's systems, so that Albert's
automated tests will work correctly on arabica.
2000-01-29 19:37:28 -05:00
Raymond Lu
b31fee056a [svn-r1930] Add Globus 1.1; refer Gass to Globus 1.0 2000-01-05 14:42:12 -05:00
Raymond Lu
a7a175103d [svn-r1928] DPSS was added. 2000-01-04 17:38:50 -05:00
Albert Cheng
96f3c02491 [svn-r1918] configure.in:
Added --with-pthread option to configure pthread library.
    Default is no pthread.
configure:
    Derived from configure.in by autoconf.
1999-12-20 15:23:33 -05:00
Quincey Koziol
0deb7ff895 [svn-r1833] changed due to Robb's checkin 1999-11-17 16:57:05 -05:00
Albert Cheng
2370f434a7 [svn-r1816] Snapshot version 1.3 release 4 1999-11-03 19:03:58 -05:00
Albert Cheng
8685a7fa7c [svn-r1811] Purpose:
New feature
configure.in:
    When just --enable-parallel is used, will try to test if MPI and MPI-IO
    library codes are linkable.  If not, try -lmpi and -lmpio as the most
    commonly used library names for them.
    Also, set default value for RUNPARALLEL if not set.
    Now, for systems, like SGI Crays where there are the system supported
    MPI libraries, "./configure --enable-parallel" would configure
    correctly.
Configure:
    Derived from configure.in via autoconf.
Platform tested:
    SGI O2K.
1999-11-02 22:16:41 -05:00
Robb Matzke
eb8747499d [svn-r1802] Changes since 19991019
----------------------

./MANIFEST
./configure.in
./configure			[REGENERATED]
	Added more checking for `make' features.

./Makefile.in
./doc/Makefile.in
./doc/html/Makefile.in
./doc/html/Tutor/Makefile.in
./examples/Makefile.in
./pablo/Makefile.in
./src/Makefile.in
./test/Makefile.in
./testpar/Makefile.in
./tools/Makefile.in
./config/commence.in
./config/conclude.in
./config/depend.in		[REMOVED]
./config/depend1.in		[NEW]
./config/depend2.in		[NEW]
./config/depend3.in		[NEW]
./config/depend4.in		[NEW]
./config/dependN.in		[NEW]
	The directory search stuff was moved into commence.in, thereby
	shortening the Makefile.in prologues.

./doc/html/Dependencies		[NEW]
./doc/html/Tutor/Dependencies	[NEW]
./examples/Dependencies		[NEW]
./src/Dependencies		[NEW]
./test/Dependencies		[NEW]
./testpar/Dependencies		[NEW]
./tools/Dependencies		[NEW]
	The `.distdep' files were all renamed to `Dependencies' to make them
	more obvious. They are required (but may be empty) in every directory
	that has a Makefile.in that ends with @CONCLUDE@ (you'll get an
	obvious error from make if you forgot to create one).

./bin/trace
./src/H5.c
	Added H5E_major_t and H5E_minor_t although tracing only prints the
	integer value.

./src/H5E.c
./src/H5Epublic.h
	Added tracing information.

./src/H5FDcore.c
./src/H5FDfamily.c
./src/H5FDgass.c
./src/H5FDmpio.c
./src/H5FDsec2.c
./src/H5FDstdio.c
	Fixed places where FUNC_LEAVE() evaluated it's argument more than
	once.

	Added tracing information.

	Wrapped long lines.

./config/gnu-flags
	Fixed a syntax error when we don't have a gnu compiler.
1999-11-01 10:21:16 -05:00
Quincey Koziol
ef31f648cf [svn-r1784] Updated with autoconf, I think... 1999-10-20 12:50:14 -05:00
Albert Cheng
d59808997f [svn-r1767] MANIFEST:
Updated.
configure.in:
    Removed the test for -lxnet in the GASS-driver part.  There is
    no need for it and it does not exist in other machines like IRIX64.
configure:
    Deriverd from configure.in.
1999-10-15 18:22:10 -05:00