summaryrefslogtreecommitdiff
path: root/cpp/configure.ac
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-12-12 16:05:01 +0000
committerAlan Conway <aconway@apache.org>2006-12-12 16:05:01 +0000
commit7d0a7581134379324b36d78f8c49dcd793d1ab1e (patch)
treea49ba6cc757891a7ff4cd5fb8e6188ea046840ce /cpp/configure.ac
parentba98deefab7bfd076a8fc1ff55eed42c3cf5efbe (diff)
downloadqpid-python-7d0a7581134379324b36d78f8c49dcd793d1ab1e.tar.gz
2006-12-11 Alan Conway <aconway@redhat.com>
* SPECS/qpid-cpp.spec: Draft RPM spec file for C++. Based on initial draft provided by David Lutterkort <dlutter@redhat.com> * cpp Makefiles: Renamed libraries with qpid prefix: libqpidclient etc. * cpp/man/: moved to docs/man/ * docs/api/usr.doxygen: more restricted, user-oriented doc settings. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486207 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/configure.ac')
-rw-r--r--cpp/configure.ac10
1 files changed, 3 insertions, 7 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac
index 3ee1a9b1de..7f4a313201 100644
--- a/cpp/configure.ac
+++ b/cpp/configure.ac
@@ -41,12 +41,8 @@ AC_ARG_ENABLE(warnings,
build=yes
AC_CHECK_PROGS([JAVA], [java], [no])
AC_CHECK_PROGS([JAVAC], [javac], [no])
-build=yes
-test x$JAVA = xno && build=no
-test x$JAVAC = xno && build=no
-test -d $srcdir/../gentools || build=no
-test -d $srcdir/../specs || build=no
-AM_CONDITIONAL([BUILD_IN_MESSAGE_TREE], [test x$build = xyes])
+AM_CONDITIONAL([CAN_GENERATE_CODE],
+ [test x$JAVA = xyes -a x$JAVAC = xyes -a -d $srcdir/../gentools -a -d $srcdir/../specs ])
# Warnings: Enable as many as possible, keep the code clean. Please
# do not disable warnings or remove -Werror without discussing on
@@ -130,8 +126,8 @@ AC_CONFIG_FILES([
lib/client/Makefile
lib/broker/Makefile
src/Makefile
- man/Makefile
tests/Makefile
+ docs/man/Makefile
docs/api/Makefile
])