diff options
author | FUTATSUKI YASUHITO <github-yf@yf.bsdclub.org> | 2017-06-20 01:33:10 +0900 |
---|---|---|
committer | FUTATSUKI YASUHITO <github-yf@yf.bsdclub.org> | 2017-06-20 01:33:10 +0900 |
commit | 93895f5a5101ba77e599f25ed241d60a85de290d (patch) | |
tree | 792dc10c825603535a170ae93529bd9ff0ee5c6f /CCache | |
parent | a706aa146c92298339d48100a1236909aecee265 (diff) | |
download | swig-93895f5a5101ba77e599f25ed241d60a85de290d.tar.gz |
Add header file in CCache for _WIN32 environment
Diffstat (limited to 'CCache')
-rw-r--r-- | CCache/Makefile.in | 2 | ||||
-rw-r--r-- | CCache/ccache.h | 2 | ||||
-rw-r--r-- | CCache/config_w32.h.in | 3 | ||||
-rw-r--r-- | CCache/configure.ac | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/CCache/Makefile.in b/CCache/Makefile.in index 845b9c6ef..a718c8985 100644 --- a/CCache/Makefile.in +++ b/CCache/Makefile.in @@ -70,7 +70,7 @@ test: test.sh check: test distclean: clean - /bin/rm -f Makefile config.h config.sub config.log build-stamp config.status ccache_swig_config.h + /bin/rm -f Makefile config.h config.sub config.log build-stamp config.status ccache_swig_config.h config_win32.h /bin/rm -rf autom4te.cache maintainer-clean: distclean diff --git a/CCache/ccache.h b/CCache/ccache.h index 99a63483b..f1c7f3eef 100644 --- a/CCache/ccache.h +++ b/CCache/ccache.h @@ -6,7 +6,7 @@ #include "config.h" #else #include <sys/locking.h> -#define PACKAGE_NAME "ccache-swig.exe" +#include "config_w32.h" #endif #include <stdio.h> diff --git a/CCache/config_w32.h.in b/CCache/config_w32.h.in new file mode 100644 index 000000000..35b1c5571 --- /dev/null +++ b/CCache/config_w32.h.in @@ -0,0 +1,3 @@ +#if !defined(MYNAME) +#define MYNAME "@MYNAME@@EXEEXT@" +#endif diff --git a/CCache/configure.ac b/CCache/configure.ac index d5f0c38c2..84d8fe835 100644 --- a/CCache/configure.ac +++ b/CCache/configure.ac @@ -7,6 +7,7 @@ AC_CONFIG_SRCDIR([ccache.h]) AC_MSG_NOTICE([Configuring ccache]) AC_CONFIG_HEADER(config.h) +AC_CONFIG_FILES([config_w32.h]) dnl Checks for programs. AC_PROG_CC |