[Git][wxwidgets/wxwidgets][master] 2 commits: Remove unused configure options

2 views
Skip to first unread message

Vadim Zeitlin (@_VZ_)

unread,
May 2, 2026, 2:46:24 PMMay 2
to wx-commi...@googlegroups.com

Vadim Zeitlin pushed to branch master at wxWidgets / wxWidgets

Commits:

  • bcee2a1c
    by Paul Cornett at 2026-05-02T11:20:48-07:00
    Remove unused configure options
    
    wxUSE_VARARG_MACROS, wxUSE_COMMONDLGS and wxUSE_OLD_COCOA are no longer used anywhere.
    
  • ae6f81fe
    by Paul Cornett at 2026-05-02T11:20:48-07:00
    Fix configure script test
    
    Test for equality is a single equals sign.
    

2 changed files:

Changes:

  • configure
    No preview for this file type
  • configure.ac
    ... ... @@ -667,7 +667,6 @@ WX_ARG_DISABLE(pic, [ --disable-pic don't use position indep
    667 667
     WX_ARG_ENABLE(no_rtti,       [  --enable-no_rtti        create code without RTTI information], wxUSE_NO_RTTI)
    
    668 668
     WX_ARG_ENABLE(no_exceptions, [  --enable-no_exceptions  create code without C++ exceptions handling], wxUSE_NO_EXCEPTIONS)
    
    669 669
     WX_ARG_ENABLE(permissive,    [  --enable-permissive     compile code disregarding strict ANSI], wxUSE_PERMISSIVE)
    
    670
    -WX_ARG_DISABLE(vararg_macros,[  --disable-vararg_macros don't use vararg macros, even if they are supported], wxUSE_VARARG_MACROS)
    
    671 670
     
    
    672 671
     if test "$USE_DARWIN" = 1; then
    
    673 672
     WX_ARG_ENABLE_PARAM(universal_binary, [[  --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures]], wxUSE_UNIVERSAL_BINARY)
    
    ... ... @@ -983,7 +982,6 @@ dnl ---------------------------------------------------------------------------
    983 982
     dnl common dialogs
    
    984 983
     dnl ---------------------------------------------------------------------------
    
    985 984
     
    
    986
    -WX_ARG_FEATURE(commondlg,   [  --enable-commondlg      use all common dialogs], wxUSE_COMMONDLGS)
    
    987 985
     WX_ARG_FEATURE(aboutdlg,    [  --enable-aboutdlg       use wxAboutBox], wxUSE_ABOUTDLG)
    
    988 986
     WX_ARG_FEATURE(choicedlg,   [  --enable-choicedlg      use wxChoiceDialog], wxUSE_CHOICEDLG)
    
    989 987
     WX_ARG_FEATURE(coldlg,      [  --enable-coldlg         use wxColourDialog], wxUSE_COLOURDLG)
    
    ... ... @@ -2665,7 +2663,7 @@ if test "$wxUSE_LIBTIFF" != "no" ; then
    2665 2663
                 tiff_jpeg_option=--with-jpeg-from-wx
    
    2666 2664
             fi
    
    2667 2665
     
    
    2668
    -        dnl if you ever want to enable webp, check if it clashes with the wxUSE_LIBWBP setting
    
    2666
    +        dnl if you ever want to enable webp, check if it clashes with the wxUSE_LIBWEBP setting
    
    2669 2667
             AX_SUBDIRS_CONFIGURE([src/tiff],
    
    2670 2668
                 [[--disable-jbig],
    
    2671 2669
                  [--disable-lerc],
    
    ... ... @@ -5585,7 +5583,7 @@ if test "$wxUSE_CONFIG" = "yes" ; then
    5585 5583
         AC_MSG_WARN(wxConfig requires wxTextFile... disabled)
    
    5586 5584
       else
    
    5587 5585
         AC_DEFINE(wxUSE_CONFIG)
    
    5588
    -    if test "$wxUSE_MSW" == 1 -a "$wxUSE_REGKEY" != 1; then
    
    5586
    +    if test "$wxUSE_MSW" = 1 -a "$wxUSE_REGKEY" != 1; then
    
    5589 5587
             AC_DEFINE(wxUSE_CONFIG_NATIVE, 0)
    
    5590 5588
         else
    
    5591 5589
             AC_DEFINE(wxUSE_CONFIG_NATIVE, 1)
    
    ... ... @@ -7726,7 +7724,7 @@ if test "$wxUSE_MAC" = 1 ; then
    7726 7724
             fi
    
    7727 7725
         fi
    
    7728 7726
     fi
    
    7729
    -if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
    
    7727
    +if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1; then
    
    7730 7728
         EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework AppKit -framework IOKit -framework CoreServices -framework System -framework ApplicationServices -framework Foundation"
    
    7731 7729
     fi
    
    7732 7730
     
    

Reply all
Reply to author
Forward
0 new messages