]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
Define SF_UNICODE if undefined
[wxWidgets.git] / configure.in
index eedc8ed2ab61bdb547c07e769d76c87ee21e3815..a3bfcb7fa6cb1c340b2aaece39fd754e1b4b5aa0 100644 (file)
@@ -1008,7 +1008,7 @@ WX_ARG_WITH(opengl,        [  --with-opengl           use OpenGL (or Mesa)], wxU
 fi
 dnl for GUI only
 
-WX_ARG_WITH(dmalloc,       [  --with-dmalloc          use dmalloc library (www.letters.com/dmalloc)], wxUSE_DMALLOC)
+WX_ARG_WITH(dmalloc,       [  --with-dmalloc          use dmalloc library (http://dmalloc.com/)], wxUSE_DMALLOC)
 WX_ARG_SYS_WITH(regex,     [  --with-regex            enable support for wxRegEx class], wxUSE_REGEX)
 WX_ARG_SYS_WITH(zlib,      [  --with-zlib             use zlib for LZW compression], wxUSE_ZLIB)
 WX_ARG_WITH(odbc,          [  --with-odbc             use the IODBC and wxODBC classes], wxUSE_ODBC)
@@ -3055,6 +3055,9 @@ fi
 dnl check for vfork() (even if it's the same as fork() in modern Unices)
 AC_CHECK_FUNCS(vfork)
 
+dnl check for the function for temp files creation
+AC_CHECK_FUNCS(mkstemp mktemp, break)
+
 dnl get the library function to use for wxGetDiskSpace(): it is statfs() under
 dnl Linux and *BSD and statvfs() under Solaris
 AC_CACHE_CHECK(for statfs, wx_cv_func_statfs,
@@ -4510,15 +4513,15 @@ if test "$wxUSE_POPUPWIN" = "yes"; then
         else
             AC_DEFINE(wxUSE_POPUPWIN)
 
-            if test "$wxUSE_TIPWINDOW" = "yes"; then
-                AC_DEFINE(wxUSE_TIPWINDOW)
-            fi
-
             USES_CONTROLS=1
         fi
     fi
 fi
 
+if test "$wxUSE_TIPWINDOW" = "yes"; then
+    AC_DEFINE(wxUSE_TIPWINDOW)
+fi
+
 if test "$USES_CONTROLS" = 1; then
     AC_DEFINE(wxUSE_CONTROLS)
 fi