--- yoda/configure.in 2005/05/07 09:07:19 4.2 +++ yoda/configure.in 2005/05/28 13:05:08 4.2.2.1 @@ -7,7 +7,7 @@ AC_INIT(event/PamelaRun.h) dnl Adds several standard checks. It takes the program name and version number as arguments. -AM_INIT_AUTOMAKE([yoda],[4.2.3]) +AM_INIT_AUTOMAKE([yoda],[4.2.4]) dnl Indicates that you will be using a config.h file dnl config.h will be generated by AUTOCONF using a confing.h.in file @@ -117,6 +117,22 @@ [--with-log4cxx=path Use the specified directroy for log4cxx], LOG4CXX=$with_log4cxx,) LOG4CXX_INCLUDES="-I${LOG4CXX}/include" +AC_SUBST(LOG4CXX_INCLUDES) +#------------------------------------------------------------ +AC_ARG_WITH(log4cxx, + [--with-log4cxx=path Use the specified directroy for log4cxx], + LOG4CXX=$with_log4cxx,) + +LOG4CXX_LIBRARY="${LOG4CXX}/lib" +LOG4CXX_INCLUDES="-I${LOG4CXX}/include" +LOG4CXX_LDFLAGS=" ${LOG4CXX_LIBRARY}/liblog4cxx.so " + +AC_SUBST(LOG4CXX_INCLUDES) +AC_SUBST(LOG4CXX_LDFLAGS) +AC_SUBST(LOG4CXX_LIBRARY) +#------------------------------------------------------------ + + dnl Checks for header files. AC_HEADER_STDC