X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d51e8205da8e468adb5231ea8e1eeaa81567f42d..0f42a87192504d5b51532535b8cc8f9147e0a072:/configure.in diff --git a/configure.in b/configure.in index f2cfdbced7..bd05c5bca0 100644 --- a/configure.in +++ b/configure.in @@ -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 @@ -1445,8 +1445,12 @@ dnl ---------------------------------------------------------------- dnl search for toolkit (widget sets) dnl ---------------------------------------------------------------- +AFMINSTALL= + if test "$wxUSE_GUI" = "yes"; then +USE_GUI=1 + TOOLKIT= TOOLKIT_INCLUDE= @@ -1518,6 +1522,8 @@ dnl ) GUI_TK_LIBRARY="$GTK_LIBS -lgthread" TOOLKIT=GTK + AFMINSTALL=afminstall + GUIOBJS="\$(GTK_GUIOBJS)" GUIHEADERS="\$(GTK_HEADERS)" COMMONOBJS="\$(GTK_COMMONOBJS)" @@ -1598,6 +1604,8 @@ if test "$wxUSE_MOTIF" = 1; then GUI_TK_LIBRARY="$X_LIBS" TOOLKIT_INCLUDE="$X_CFLAGS" + AFMINSTALL=afminstall + dnl manual check for X11 headers/libs dnl dnl AC_MSG_CHECKING(for X11 headers) @@ -1704,7 +1712,7 @@ fi dnl the name of the directory where the files for this toolkit live if test "$TOOLKIT" != "PM" ; then - TOOLKIT_DIR=`echo ${TOOLKIT} | tr "A-Z" "a-z"` + TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[[A-Z]]" "[[a-z]]"` else TOOLKIT_DIR="os2" fi @@ -1734,6 +1742,8 @@ WX_LIBRARY="wx_${TOOLKIT_DIR}" else dnl leave all TOOLKIT_XXX vars empty + USE_GUI=0 + dnl the sources, their dependenices and the headers ALL_OBJECTS="\$(BASE_OBJS)" ALL_DEPFILES="\${BASE_DEPS}" @@ -3223,6 +3233,8 @@ dnl debugging options AC_SUBST(WXDEBUG_DEFINE) dnl toolkit options +AC_SUBST(USE_GUI) +AC_SUBST(AFMINSTALL) AC_SUBST(TOOLKIT) AC_SUBST(TOOLKIT_DEF) AC_SUBST(TOOLKIT_DIR) @@ -3304,11 +3316,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 @@ -3352,6 +3366,14 @@ AC_OUTPUT([ utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile utils/ogl/Makefile utils/ogl/src/Makefile + utils/makegen/Makefile + utils/HelpGen/Makefile + utils/HelpGen/src/Makefile + utils/tex2rtf/Makefile + utils/tex2rtf/src/Makefile + utils/hhp2cached/Makefile + utils/dialoged/Makefile + utils/dialoged/src/Makefile ], [ chmod +x wx-config