/[winpt]/trunk/configure.ac
ViewVC logotype

Diff of /trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 47 by werner, Mon Oct 31 14:04:59 2005 UTC revision 136 by twoaday, Mon Jan 9 10:03:13 2006 UTC
# Line 15  min_automake_version="1.9.4" Line 15  min_automake_version="1.9.4"
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-cvs, http://www.winpt.org)
   
19  NEED_GPGME_API=1  NEED_GPGME_API=1
20  NEED_GPGME_VERSION=1.1.0  NEED_GPGME_VERSION=1.1.1
21  NEED_GPG_ERROR_VERSION=1.2  NEED_GPG_ERROR_VERSION=1.2
22    
23  PACKAGE=$PACKAGE_NAME  PACKAGE=$PACKAGE_NAME
24  PACKAGE_GT=${PACKAGE_NAME}  PACKAGE_GT=${PACKAGE_NAME}
25  VERSION=$PACKAGE_VERSION  VERSION=$PACKAGE_VERSION
26    
27  AC_CONFIG_SRCDIR(src/WinPT.cpp)  AC_CONFIG_SRCDIR(Src/WinPT.cpp)
28  AM_CONFIG_HEADER(config.h)  AM_CONFIG_HEADER(config.h)
29  AC_CANONICAL_TARGET()  AC_CANONICAL_TARGET()
30  AM_INIT_AUTOMAKE($PACKAGE, $VERSION)  AM_INIT_AUTOMAKE
31    AM_MKINSTALLDIRS
32    
33  AC_GNU_SOURCE  AC_GNU_SOURCE
34    
# Line 51  BUILD_FILEVERSION=`echo "$VERSION" | sed Line 51  BUILD_FILEVERSION=`echo "$VERSION" | sed
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  /* We need to include this header to be able to include specific parts
70     system and our new automake based one.  This is only required in     of the header files.  For now we require at least Internet Exploder
71     Include/wptVersion.h.  Fixme: See whether we may define the constants     4.01 to be installed. */
72     there by means of command line apssed args or similar.  */  #include <w32api.h>
73  #define WINPT_MODERN_BUILD 1  #define _WIN32_IE IE401
   
 /* FIXME: For what is this needed? */  
 #define WINPT_IPC 1  
   
74  ])  ])
75    
76  AM_MAINTAINER_MODE  AM_MAINTAINER_MODE
# Line 89  AC_CHECK_TOOL(AR, ar, :) Line 96  AC_CHECK_TOOL(AR, ar, :)
96  AC_CHECK_TOOL(DLLTOOL, dlltool, :)  AC_CHECK_TOOL(DLLTOOL, dlltool, :)
97  AC_CHECK_TOOL(WINDRES, windres, :)  AC_CHECK_TOOL(WINDRES, windres, :)
98    
   
99  try_gettext=yes  try_gettext=yes
100  have_dosish_system=no  have_dosish_system=no
101  have_w32_system=no  have_w32_system=no
# Line 119  case "${host}" in Line 125  case "${host}" in
125         ;;         ;;
126  esac  esac
127    
128    
129    AH_BOTTOM([
130    /* Force using of NLS for W32 even if no libintl has been found.  This is
131       okay because we have our own gettext implementation for W32.  */
132    #if defined(HAVE_W32_SYSTEM) && !defined(ENABLE_NLS)
133    #define ENABLE_NLS 1
134    #endif
135    ])
136      
137    # Note, that autogen.sh greps for the next line.
138    AM_GNU_GETTEXT_VERSION(0.12.1)
139    AM_GNU_GETTEXT([external])
140    # There is something wrong with the NLS checking here.  We force using it.
141    USE_NLS=yes
142    
143  if test "$have_dosish_system" = yes; then  if test "$have_dosish_system" = yes; then
144     AC_DEFINE(HAVE_DOSISH_SYSTEM,1,     AC_DEFINE(HAVE_DOSISH_SYSTEM,1,
145               [Defined if we run on some of the PCDOS like systems               [Defined if we run on some of the PCDOS like systems
# Line 219  PTD/versioninfo.rc Line 240  PTD/versioninfo.rc
240  Src/Makefile  Src/Makefile
241  Src/versioninfo.rc          Src/versioninfo.rc        
242  Include/Makefile  Include/Makefile
243  Ico/Makefile  icons/Makefile
244  m4/Makefile  m4/Makefile
 w32gpgme/Makefile  
245  Gnupg/Makefile  Gnupg/Makefile
246    Po/Makefile.in
247  ])  ])
248  AC_OUTPUT  AC_OUTPUT

Legend:
Removed from v.47  
changed lines
  Added in v.136

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26