Enable wxUSE_DISPLAY by default. It is required for wxPython builds now
and doesn't seem obviously harmful to anyone else. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
85c09802c0
commit
45b7f8192e
66
configure
vendored
66
configure
vendored
@ -878,6 +878,7 @@ Optional Features:
|
||||
--enable-optimise create optimised code
|
||||
--enable-debug same as debug_flag and debug_info
|
||||
--enable-stl use STL for containers
|
||||
--enable-omf use OMF object format
|
||||
--enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
|
||||
--enable-debug_info create code with debugging information
|
||||
--enable-debug_gdb create code with extra GDB debugging information
|
||||
@ -2323,7 +2324,7 @@ else
|
||||
DEFAULT_wxUSE_CHECKLST=yes
|
||||
DEFAULT_wxUSE_CHOICE=yes
|
||||
DEFAULT_wxUSE_COMBOBOX=yes
|
||||
DEFAULT_wxUSE_DISPLAY=no
|
||||
DEFAULT_wxUSE_DISPLAY=yes
|
||||
DEFAULT_wxUSE_GAUGE=yes
|
||||
DEFAULT_wxUSE_GRID=yes
|
||||
DEFAULT_wxUSE_IMAGLIST=yes
|
||||
@ -3542,6 +3543,49 @@ echo "${ECHO_T}yes" >&6
|
||||
echo "${ECHO_T}no" >&6
|
||||
fi
|
||||
|
||||
if test "$USE_OS2" = "1"; then
|
||||
|
||||
enablestring=
|
||||
echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
|
||||
echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
|
||||
no_cache=0
|
||||
# Check whether --enable-omf or --disable-omf was given.
|
||||
if test "${enable_omf+set}" = set; then
|
||||
enableval="$enable_omf"
|
||||
|
||||
if test "$enableval" = yes; then
|
||||
ac_cv_use_omf='wxUSE_OMF=yes'
|
||||
else
|
||||
ac_cv_use_omf='wxUSE_OMF=no'
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
|
||||
if test "x$LINE" != x ; then
|
||||
eval "DEFAULT_$LINE"
|
||||
else
|
||||
no_cache=1
|
||||
fi
|
||||
|
||||
ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
|
||||
|
||||
fi;
|
||||
|
||||
eval "$ac_cv_use_omf"
|
||||
if test "$no_cache" != 1; then
|
||||
echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
|
||||
fi
|
||||
|
||||
if test "$wxUSE_OMF" = yes; then
|
||||
echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6
|
||||
else
|
||||
echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if test "$wxUSE_DEBUG" = "yes"; then
|
||||
DEFAULT_wxUSE_DEBUG_FLAG=yes
|
||||
@ -9849,6 +9893,13 @@ fi
|
||||
case "${host}" in
|
||||
*-pc-os2_emx | *-pc-os2-emx )
|
||||
PATH_IFS=';'
|
||||
if test "$wxUSE_OMF" = "yes"; then
|
||||
AR=emxomfar
|
||||
RANLIB=:
|
||||
LDFLAGS="-Zomf $LDFLAGS"
|
||||
CFLAGS="-Zomf $CFLAGS"
|
||||
CXXFLAGS="-Zomf $CXXFLAGS"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
PATH_IFS=':'
|
||||
@ -12254,6 +12305,9 @@ echo "${ECHO_T}$wx_cv_gccversion" >&6
|
||||
else
|
||||
LIBS="$LIBS -lstdc++"
|
||||
fi
|
||||
fi
|
||||
if test "$wxUSE_OMF" = "yes"; then
|
||||
LDFLAGS="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
@ -27627,7 +27681,6 @@ fi
|
||||
|
||||
if test "$wxUSE_SHARED" = "yes"; then
|
||||
case "${host}" in
|
||||
*-pc-os2_emx | *-pc-os2-emx | \
|
||||
*-pc-msdosdjgpp )
|
||||
wxUSE_SHARED=no
|
||||
{ echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
|
||||
@ -38285,6 +38338,8 @@ echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
|
||||
DLLPREFIX=""
|
||||
;;
|
||||
*-pc-os2_emx | *-pc-os2-emx )
|
||||
SO_SUFFIX="dll"
|
||||
SO_SUFFIX_MODULE="dll"
|
||||
EXEEXT=".exe"
|
||||
DLLPREFIX=""
|
||||
LIBPREFIX=""
|
||||
@ -38630,11 +38685,16 @@ fi
|
||||
PIC_FLAG=""
|
||||
;;
|
||||
|
||||
*-pc-os2_emx | *-pc-os2-emx )
|
||||
SHARED_LD_CC="dllar.sh -o"
|
||||
SHARED_LD_CXX="dllar.sh -o"
|
||||
PIC_FLAG=""
|
||||
;;
|
||||
|
||||
*-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
|
||||
*-*-sunos4* | \
|
||||
*-*-osf* | \
|
||||
*-*-dgux5* | \
|
||||
*-pc-os2_emx | *-pc-os2-emx | \
|
||||
*-*-sysv5* )
|
||||
;;
|
||||
|
||||
|
@ -675,7 +675,7 @@ else
|
||||
DEFAULT_wxUSE_CHECKLST=yes
|
||||
DEFAULT_wxUSE_CHOICE=yes
|
||||
DEFAULT_wxUSE_COMBOBOX=yes
|
||||
DEFAULT_wxUSE_DISPLAY=no
|
||||
DEFAULT_wxUSE_DISPLAY=yes
|
||||
DEFAULT_wxUSE_GAUGE=yes
|
||||
DEFAULT_wxUSE_GRID=yes
|
||||
DEFAULT_wxUSE_IMAGLIST=yes
|
||||
|
Loading…
Reference in New Issue
Block a user