summaryrefslogtreecommitdiff
path: root/t/objcxx-deps.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/objcxx-deps.sh')
-rwxr-xr-xt/objcxx-deps.sh12
1 files changed, 2 insertions, 10 deletions
diff --git a/t/objcxx-deps.sh b/t/objcxx-deps.sh
index fef4ac549..5f3508064 100755
--- a/t/objcxx-deps.sh
+++ b/t/objcxx-deps.sh
@@ -17,11 +17,9 @@
# Automatic dependency tracking for Objective C++.
# See also sister test 'objc-deps.sh'.
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac << 'END'
-dnl Support for Object C++ was introduced only in Autoconf 2.65.
-AC_PREREQ([2.65])
AC_PROG_OBJCXX
AC_OUTPUT
END
@@ -50,13 +48,7 @@ int main (void)
}
END
-if $ACLOCAL; then
- : We have a modern enough autoconf, go ahead.
-elif test $? -eq 63; then
- skip_ "Object C++ support requires Autoconf 2.65 or later"
-else
- exit 1 # Some other aclocal failure.
-fi
+$ACLOCAL
$AUTOCONF
$AUTOMAKE --add-missing