mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
configure: use tradcpp as GENCPP
This commit is contained in:
parent
215be15f16
commit
67ee2216f5
1 changed files with 6 additions and 10 deletions
|
@ -209,16 +209,9 @@ AC_PROG_CXX
|
||||||
|
|
||||||
AC_PROG_CPP
|
AC_PROG_CPP
|
||||||
|
|
||||||
dnl we need a real preprocessor, not gcc -E. We will call it GENCPP. We may
|
dnl we need a real preprocessor, not gcc -E. We will call it GENCPP. We will
|
||||||
dnl just bite the bullet and go with BSD's tradcpp here...
|
dnl go with BSD's tradcpp here...
|
||||||
CPP_PATH="`which cpp`"
|
AC_SUBST(GENCPP, '$(top_builddir)/util/tradcpp/tradcpp')
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
AM_PROG_LIBTOOL
|
AM_PROG_LIBTOOL
|
||||||
AC_PROG_YACC
|
AC_PROG_YACC
|
||||||
|
@ -299,6 +292,9 @@ dnl All of the makefiles we need to generate go here...
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
|
|
||||||
|
util/Makefile
|
||||||
|
util/tradcpp/Makefile
|
||||||
|
|
||||||
lib/Makefile
|
lib/Makefile
|
||||||
|
|
||||||
lib/DtXinerama/Makefile
|
lib/DtXinerama/Makefile
|
||||||
|
|
Loading…
Reference in a new issue