You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2013/07/24 22:23:27 UTC
svn commit: r1506694 - /qpid/trunk/qpid/cpp/configure.ac
Author: astitcher
Date: Wed Jul 24 20:23:27 2013
New Revision: 1506694
URL: http://svn.apache.org/r1506694
Log:
QPID-5014: Require "--enable-deprecated-autotools" to use autotools
Modified:
qpid/trunk/qpid/cpp/configure.ac
Modified: qpid/trunk/qpid/cpp/configure.ac
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/configure.ac?rev=1506694&r1=1506693&r2=1506694&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/configure.ac (original)
+++ qpid/trunk/qpid/cpp/configure.ac Wed Jul 24 20:23:27 2013
@@ -33,6 +33,22 @@ AC_LANG([C++])
# doesn't exist)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[],[AC_MSG_ERROR([No C++ compiler found])])
+AC_ARG_ENABLE(deprecated-autotools,
+ [AS_HELP_STRING([--enable-deprecated-autotools],[Allow use of deprecated autotools build])],
+ [],
+ [enableval=no])
+case "${enableval}" in
+ yes) ;;
+ *) AC_MSG_ERROR([
+
+The autotools build system is deprecated and will be removed in the
+next release. Please use the cmake build system instead. See INSTALL
+for how to use cmake to build qpid.
+
+If you still want to use the autotools build you must add
+"--enable-deprecated-autotools" to the invocation of configure.
+]) ;;
+esac
# Check for optional use of help2man
AC_CHECK_PROG([HELP2MAN], [help2man], [help2man])
@@ -559,9 +575,9 @@ cat <<EOF
The autotools build system is deprecated, use the cmake build system
instead as described in the INSTALL file.
- You can continue to use the autotools system for now, but it will be
- removed in a future release. If you encounter any problems with the
- cmake system send email to dev@qpid.apache.org.
+ You can continue to use the autotools system, but it will be removed
+ in the next release. If you encounter any problems with the cmake
+ system send email to dev@qpid.apache.org.
========================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org