Fix the condition to always #define wxMOTIF_NEW_FONT_HANDLING
[wxWidgets.git] / configure.in
index 6fac11da6cde44d93eb73c68ce4295df15e7e3a4..ac77e940e9477629755f3653ae9b361fa6dd767e 100644 (file)
@@ -1872,6 +1872,12 @@ dnl problems
 if test "x$wx_largefile" = "xyes"; then
     if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
         WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
+
+        dnl we get "Large Files (ILP32) not supported in strict ANSI mode."
+        dnl #error from HP standard headers without this
+        if test "$USE_HPUX" = 1; then
+            CPPFLAGS="$CPPFLAGS -D__STDC_EXT__"
+        fi
     else
         WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
     fi