summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/slibtool.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4
index 121e00a..024eecb 100644
--- a/m4/slibtool.m4
+++ b/m4/slibtool.m4
@@ -392,8 +392,6 @@ AC_REQUIRE([AC_PROG_CXXCPP])
AC_REQUIRE([AC_PROG_OBJC])
AC_REQUIRE([AC_PROG_OBJCPP])
-AC_REQUIRE([AC_PROG_OBJCXX])
-AC_REQUIRE([AC_PROG_OBJCXXCPP])
AC_REQUIRE([AC_PROG_FC])
AC_REQUIRE([AC_PROG_F77])
@@ -408,6 +406,9 @@ AC_REQUIRE([AC_PROG_RANLIB])
AC_REQUIRE([AC_PROG_LN_S])
AC_REQUIRE([AC_PROG_MKDIR_P])
+m4_ifndef([AC_PROG_OBJCXX], [AC_DEFUN([AC_PROG_OBJCXX],[AC_SUBST([OBJCXX])])])
+m4_ifndef([AC_PROG_OBJCXXCPP], [AC_DEFUN([AC_PROG_OBJCXXCPP],[AC_SUBST([OBJCXXCPP])])])
+
AC_PROG_CC
AC_PROG_CPP
AC_PROG_CXX