]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
wxBase compilation fixes
[wxWidgets.git] / configure.in
index 59b5c3450477bff66e092a19e986acc72152535e..0e59f1e225a6270861e6289670c6fbcb6a376b07 100644 (file)
@@ -409,7 +409,7 @@ dnl WX_INTERFACE_AGE = 0
 
 WX_MAJOR_VERSION_NUMBER=2
 WX_MINOR_VERSION_NUMBER=1
-WX_RELEASE_NUMBER=12
+WX_RELEASE_NUMBER=13
 
 WX_INTERFACE_AGE=0
 WX_BINARY_AGE=0
@@ -569,11 +569,13 @@ case "${host}" in
     AC_DEFINE(__GNUWIN32__)
     AC_DEFINE(STRICT)
     AC_DEFINE(WINVER, 0x0400)
+    PROGRAM_EXT=".exe"
     DEFAULT_DEFAULT_wxUSE_MSW=1
   ;;
 
   *-pc-os2_emx )
     AC_DEFINE(__EMX__)
+    PROGRAM_EXT=".exe"
     DEFAULT_DEFAULT_wxUSE_PM=1
   ;;
 
@@ -1192,6 +1194,11 @@ fi
 
 dnl we suppose that expr exists...
 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
+
+dnl Allow wxUSE_PM only for OS/2 with EMX.
+dnl Path separator; ':' for unix.
+dnl Stem for flex output; lexyy for OS/2, lex.yy otherwise
+dnl Extension for programs; '.exe' for OS/2 and msw builds (set later).
 case "${host}" in
   *-pc-os2_emx )
     NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
@@ -1201,6 +1208,7 @@ case "${host}" in
   *)
     PATH_IFS=':'
     LEX_STEM="lex.yy"
+    PROGRAM_EXT=
   ;;
 esac
 
@@ -1232,6 +1240,7 @@ done
 
 dnl from "if wxUSE_GUI"
 else
+    PATH_IFS=':'
     AC_MSG_RESULT(base only)
 fi
 
@@ -1409,6 +1418,7 @@ SEARCH_INCLUDE="\
     /usr/x386/include         \
     /usr/XFree86/include/X11  \
                               \
+    X:/XFree86/include        \
     X:/XFree86/include/X11    \
                               \
     /usr/include/gtk          \
@@ -1466,9 +1476,6 @@ WXGTK13=
 
 WXWINE=
 
-dnl Extension for programs; '.exe' for msw builds
-PROGRAM_EXT=
-
 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
     if test "$cross_compiling" = "yes" ; then
         AC_MSG_WARN(Cross compiling --- skipping windows.h check)
@@ -1502,7 +1509,6 @@ if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
     GENERICOBJS="\$(MSW_GENERICOBJS)"
     UNIXOBJS=
     GUIDIST=MSW_DIST
-    PROGRAM_EXT=.exe
 fi
 
 if test "$wxUSE_GTK" = 1; then
@@ -3316,11 +3322,13 @@ AC_OUTPUT([
             samples/docvwmdi/Makefile
             samples/dnd/Makefile
             samples/drawing/Makefile
+            samples/exec/Makefile
             samples/font/Makefile
             samples/grid/Makefile
             samples/help/Makefile
             samples/image/Makefile
             samples/internat/Makefile
+            samples/ipc/Makefile
             samples/layout/Makefile
             samples/listctrl/Makefile
             samples/mdi/Makefile