diff options
author | John Mainzer <mainzer@hdfgroup.org> | 2012-03-08 03:56:35 (GMT) |
---|---|---|
committer | John Mainzer <mainzer@hdfgroup.org> | 2012-03-08 03:56:35 (GMT) |
commit | e7d8baf0c317fb606e036157d2f83a40d7a9d4a2 (patch) | |
tree | dae66fcd5516278755033df8427b809d338d2995 /c++/src/header_files | |
parent | cca4beb3a99d56b9574e9c94b523c497dce2e910 (diff) | |
download | hdf5-e7d8baf0c317fb606e036157d2f83a40d7a9d4a2.zip hdf5-e7d8baf0c317fb606e036157d2f83a40d7a9d4a2.tar.gz hdf5-e7d8baf0c317fb606e036157d2f83a40d7a9d4a2.tar.bz2 |
[svn-r22035] Added configure link test to see if we can really link with the real
time library.
This change is necessary, as aio calls result in link failures when we
link with the -static flag. The new test in configure.in checks to see
if we think we have POSIX AIO, and if we do, it does a AC_TRY_LINK with
one of the aio calls. Note that to do this, the test must make temporary
changes to LIBS and (if the STATIC_EXEC flag is set) to LDFLAGS.
For now, if the link test fails, we kill AIO completely. We will have
to revist this if we ever support anything other than POSIX AIO.
Tested on jam (serial, with and without the --enable-static-exec configure
flag, and also parallel), and Phoenix (64 bit linux, serial only).
In testing, I noticed one un-related issue that I didn't have time to
chase. It seems that "-lrt" is showing up twice in the list of extra
libraries list in the configure results summary. This doesn't seem to
be causing problems, but it should be looked into.
Diffstat (limited to 'c++/src/header_files')
0 files changed, 0 insertions, 0 deletions