X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea7db9ff0ab35deaaa50c49fbe8cc80fd0d4eabd..c543817b3280c560d53307c0fa98e7a99aa00bf9:/autoconf_inc.m4 diff --git a/autoconf_inc.m4 b/autoconf_inc.m4 index 9b24276e87..4d32b3c10f 100644 --- a/autoconf_inc.m4 +++ b/autoconf_inc.m4 @@ -20,7 +20,6 @@ dnl Conditions: dnl ### begin block 10_AC_BAKEFILE_PRECOMP_HEADERS ### AC_BAKEFILE_PRECOMP_HEADERS - dnl ### begin block 1_COND_BUILD_DEBUG ### COND_BUILD_DEBUG="#" if test "x$BUILD" = "xdebug" ; then @@ -147,6 +146,12 @@ dnl ### begin block 1_COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 ### COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="" fi AC_SUBST(COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1) +dnl ### begin block 1_COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 ### + COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#" + if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then + COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="" + fi + AC_SUBST(COND_MONOLITHIC_0_SHARED_0_USE_XRC_1) dnl ### begin block 1_COND_MONOLITHIC_0_SHARED_1 ### COND_MONOLITHIC_0_SHARED_1="#" if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then @@ -177,6 +182,12 @@ dnl ### begin block 1_COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 ### COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="" fi AC_SUBST(COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1) +dnl ### begin block 1_COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 ### + COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#" + if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then + COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="" + fi + AC_SUBST(COND_MONOLITHIC_0_SHARED_1_USE_XRC_1) dnl ### begin block 1_COND_MONOLITHIC_0_USE_ODBC_1 ### COND_MONOLITHIC_0_USE_ODBC_1="#" if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then @@ -225,6 +236,12 @@ dnl ### begin block 1_COND_PLATFORM_MACOSX_1 ### COND_PLATFORM_MACOSX_1="" fi AC_SUBST(COND_PLATFORM_MACOSX_1) +dnl ### begin block 1_COND_PLATFORM_MACOSX_1_TOOLKIT_ ### + COND_PLATFORM_MACOSX_1_TOOLKIT_="#" + if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then + COND_PLATFORM_MACOSX_1_TOOLKIT_="" + fi + AC_SUBST(COND_PLATFORM_MACOSX_1_TOOLKIT_) dnl ### begin block 1_COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA ### COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#" if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then @@ -267,6 +284,12 @@ dnl ### begin block 1_COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 ### COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="" fi AC_SUBST(COND_PLATFORM_MACOSX_1_USE_SOVERSION_1) +dnl ### begin block 1_COND_PLATFORM_MACOS_1 ### + COND_PLATFORM_MACOS_1="#" + if test "x$PLATFORM_MACOS" = "x1" ; then + COND_PLATFORM_MACOS_1="" + fi + AC_SUBST(COND_PLATFORM_MACOS_1) dnl ### begin block 1_COND_PLATFORM_MAC_1 ### COND_PLATFORM_MAC_1="#" if test "x$PLATFORM_MAC" = "x1" ; then @@ -321,6 +344,24 @@ dnl ### begin block 1_COND_SHARED_0 ### COND_SHARED_0="" fi AC_SUBST(COND_SHARED_0) +dnl ### begin block 1_COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 ### + COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#" + if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then + COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="" + fi + AC_SUBST(COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0) +dnl ### begin block 1_COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 ### + COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#" + if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then + COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="" + fi + AC_SUBST(COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0) +dnl ### begin block 1_COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 ### + COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#" + if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then + COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="" + fi + AC_SUBST(COND_SHARED_0_TOOLKIT_PM_WXUNIV_0) dnl ### begin block 1_COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 ### COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#" if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then @@ -381,12 +422,24 @@ dnl ### begin block 1_COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 ### COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="" fi AC_SUBST(COND_SHARED_1_USE_GUI_1_USE_OPENGL_1) +dnl ### begin block 1_COND_TOOLKIT_ ### + COND_TOOLKIT_="#" + if test "x$TOOLKIT" = "x" ; then + COND_TOOLKIT_="" + fi + AC_SUBST(COND_TOOLKIT_) dnl ### begin block 1_COND_TOOLKIT_COCOA ### COND_TOOLKIT_COCOA="#" if test "x$TOOLKIT" = "xCOCOA" ; then COND_TOOLKIT_COCOA="" fi AC_SUBST(COND_TOOLKIT_COCOA) +dnl ### begin block 1_COND_TOOLKIT_COCOA_USE_GUI_1 ### + COND_TOOLKIT_COCOA_USE_GUI_1="#" + if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then + COND_TOOLKIT_COCOA_USE_GUI_1="" + fi + AC_SUBST(COND_TOOLKIT_COCOA_USE_GUI_1) dnl ### begin block 1_COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 ### COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#" if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then @@ -429,12 +482,6 @@ dnl ### begin block 1_COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 ### COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="" fi AC_SUBST(COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0) -dnl ### begin block 1_COND_TOOLKIT_MAC_WXUNIV_0 ### - COND_TOOLKIT_MAC_WXUNIV_0="#" - if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then - COND_TOOLKIT_MAC_WXUNIV_0="" - fi - AC_SUBST(COND_TOOLKIT_MAC_WXUNIV_0) dnl ### begin block 1_COND_TOOLKIT_MGL ### COND_TOOLKIT_MGL="#" if test "x$TOOLKIT" = "xMGL" ; then @@ -483,12 +530,6 @@ dnl ### begin block 1_COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 ### COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="" fi AC_SUBST(COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0) -dnl ### begin block 1_COND_TOOLKIT_MSW_WXUNIV_0 ### - COND_TOOLKIT_MSW_WXUNIV_0="#" - if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then - COND_TOOLKIT_MSW_WXUNIV_0="" - fi - AC_SUBST(COND_TOOLKIT_MSW_WXUNIV_0) dnl ### begin block 1_COND_TOOLKIT_PM ### COND_TOOLKIT_PM="#" if test "x$TOOLKIT" = "xPM" ; then @@ -507,12 +548,6 @@ dnl ### begin block 1_COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 ### COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="" fi AC_SUBST(COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0) -dnl ### begin block 1_COND_TOOLKIT_PM_WXUNIV_0 ### - COND_TOOLKIT_PM_WXUNIV_0="#" - if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then - COND_TOOLKIT_PM_WXUNIV_0="" - fi - AC_SUBST(COND_TOOLKIT_PM_WXUNIV_0) dnl ### begin block 1_COND_TOOLKIT_WINCE ### COND_TOOLKIT_WINCE="#" if test "x$TOOLKIT" = "xWINCE" ; then @@ -609,6 +644,12 @@ dnl ### begin block 1_COND_USE_ODBC_1 ### COND_USE_ODBC_1="" fi AC_SUBST(COND_USE_ODBC_1) +dnl ### begin block 1_COND_USE_OPENGL_1 ### + COND_USE_OPENGL_1="#" + if test "x$USE_OPENGL" = "x1" ; then + COND_USE_OPENGL_1="" + fi + AC_SUBST(COND_USE_OPENGL_1) dnl ### begin block 1_COND_USE_PLUGINS_0 ### COND_USE_PLUGINS_0="#" if test "x$USE_PLUGINS" = "x0" ; then @@ -639,18 +680,18 @@ dnl ### begin block 1_COND_USE_SOVERSOLARIS_1 ### COND_USE_SOVERSOLARIS_1="" fi AC_SUBST(COND_USE_SOVERSOLARIS_1) +dnl ### begin block 1_COND_USE_XRC_1 ### + COND_USE_XRC_1="#" + if test "x$USE_XRC" = "x1" ; then + COND_USE_XRC_1="" + fi + AC_SUBST(COND_USE_XRC_1) dnl ### begin block 1_COND_WITH_PLUGIN_SDL_1 ### COND_WITH_PLUGIN_SDL_1="#" if test "x$WITH_PLUGIN_SDL" = "x1" ; then COND_WITH_PLUGIN_SDL_1="" fi AC_SUBST(COND_WITH_PLUGIN_SDL_1) -dnl ### begin block 1_COND_WITH_SDL_1 ### - COND_WITH_SDL_1="#" - if test "x$WITH_SDL" = "x1" ; then - COND_WITH_SDL_1="" - fi - AC_SUBST(COND_WITH_SDL_1) dnl ### begin block 1_COND_WXUNIV_1 ### COND_WXUNIV_1="#" if test "x$WXUNIV" = "x1" ; then @@ -825,6 +866,12 @@ dnl ### begin block 20_COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 ### COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="" fi AC_SUBST(COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1) +dnl ### begin block 20_COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 ### + COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#" + if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then + COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="" + fi + AC_SUBST(COND_MONOLITHIC_0_SHARED_0_USE_XRC_1) dnl ### begin block 20_COND_MONOLITHIC_0_SHARED_1 ### COND_MONOLITHIC_0_SHARED_1="#" if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then @@ -855,6 +902,12 @@ dnl ### begin block 20_COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 ### COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="" fi AC_SUBST(COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1) +dnl ### begin block 20_COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 ### + COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#" + if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then + COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="" + fi + AC_SUBST(COND_MONOLITHIC_0_SHARED_1_USE_XRC_1) dnl ### begin block 20_COND_MONOLITHIC_0_USE_ODBC_1 ### COND_MONOLITHIC_0_USE_ODBC_1="#" if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then @@ -921,6 +974,18 @@ dnl ### begin block 20_COND_PLATFORM_MACOSX_1_TOOLKIT_MAC ### COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="" fi AC_SUBST(COND_PLATFORM_MACOSX_1_TOOLKIT_MAC) +dnl ### begin block 20_COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF ### + COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#" + if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then + COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="" + fi + AC_SUBST(COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF) +dnl ### begin block 20_COND_PLATFORM_MACOSX_1_TOOLKIT_X11 ### + COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#" + if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then + COND_PLATFORM_MACOSX_1_TOOLKIT_X11="" + fi + AC_SUBST(COND_PLATFORM_MACOSX_1_TOOLKIT_X11) dnl ### begin block 20_COND_PLATFORM_MACOSX_1_USE_GUI_1 ### COND_PLATFORM_MACOSX_1_USE_GUI_1="#" if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then @@ -1095,6 +1160,12 @@ dnl ### begin block 20_COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 ### COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="" fi AC_SUBST(COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0) +dnl ### begin block 20_COND_TOOLKIT_MAC_WXUNIV_0 ### + COND_TOOLKIT_MAC_WXUNIV_0="#" + if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then + COND_TOOLKIT_MAC_WXUNIV_0="" + fi + AC_SUBST(COND_TOOLKIT_MAC_WXUNIV_0) dnl ### begin block 20_COND_TOOLKIT_MGL ### COND_TOOLKIT_MGL="#" if test "x$TOOLKIT" = "xMGL" ; then @@ -1143,6 +1214,12 @@ dnl ### begin block 20_COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 ### COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="" fi AC_SUBST(COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0) +dnl ### begin block 20_COND_TOOLKIT_MSW_WXUNIV_0 ### + COND_TOOLKIT_MSW_WXUNIV_0="#" + if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then + COND_TOOLKIT_MSW_WXUNIV_0="" + fi + AC_SUBST(COND_TOOLKIT_MSW_WXUNIV_0) dnl ### begin block 20_COND_TOOLKIT_PM ### COND_TOOLKIT_PM="#" if test "x$TOOLKIT" = "xPM" ; then @@ -1161,6 +1238,12 @@ dnl ### begin block 20_COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 ### COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="" fi AC_SUBST(COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0) +dnl ### begin block 20_COND_TOOLKIT_PM_WXUNIV_0 ### + COND_TOOLKIT_PM_WXUNIV_0="#" + if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then + COND_TOOLKIT_PM_WXUNIV_0="" + fi + AC_SUBST(COND_TOOLKIT_PM_WXUNIV_0) dnl ### begin block 20_COND_TOOLKIT_WINCE ### COND_TOOLKIT_WINCE="#" if test "x$TOOLKIT" = "xWINCE" ; then