]> git.saurik.com Git - wxWidgets.git/blobdiff - aclocal.m4
Don't use wxID_ANY so events from child wxListCtrl's don't confuse the
[wxWidgets.git] / aclocal.m4
index 3e7001329d236f7a6df6c3fb78a48fc9d0d683c1..73259c5da783b0db14f1f15c03c0b80e4baba474 100644 (file)
@@ -1111,14 +1111,18 @@ AC_DEFUN(AC_BAKEFILE_PLATFORM,
     PLATFORM_MSDOS=0
     PLATFORM_MAC=0
     PLATFORM_MACOSX=0
+    PLATFORM_OS2=0
     
     case "${host}" in
         *-*-cygwin* | *-*-mingw32* )
             PLATFORM_WIN32=1
         ;;
-        *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
+        *-pc-msdosdjgpp )
             PLATFORM_MSDOS=1
         ;;
+        *-pc-os2_emx | *-pc-os2-emx )
+            PLATFORM_OS2=1
+        ;;
         powerpc-*-darwin* )
             PLATFORM_MAC=1
             PLATFORM_MACOSX=1
@@ -1133,6 +1137,7 @@ AC_DEFUN(AC_BAKEFILE_PLATFORM,
     AC_SUBST(PLATFORM_MSDOS)
     AC_SUBST(PLATFORM_MAC)
     AC_SUBST(PLATFORM_MACOSX)
+    AC_SUBST(PLATFORM_OS2)
 ])
 
 
@@ -1149,6 +1154,7 @@ AC_DEFUN(AC_BAKEFILE_SUFFIXES,
     SO_SUFFIX="so"
     SO_SUFFIX_MODULE="so"
     EXEEXT=""
+    LIBPREFIX=lib
     DLLPREFIX=lib
     DLLPREFIX_MODULE=
     
@@ -1172,9 +1178,14 @@ AC_DEFUN(AC_BAKEFILE_SUFFIXES,
             EXEEXT=".exe"
             DLLPREFIX=""
         ;;
-        *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
+        *-pc-msdosdjgpp )
+            EXEEXT=".exe"
+            DLLPREFIX=""
+        ;;
+        *-pc-os2_emx | *-pc-os2-emx )
             EXEEXT=".exe"
             DLLPREFIX=""
+            LIBPREFIX=""
         ;;
         powerpc-*-darwin* )
             SO_SUFFIX="dylib"
@@ -1185,6 +1196,7 @@ AC_DEFUN(AC_BAKEFILE_SUFFIXES,
     AC_SUBST(SO_SUFFIX)
     AC_SUBST(SO_SUFFIX_MODULE)
     AC_SUBST(EXEEXT)
+    AC_SUBST(LIBPREFIX)
     AC_SUBST(DLLPREFIX)
     AC_SUBST(DLLPREFIX_MODULE)
 ])
@@ -1401,8 +1413,8 @@ EOF
       *-*-sunos4* | \
       *-*-osf* | \
       *-*-dgux5* | \
-      *-*-sysv5* | \
-      *-pc-os2_emx | *-pc-os2-emx )
+      *-pc-os2_emx | *-pc-os2-emx | \
+      *-*-sysv5* )
         dnl defaults are ok
       ;;