Update of /cvsroot/echempp
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv6918
Modified Files:
build.sh configure.in
Log Message:
Build system change due to BOOSTXXX.
Index: build.sh
===================================================================
RCS file: /cvsroot/echempp/build.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** build.sh 17 Mar 2008 07:29:09 -0000 1.1
--- build.sh 27 Mar 2008 13:01:38 -0000 1.2
***************
*** 31,35 ****
# Set this to 1 if you are behind a firewall and want to use cvsgrab
# for anonymous cvs acess
! USE_CVSGRAB=1
# Proxy host to use for http access
PROXY_HOST=www-cache
--- 31,35 ----
# Set this to 1 if you are behind a firewall and want to use cvsgrab
# for anonymous cvs acess
! USE_CVSGRAB=0
# Proxy host to use for http access
PROXY_HOST=www-cache
***************
*** 56,60 ****
BOOSTLIB=/usr/lib
BOOSTSRC=/usr/include
- SPIRITSRC=/usr/include
GINACSRC=/usr/include/ginac
GINACLIB=/usr/lib
--- 56,59 ----
***************
*** 90,94 ****
echo "export BOOSTLIB=${BOOSTLIB}" >> ${BUILDDIR}/sourceme
echo "export BOOSTSRC=${BOOSTSRC}" >> ${BUILDDIR}/sourceme
- echo "export SPIRITSRC=${SPIRITSRC}" >> ${BUILDDIR}/sourceme
echo "export GINACSRC=${GINACSRC}" >> ${BUILDDIR}/sourceme
echo "export GINACLIB=${GINACLIB}" >> ${BUILDDIR}/sourceme
--- 89,92 ----
Index: configure.in
===================================================================
RCS file: /cvsroot/echempp/configure.in,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** configure.in 30 Nov 2006 12:35:18 -0000 1.22
--- configure.in 27 Mar 2008 13:01:38 -0000 1.23
***************
*** 102,106 ****
dnl turn on optimization per default
! CXXFLAGS="-O2 -Wuninitialized -funroll-loops -funroll-all-loops -fstrict-aliasing $CXXFLAGS"
dnl The user can choose wether he wants to compile the package without
--- 102,106 ----
dnl turn on optimization per default
! CXXFLAGS="-O2 -Wuninitialized -fstrict-aliasing $CXXFLAGS"
dnl The user can choose wether he wants to compile the package without
***************
*** 165,168 ****
--- 165,184 ----
esac],[static=true])
+ dnl Note: In future it might be better to remove all the environment variables
+ dnl and let the user specify it to the configure script via --with-xxx.
+ dnl db
+ dnl AC_ARG_WITH(boost,
+ dnl [ --with-boost=<path> prefix of boost installation. e.g. /usr or /usr/local],
+ dnl [BOOST_PREFIX=$with_boost],
+ dnl AC_MSG_ERROR([You must call configure with the --with-boost option.
+ dnl This tells configure where to find the boost library and headers.
+ dnl e.g. --with-boost=/usr/local or --with-boost=/usr])
+ dnl )
+ dnl AC_SUBST(BOOST_PREFIX)
+ dnl BOOST_LIBS="-L${BOOST_PREFIX}/lib"
+ dnl BOOST_CFLAGS="-I${BOOST_PREFIX}/include -I${BOOST_PREFIX}/include/boost"
+ dnl AC_SUBST(BOOST_LIBS)
+ dnl AC_SUBST(BOOST_CFLAGS)
+
AC_MSG_CHECKING([staticexe])
AC_MSG_RESULT([$staticexe])
|