initial rev.

svn path=/trunk/; revision=611
This commit is contained in:
Marcin Gorycki
1999-01-19 08:23:48 +00:00
parent b845cac9cc
commit 6b547a4d98

15
macros/gnome-cxx-check.m4 Normal file
View File

@ -0,0 +1,15 @@
AC_DEFUN([GNOME_CHECK_CXX],
[
AC_CHECK_PROG(cxx_found, c++, yes, no)
AC_CHECK_PROG(cxx_found, g++, yes, no)
AC_CHECK_PROG(cxx_found, CC, yes, no)
AC_CHECK_PROG(cxx_found, cxx, yes, no)
AC_CHECK_PROG(cxx_found, cc++, yes, no)
if test "x$cxx_found" = "xyes"; then
AC_PROG_CXX
else
AC_MSG_WARN(No C++ compiler - gnometris will not be built!)
fi
AM_CONDITIONAL(CXX_PRESENT, test "x$cxx_found" = xyes)
])