mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r5047] Purpose:
Bug Fix Description: Didn't need to test that the Pablo library had a function in it only that it was there. Solution: Removed that check. Just checked if we can actually find the physical library and include files where the user tells us they're hiding. Platforms tested: Linux
This commit is contained in:
parent
084c4ea9ee
commit
30e5df679c
33
configure.in
33
configure.in
@ -783,18 +783,15 @@ AC_ARG_WITH(pablo,
|
||||
[ --with-pablo[=DIR] Use the Pablo library [default=no]],,
|
||||
withval=no)
|
||||
|
||||
AC_MSG_CHECKING(for Pablo)
|
||||
|
||||
case "$withval" in
|
||||
yes)
|
||||
failed="no"
|
||||
AC_CHECK_LIB(PabloTraceExt, initIOTrace,, failed="yes")
|
||||
|
||||
if test "$failed" != "yes"; then
|
||||
HAVE_PABLO="yes"
|
||||
PABLO="pablo"
|
||||
fi
|
||||
AC_MSG_RESULT(yes)
|
||||
HAVE_PABLO="yes"
|
||||
PABLO="pablo"
|
||||
;;
|
||||
no)
|
||||
AC_MSG_CHECKING(for Pablo)
|
||||
AC_MSG_RESULT(suppressed)
|
||||
;;
|
||||
*)
|
||||
@ -822,9 +819,17 @@ case "$withval" in
|
||||
fi
|
||||
|
||||
failed="no"
|
||||
AC_CHECK_HEADERS(IOTrace.h,
|
||||
AC_CHECK_LIB(PabloTraceExt, initIOTrace,, failed="yes"),
|
||||
failed="yes")
|
||||
if test -f "$pablo_inc/PabloTrace.h"; then
|
||||
:
|
||||
else
|
||||
failed="yes"
|
||||
fi
|
||||
|
||||
if test -f "$pablo_lib/libPabloTraceExt.a"; then
|
||||
:
|
||||
else
|
||||
failed="yes"
|
||||
fi
|
||||
|
||||
if test "$failed" = "yes"; then
|
||||
dnl Reset flags if failed
|
||||
@ -834,6 +839,12 @@ case "$withval" in
|
||||
HAVE_PABLO="yes"
|
||||
PABLO="pablo"
|
||||
fi
|
||||
|
||||
if test "$HAVE_PABLO" = "yes"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user