mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 23:19:07 +08:00
Remove endianness test (WORDS_BIGENDIAN is unused)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
c1494fb710
commit
fd30c86674
@ -126,14 +126,6 @@ if(TESSDATA_PREFIX)
|
||||
")
|
||||
endif()
|
||||
|
||||
test_big_endian(WORDS_BIGENDIAN)
|
||||
|
||||
file(APPEND ${AUTOCONFIG_SRC} "
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||
#cmakedefine WORDS_BIGENDIAN 1
|
||||
")
|
||||
|
||||
########################################
|
||||
|
||||
################################################################################
|
||||
|
17
configure.ac
17
configure.ac
@ -366,23 +366,6 @@ else
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -O2 -DNDEBUG"
|
||||
fi
|
||||
|
||||
# Always look into a "gnu" directory.
|
||||
curwd=`pwd`
|
||||
if test -d $curwd/gnu/include ; then
|
||||
CPPFLAGS="$CPPFLAGS -I$curwd/gnu/include"
|
||||
fi
|
||||
if test -d $curwd/gnu/lib ; then
|
||||
LDFLAGS="$LDFLAGS -L$curwd/gnu/lib"
|
||||
fi
|
||||
|
||||
# ----------------------------------------
|
||||
# Additional checking of compiler characteristics
|
||||
# ----------------------------------------
|
||||
|
||||
# Check Endianness. If Big Endian, this will define WORDS_BIGENDIAN
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
|
||||
# ----------------------------------------
|
||||
# Init libtool
|
||||
# ----------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user