mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 14:41:36 +08:00
use default gcc optimization
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@906 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
5728d6abf2
commit
7bf559dcb3
13
configure.ac
13
configure.ac
@ -8,8 +8,9 @@
|
||||
|
||||
AC_PREREQ(2.50)
|
||||
AC_INIT([tesseract], [3.03], [http://code.google.com/p/tesseract-ocr/issues/list])
|
||||
${CXXFLAGS=""}
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_REVISION($Id: configure.ac,v 1.4 2007/02/02 22:38:17 theraysmith Exp $)
|
||||
AC_REVISION([$Revision$])
|
||||
AC_CONFIG_AUX_DIR(config)
|
||||
AC_CONFIG_SRCDIR(api/tesseractmain.cpp)
|
||||
AC_PREFIX_DEFAULT(/usr/local)
|
||||
@ -78,12 +79,6 @@ esac
|
||||
|
||||
includedir="${includedir}/tesseract"
|
||||
|
||||
# clear all default flags
|
||||
AM_CXXFLAGS=""
|
||||
AM_CPPFLAGS=""
|
||||
CXXFLAGS=""
|
||||
CPPFLAGS=""
|
||||
|
||||
AC_ARG_WITH(extra-includes,
|
||||
AC_HELP_STRING([--with-extra-includes=DIR],
|
||||
[Define an additional directory for include files]),
|
||||
@ -167,8 +162,8 @@ if test x"$debug" = x"yes"; then
|
||||
AM_CXXFLAGS="$AM_CXXFLAGS -g -Wall -Wno-uninitialized -O0 -DDEBUG"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -Wno-uninitialized -O0 -DDEBUG"
|
||||
else
|
||||
AM_CXXFLAGS="$AM_CXXFLAGS -O3 -DNDEBUG"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -O3 -DNDEBUG"
|
||||
AM_CXXFLAGS="$AM_CXXFLAGS -O2 -DNDEBUG"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -O2 -DNDEBUG"
|
||||
fi
|
||||
|
||||
#localedir='${prefix}/share/locale'
|
||||
|
Loading…
Reference in New Issue
Block a user