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.4, http://www.winpt.org) |
19 |
|
|
20 |
NEED_GPGME_API=1 |
NEED_GPGME_API=1 |
21 |
NEED_GPGME_VERSION=1.1.0 |
NEED_GPGME_VERSION=1.1.0 |
25 |
PACKAGE_GT=${PACKAGE_NAME} |
PACKAGE_GT=${PACKAGE_NAME} |
26 |
VERSION=$PACKAGE_VERSION |
VERSION=$PACKAGE_VERSION |
27 |
|
|
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 |
|
|
52 |
changequote([,])dnl |
changequote([,])dnl |
53 |
AC_SUBST(BUILD_FILEVERSION) |
AC_SUBST(BUILD_FILEVERSION) |
54 |
|
|
55 |
|
# For the distcheck target of make we need to set a few options for |
56 |
|
# the cross compiling environment. We assume the same conevtion as |
57 |
|
# used in autogen.sh; i.e. we take the root from the $w32root variable |
58 |
|
# or default to ~/w32root. |
59 |
|
if test -n "$w32root"; then |
60 |
|
W32ROOT="$w32root" |
61 |
|
else |
62 |
|
W32ROOT="$HOME/w32root" |
63 |
|
fi |
64 |
|
AC_SUBST(W32ROOT) |
65 |
|
|
66 |
|
|
67 |
AH_BOTTOM([ |
AH_BOTTOM([ |
68 |
/* Some global constants. */ |
/* Some global constants. */ |
73 |
there by means of command line apssed args or similar. */ |
there by means of command line apssed args or similar. */ |
74 |
#define WINPT_MODERN_BUILD 1 |
#define WINPT_MODERN_BUILD 1 |
75 |
|
|
76 |
/* FIXME: For what is this needed? */ |
/* We need to include this header to be able to include specific parts |
77 |
#define WINPT_IPC 1 |
of the header files. For now we require at least Internet Exploder |
78 |
|
4.01 to be installed. */ |
79 |
|
#include <w32api.h> |
80 |
|
#define _WIN32_IE IE401 |
81 |
|
|
82 |
]) |
]) |
83 |
|
|
134 |
;; |
;; |
135 |
esac |
esac |
136 |
|
|
137 |
|
|
138 |
|
AH_BOTTOM([ |
139 |
|
/* Force using of NLS for W32 even if no libintl has been found. This is |
140 |
|
okay because we have our own gettext implementation for W32. */ |
141 |
|
#if defined(HAVE_W32_SYSTEM) && !defined(ENABLE_NLS) |
142 |
|
#define ENABLE_NLS 1 |
143 |
|
#endif |
144 |
|
]) |
145 |
|
|
146 |
|
# Note, that autogen.sh greps for the next line. |
147 |
|
AM_GNU_GETTEXT_VERSION(0.12.1) |
148 |
|
AM_GNU_GETTEXT([external]) |
149 |
|
|
150 |
|
|
151 |
if test "$have_dosish_system" = yes; then |
if test "$have_dosish_system" = yes; then |
152 |
AC_DEFINE(HAVE_DOSISH_SYSTEM,1, |
AC_DEFINE(HAVE_DOSISH_SYSTEM,1, |
153 |
[Defined if we run on some of the PCDOS like systems |
[Defined if we run on some of the PCDOS like systems |
249 |
Src/versioninfo.rc |
Src/versioninfo.rc |
250 |
Include/Makefile |
Include/Makefile |
251 |
Ico/Makefile |
Ico/Makefile |
252 |
|
icons/Makefile |
253 |
m4/Makefile |
m4/Makefile |
|
w32gpgme/Makefile |
|
254 |
Gnupg/Makefile |
Gnupg/Makefile |
255 |
|
Po/Makefile.in |
256 |
]) |
]) |
257 |
AC_OUTPUT |
AC_OUTPUT |