git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31973
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
13 files changed:
DEFAULT_wxUSE_FS_INET=no
DEFAULT_wxUSE_FS_ZIP=no
DEFAULT_wxUSE_BUSYINFO=no
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
DEFAULT_wxUSE_ZIPSTREAM=no
DEFAULT_wxUSE_VALIDATORS=no
DEFAULT_wxUSE_FS_INET=yes
DEFAULT_wxUSE_FS_ZIP=yes
DEFAULT_wxUSE_BUSYINFO=yes
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
DEFAULT_wxUSE_ZIPSTREAM=yes
DEFAULT_wxUSE_VALIDATORS=yes
enableval="$enable_arcstream"
if test "$enableval" = yes; then
enableval="$enable_arcstream"
if test "$enableval" = yes; then
- ac_cv_use_arcstream='wxUSE_ARCSTREAM=yes'
+ ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
- ac_cv_use_arcstream='wxUSE_ARCSTREAM=no'
+ ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
- 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
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
echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
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
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
-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
fi
if test "$wxUSE_ZIPSTREAM" = "yes"; then
_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
{ 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
DEFAULT_wxUSE_FS_INET=no
DEFAULT_wxUSE_FS_ZIP=no
DEFAULT_wxUSE_BUSYINFO=no
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
DEFAULT_wxUSE_ZIPSTREAM=no
DEFAULT_wxUSE_VALIDATORS=no
DEFAULT_wxUSE_FS_INET=yes
DEFAULT_wxUSE_FS_ZIP=yes
DEFAULT_wxUSE_BUSYINFO=yes
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
DEFAULT_wxUSE_ZIPSTREAM=yes
DEFAULT_wxUSE_VALIDATORS=yes
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)
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)
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)
AC_DEFINE(wxUSE_FS_ZIP)
fi
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
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)
AC_MSG_WARN(wxZip requires wxArchive... disabled)
elif test "$wxUSE_ZLIB" = "no"; then
AC_MSG_WARN(wxZip requires wxZlib... disabled)
-#if wxUSE_STREAMS && wxUSE_ARCSTREAM
+#if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
#include "wx/stream.h"
#include "wx/filename.h"
#include "wx/stream.h"
#include "wx/filename.h"
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__
# define wxUSE_ZLIB 1
# endif
# endif
# define wxUSE_ZLIB 1
# endif
# endif
+# if !wxUSE_ARCHIVE_STREAMS
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxZip requires wxArchive"
# else
# 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 */
# endif
# endif
#endif /* wxUSE_ZIPSTREAM */
#define wxUSE_FS_INET 1
// wxArchive classes for accessing archives such as zip and tar
#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
// Set to 1 to compile wxZipInput/OutputStream classes.
#define wxUSE_ZIPSTREAM 1
#define wxUSE_FS_INET 1
// wxArchive classes for accessing archives such as zip and tar
#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
// Set to 1 to compile wxZipInput/OutputStream classes.
#define wxUSE_ZIPSTREAM 1
#define wxUSE_FS_INET 0
// wxArchive classes for accessing archives such as zip and tar
#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
// Set to 1 to compile wxZipInput/OutputStream classes.
#define wxUSE_ZIPSTREAM 0
#define wxUSE_FS_INET 1
// wxArchive classes for accessing archives such as zip and tar
#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
// Set to 1 to compile wxZipInput/OutputStream classes.
#define wxUSE_ZIPSTREAM 1
#define wxUSE_FS_ZIP 1
// wxArchive classes for accessing archives such as zip and tar
#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
// Set to 1 to compile wxZipInput/OutputStream classes.
#define wxUSE_ZIPSTREAM 1
-#define wxUSE_ARCSTREAM 0
+#define wxUSE_ARCHIVE_STREAMS 0
#define wxUSE_ZIPSTREAM 0
#define wxUSE_ZIPSTREAM 0
-#define wxUSE_ARCSTREAM 1
+#define wxUSE_ARCHIVE_STREAMS 1
#define wxUSE_ZIPSTREAM 1
#define wxUSE_ZIPSTREAM 1
#include "wx/defs.h"
#endif
#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"
#include "wx/archive.h"
#include "wx/html/forcelnk.h"
-#endif // wxUSE_STREAMS && wxUSE_ARCSTREAM
+#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
# include "wx/wx.h"
#endif
# 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.
// 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.
template class ArchiveTestCase<wxZipClassFactory>;
#endif
template class ArchiveTestCase<wxZipClassFactory>;
#endif
-#endif // wxUSE_STREAMS && wxUSE_ARCSTREAM
+#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS