Resolve macro HAVE_EXPAT_CONFIG_H
This commit is contained in:
parent
10d3429621
commit
8d1bd6ff2c
@ -237,7 +237,6 @@ macro(expat_install)
|
||||
endmacro()
|
||||
|
||||
configure_file(expat_config.h.cmake "${CMAKE_CURRENT_BINARY_DIR}/expat_config.h")
|
||||
add_definitions(-DHAVE_EXPAT_CONFIG_H)
|
||||
expat_install(FILES "${CMAKE_CURRENT_BINARY_DIR}/expat_config.h" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
|
||||
|
||||
|
@ -52,7 +52,6 @@ LIBCURRENT=8 # sync
|
||||
LIBREVISION=0 # with
|
||||
LIBAGE=7 # CMakeLists.txt!
|
||||
|
||||
AX_APPEND_FLAG([-DHAVE_EXPAT_CONFIG_H], [AM_CPPFLAGS])
|
||||
AC_CONFIG_HEADERS([expat_config.h])
|
||||
|
||||
AM_PROG_AR
|
||||
|
@ -40,17 +40,4 @@
|
||||
#include <memory.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(HAVE_EXPAT_CONFIG_H) /* e.g. MinGW */
|
||||
# include <expat_config.h>
|
||||
#else /* !defined(HAVE_EXPAT_CONFIG_H) */
|
||||
|
||||
# define XML_NS 1
|
||||
# define XML_DTD 1
|
||||
# define XML_CONTEXT_BYTES 1024
|
||||
|
||||
/* we will assume all Windows platforms are little endian */
|
||||
# define BYTEORDER 1234
|
||||
|
||||
#endif /* !defined(HAVE_EXPAT_CONFIG_H) */
|
||||
|
||||
#endif /* ndef WINCONFIG_H */
|
||||
|
@ -63,9 +63,9 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
# include "winconfig.h"
|
||||
#elif defined(HAVE_EXPAT_CONFIG_H)
|
||||
# include <expat_config.h>
|
||||
#endif /* ndef _WIN32 */
|
||||
#endif
|
||||
|
||||
#include <expat_config.h>
|
||||
|
||||
#include "ascii.h"
|
||||
#include "expat.h"
|
||||
|
@ -34,11 +34,9 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
# include "winconfig.h"
|
||||
#else
|
||||
# ifdef HAVE_EXPAT_CONFIG_H
|
||||
# include <expat_config.h>
|
||||
# endif
|
||||
#endif /* ndef _WIN32 */
|
||||
#endif
|
||||
|
||||
#include <expat_config.h>
|
||||
|
||||
#include "expat_external.h"
|
||||
#include "internal.h"
|
||||
|
@ -36,11 +36,9 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
# include "winconfig.h"
|
||||
#else
|
||||
# ifdef HAVE_EXPAT_CONFIG_H
|
||||
# include <expat_config.h>
|
||||
# endif
|
||||
#endif /* ndef _WIN32 */
|
||||
#endif
|
||||
|
||||
#include <expat_config.h>
|
||||
|
||||
#include "expat_external.h"
|
||||
#include "internal.h"
|
||||
|
@ -30,9 +30,7 @@
|
||||
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_EXPAT_CONFIG_H
|
||||
# include <expat_config.h>
|
||||
#endif
|
||||
#include <expat_config.h>
|
||||
#include "minicheck.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -34,9 +34,7 @@
|
||||
# undef NDEBUG /* because test suite relies on assert(...) at the moment */
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_EXPAT_CONFIG_H
|
||||
# include <expat_config.h>
|
||||
#endif
|
||||
#include <expat_config.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -30,9 +30,7 @@
|
||||
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_EXPAT_CONFIG_H
|
||||
# include "expat_config.h"
|
||||
#endif
|
||||
#include "expat_config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -38,9 +38,9 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
# include "winconfig.h"
|
||||
#elif defined(HAVE_EXPAT_CONFIG_H)
|
||||
# include <expat_config.h>
|
||||
#endif /* ndef _WIN32 */
|
||||
#endif
|
||||
|
||||
#include <expat_config.h>
|
||||
|
||||
#include "expat.h"
|
||||
#include "internal.h" /* for UNUSED_P only */
|
||||
|
Loading…
Reference in New Issue
Block a user