diff options
author | Matthias Klose <doko@ubuntu.com> | 2016-11-30 00:12:45 +0000 |
---|---|---|
committer | Matthias Klose <doko@gcc.gnu.org> | 2016-11-30 00:12:45 +0000 |
commit | 114bf3f172d0f215a576d8964b95c0a4608563e0 (patch) | |
tree | 612b3ff1d05c431b7d883db262d72acacab4b0d8 /boehm-gc/if_not_there.c | |
parent | a2b403c8bb69250b321c9d56e38f5f3537a1e696 (diff) | |
download | gcc-114bf3f172d0f215a576d8964b95c0a4608563e0.tar.gz |
Makefile.def: Remove reference to boehm-gc target module.
<toplevel>
2016-11-30 Matthias Klose <doko@ubuntu.com>
* Makefile.def: Remove reference to boehm-gc target module.
* configure.ac: Include pkg.m4, check for --with-target-bdw-gc
options and for the bdw-gc pkg-config module.
* configure: Regenerate.
* Makefile.in: Regenerate.
gcc/
2016-11-30 Matthias Klose <doko@ubuntu.com>
* doc/install.texi: Document configure options --enable-objc-gc
and --with-target-bdw-gc.
config/
2016-11-30 Matthias Klose <doko@ubuntu.com>
* pkg.m4: New file.
libobjc/
2016-11-30 Matthias Klose <doko@ubuntu.com>
* configure.ac (--enable-objc-gc): Allow to configure with a
system provided boehm-gc.
* configure: Regenerate.
* Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
* gc.c: Include system bdw-gc headers.
* memory.c: Likewise
* objects.c: Likewise
boehm-gc/
2016-11-30 Matthias Klose <doko@ubuntu.com>
Remove
From-SVN: r242985
Diffstat (limited to 'boehm-gc/if_not_there.c')
-rw-r--r-- | boehm-gc/if_not_there.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/boehm-gc/if_not_there.c b/boehm-gc/if_not_there.c deleted file mode 100644 index 8691e925920..00000000000 --- a/boehm-gc/if_not_there.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Conditionally execute a command based if the file argv[1] doesn't exist */ -/* Except for execvp, we stick to ANSI C. */ -# include "private/gcconfig.h" -# include <stdio.h> -# include <stdlib.h> -# include <unistd.h> -#ifdef __DJGPP__ -#include <dirent.h> -#endif /* __DJGPP__ */ - -int main(argc, argv, envp) -int argc; -char ** argv; -char ** envp; -{ - FILE * f; -#ifdef __DJGPP__ - DIR * d; -#endif /* __DJGPP__ */ - if (argc < 3) goto Usage; - if ((f = fopen(argv[1], "rb")) != 0 - || (f = fopen(argv[1], "r")) != 0) { - fclose(f); - return(0); - } -#ifdef __DJGPP__ - if ((d = opendir(argv[1])) != 0) { - closedir(d); - return(0); - } -#endif - printf("^^^^Starting command^^^^\n"); - fflush(stdout); - execvp(argv[2], argv+2); - exit(1); - -Usage: - fprintf(stderr, "Usage: %s file_name command\n", argv[0]); - return(1); -} - |