From 67ee2216f55c185a15818ba7c529942526c1daed Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Wed, 30 Oct 2019 19:19:49 -0600 Subject: [PATCH] configure: use tradcpp as GENCPP --- cde/configure.ac | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/cde/configure.ac b/cde/configure.ac index ef6a645d..16a59358 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -209,16 +209,9 @@ AC_PROG_CXX AC_PROG_CPP -dnl we need a real preprocessor, not gcc -E. We will call it GENCPP. We may -dnl just bite the bullet and go with BSD's tradcpp here... -CPP_PATH="`which cpp`" -if test -z "$CPP_PATH" -then - AC_MSG_ERROR([Could not find a C preprocessor (cpp). Please install it.]); -else - AC_SUBST(GENCPP, "$CPP_PATH -traditional -nostdinc", [CPP command]) -fi - +dnl we need a real preprocessor, not gcc -E. We will call it GENCPP. We will +dnl go with BSD's tradcpp here... +AC_SUBST(GENCPP, '$(top_builddir)/util/tradcpp/tradcpp') AM_PROG_LIBTOOL AC_PROG_YACC @@ -299,6 +292,9 @@ dnl All of the makefiles we need to generate go here... AC_CONFIG_FILES([ Makefile +util/Makefile +util/tradcpp/Makefile + lib/Makefile lib/DtXinerama/Makefile -- 2.25.1