diff options
author | devzero2000 <devzero2000> | 2010-06-30 16:21:02 +0000 |
---|---|---|
committer | devzero2000 <devzero2000> | 2010-06-30 16:21:02 +0000 |
commit | d9a785cd678b4aa6f11850f198e6d34321afe21e (patch) | |
tree | e7a4bc34336dc3e5d8e1cdad0e7c3b47ecde6b40 | |
parent | 226d320387e4b78163ae9df66c8baf10760ba3b8 (diff) | |
download | libpopt-d9a785cd678b4aa6f11850f198e6d34321afe21e.tar.gz |
Fixed the bug introduced with the correction of VPATH
It's time to go on the beach at least leave make distcheck
and make check and VPATH building working
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | auto/Makefile.am | 2 | ||||
-rw-r--r-- | test1.c | 5 |
3 files changed, 3 insertions, 5 deletions
@@ -1,4 +1,5 @@ 1.17 -> 2.0: + - Fixed VPATH building with arbitrary directory structure - devzero2000: some minor fix to autofu and also a minor portability problem on AIX with the native compiler - devzero2000: add malloc vodo to testit.sh diff --git a/auto/Makefile.am b/auto/Makefile.am index 87aa601..0f24771 100644 --- a/auto/Makefile.am +++ b/auto/Makefile.am @@ -1,4 +1,4 @@ -TDIRS = descriptors_storage header_compile_errors test_results tests +TDIRS = descriptors_storage header_compile_errors test_results tests logs EXTRA_DIST = types @@ -268,16 +268,13 @@ int main(int argc, const char ** argv) /*@=modobserver@*/ /*@-temptrans@*/ optCon = poptGetContext("test1", argc, argv, options, 0); -/*@=temptrans@*/ - (void) poptReadConfigFile(optCon, "./test-poptrc"); #ifdef HAVE_STDLIB_H char * testpoptrc; testpoptrc = getenv ("testpoptrc"); if (testpoptrc != NULL ) (void) poptReadConfigFile(optCon, testpoptrc); - else - printf("something go wrong\n"); #else + (void) poptReadConfigFile(optCon, "./test-poptrc"); /* XXXX: make distcheck succed : test1 is in popt-<version>/_build */ (void) poptReadConfigFile(optCon, "../../test-poptrc"); #endif |