Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F11222187
ccherwig.m4
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
ccherwig.m4
View Options
#AC_CEDAR_CCHERWIG()
#----------------------------------------
AC_DEFUN([AC_CEDAR_CCHERWIG], [
AC_ARG_VAR([THEPEGPATH], [path to ThePEG installation])
AC_ARG_WITH([thepeg], AC_HELP_STRING([--with-thepeg], [path to ThePEG installation]))
if test "x$with_thepeg" != "xno"; then THEPEGPATH="$with_thepeg"; fi
if test "$THEPEGPATH"; then
THEPEGCPPFLAGS="-I$THEPEGPATH/include"
THEPEGLDFLAGS="-L$THEPEGPATH/lib/ThePEG"
THEPEGLDLIBS="-lThePEG"
fi
AC_PATH_PROG(HERWIGCONFIG, [herwig-config], [], [$with_ccherwig/bin:$PATH])
if test x$HERWIGCONFIG != x; then
CCHERWIGPATH=`$HERWIGCONFIG --prefix`
CCHERWIGINCPATH=`$HERWIGCONFIG --includedir`
CCHERWIGLIBPATH=`$HERWIGCONFIG --libdir`
CCHERWIGDATAPATH=`$HERWIGCONFIG --datadir`
CCHERWIGLIBNAME=`$HERWIGCONFIG --libname`
## For some reason, Genser's H++ install doesn't report the ThePEG paths in herwig-config...
CCHERWIGCPPFLAGS="`$HERWIGCONFIG --cppflags` $THEPEGCPPFLAGS"
CCHERWIGLDFLAGS="`$HERWIGCONFIG --ldflags` $THEPEGLDFLAGS"
CCHERWIGLDLIBS="`$HERWIGCONFIG --ldlibs` $THEPEGLDLIBS"
AC_SUBST(CCHERWIGPATH)
AC_SUBST(CCHERWIGINCPATH)
AC_SUBST(CCHERWIGLIBPATH)
AC_SUBST(CCHERWIGDATAPATH)
AC_SUBST(CCHERWIGLIBNAME)
AC_SUBST(CCHERWIGCPPFLAGS)
AC_SUBST(CCHERWIGLDFLAGS)
AC_SUBST(CCHERWIGLDLIBS)
$1
else
AC_MSG_WARN([Could not find herwig-config script])
$2
fi
])
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, May 14, 11:33 AM (11 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5111452
Default Alt Text
ccherwig.m4 (1 KB)
Attached To
rRIVETHG rivethg
Event Timeline
Log In to Comment