+Wed Nov 2 20:39:14 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * aclocal.m4 (CONFIG_RULES, WITH_CPPOPTS): Add support for a new
+ "--with-cppopts" value where you can put -DXXXXX such that
+ they are found by autoconf tests that use run the
+ preprocessor over header files.
+
Sat Oct 22 13:25:18 1994 (tytso@rsx-11)
* aclocal.m4 (CopyHeader): Remove header file from include
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo>>> $1 <<<"in $(CURRENT_DIR)$$i..."; \
- $(MAKE) $(MFLAGS) CCOPTS="$(CCOPTS)" CC="$(CC)" \
+ $(MAKE) $(MFLAGS) CC="$(CC)" \
+ CPPOPTS="$(CPPOPTS)" CCOPTS="$(CCOPTS)" \
CURRENT_DIR=$(CURRENT_DIR)$$i/ >>>$2<<<); \
done>>>
changequote([,])dnl
dnl
define(CONFIG_RULES,[
WITH_CC dnl
+WITH_CPPOPTS dnl
AC_DIVERT_PUSH(AC_DIVERSION_MAKEFILE)dnl
[
SHELL=/bin/sh
CCOPTS=)dnl
AC_SUBST(CCOPTS)])dnl
dnl
+dnl set $(CPPOPTS) from --with-cppopts=value
+dnl
+define(WITH_CPPOPTS,[
+AC_ARG_WITH([cppopts],[select compiler preprocessor command line options],
+echo CPPOPTS=$withval
+CPPOPTS=$withval
+CPPFLAGS="$CPPFLAGS $withval",
+echo CPPOPTS defaults to $CPPOPTS)dnl
+AC_SUBST(CPPOPTS)])dnl
+dnl
dnl Imake LinkFile rule, so they occur in the right place -- LinkFile(dst,src)
dnl
define(LinkFile,[