summaryrefslogtreecommitdiff
path: root/gcc/version.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-16 16:22:47 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-16 16:22:47 +0000
commit4f5e65d7ab3714bf65113fbf6a49def8c2c6260a (patch)
treee12032b14ee1e30a589d857d459c5adb1a7b32b8 /gcc/version.h
parent3f5cce54ec5bedc52923c49c72d146fda06120de (diff)
downloadgcc-4f5e65d7ab3714bf65113fbf6a49def8c2c6260a.tar.gz
* configure (gcc_version): When setting, narrow search to
lines containing `version_string'. gcc: * version.c: Include gansidecl.h and version.h. * version.h: Wrap entire file in macro __GCC_VERSION_H__. * configure.in (gcc_version): When setting, narrow search to lines containing `version_string'. * Makefile.in (mainversion): Likewise. (GCC_H): New variable. (gcc.h): Delete target. (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h. (version.o): Depend on version.h. (dbxout.o): Don't depend on gcc.h. gcc/cp: * Make-lang.in (g++spec.o): Depend on $(GCC_H), not gcc.h. gcc/f: * Make-lang.in (g77spec.o): Depend on $(GCC_H), not gcc.h. gcc/java: * Make-lang.in (jvspec.o): Depend on $(GCC_H), not gcc.h. libf2c: * configure.in (gcc_version): When setting, narrow search to lines containing `version_string'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32009 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/version.h')
-rw-r--r--gcc/version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/version.h b/gcc/version.h
index 86a5c28ed52..b7bb57059ef 100644
--- a/gcc/version.h
+++ b/gcc/version.h
@@ -1 +1,4 @@
+#ifndef __GCC_VERSION_H__
+#define __GCC_VERSION_H__
extern const char *const version_string;
+#endif /* __GCC_VERSION_H__ */