diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2012-11-02 18:08:52 +0000 |
---|---|---|
committer | Andrew Hughes <andrew@gandalf.(none)> | 2012-11-02 18:09:39 +0000 |
commit | c814d82e5a435f93150cd28b7cf0f9d600ff400d (patch) | |
tree | afe2f3add4ac95715d03331dfe4c1daa20e2a364 /configure.ac | |
parent | 2f2203bd748429389d7a06e3f278b2bef36718bb (diff) | |
download | classpath-c814d82e5a435f93150cd28b7cf0f9d600ff400d.tar.gz |
PR55182: Fix build on RHEL6libgcj-import-20121202
2012-11-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/55182
* configure.ac:
Lower required version to support autoconf
on RHEL6. Make disabling Werror the default.
If a Qt4-specific moc is detected, use it
rather than the default.
* doc/Makefile.am:
Generate texi2dvi output in the build directory
and explicitly specify POSIX locale to work around
Debian bug 586134.
(clean-local): Remove output from texi2dvi.
Signed-off-by: Andrew Hughes <gnu_andrew@member.fsf.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index bd48e84af..b20a4bb1b 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,7 @@ AC_SUBST(CLASSPATH_MODULE) CLASSPATH_CONVENIENCE="-no-undefined" AC_SUBST(CLASSPATH_CONVENIENCE) -AC_PREREQ(2.65) +AC_PREREQ(2.63) AM_INIT_AUTOMAKE([1.9.0 gnu std-options tar-ustar -Wno-portability]) AC_CONFIG_HEADERS([include/config.h]) AC_PREFIX_DEFAULT(/usr/local/classpath) @@ -143,9 +143,9 @@ AC_ARG_ENABLE([Werror], [case "${enableval}" in yes) ENABLE_WERROR=yes ;; no) ENABLE_WERROR=no ;; - *) ENABLE_WERROR=default ;; + *) ENABLE_WERROR=no ;; esac], - [ENABLE_WERROR=default]) + [ENABLE_WERROR=no]) dnl ----------------------------------------------------------- dnl Default AWT toolkit @@ -654,7 +654,11 @@ if test "x${COMPILE_JNI}" = xyes; then QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR", AC_MSG_WARN([QWidget not found]))) AC_CHECK_PROG(MOC, [moc], [moc]) - AC_CHECK_PROG(MOC, [moc-qt4], [moc-qt4]) + AC_CHECK_PROG(MOC4, [moc-qt4], [moc-qt4]) + if test x"$MOC4" != x ; then + AC_MSG_NOTICE([Using $MOC4 as moc]) + MOC=$MOC4; + fi fi if test "x$HAVE_QT4" = "xno"; then AC_MSG_NOTICE([Looking for QT_CFLAGS and QT_LIBS without pkg-config]) |