diff options
Diffstat (limited to 'cpp/configure.ac')
| -rw-r--r-- | cpp/configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac index 4ba175a71c..b07b06b1d4 100644 --- a/cpp/configure.ac +++ b/cpp/configure.ac @@ -117,6 +117,7 @@ AM_CONDITIONAL([HAS_RPMLINT], [test -n "$RPMLINT"]) AC_CHECK_PROG([RUBY], [ruby], [ruby]) test -n "$RUBY" && generate=yes +test -z "$RUBY" && AC_MSG_ERROR([Missing ruby installation (try "yum install ruby").]) specdir=`pwd`/$srcdir/../specs AMQP_XML=$specdir/amqp-transitional.0-10.xml @@ -135,6 +136,9 @@ AC_SUBST(DOWNLOAD_URL) AC_CHECK_HEADERS([boost/shared_ptr.hpp uuid/uuid.h],, AC_MSG_ERROR([Missing required header files.])) +LDFLAGS="$LDFLAGS -lprofiler" + + # Check for cluster requirements. Need openais 0.80.3 or higher.x1 save_ldflags=$LDFLAGS LDFLAGS="$LDFLAGS -L/usr/lib/openais -L/usr/lib64/openais" |
