diff options
author | Eric Christopher <echristo@apple.com> | 2010-08-08 09:18:29 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-08-08 09:18:29 +0000 |
commit | d442d2846a00c0ac2f031deba06b7e0d003f14ad (patch) | |
tree | facf6bedd7e43111c2548fb25bb0a421c97e2f3f /autoconf | |
parent | b1e4eebec03f71f3c891ba384b5992f3d65e3591 (diff) | |
download | external_llvm-d442d2846a00c0ac2f031deba06b7e0d003f14ad.zip external_llvm-d442d2846a00c0ac2f031deba06b7e0d003f14ad.tar.gz external_llvm-d442d2846a00c0ac2f031deba06b7e0d003f14ad.tar.bz2 |
Add a bit of a hack to avoid multiple defines of variables in
config.h and llvm-config.h. This could probably be improved.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 5def41f..29a57b8 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -1581,6 +1581,10 @@ dnl you MUST also update Makefile.rules so that the variable FilesToConfig dnl contains the same list of files as AC_CONFIG_HEADERS below. This ensures the dnl files can be updated automatically when their *.in sources change. AC_CONFIG_HEADERS([include/llvm/Config/config.h include/llvm/Config/llvm-config.h]) +AH_TOP([#ifndef CONFIG_H +#define CONFIG_H]) +AH_BOTTOM([#endif]) + AC_CONFIG_FILES([include/llvm/Config/Targets.def]) AC_CONFIG_FILES([include/llvm/Config/AsmPrinters.def]) AC_CONFIG_FILES([include/llvm/Config/AsmParsers.def]) |