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:
20
configure
vendored
20
configure
vendored
@@ -2155,7 +2155,7 @@ if test $DEBUG_CONFIGURE = 1; then
|
|||||||
DEFAULT_wxUSE_FS_INET=no
|
DEFAULT_wxUSE_FS_INET=no
|
||||||
DEFAULT_wxUSE_FS_ZIP=no
|
DEFAULT_wxUSE_FS_ZIP=no
|
||||||
DEFAULT_wxUSE_BUSYINFO=no
|
DEFAULT_wxUSE_BUSYINFO=no
|
||||||
DEFAULT_wxUSE_ARCSTREAM=no
|
DEFAULT_wxUSE_ARCHIVE_STREAMS=no
|
||||||
DEFAULT_wxUSE_ZIPSTREAM=no
|
DEFAULT_wxUSE_ZIPSTREAM=no
|
||||||
DEFAULT_wxUSE_VALIDATORS=no
|
DEFAULT_wxUSE_VALIDATORS=no
|
||||||
|
|
||||||
@@ -2348,7 +2348,7 @@ else
|
|||||||
DEFAULT_wxUSE_FS_INET=yes
|
DEFAULT_wxUSE_FS_INET=yes
|
||||||
DEFAULT_wxUSE_FS_ZIP=yes
|
DEFAULT_wxUSE_FS_ZIP=yes
|
||||||
DEFAULT_wxUSE_BUSYINFO=yes
|
DEFAULT_wxUSE_BUSYINFO=yes
|
||||||
DEFAULT_wxUSE_ARCSTREAM=yes
|
DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
|
||||||
DEFAULT_wxUSE_ZIPSTREAM=yes
|
DEFAULT_wxUSE_ZIPSTREAM=yes
|
||||||
DEFAULT_wxUSE_VALIDATORS=yes
|
DEFAULT_wxUSE_VALIDATORS=yes
|
||||||
|
|
||||||
@@ -4681,21 +4681,21 @@ if test "${enable_arcstream+set}" = set; then
|
|||||||
enableval="$enable_arcstream"
|
enableval="$enable_arcstream"
|
||||||
|
|
||||||
if test "$enableval" = yes; then
|
if test "$enableval" = yes; then
|
||||||
ac_cv_use_arcstream='wxUSE_ARCSTREAM=yes'
|
ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
|
||||||
else
|
else
|
||||||
ac_cv_use_arcstream='wxUSE_ARCSTREAM=no'
|
ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
LINE=`grep "wxUSE_ARCSTREAM" ${wx_arg_cache_file}`
|
LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
|
||||||
if test "x$LINE" != x ; then
|
if test "x$LINE" != x ; then
|
||||||
eval "DEFAULT_$LINE"
|
eval "DEFAULT_$LINE"
|
||||||
else
|
else
|
||||||
no_cache=1
|
no_cache=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ac_cv_use_arcstream='wxUSE_ARCSTREAM='$DEFAULT_wxUSE_ARCSTREAM
|
ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
|
||||||
|
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
@@ -4704,7 +4704,7 @@ fi;
|
|||||||
echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
|
echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_ARCSTREAM" = yes; then
|
if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
|
||||||
echo "$as_me:$LINENO: result: yes" >&5
|
echo "$as_me:$LINENO: result: yes" >&5
|
||||||
echo "${ECHO_T}yes" >&6
|
echo "${ECHO_T}yes" >&6
|
||||||
else
|
else
|
||||||
@@ -35472,15 +35472,15 @@ _ACEOF
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_ARCSTREAM" = "yes"; then
|
if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
|
||||||
cat >>confdefs.h <<\_ACEOF
|
cat >>confdefs.h <<\_ACEOF
|
||||||
#define wxUSE_ARCSTREAM 1
|
#define wxUSE_ARCHIVE_STREAMS 1
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_ZIPSTREAM" = "yes"; then
|
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:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
|
||||||
echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
|
echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
|
||||||
elif test "$wxUSE_ZLIB" = "no"; then
|
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_INET=no
|
||||||
DEFAULT_wxUSE_FS_ZIP=no
|
DEFAULT_wxUSE_FS_ZIP=no
|
||||||
DEFAULT_wxUSE_BUSYINFO=no
|
DEFAULT_wxUSE_BUSYINFO=no
|
||||||
DEFAULT_wxUSE_ARCSTREAM=no
|
DEFAULT_wxUSE_ARCHIVE_STREAMS=no
|
||||||
DEFAULT_wxUSE_ZIPSTREAM=no
|
DEFAULT_wxUSE_ZIPSTREAM=no
|
||||||
DEFAULT_wxUSE_VALIDATORS=no
|
DEFAULT_wxUSE_VALIDATORS=no
|
||||||
|
|
||||||
@@ -693,7 +693,7 @@ else
|
|||||||
DEFAULT_wxUSE_FS_INET=yes
|
DEFAULT_wxUSE_FS_INET=yes
|
||||||
DEFAULT_wxUSE_FS_ZIP=yes
|
DEFAULT_wxUSE_FS_ZIP=yes
|
||||||
DEFAULT_wxUSE_BUSYINFO=yes
|
DEFAULT_wxUSE_BUSYINFO=yes
|
||||||
DEFAULT_wxUSE_ARCSTREAM=yes
|
DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
|
||||||
DEFAULT_wxUSE_ZIPSTREAM=yes
|
DEFAULT_wxUSE_ZIPSTREAM=yes
|
||||||
DEFAULT_wxUSE_VALIDATORS=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
|
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(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(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(backtrace, [ --enable-backtrace use wxStackWalker class for getting backtraces], wxUSE_STACKWALKER)
|
||||||
WX_ARG_ENABLE(cmdline, [ --enable-cmdline use wxCmdLineParser class], wxUSE_CMDLINE_PARSER)
|
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)
|
AC_DEFINE(wxUSE_FS_ZIP)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_ARCSTREAM" = "yes"; then
|
if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
|
||||||
AC_DEFINE(wxUSE_ARCSTREAM)
|
AC_DEFINE(wxUSE_ARCHIVE_STREAMS)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_ZIPSTREAM" = "yes"; then
|
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)
|
AC_MSG_WARN(wxZip requires wxArchive... disabled)
|
||||||
elif test "$wxUSE_ZLIB" = "no"; then
|
elif test "$wxUSE_ZLIB" = "no"; then
|
||||||
AC_MSG_WARN(wxZip requires wxZlib... disabled)
|
AC_MSG_WARN(wxZip requires wxZlib... disabled)
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include "wx/defs.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_STREAMS && wxUSE_ARCSTREAM
|
#if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||||
|
|
||||||
#include "wx/stream.h"
|
#include "wx/stream.h"
|
||||||
#include "wx/filename.h"
|
#include "wx/filename.h"
|
||||||
@@ -355,6 +355,6 @@ private:
|
|||||||
DECLARE_ABSTRACT_CLASS(wxArchiveClassFactory)
|
DECLARE_ABSTRACT_CLASS(wxArchiveClassFactory)
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // wxUSE_STREAMS && wxUSE_ARCSTREAM
|
#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||||
|
|
||||||
#endif // _WX_ARCHIVE_H__
|
#endif // _WX_ARCHIVE_H__
|
||||||
|
@@ -933,12 +933,12 @@
|
|||||||
# define wxUSE_ZLIB 1
|
# define wxUSE_ZLIB 1
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# if !wxUSE_ARCSTREAM
|
# if !wxUSE_ARCHIVE_STREAMS
|
||||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||||
# error "wxZip requires wxArchive"
|
# error "wxZip requires wxArchive"
|
||||||
# else
|
# else
|
||||||
# undef wxUSE_ARCSTREAM
|
# undef wxUSE_ARCHIVE_STREAMS
|
||||||
# define wxUSE_ARCSTREAM 1
|
# define wxUSE_ARCHIVE_STREAMS 1
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif /* wxUSE_ZIPSTREAM */
|
#endif /* wxUSE_ZIPSTREAM */
|
||||||
|
@@ -392,7 +392,7 @@
|
|||||||
#define wxUSE_FS_INET 1
|
#define wxUSE_FS_INET 1
|
||||||
|
|
||||||
// wxArchive classes for accessing archives such as zip and tar
|
// 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.
|
// Set to 1 to compile wxZipInput/OutputStream classes.
|
||||||
#define wxUSE_ZIPSTREAM 1
|
#define wxUSE_ZIPSTREAM 1
|
||||||
|
@@ -386,7 +386,7 @@
|
|||||||
#define wxUSE_FS_INET 1
|
#define wxUSE_FS_INET 1
|
||||||
|
|
||||||
// wxArchive classes for accessing archives such as zip and tar
|
// 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.
|
// Set to 1 to compile wxZipInput/OutputStream classes.
|
||||||
#define wxUSE_ZIPSTREAM 1
|
#define wxUSE_ZIPSTREAM 1
|
||||||
|
@@ -385,7 +385,7 @@
|
|||||||
#define wxUSE_FS_INET 0
|
#define wxUSE_FS_INET 0
|
||||||
|
|
||||||
// wxArchive classes for accessing archives such as zip and tar
|
// 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.
|
// Set to 1 to compile wxZipInput/OutputStream classes.
|
||||||
#define wxUSE_ZIPSTREAM 0
|
#define wxUSE_ZIPSTREAM 0
|
||||||
|
@@ -376,7 +376,7 @@
|
|||||||
#define wxUSE_FS_INET 1
|
#define wxUSE_FS_INET 1
|
||||||
|
|
||||||
// wxArchive classes for accessing archives such as zip and tar
|
// 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.
|
// Set to 1 to compile wxZipInput/OutputStream classes.
|
||||||
#define wxUSE_ZIPSTREAM 1
|
#define wxUSE_ZIPSTREAM 1
|
||||||
|
@@ -413,7 +413,7 @@
|
|||||||
#define wxUSE_FS_ZIP 1
|
#define wxUSE_FS_ZIP 1
|
||||||
|
|
||||||
// wxArchive classes for accessing archives such as zip and tar
|
// 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.
|
// Set to 1 to compile wxZipInput/OutputStream classes.
|
||||||
#define wxUSE_ZIPSTREAM 1
|
#define wxUSE_ZIPSTREAM 1
|
||||||
|
@@ -240,7 +240,7 @@
|
|||||||
|
|
||||||
#define wxUSE_FS_INET 0
|
#define wxUSE_FS_INET 0
|
||||||
|
|
||||||
#define wxUSE_ARCSTREAM 0
|
#define wxUSE_ARCHIVE_STREAMS 0
|
||||||
|
|
||||||
#define wxUSE_ZIPSTREAM 0
|
#define wxUSE_ZIPSTREAM 0
|
||||||
|
|
||||||
|
@@ -249,7 +249,7 @@
|
|||||||
|
|
||||||
#define wxUSE_FS_INET 1
|
#define wxUSE_FS_INET 1
|
||||||
|
|
||||||
#define wxUSE_ARCSTREAM 1
|
#define wxUSE_ARCHIVE_STREAMS 1
|
||||||
|
|
||||||
#define wxUSE_ZIPSTREAM 1
|
#define wxUSE_ZIPSTREAM 1
|
||||||
|
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
#include "wx/defs.h"
|
#include "wx/defs.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if wxUSE_STREAMS && wxUSE_ARCSTREAM
|
#if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||||
|
|
||||||
#include "wx/archive.h"
|
#include "wx/archive.h"
|
||||||
#include "wx/html/forcelnk.h"
|
#include "wx/html/forcelnk.h"
|
||||||
@@ -73,4 +73,4 @@ wxArchiveEntry& wxArchiveEntry::operator=(const wxArchiveEntry& WXUNUSED(e))
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // wxUSE_STREAMS && wxUSE_ARCSTREAM
|
#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
# include "wx/wx.h"
|
# include "wx/wx.h"
|
||||||
#endif
|
#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
|
// 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.
|
// std::list is used with a non-pointer, so switch it off.
|
||||||
@@ -1284,4 +1284,4 @@ template class ArchiveTestCase<wxArchiveClassFactory>;
|
|||||||
template class ArchiveTestCase<wxZipClassFactory>;
|
template class ArchiveTestCase<wxZipClassFactory>;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // wxUSE_STREAMS && wxUSE_ARCSTREAM
|
#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||||
|
Reference in New Issue
Block a user