Rename wxUSE_ARCSTREAM to wxUSE_ARCHIVE_STREAMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b4a345a67a
commit
9e8e867ff9
20
configure
vendored
20
configure
vendored
@ -2155,7 +2155,7 @@ if test $DEBUG_CONFIGURE = 1; then
|
||||
DEFAULT_wxUSE_FS_INET=no
|
||||
DEFAULT_wxUSE_FS_ZIP=no
|
||||
DEFAULT_wxUSE_BUSYINFO=no
|
||||
DEFAULT_wxUSE_ARCSTREAM=no
|
||||
DEFAULT_wxUSE_ARCHIVE_STREAMS=no
|
||||
DEFAULT_wxUSE_ZIPSTREAM=no
|
||||
DEFAULT_wxUSE_VALIDATORS=no
|
||||
|
||||
@ -2348,7 +2348,7 @@ else
|
||||
DEFAULT_wxUSE_FS_INET=yes
|
||||
DEFAULT_wxUSE_FS_ZIP=yes
|
||||
DEFAULT_wxUSE_BUSYINFO=yes
|
||||
DEFAULT_wxUSE_ARCSTREAM=yes
|
||||
DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
|
||||
DEFAULT_wxUSE_ZIPSTREAM=yes
|
||||
DEFAULT_wxUSE_VALIDATORS=yes
|
||||
|
||||
@ -4681,21 +4681,21 @@ if test "${enable_arcstream+set}" = set; then
|
||||
enableval="$enable_arcstream"
|
||||
|
||||
if test "$enableval" = yes; then
|
||||
ac_cv_use_arcstream='wxUSE_ARCSTREAM=yes'
|
||||
ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
|
||||
else
|
||||
ac_cv_use_arcstream='wxUSE_ARCSTREAM=no'
|
||||
ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
LINE=`grep "wxUSE_ARCSTREAM" ${wx_arg_cache_file}`
|
||||
LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
|
||||
if test "x$LINE" != x ; then
|
||||
eval "DEFAULT_$LINE"
|
||||
else
|
||||
no_cache=1
|
||||
fi
|
||||
|
||||
ac_cv_use_arcstream='wxUSE_ARCSTREAM='$DEFAULT_wxUSE_ARCSTREAM
|
||||
ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
|
||||
|
||||
fi;
|
||||
|
||||
@ -4704,7 +4704,7 @@ fi;
|
||||
echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
|
||||
fi
|
||||
|
||||
if test "$wxUSE_ARCSTREAM" = yes; then
|
||||
if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
|
||||
echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6
|
||||
else
|
||||
@ -35472,15 +35472,15 @@ _ACEOF
|
||||
|
||||
fi
|
||||
|
||||
if test "$wxUSE_ARCSTREAM" = "yes"; then
|
||||
if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define wxUSE_ARCSTREAM 1
|
||||
#define wxUSE_ARCHIVE_STREAMS 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
if test "$wxUSE_ZIPSTREAM" = "yes"; then
|
||||
if test "$wxUSE_ARCSTREAM" != "yes"; then
|
||||
if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
|
||||
{ echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
|
||||
echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
|
||||
elif test "$wxUSE_ZLIB" = "no"; then
|
||||
|
12
configure.in
12
configure.in
@ -500,7 +500,7 @@ if test $DEBUG_CONFIGURE = 1; then
|
||||
DEFAULT_wxUSE_FS_INET=no
|
||||
DEFAULT_wxUSE_FS_ZIP=no
|
||||
DEFAULT_wxUSE_BUSYINFO=no
|
||||
DEFAULT_wxUSE_ARCSTREAM=no
|
||||
DEFAULT_wxUSE_ARCHIVE_STREAMS=no
|
||||
DEFAULT_wxUSE_ZIPSTREAM=no
|
||||
DEFAULT_wxUSE_VALIDATORS=no
|
||||
|
||||
@ -693,7 +693,7 @@ else
|
||||
DEFAULT_wxUSE_FS_INET=yes
|
||||
DEFAULT_wxUSE_FS_ZIP=yes
|
||||
DEFAULT_wxUSE_BUSYINFO=yes
|
||||
DEFAULT_wxUSE_ARCSTREAM=yes
|
||||
DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
|
||||
DEFAULT_wxUSE_ZIPSTREAM=yes
|
||||
DEFAULT_wxUSE_VALIDATORS=yes
|
||||
|
||||
@ -886,7 +886,7 @@ WX_ARG_ENABLE(ipc, [ --enable-ipc use interprocess communi
|
||||
|
||||
dnl please keep the settings below in alphabetical order
|
||||
WX_ARG_ENABLE(apple_ieee, [ --enable-apple_ieee use the Apple IEEE codec], wxUSE_APPLE_IEEE)
|
||||
WX_ARG_ENABLE(arcstream, [ --enable-arcstream use wxArchive streams], wxUSE_ARCSTREAM)
|
||||
WX_ARG_ENABLE(arcstream, [ --enable-arcstream use wxArchive streams], wxUSE_ARCHIVE_STREAMS)
|
||||
WX_ARG_ENABLE(catch_segvs, [ --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)], wxUSE_ON_FATAL_EXCEPTION)
|
||||
WX_ARG_ENABLE(backtrace, [ --enable-backtrace use wxStackWalker class for getting backtraces], wxUSE_STACKWALKER)
|
||||
WX_ARG_ENABLE(cmdline, [ --enable-cmdline use wxCmdLineParser class], wxUSE_CMDLINE_PARSER)
|
||||
@ -4768,12 +4768,12 @@ if test "$wxUSE_FS_ZIP" = "yes"; then
|
||||
AC_DEFINE(wxUSE_FS_ZIP)
|
||||
fi
|
||||
|
||||
if test "$wxUSE_ARCSTREAM" = "yes"; then
|
||||
AC_DEFINE(wxUSE_ARCSTREAM)
|
||||
if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
|
||||
AC_DEFINE(wxUSE_ARCHIVE_STREAMS)
|
||||
fi
|
||||
|
||||
if test "$wxUSE_ZIPSTREAM" = "yes"; then
|
||||
if test "$wxUSE_ARCSTREAM" != "yes"; then
|
||||
if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
|
||||
AC_MSG_WARN(wxZip requires wxArchive... disabled)
|
||||
elif test "$wxUSE_ZLIB" = "no"; then
|
||||
AC_MSG_WARN(wxZip requires wxZlib... disabled)
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_STREAMS && wxUSE_ARCSTREAM
|
||||
#if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||
|
||||
#include "wx/stream.h"
|
||||
#include "wx/filename.h"
|
||||
@ -355,6 +355,6 @@ private:
|
||||
DECLARE_ABSTRACT_CLASS(wxArchiveClassFactory)
|
||||
};
|
||||
|
||||
#endif // wxUSE_STREAMS && wxUSE_ARCSTREAM
|
||||
#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||
|
||||
#endif // _WX_ARCHIVE_H__
|
||||
|
@ -933,12 +933,12 @@
|
||||
# define wxUSE_ZLIB 1
|
||||
# endif
|
||||
# endif
|
||||
# if !wxUSE_ARCSTREAM
|
||||
# if !wxUSE_ARCHIVE_STREAMS
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxZip requires wxArchive"
|
||||
# else
|
||||
# undef wxUSE_ARCSTREAM
|
||||
# define wxUSE_ARCSTREAM 1
|
||||
# undef wxUSE_ARCHIVE_STREAMS
|
||||
# define wxUSE_ARCHIVE_STREAMS 1
|
||||
# endif
|
||||
# endif
|
||||
#endif /* wxUSE_ZIPSTREAM */
|
||||
|
@ -392,7 +392,7 @@
|
||||
#define wxUSE_FS_INET 1
|
||||
|
||||
// wxArchive classes for accessing archives such as zip and tar
|
||||
#define wxUSE_ARCSTREAM 1
|
||||
#define wxUSE_ARCHIVE_STREAMS 1
|
||||
|
||||
// Set to 1 to compile wxZipInput/OutputStream classes.
|
||||
#define wxUSE_ZIPSTREAM 1
|
||||
|
@ -386,7 +386,7 @@
|
||||
#define wxUSE_FS_INET 1
|
||||
|
||||
// wxArchive classes for accessing archives such as zip and tar
|
||||
#define wxUSE_ARCSTREAM 1
|
||||
#define wxUSE_ARCHIVE_STREAMS 1
|
||||
|
||||
// Set to 1 to compile wxZipInput/OutputStream classes.
|
||||
#define wxUSE_ZIPSTREAM 1
|
||||
|
@ -385,7 +385,7 @@
|
||||
#define wxUSE_FS_INET 0
|
||||
|
||||
// wxArchive classes for accessing archives such as zip and tar
|
||||
#define wxUSE_ARCSTREAM 0
|
||||
#define wxUSE_ARCHIVE_STREAMS 0
|
||||
|
||||
// Set to 1 to compile wxZipInput/OutputStream classes.
|
||||
#define wxUSE_ZIPSTREAM 0
|
||||
|
@ -376,7 +376,7 @@
|
||||
#define wxUSE_FS_INET 1
|
||||
|
||||
// wxArchive classes for accessing archives such as zip and tar
|
||||
#define wxUSE_ARCSTREAM 1
|
||||
#define wxUSE_ARCHIVE_STREAMS 1
|
||||
|
||||
// Set to 1 to compile wxZipInput/OutputStream classes.
|
||||
#define wxUSE_ZIPSTREAM 1
|
||||
|
@ -413,7 +413,7 @@
|
||||
#define wxUSE_FS_ZIP 1
|
||||
|
||||
// wxArchive classes for accessing archives such as zip and tar
|
||||
#define wxUSE_ARCSTREAM 1
|
||||
#define wxUSE_ARCHIVE_STREAMS 1
|
||||
|
||||
// Set to 1 to compile wxZipInput/OutputStream classes.
|
||||
#define wxUSE_ZIPSTREAM 1
|
||||
|
@ -240,7 +240,7 @@
|
||||
|
||||
#define wxUSE_FS_INET 0
|
||||
|
||||
#define wxUSE_ARCSTREAM 0
|
||||
#define wxUSE_ARCHIVE_STREAMS 0
|
||||
|
||||
#define wxUSE_ZIPSTREAM 0
|
||||
|
||||
|
@ -249,7 +249,7 @@
|
||||
|
||||
#define wxUSE_FS_INET 1
|
||||
|
||||
#define wxUSE_ARCSTREAM 1
|
||||
#define wxUSE_ARCHIVE_STREAMS 1
|
||||
|
||||
#define wxUSE_ZIPSTREAM 1
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "wx/defs.h"
|
||||
#endif
|
||||
|
||||
#if wxUSE_STREAMS && wxUSE_ARCSTREAM
|
||||
#if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||
|
||||
#include "wx/archive.h"
|
||||
#include "wx/html/forcelnk.h"
|
||||
@ -73,4 +73,4 @@ wxArchiveEntry& wxArchiveEntry::operator=(const wxArchiveEntry& WXUNUSED(e))
|
||||
return *this;
|
||||
}
|
||||
|
||||
#endif // wxUSE_STREAMS && wxUSE_ARCSTREAM
|
||||
#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||
|
@ -17,7 +17,7 @@
|
||||
# include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
#if wxUSE_STREAMS && wxUSE_ARCSTREAM
|
||||
#if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||
|
||||
// VC++ 6 warns that the list iterator's '->' operator will not work whenever
|
||||
// std::list is used with a non-pointer, so switch it off.
|
||||
@ -1284,4 +1284,4 @@ template class ArchiveTestCase<wxArchiveClassFactory>;
|
||||
template class ArchiveTestCase<wxZipClassFactory>;
|
||||
#endif
|
||||
|
||||
#endif // wxUSE_STREAMS && wxUSE_ARCSTREAM
|
||||
#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||
|
Loading…
Reference in New Issue
Block a user