From: <ber...@us...> - 2008-06-04 00:36:05
|
Revision: 1377 http://ganglia.svn.sourceforge.net/ganglia/?rev=1377&view=rev Author: bernardli Date: 2008-06-03 17:36:13 -0700 (Tue, 03 Jun 2008) Log Message: ----------- Correctly substitute $libdir with the libdir of the system, i.e. $prefix/lib on 32-bit and $prefix/lib64 on 64-bit systems Modified Paths: -------------- trunk/gexec/gexec/configure.ac Modified: trunk/gexec/gexec/configure.ac =================================================================== --- trunk/gexec/gexec/configure.ac 2008-06-03 11:16:19 UTC (rev 1376) +++ trunk/gexec/gexec/configure.ac 2008-06-04 00:36:13 UTC (rev 1377) @@ -16,7 +16,7 @@ dnl dnl Change default installation prefix dnl -AC_PREFIX_DEFAULT(/usr/local) +AC_PREFIX_DEFAULT(/usr) dnl dnl Checks for programs. @@ -29,13 +29,14 @@ dnl dnl Optional modules (static linking for libganglia for now) -dnl +dnl +AC_SUBST(libdir) AC_ARG_ENABLE(ganglia, [ --enable-ganglia Enable use of Ganglia for node selection.], [ if test "$enableval" = "yes" ; then echo "Use of Ganglia for node selection enabled" AC_DEFINE(GANGLIA) - GANGLIA_LIB="@libdir@/libganglia.a" + GANGLIA_LIB="$libdir/libganglia.a" else GANGLIA_LIB="" fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |