Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F7879673
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Subscribers
None
View Options
Index: trunk/m4/dl.m4
===================================================================
--- trunk/m4/dl.m4 (revision 5885)
+++ trunk/m4/dl.m4 (revision 5886)
@@ -1,76 +1,76 @@
dnl dl.m4 -- checks for dynamic-linking library
dnl
### Activate dynamic linking: look for 'dlopen'
AC_DEFUN([WO_PROG_DL],
[dnl
AC_ARG_ENABLE([dl],
[AS_HELP_STRING([--enable-dl],
[enable libdl for creating/loading process libraries on-the-fly [[yes]]])],
[], [enable_dl="yes"])
RTLD_LAZY_VALUE=0
RTLD_NOW_VALUE=0
RTLD_GLOBAL_VALUE=0
RTLD_LOCAL_VALUE=0
AC_SUBST([RTLD_LAZY_VALUE])
AC_SUBST([RTLD_NOW_VALUE])
AC_SUBST([RTLD_GLOBAL_VALUE])
AC_SUBST([RTLD_LOCAL_VALUE])
if test "$enable_dl" = "yes"; then
AC_LANG_PUSH([C])
AC_SEARCH_LIBS([dlopen], [dl], [], [enable_dl="no"])
AC_CHECK_HEADERS([dlfcn.h],[],[enable_dl="no"])
if test "$enable_dl" = "yes"; then
AC_MSG_CHECKING([for the values of RTLD_LAZY & friends])
AC_RUN_IFELSE([AC_LANG_SOURCE([dnl
#include <stdio.h>
#include <dlfcn.h>
int main () {
FILE* handle = fopen ("conftest.out", "w");
if (!handle) return 1;
if (!fprintf (handle, "RTLD_LAZY_VALUE=%i\n", RTLD_LAZY)) return 1;
if (!fprintf (handle, "RTLD_NOW_VALUE=%i\n", RTLD_NOW)) return 1;
if (!fprintf (handle, "RTLD_GLOBAL_VALUE=%i\n", RTLD_GLOBAL)) return 1;
if (!fprintf (handle, "RTLD_LOCAL_VALUE=%i\n", RTLD_LOCAL)) return 1;
if (fclose (handle)) return 1;
}
])],[. ./conftest.out],[enable_dl="no"])
if test "$enable_dl" = "yes"; then
AC_MSG_RESULT([success])
else
AC_MSG_RESULT([failed])
fi
fi
AC_MSG_CHECKING([for $CC flag to produce position-independent code])
AC_MSG_RESULT([$lt_prog_compiler_pic_CC])
CFLAGS_PIC=$lt_prog_compiler_pic_CC
AC_SUBST([CFLAGS_PIC])
AC_LANG_POP()
else
AC_MSG_CHECKING([for dl (dynamic linking)])
CFLAGS_PIC=''
AC_SUBST([CFLAGS_PIC])
AC_MSG_RESULT([(disabled)])
fi
AM_CONDITIONAL([DL_AVAILABLE], [test "$enable_dl" = "yes"])
### For make check of an installed WHIZARD we have to take
### care of library interdependencies on MAC OS X
case $host in
*-darwin*)
- DYLD_FLAGS="DYLD_LIBRARY_PATH=\$(pwd)/../src/.libs:\$(pwd)/../src/omega/src/.libs:\${DYLD_LIBRARY_PATH}; export DYLD_LIBRARY_PATH" ;;
+ DYLD_FLAGS="DYLD_LIBRARY_PATH=\$(pwd)/../src/.libs:\$(pwd)/../omega/src/.libs:\${DYLD_LIBRARY_PATH}; export DYLD_LIBRARY_PATH" ;;
*)
DYLD_FLAGS="" ;;
esac
AC_SUBST(DYLD_FLAGS)
])
AC_DEFUN([WO_CC_FLAGS],
[dnl
])
Index: trunk/tests/sf_lhapdf.sh
===================================================================
--- trunk/tests/sf_lhapdf.sh (revision 5885)
+++ trunk/tests/sf_lhapdf.sh (revision 5886)
@@ -1,10 +1,10 @@
#!/bin/sh
### Check WHIZARD module sf_base
echo "Running script $0"
-if test -f LHAPDF_FLAG; then
+if test -f LHAPDF5_FLAG || test -f LHAPDF6_FLAG; then
exec ./run_whizard.sh @script@ --check sf_lhapdf
else
echo "|=============================================================================|"
echo "No LHAPDF available, test skipped"
exit 77
fi
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Nov 19, 8:41 PM (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3806121
Default Alt Text
(3 KB)
Attached To
rWHIZARDSVN whizardsvn
Event Timeline
Log In to Comment