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($PACKAGE, $VERSION) |
51 |
changequote([,])dnl |
changequote([,])dnl |
52 |
AC_SUBST(BUILD_FILEVERSION) |
AC_SUBST(BUILD_FILEVERSION) |
53 |
|
|
54 |
|
# For the distcheck target of make we need to set a few options for |
55 |
|
# the cross compiling environment. We assume the same conevtion as |
56 |
|
# used in autogen.sh; i.e. we take the root from the $w32root variable |
57 |
|
# or default to ~/w32root. |
58 |
|
if test -n "$w32root"; then |
59 |
|
W32ROOT="$w32root" |
60 |
|
else |
61 |
|
W32ROOT="$HOME/w32root" |
62 |
|
fi |
63 |
|
AC_SUBST(W32ROOT) |
64 |
|
|
65 |
|
|
66 |
AH_BOTTOM([ |
AH_BOTTOM([ |
67 |
/* Some global constants. */ |
/* Some global constants. */ |
68 |
|
|
69 |
/* Set to distinguish between the old custom Makefile based build |
/* Set to distinguish between the old custom Makefile based build |
70 |
system and our new automake based one. */ |
system and our new automake based one. This is only required in |
71 |
|
Include/wptVersion.h. Fixme: See whether we may define the constants |
72 |
|
there by means of command line apssed args or similar. */ |
73 |
#define WINPT_MODERN_BUILD 1 |
#define WINPT_MODERN_BUILD 1 |
74 |
|
|
75 |
|
/* FIXME: For what is this needed? */ |
76 |
|
#define WINPT_IPC 1 |
77 |
|
|
78 |
|
/* We need to include this header to be able to include specific parts |
79 |
|
of the header files. For now we require at least Internet Exploder |
80 |
|
4.01 to be installed. */ |
81 |
|
#include <w32api.h> |
82 |
|
#define _WIN32_IE IE401 |
83 |
|
|
84 |
]) |
]) |
85 |
|
|
86 |
AM_MAINTAINER_MODE |
AM_MAINTAINER_MODE |
231 |
|
|
232 |
|
|
233 |
AC_CONFIG_FILES([ Makefile |
AC_CONFIG_FILES([ Makefile |
234 |
src/Makefile |
PTD/Makefile |
235 |
src/versioninfo.rc |
PTD/versioninfo.rc |
236 |
|
Src/Makefile |
237 |
|
Src/versioninfo.rc |
238 |
|
Include/Makefile |
239 |
|
Ico/Makefile |
240 |
|
icons/Makefile |
241 |
|
m4/Makefile |
242 |
|
w32gpgme/Makefile |
243 |
|
Gnupg/Makefile |
244 |
]) |
]) |
245 |
AC_OUTPUT |
AC_OUTPUT |