Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8723999
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
View Options
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -1,80 +1,80 @@
dnl Process this file with autoconf to produce a configure script.
dnl
-AC_PREREQ([2.61])
+AC_PREREQ([2.59])
AC_INIT(Dummy,0.0)
AC_CONFIG_MACRO_DIR([m4])
THEPEG_LIBTOOL_VERSION_INFO(3,0,0)
-AM_INIT_AUTOMAKE([1.10 gnu dist-bzip2 -Wall])
+AM_INIT_AUTOMAKE([1.9 gnu dist-bzip2 -Wall])
AC_LANG(C++)
dnl Checks for programs.
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_MAKE_SET #???
AC_PROG_LN_S
LT_PREREQ([2.2])
LT_INIT([disable-static dlopen pic-only])
THEPEG_SEARCH_CLHEP
THEPEG_SEARCH_LHAPDF
THEPEG_SEARCH_HEPMC
THEPEG_SEARCH_THEPEG
THEPEG_ADD_THEPEG_PATH(PYTHIA7LIBPATH,Pythia7)
AC_F77_LIBRARY_LDFLAGS
AC_MSG_CHECKING([if HZTool is present and works])
if test "x$HZTOOLDIR" == "x"; then
HZTOOLDIR="/usr/local/lib"
fi
if test "x$CERNLIBDIR" == "x"; then
if test -d /usr/local/cern/lib; then
CERNLIBDIR="/usr/local/cern/lib"
else
CERNLIBDIR="/usr/local/lib"
fi
fi
oldLIB="$LIBS"
oldLDFLAGS="$LDFLAGS"
LIBS="$LIBS -lhztool -lkernlib -lmathlib -lpacklib $FLIBS"
LDFLAGS="$LDFLAGS -L$HZTOOLDIR -L$CERNLIBDIR"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern "C" { void hzh9807018_(const int&); }]],
[[hzh9807018_(1);]])], HAS_HZTOOL="yes",
HAS_HZTOOL="no")
if test "$HAS_HZTOOL" == "yes"; then
HZTOOL_LIBS="-lhztool -lkernlib -lmathlib -lpacklib $FLIBS"
HZTOOL_LDFLAGS=" -L$HZTOOLDIR -L$CERNLIBDIR"
AC_DEFINE(ThePEG_HAS_HZTOOL, 1, [Set if HZTOOL is present and working])
AC_SUBST(HZTOOL_LIBS, [], [Libraries needed for HZTOOL])
AC_SUBST(HZTOOL_LDFLAGS, [], [Link flags needed for HZTOOL])
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
LIBS="$oldLIB"
LDFLAGS="$oldLDFLAGS"
AM_CONDITIONAL([USEHZTOOL], [test "x$HAS_HZTOOL" == "xyes"])
THEPEG_EMPTY_SUBST
AM_CXXFLAGS="-ansi -pedantic -Wall"
AC_SUBST(AM_CXXFLAGS)
AC_CONFIG_FILES([Misc/Makefile
Decay/Makefile
HerwigTest/Makefile
LesHouches/Makefile
HZTOOL/Makefile
Analysis/Makefile
Makefile])
## don't know what to do here 'Doc/Makefile'
AC_OUTPUT
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Jan 20, 10:17 PM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4242599
Default Alt Text
(2 KB)
Attached To
rTHEPEGTESTHG thepegtesthg
Event Timeline
Log In to Comment