Move wxFileHistory out of docview framework, add wxUSE_FILE_HISTORY.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
52
configure
vendored
52
configure
vendored
@@ -1736,6 +1736,7 @@ Optional Features:
|
||||
--enable-exceptions build exception-safe library
|
||||
--enable-ffile use wxFFile class
|
||||
--enable-file use wxFile class
|
||||
--enable-filehistory use wxFileHistory class
|
||||
--enable-filesystem use virtual file systems classes
|
||||
--enable-fontenum use wxFontEnumerator class
|
||||
--enable-fontmap use font encodings conversion classes
|
||||
@@ -7014,6 +7015,50 @@ fi
|
||||
echo "${ECHO_T}$result" >&6; }
|
||||
|
||||
|
||||
enablestring=
|
||||
defaultval=$wxUSE_ALL_FEATURES
|
||||
if test -z "$defaultval"; then
|
||||
if test x"$enablestring" = xdisable; then
|
||||
defaultval=yes
|
||||
else
|
||||
defaultval=no
|
||||
fi
|
||||
fi
|
||||
|
||||
{ echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
|
||||
echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
|
||||
# Check whether --enable-filehistory was given.
|
||||
if test "${enable_filehistory+set}" = set; then
|
||||
enableval=$enable_filehistory;
|
||||
if test "$enableval" = yes; then
|
||||
wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
|
||||
else
|
||||
wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
eval "$wx_cv_use_filehistory"
|
||||
|
||||
if test x"$enablestring" = xdisable; then
|
||||
if test $wxUSE_FILE_HISTORY = no; then
|
||||
result=yes
|
||||
else
|
||||
result=no
|
||||
fi
|
||||
else
|
||||
result=$wxUSE_FILE_HISTORY
|
||||
fi
|
||||
|
||||
{ echo "$as_me:$LINENO: result: $result" >&5
|
||||
echo "${ECHO_T}$result" >&6; }
|
||||
|
||||
|
||||
enablestring=
|
||||
defaultval=$wxUSE_ALL_FEATURES
|
||||
if test -z "$defaultval"; then
|
||||
@@ -44100,6 +44145,13 @@ _ACEOF
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$wxUSE_FILE_HISTORY" = "yes"; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define wxUSE_FILE_HISTORY 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
if test "$wxUSE_FILESYSTEM" = "yes"; then
|
||||
if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
|
||||
{ echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
|
||||
|
Reference in New Issue
Block a user