Hi, Doesn't this patch always set BOOST_*_DIRS to some multi-arch directory (if gcc is found), even if it was installed in a standard location (/usr or /usr/local)? Shouldn't it only set these if a multi-arch directory is actually found?
Frank On Tue, May 05, 2015 at 04:34:27PM +0000, [email protected] wrote: > User: bmundim > Date: 2015/05/05 11:34 AM > > Modified: > /trunk/ > configure.sh > > Log: > Define multiarch library directory. > > See discussions at https://trac.einsteintoolkit.org/ticket/1769 > > File Changes: > > Directory: /trunk/ > ================== > > File [modified]: configure.sh > Delta lines: +11 -1 > =================================================================== > --- trunk/configure.sh 2014-05-29 20:47:04 UTC (rev 6) > +++ trunk/configure.sh 2015-05-05 16:34:26 UTC (rev 7) > @@ -151,9 +151,19 @@ > # Configure Cactus > > ################################################################################ > > +# Set library directory name for machine architecture: > +gcc -dumpversion > /dev/null 2>&1 > + > +if [ $? -eq 0 ]; then > + MACHINE=${MACHINE:=`gcc -dumpmachine`} > +else > + MACHINE=${MACHINE:=""} > +fi > + > # Set options > if [ "${BOOST_DIR}" = '/usr' -o "${BOOST_DIR}" = '/usr/local' ]; then > - : # do nothing > + BOOST_INC_DIRS="${BOOST_DIR}/include" > + BOOST_LIB_DIRS="${BOOST_DIR}/lib/${MACHINE}" > else > BOOST_INC_DIRS="${BOOST_DIR}/include" > if [ -d ${BOOST_DIR}/lib64 ]; then > > _______________________________________________ > Commits mailing list > [email protected] > http://cactuscode.org/mailman/listinfo/commits
signature.asc
Description: Digital signature
_______________________________________________ Users mailing list [email protected] http://cactuscode.org/mailman/listinfo/users
