Commit e349d78d e349d78d894342077f9cc5647f3e1a248df3eddd by Jeff Bailey

Reorder configure.in to make guimb work

1 parent 2123ea1f
2001-11-20 Jeff Bailey <jbailey@outpost.dnsalias.org>
* configure.in: Set CPPFLAGS last. $(sysconfdir) requires
make to get it expanded, and it fubars autoconf tests.
2001-11-17 Alain Magloire
* include/mailutils/mailbox.h: Remove prototype
......
......@@ -272,9 +272,6 @@ ODBM)
POPAUTH=popauth]);;
esac
dnl Make sysconfdir available to the application
CPPFLAGS="$CPPFLAGS -DSYSCONFDIR=\\\"\$(sysconfdir)\\\""
dnl Check for Guile
AC_SUBST(GUILE_INCLUDES)
AC_SUBST(GUILE_LIBS)
......@@ -295,6 +292,13 @@ if test x"$useguile" = x"yes"; then
fi
fi
dnl Make sysconfdir available to the application
dnl This must be done LAST, since CPPFLAGS is passed by configure
dnl to build tests, but this relies on being run in make to
dnl get sysconfdir expanded.
CPPFLAGS="$CPPFLAGS -DSYSCONFDIR=\\\"\$(sysconfdir)\\\""
dnl Output Makefiles
AC_OUTPUT(Makefile mailutils.spec include/Makefile include/mailutils/Makefile
m4/Makefile doc/Makefile doc/man/Makefile doc/rfc/Makefile
......