* m4/cxx.m4, examples/Makefile.am: Don't build

examples/calc++ if no C++ compiler is available.
This commit is contained in:
Paul Eggert
2005-11-10 00:33:04 +00:00
parent a8991a1da4
commit 5210672f6b
3 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2005-11-09 Albert Chin-A-Young <china@thewrittenword.com>
* m4/cxx.m4, examples/Makefile.am: Don't build
examples/calc++ if no C++ compiler is available. (trivial change)
2005-11-09 Akim Demaille <akim@epita.fr>
* src/scan-skel.l: Use a couple of asserts.

View File

@@ -16,6 +16,8 @@
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
## 02110-1301 USA
if BISON_CXX_WORKS
SUBDIRS = calc++
endif
dist_noinst_SCRIPTS = extexi

View File

@@ -44,4 +44,5 @@ AC_DEFUN([BISON_TEST_FOR_WORKING_CXX_COMPILER],
esac
AC_SUBST([BISON_CXX_WORKS])
AM_CONDITIONAL(BISON_CXX_WORKS, test $bison_cv_cxx_works = yes)
])