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/25 22:53:36 UTC

svn commit: r1507121 - /qpid/branches/0.24/qpid/cpp/configure.ac

Author: astitcher
Date: Thu Jul 25 20:53:36 2013
New Revision: 1507121

URL: http://svn.apache.org/r1507121
Log:
QPID-5014: Require "--enable-deprecated-autotools" to use autotools

Modified:
    qpid/branches/0.24/qpid/cpp/configure.ac

Modified: qpid/branches/0.24/qpid/cpp/configure.ac
URL: http://svn.apache.org/viewvc/qpid/branches/0.24/qpid/cpp/configure.ac?rev=1507121&r1=1507120&r2=1507121&view=diff
==============================================================================
--- qpid/branches/0.24/qpid/cpp/configure.ac (original)
+++ qpid/branches/0.24/qpid/cpp/configure.ac Thu Jul 25 20:53:36 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