diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-09-18 17:34:37 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-09-18 17:34:37 -0400 |
commit | d1154eb460efe588eaed3d439c1caaca149fa362 (patch) | |
tree | 2c7330818b40f9341003bf7cbe1dd5a3f622af0d /tests | |
parent | 30295f16a95b873965d1650b24fb6f5b82bde675 (diff) | |
download | e2fsprogs-d1154eb460efe588eaed3d439c1caaca149fa362.tar.gz |
Shorten compile commands run by the build system
The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and
this was starting to cause some tools heartburn. It also made "make
V=1" almost useless, since trying to following the individual commands
run by make was lost in the noise of all of the defines.
So fix this by putting the configure-generated defines in lib/config.h
and the directory pathnames to lib/dirpaths.h.
In addition, clean up some vestigal defines in configure.in and in the
Makefiles to further shorten the cc command lines.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/progs/hold_inode.c | 1 | ||||
-rw-r--r-- | tests/progs/random_exercise.c | 1 | ||||
-rw-r--r-- | tests/progs/test_icount.c | 1 | ||||
-rw-r--r-- | tests/progs/test_rel.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/progs/hold_inode.c b/tests/progs/hold_inode.c index debf4a4e..792aa71d 100644 --- a/tests/progs/hold_inode.c +++ b/tests/progs/hold_inode.c @@ -10,6 +10,7 @@ * %End-Header% */ +#include "config.h" #include <unistd.h> #include <stdio.h> #include <dirent.h> diff --git a/tests/progs/random_exercise.c b/tests/progs/random_exercise.c index 0be389fb..38217ab5 100644 --- a/tests/progs/random_exercise.c +++ b/tests/progs/random_exercise.c @@ -13,6 +13,7 @@ * %End-Header% */ +#include "config.h" #include <unistd.h> #include <stdio.h> #include <sys/types.h> diff --git a/tests/progs/test_icount.c b/tests/progs/test_icount.c index 017cc4d8..d028a601 100644 --- a/tests/progs/test_icount.c +++ b/tests/progs/test_icount.c @@ -9,6 +9,7 @@ * %End-Header% */ +#include "config.h" #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/tests/progs/test_rel.c b/tests/progs/test_rel.c index 954a7221..8f7280c7 100644 --- a/tests/progs/test_rel.c +++ b/tests/progs/test_rel.c @@ -9,6 +9,7 @@ * %End-Header% */ +#include "config.h" #include <stdio.h> #include <stdlib.h> #include <string.h> |