Reorder configure.in to make guimb work
Showing
2 changed files
with
12 additions
and
3 deletions
1 | 2001-11-20 Jeff Bailey <jbailey@outpost.dnsalias.org> | ||
2 | |||
3 | * configure.in: Set CPPFLAGS last. $(sysconfdir) requires | ||
4 | make to get it expanded, and it fubars autoconf tests. | ||
5 | |||
1 | 2001-11-17 Alain Magloire | 6 | 2001-11-17 Alain Magloire |
2 | 7 | ||
3 | * include/mailutils/mailbox.h: Remove prototype | 8 | * include/mailutils/mailbox.h: Remove prototype | ... | ... |
... | @@ -272,9 +272,6 @@ ODBM) | ... | @@ -272,9 +272,6 @@ ODBM) |
272 | POPAUTH=popauth]);; | 272 | POPAUTH=popauth]);; |
273 | esac | 273 | esac |
274 | 274 | ||
275 | dnl Make sysconfdir available to the application | ||
276 | CPPFLAGS="$CPPFLAGS -DSYSCONFDIR=\\\"\$(sysconfdir)\\\"" | ||
277 | |||
278 | dnl Check for Guile | 275 | dnl Check for Guile |
279 | AC_SUBST(GUILE_INCLUDES) | 276 | AC_SUBST(GUILE_INCLUDES) |
280 | AC_SUBST(GUILE_LIBS) | 277 | AC_SUBST(GUILE_LIBS) |
... | @@ -295,6 +292,13 @@ if test x"$useguile" = x"yes"; then | ... | @@ -295,6 +292,13 @@ if test x"$useguile" = x"yes"; then |
295 | fi | 292 | fi |
296 | fi | 293 | fi |
297 | 294 | ||
295 | dnl Make sysconfdir available to the application | ||
296 | dnl This must be done LAST, since CPPFLAGS is passed by configure | ||
297 | dnl to build tests, but this relies on being run in make to | ||
298 | dnl get sysconfdir expanded. | ||
299 | |||
300 | CPPFLAGS="$CPPFLAGS -DSYSCONFDIR=\\\"\$(sysconfdir)\\\"" | ||
301 | |||
298 | dnl Output Makefiles | 302 | dnl Output Makefiles |
299 | AC_OUTPUT(Makefile mailutils.spec include/Makefile include/mailutils/Makefile | 303 | AC_OUTPUT(Makefile mailutils.spec include/Makefile include/mailutils/Makefile |
300 | m4/Makefile doc/Makefile doc/man/Makefile doc/rfc/Makefile | 304 | m4/Makefile doc/Makefile doc/man/Makefile doc/rfc/Makefile | ... | ... |
-
Please register or sign in to post a comment