65 |
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) |
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) |
66 |
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) |
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) |
67 |
|
|
68 |
|
|
69 |
dnl Process the different options |
dnl Process the different options |
70 |
AC_ARG_WITH(root, |
AC_ARG_WITH(root, |
71 |
[--with-root=path Use the specified ROOT directory], |
[--with-root=path Use the specified ROOT directory], |
73 |
|
|
74 |
ROOT_LIBRARY="${ROOTSYS}/lib" |
ROOT_LIBRARY="${ROOTSYS}/lib" |
75 |
|
|
76 |
ROOT_LDFLAGS="${ROOT_LIBRARY}/libHist.so ${ROOT_LIBRARY}/libMatrix.so ${ROOT_LIBRARY}/libTree.so ${ROOT_LIBRARY}/libCore.so ${ROOT_LIBRARY}/libCint.so -ldl" |
ROOT_LDFLAGS="${ROOT_LIBRARY}/libXrdRootd.so ${ROOT_LIBRARY}/libXrdSec.so \ |
77 |
|
${ROOT_LIBRARY}/libCint.so ${ROOT_LIBRARY}/libCore.so \ |
78 |
|
${ROOT_LIBRARY}/libMatrix.so ${ROOT_LIBRARY}/libHist.so \ |
79 |
|
${ROOT_LIBRARY}/libTree.so ${ROOT_LIBRARY}/libGraf.so \ |
80 |
|
${ROOT_LIBRARY}/libGraf3d.so ${ROOT_LIBRARY}/libGpad.so \ |
81 |
|
${ROOT_LIBRARY}/libGui.so ${ROOT_LIBRARY}/libMinuit.so \ |
82 |
|
${ROOT_LIBRARY}/libHistPainter.so ${ROOT_LIBRARY}/libTreePlayer.so \ |
83 |
|
${ROOT_LIBRARY}/libTreeViewer.so ${ROOT_LIBRARY}/libProof.so \ |
84 |
|
${ROOT_LIBRARY}/libProofGui.so ${ROOT_LIBRARY}/libPhysics.so \ |
85 |
|
${ROOT_LIBRARY}/libRint.so ${ROOT_LIBRARY}/libHtml.so \ |
86 |
|
${ROOT_LIBRARY}/libEG.so ${ROOT_LIBRARY}/libGeom.so \ |
87 |
|
${ROOT_LIBRARY}/libGeomPainter.so ${ROOT_LIBRARY}/libVMC.so \ |
88 |
|
${ROOT_LIBRARY}/libFumili.so ${ROOT_LIBRARY}/libMLP.so \ |
89 |
|
${ROOT_LIBRARY}/libGedOld.so ${ROOT_LIBRARY}/libGed.so \ |
90 |
|
${ROOT_LIBRARY}/libQuadp.so ${ROOT_LIBRARY}/libGuiBld.so \ |
91 |
|
${ROOT_LIBRARY}/libGX11.so ${ROOT_LIBRARY}/libGX11TTF.so \ |
92 |
|
${ROOT_LIBRARY}/libX3d.so ${ROOT_LIBRARY}/libSrvAuth.so \ |
93 |
|
${ROOT_LIBRARY}/libRGL.so ${ROOT_LIBRARY}/libASImage.so \ |
94 |
|
${ROOT_LIBRARY}/libThread.so ${ROOT_LIBRARY}/libRXML.so \ |
95 |
|
${ROOT_LIBRARY}/libNetx.so -ldl" |
96 |
|
|
97 |
|
|
98 |
ROOT_INCLUDES="-I${ROOTSYS}/include" |
ROOT_INCLUDES="-I${ROOTSYS}/include" |
99 |
AC_SUBST(ROOT_INCLUDES) |
AC_SUBST(ROOT_INCLUDES) |
101 |
ROOTCINT=${ROOTSYS}/bin/rootcint |
ROOTCINT=${ROOTSYS}/bin/rootcint |
102 |
AC_SUBST(ROOTCINT) |
AC_SUBST(ROOTCINT) |
103 |
|
|
104 |
AC_ARG_WITH(log4cppp, |
AC_MSG_CHECKING(for gprof) |
105 |
[--with-log4cpp=path Use the specified directroy for log4cpp], |
AC_ARG_ENABLE(gprof, |
106 |
LOG4CPP=$with_log4cpp,) |
[--enable-gprof enable memory profiling with gprof], |
107 |
|
gprof=$enableval,gprof=no) |
108 |
|
if test "$gprof" != no |
109 |
|
then |
110 |
|
CXXFLAGS="-pg $CXXFLAGS" |
111 |
|
AC_MSG_RESULT(enabled) |
112 |
|
else |
113 |
|
AC_MSG_RESULT(no) |
114 |
|
fi |
115 |
|
|
116 |
|
AC_ARG_WITH(log4cxx, |
117 |
|
[--with-log4cxx=path Use the specified directroy for log4cxx], |
118 |
|
LOG4CXX=$with_log4cxx,) |
119 |
|
LOG4CXX_INCLUDES="-I${LOG4CXX}/include" |
120 |
|
|
121 |
dnl Checks for header files. |
dnl Checks for header files. |
122 |
AC_HEADER_STDC |
AC_HEADER_STDC |
138 |
event/physics/tracker/Makefile \ |
event/physics/tracker/Makefile \ |
139 |
event/physics/anticounter/Makefile \ |
event/physics/anticounter/Makefile \ |
140 |
event/physics/calorimeter/Makefile \ |
event/physics/calorimeter/Makefile \ |
141 |
|
event/physics/neutronDetector/Makefile \ |
142 |
|
event/physics/S4/Makefile \ |
143 |
dnl ------------------makes for Packets and SubPackets---------------- |
dnl ------------------makes for Packets and SubPackets---------------- |
144 |
|
|
145 |
|
|
146 |
dnl ------------------makes for Techmodel Data---------------- |
dnl ------------------makes for Techmodel Data---------------- |
147 |
techmodel/Makefile \ |
techmodel/Makefile \ |
|
techmodel/forroutines/Makefile \ |
|
148 |
techmodel/forroutines/tracker/Makefile \ |
techmodel/forroutines/tracker/Makefile \ |
149 |
techmodel/forroutines/tracker/readraw/Makefile \ |
techmodel/forroutines/tracker/readraw/Makefile \ |
150 |
techmodel/forroutines/anticounter/Makefile \ |
techmodel/forroutines/anticounter/Makefile \ |
151 |
|
techmodel/forroutines/calorimeter/Makefile \ |
152 |
|
techmodel/forroutines/Makefile \ |
153 |
techmodel/physics/Makefile \ |
techmodel/physics/Makefile \ |
154 |
dnl ------------------makes for Techmodel Data---------------- |
dnl ------------------makes for Techmodel Data---------------- |
|
|
|
|
|
|
155 |
) |
) |
156 |
|
|
157 |
|
|