summaryrefslogtreecommitdiffstats
path: root/testpar/Makefile.in
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-03-18 13:42:52 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-03-18 13:42:52 (GMT)
commit826dbc81465d5d45cb96960ddeee97fb8b536f2d (patch)
treeee7e208308f918dd90d23ab64cdb793158efe4f3 /testpar/Makefile.in
parent4ec2ca72ba19629e76fe9de26f82119b0929b307 (diff)
downloadhdf5-826dbc81465d5d45cb96960ddeee97fb8b536f2d.zip
hdf5-826dbc81465d5d45cb96960ddeee97fb8b536f2d.tar.gz
hdf5-826dbc81465d5d45cb96960ddeee97fb8b536f2d.tar.bz2
[svn-r1149] ./configure.in
./configure [REGENERATED] ./src/H5config.h.in [REGENERATED] ./src/H5private.h Temporarily commented out the code that tries to link a simple MPI-IO application because I'm not sure how to pass $LDFLAGS and $LIBS to the compiler. Removed the `--enable-parallel=ibm' switch because the library we link with is either -lmpcc or -lmpcc_r but not both. The only way to tell is to see what compiler was specified (mpcc or mpcc_r) but if that compiler is specified then we don't need any libraries (the compiler script supplies them). That leaves just two choices: the user must use a compiler script: CC=mpcc ./configure or the user must state which library is desired: LDFLAGS='-lmpcc' ./configure --enable-parallel Checks for <setjmp.h>, longjmp(), and signal(). We don't check for setjmp() because it could be a macro (in fact, Posix requires it to be a macro) and if longjmp() is present then setjmp() is probably present too ;-) ./src/H5detect.c The alignment detection loop uses SIGBUS and setjmp/longjmp instead of fork/wait in order to get around bugs with forking in conjunction with mpich. This hasn't been tested on the SP-2 yet but it does work on the DEC Alpha. ./test/Makefile.in ./testpar/Makefile.in ./tools/Makefile.in Changed the order that libraries are linked so -lhdf5 is always before $LDFLAGS.
Diffstat (limited to 'testpar/Makefile.in')
-rw-r--r--testpar/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/Makefile.in b/testpar/Makefile.in
index 64c3b50..cf20ddd 100644
--- a/testpar/Makefile.in
+++ b/testpar/Makefile.in
@@ -10,7 +10,7 @@ top_srcdir=@top_srcdir@
# Add the include directory to the C preprocessor flags the the hdf5 library
# to the library list.
CPPFLAGS=-I. -I../src @CPPFLAGS@
-LIBS=../src/libhdf5.la @LIBS@
+LIBHDF5=../src/libhdf5.la
# These tests are parallel
RUNTEST=$(RUNPARALLEL)
@@ -31,6 +31,6 @@ PRIVATE_HDR=testphdf5.h
$(TEST_PROGS): ../src/libhdf5.la
testphdf5: $(TEST_OBJ)
- $(LT_LINK_EXE) $(CFLAGS) -o $@ $(TEST_OBJ) $(LDFLAGS) $(LIBS)
+ @$(LT_LINK_EXE) $(CFLAGS) -o $@ $(TEST_OBJ) $(LIBHDF5) $(LDFLAGS) $(LIBS)
@CONCLUDE@