summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-09 05:32:51 +0000
committermidipix <writeonce@midipix.org>2021-05-09 05:32:51 +0000
commit7b8d497fc63eb0475ab2969bcc119d6af6491f06 (patch)
tree85b84591292363d4976c0c1b1189ceb4118595d8
parentfb9dae2d4e56b78852332a271da059c9cb21b108 (diff)
downloadslibtool-7b8d497fc63eb0475ab2969bcc119d6af6491f06.tar.bz2
slibtool-7b8d497fc63eb0475ab2969bcc119d6af6491f06.tar.xz
slibtool.m4: AC_PROG_OBJCXX, AC_PROG_OBJCXXCPP: provide fallback definitions.
-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