From 7670c84f7732db29f5a9d9c145c2327f4b575f91 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 29 Oct 2012 07:05:21 +0000 Subject: Implement new "load" directive. Provides support for dynamically loadable objects in GNU make, as a "technology preview". --- main.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index a6d1454..7bcc07a 100644 --- a/main.c +++ b/main.c @@ -1148,6 +1148,12 @@ main (int argc, char **argv, char **envp) #endif #ifdef MAKE_SYMLINKS " check-symlink" +#endif +#ifdef HAVE_GUILE + " guile" +#endif +#ifdef MAKE_LOAD + " load" #endif ; @@ -1156,7 +1162,7 @@ main (int argc, char **argv, char **envp) #ifdef HAVE_GUILE /* Configure GNU Guile support */ - setup_guile (); + guile_gmake_setup (NILF); #endif /* Read in variables from the environment. It is important that this be @@ -1661,8 +1667,7 @@ main (int argc, char **argv, char **envp) /* Read all the makefiles. */ - read_makefiles - = read_all_makefiles (makefiles == 0 ? 0 : makefiles->list); + read_makefiles = read_all_makefiles (makefiles == 0 ? 0 : makefiles->list); #ifdef WINDOWS32 /* look one last time after reading all Makefiles */ @@ -3271,7 +3276,7 @@ die (int status) if (directory_before_chdir != 0) { /* If it fails we don't care: shut up GCC. */ - int _x; + int _x UNUSED; _x = chdir (directory_before_chdir); } -- cgit v1.2.3