Signed-off-by: Peter Breitenlohner <p...@mppmu.mpg.de>
---
 t/objcxx-demo.sh |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/t/objcxx-demo.sh b/t/objcxx-demo.sh
index 3baf677..f5e802a 100755
--- a/t/objcxx-demo.sh
+++ b/t/objcxx-demo.sh
@@ -16,10 +16,12 @@
 
 # Demo package using Objective C++ and doing distcheck.
 
-required='c c++'
+required='cc c++'
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
+# Objective C++ requires Autoconf 2.65 (2009-11-21)
+AC_PREREQ([2.65])
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_OBJC
@@ -49,7 +51,13 @@ echo '/* */' >> playobjc.m
 
 echo '//' >> playobjcxx.mm
 
-$ACLOCAL
+$ACLOCAL || {
+  if test $? -eq 63; then
+    exit 77
+  else
+    exit $?
+  fi
+}
 $AUTOCONF
 $AUTOHEADER
 $AUTOMAKE --add-missing
-- 
1.7.3.1


Reply via email to