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

Diff of /trunk/configure.ac

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

revision 282 by twoaday, Mon Jan 15 22:11:52 2007 UTC revision 283 by twoaday, Sat Feb 3 18:28:38 2007 UTC
# Line 1  Line 1 
1  # configure.ac - for WinPT  # configure.ac - for WinPT
2  # Copyright (C) 2005, 2006 g10 Code GmbH  # Copyright (C) 2005, 2006 g10 Code GmbH
3  # Copyright (C) 2006 Timo Schulz  # Copyright (C) 2006, 2007 Timo Schulz
4  #  #
5  # This file is free software; as a special exception the author gives  # This file is free software; as a special exception the author gives
6  # unlimited permission to copy and/or distribute it, with or without  # unlimited permission to copy and/or distribute it, with or without
# Line 75  AH_BOTTOM([ Line 75  AH_BOTTOM([
75  /* Some global constants. */  /* Some global constants. */
76    
77  /* 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
78     of the header files.  For now we require at least Internet Exploder     of the common controls header file. */
    4.01 to be installed. */  
79  #include <w32api.h>  #include <w32api.h>
80  #define _WIN32_IE IE55  #define _WIN32_IE IE55
81  ])  ])
# Line 109  have_dosish_system=no Line 108  have_dosish_system=no
108  have_w32_system=no  have_w32_system=no
109  case "${host}" in  case "${host}" in
110      *-mingw32*)      *-mingw32*)
111          # special stuff for Windoze NT          # special stuff for Windoze NT/XP
112          ac_cv_have_dev_random=no          ac_cv_have_dev_random=no
         AC_DEFINE(USE_ONLY_8DOT3,1,  
                   [set this to limit filenames to the 8.3 format])  
         AC_DEFINE(HAVE_DRIVE_LETTERS,1,  
                   [defined if we must run on a stupid file system])  
113          AC_DEFINE(USE_SIMPLE_GETTEXT,1,          AC_DEFINE(USE_SIMPLE_GETTEXT,1,
114                    [because the Unix gettext has too much overhead on                    [Use a lightweight gettext version for cross-compiling])
                    MingW32 systems and these systems lack Posix functions,  
                    we use a simplified version of gettext])  
115          have_dosish_system=yes          have_dosish_system=yes
116          have_w32_system=yes          have_w32_system=yes
117          try_gettext="no"          try_gettext="no"
# Line 150  USE_NLS=yes Line 143  USE_NLS=yes
143    
144  if test "$have_dosish_system" = yes; then  if test "$have_dosish_system" = yes; then
145     AC_DEFINE(HAVE_DOSISH_SYSTEM,1,     AC_DEFINE(HAVE_DOSISH_SYSTEM,1,
146               [Defined if we run on some of the PCDOS like systems               [Define this to indicate the binary is build for a system
147                (DOS, Windoze. OS/2) with special properties like                with special properties like no posix file modes])
               no file modes])  
148  fi  fi
149  AM_CONDITIONAL(HAVE_DOSISH_SYSTEM, test "$have_dosish_system" = yes)  AM_CONDITIONAL(HAVE_DOSISH_SYSTEM, test "$have_dosish_system" = yes)
150    
# Line 162  fi Line 154  fi
154  AM_CONDITIONAL(HAVE_W32_SYSTEM, test "$have_w32_system" = yes)  AM_CONDITIONAL(HAVE_W32_SYSTEM, test "$have_w32_system" = yes)
155    
156    
   
157  #  #
158  # Checks for libraries.  # Checks for libraries.
159  #  #
160    
   
161  AM_PATH_GPGME("$NEED_GPGME_API:$NEED_GPGME_VERSION",  AM_PATH_GPGME("$NEED_GPGME_API:$NEED_GPGME_VERSION",
162                 have_gpgme=yes,have_gpgme=no)                 have_gpgme=yes,have_gpgme=no)
163  AM_PATH_GPG_ERROR("$NEED_GPG_ERROR_VERSION",  AM_PATH_GPG_ERROR("$NEED_GPG_ERROR_VERSION",
# Line 175  AM_PATH_GPG_ERROR("$NEED_GPG_ERROR_VERSI Line 165  AM_PATH_GPG_ERROR("$NEED_GPG_ERROR_VERSI
165    
166  # Checks for header files.  # Checks for header files.
167  AC_HEADER_STDC  AC_HEADER_STDC
168  AC_CHECK_HEADERS(string.h unistd.h langinfo.h termio.h locale.h)  AC_CHECK_HEADERS(string.h unistd.h)
169    
170  AC_CHECK_FUNCS(stpcpy)  AC_CHECK_FUNCS(stpcpy)
171    
# Line 183  AC_CHECK_FUNCS(stpcpy) Line 173  AC_CHECK_FUNCS(stpcpy)
173  AC_C_CONST  AC_C_CONST
174  AC_C_INLINE  AC_C_INLINE
175  AC_TYPE_SIZE_T  AC_TYPE_SIZE_T
 AC_TYPE_SIGNAL  
176    
177  AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)  AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)
178    
# Line 207  fi Line 196  fi
196  AC_SUBST(W32LIBS)  AC_SUBST(W32LIBS)
197    
198    
   
199  #  #
200  # Print errors here so that they are visible all  # Print errors here so that they are visible all
201  # together and the user can acquire them all together.  # together and the user can acquire them all together.

Legend:
Removed from v.282  
changed lines
  Added in v.283

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26