15 |
|
|
16 |
# Version number: Remember to change it immediately *after* a release. |
# Version number: Remember to change it immediately *after* a release. |
17 |
# Add a "-cvs" prefix for non-released code. |
# Add a "-cvs" prefix for non-released code. |
18 |
AC_INIT(WinPT, 0.11.0-cvs, http://www.winpt.org) |
AC_INIT(WinPT, 0.11.5, http://www.winpt.org) |
19 |
|
NEED_GPG_VERSION=1.4.2 |
20 |
NEED_GPGME_API=1 |
NEED_GPGME_API=1 |
21 |
NEED_GPGME_VERSION=1.1.0 |
NEED_GPGME_VERSION=1.1.1 |
22 |
NEED_GPG_ERROR_VERSION=1.2 |
NEED_GPG_ERROR_VERSION=1.2 |
23 |
|
|
24 |
PACKAGE=$PACKAGE_NAME |
PACKAGE=$PACKAGE_NAME |
28 |
AC_CONFIG_SRCDIR(Src/WinPT.cpp) |
AC_CONFIG_SRCDIR(Src/WinPT.cpp) |
29 |
AM_CONFIG_HEADER(config.h) |
AM_CONFIG_HEADER(config.h) |
30 |
AC_CANONICAL_TARGET() |
AC_CANONICAL_TARGET() |
31 |
AM_INIT_AUTOMAKE($PACKAGE, $VERSION) |
AM_INIT_AUTOMAKE |
32 |
|
AM_MKINSTALLDIRS |
33 |
|
|
34 |
AC_GNU_SOURCE |
AC_GNU_SOURCE |
35 |
|
|
44 |
[Bug report address]) |
[Bug report address]) |
45 |
AC_DEFINE_UNQUOTED(NEED_GPGME_VERSION, "$NEED_GPGME_VERSION", |
AC_DEFINE_UNQUOTED(NEED_GPGME_VERSION, "$NEED_GPGME_VERSION", |
46 |
[Required version of GPGME]) |
[Required version of GPGME]) |
47 |
|
AC_DEFINE_UNQUOTED(NEED_GPG_VERSION, "$NEED_GPG_VERSION", |
48 |
|
[Required version of GnuPG]) |
49 |
|
|
50 |
BUILD_TIMESTAMP=`date --iso-8601=minutes` |
BUILD_TIMESTAMP=`date --iso-8601=minutes` |
51 |
AC_SUBST(BUILD_TIMESTAMP) |
AC_SUBST(BUILD_TIMESTAMP) |
69 |
AH_BOTTOM([ |
AH_BOTTOM([ |
70 |
/* Some global constants. */ |
/* Some global constants. */ |
71 |
|
|
|
/* Set to distinguish between the old custom Makefile based build |
|
|
system and our new automake based one. This is only required in |
|
|
Include/wptVersion.h. Fixme: See whether we may define the constants |
|
|
there by means of command line apssed args or similar. */ |
|
|
#define WINPT_MODERN_BUILD 1 |
|
|
|
|
|
/* FIXME: For what is this needed? */ |
|
|
#define WINPT_IPC 1 |
|
|
|
|
72 |
/* We need to include this header to be able to include specific parts |
/* We need to include this header to be able to include specific parts |
73 |
of the header files. For now we require at least Internet Exploder |
of the header files. For now we require at least Internet Exploder |
74 |
4.01 to be installed. */ |
4.01 to be installed. */ |
75 |
#include <w32api.h> |
#include <w32api.h> |
76 |
#define _WIN32_IE IE401 |
#define _WIN32_IE IE401 |
|
|
|
77 |
]) |
]) |
78 |
|
|
79 |
AM_MAINTAINER_MODE |
AM_MAINTAINER_MODE |
99 |
AC_CHECK_TOOL(DLLTOOL, dlltool, :) |
AC_CHECK_TOOL(DLLTOOL, dlltool, :) |
100 |
AC_CHECK_TOOL(WINDRES, windres, :) |
AC_CHECK_TOOL(WINDRES, windres, :) |
101 |
|
|
|
|
|
102 |
try_gettext=yes |
try_gettext=yes |
103 |
have_dosish_system=no |
have_dosish_system=no |
104 |
have_w32_system=no |
have_w32_system=no |
128 |
;; |
;; |
129 |
esac |
esac |
130 |
|
|
131 |
|
|
132 |
|
AH_BOTTOM([ |
133 |
|
/* Force using of NLS for W32 even if no libintl has been found. This is |
134 |
|
okay because we have our own gettext implementation for W32. */ |
135 |
|
#if defined(HAVE_W32_SYSTEM) && !defined(ENABLE_NLS) |
136 |
|
#define ENABLE_NLS 1 |
137 |
|
#endif |
138 |
|
]) |
139 |
|
|
140 |
|
# Note, that autogen.sh greps for the next line. |
141 |
|
AM_GNU_GETTEXT_VERSION(0.12.1) |
142 |
|
AM_GNU_GETTEXT([external]) |
143 |
|
# There is something wrong with the NLS checking here. We force using it. |
144 |
|
USE_NLS=yes |
145 |
|
|
146 |
if test "$have_dosish_system" = yes; then |
if test "$have_dosish_system" = yes; then |
147 |
AC_DEFINE(HAVE_DOSISH_SYSTEM,1, |
AC_DEFINE(HAVE_DOSISH_SYSTEM,1, |
148 |
[Defined if we run on some of the PCDOS like systems |
[Defined if we run on some of the PCDOS like systems |
243 |
Src/Makefile |
Src/Makefile |
244 |
Src/versioninfo.rc |
Src/versioninfo.rc |
245 |
Include/Makefile |
Include/Makefile |
|
Ico/Makefile |
|
246 |
icons/Makefile |
icons/Makefile |
247 |
m4/Makefile |
m4/Makefile |
|
w32gpgme/Makefile |
|
248 |
Gnupg/Makefile |
Gnupg/Makefile |
249 |
|
Po/Makefile.in |
250 |
]) |
]) |
251 |
AC_OUTPUT |
AC_OUTPUT |