summaryrefslogtreecommitdiff
path: root/libjava/acinclude.m4
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1999-09-28 20:14:11 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-09-28 20:14:11 +0000
commit54ce745286c68e002388d2f116b911fa8102045f (patch)
tree7703f2adcbe44cbf0f427b640f6cb47183cd0fd6 /libjava/acinclude.m4
parentc81fc13e34621ae4506ffaae7d3b657aaeb17803 (diff)
downloadgcc-54ce745286c68e002388d2f116b911fa8102045f.tar.gz
aclocal.m4, configure: Rebuilt.
* aclocal.m4, configure: Rebuilt. * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide From-SVN: r29698
Diffstat (limited to 'libjava/acinclude.m4')
-rw-r--r--libjava/acinclude.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/acinclude.m4 b/libjava/acinclude.m4
index 1b7186a8d19..de2f96cdcef 100644
--- a/libjava/acinclude.m4
+++ b/libjava/acinclude.m4
@@ -44,6 +44,8 @@ AM_INIT_AUTOMAKE(libjava, $version)
AC_DEFUN(LIB_AC_PROG_CC,
[AC_BEFORE([$0], [AC_PROG_CPP])dnl
+dnl Fool anybody using AC_PROG_CC.
+AC_PROVIDE([AC_PROG_CC])
AC_CHECK_PROG(CC, gcc, gcc)
if test -z "$CC"; then
AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc)
@@ -79,6 +81,8 @@ LIB_AC_PROG_CC
# Likewise for AC_PROG_CXX.
AC_DEFUN(LIB_AC_PROG_CXX,
[AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
+dnl Fool anybody using AC_PROG_CXX.
+AC_PROVIDE([AC_PROG_CXX])
AC_CHECK_PROGS(CXX, $CCC c++ g++ gcc CC cxx cc++, gcc)
test -z "$CXX" && AC_MSG_ERROR([no acceptable c++ found in \$PATH])