]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
Fixed event handling bug as suggested by Lech Wiktor Piotrowski.
[wxWidgets.git] / configure.in
index 2b85a555a179d4913d12bd045a98814573627524..4ab3e0caa5f00b6f43f2a27555272444446205b6 100644 (file)
@@ -1517,6 +1517,12 @@ fi dnl not GNU make
 dnl needed for making link to setup.h
 AC_PROG_LN_S
 
+dnl lndir can be used by "make dist" to save copying files
+CP_PR='cp -pR'
+AC_CHECK_PROGS(LNDIR, lndir, [$CP_PR])
+AC_SUBST(CP_PR)
+
+
 dnl ------------------------------------------------------------------------
 dnl Platform specific tests
 dnl ------------------------------------------------------------------------
@@ -4671,10 +4677,9 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
                     $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
                         THREAD_OPTS="" 
                 else
-                    dnl HP-UX aCC only gives a warning, not an error about
-                    dnl -pthread but it doesn't work and we have to use
-                    dnl -lpthread there
-                    THREAD_OPTS=""
+                    dnl HP-UX aCC (tested with version B3910B A.06.05 [Jul 25
+                    dnl 2005]) supports -mt
+                    THREAD_OPTS="-mt"
                 fi
                 ;;
 
@@ -6964,6 +6969,15 @@ if test "x$INTELCXX" = "xyes" ; then
 elif test "$GXX" = yes ; then
     dnl CXXWARNINGS="-Wall -W -Wcast-qual -Werror"
     CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy" 
+
+    dnl -Wno-format is a terrifically useful warning, however mingw warns
+    dnl whenever the I64 format specifier is used for long long.
+    dnl FIXME: it we detected when cygwin is using -mno-cygwin we could avoid
+    dnl disabling it for cygwin.
+    case "${host}" in
+        *-*-cygwin* | *-*-mingw32* )
+            CXXWARNINGS="$CXXWARNINGS -Wno-format"
+    esac
 fi
 
 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"