Skip to content

Commit

Permalink
add config_auto.h anywhere #ifndef GRAPHICS_DISABLED is used
Browse files Browse the repository at this point in the history
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@384 d0cd1f9f-072b-0410-8dd7-cf729c803f20
  • Loading branch information
joregan committed May 28, 2010
1 parent 214f320 commit 5c8ad7e
Show file tree
Hide file tree
Showing 58 changed files with 297 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ccmain/adaptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#ifdef __UNIX__
#include <assert.h>
Expand Down
5 changes: 5 additions & 0 deletions ccmain/charcut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "charcut.h"
#include "imgs.h"
Expand Down
5 changes: 5 additions & 0 deletions ccmain/charsample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include <stdio.h>
#include <ctype.h>
Expand Down
5 changes: 5 additions & 0 deletions ccmain/control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "mainblk.h"
#include <string.h>
Expand Down
5 changes: 5 additions & 0 deletions ccmain/matmatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include <stdlib.h>
#include <math.h>
Expand Down
5 changes: 5 additions & 0 deletions ccmain/pgedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "pgedit.h"

#include <ctype.h>
Expand Down
5 changes: 5 additions & 0 deletions ccmain/reject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "tessvars.h"
#ifdef __UNIX__
Expand Down
6 changes: 6 additions & 0 deletions ccmain/varabled.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
//
// The variables editor is used to edit all the variables used within
// tesseract from the ui.

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#ifndef GRAPHICS_DISABLED
#include "varabled.h"

Expand Down
5 changes: 5 additions & 0 deletions ccstruct/callcpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "errcode.h"
#ifdef __UNIX__
Expand Down
5 changes: 5 additions & 0 deletions ccstruct/coutln.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include <string.h>
#ifdef __UNIX__
Expand Down
5 changes: 5 additions & 0 deletions ccstruct/labls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "hpdsizes.h"
#include "labls.h"
Expand Down
5 changes: 5 additions & 0 deletions ccstruct/lmedsq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include <stdlib.h>
#include "statistc.h"
Expand Down
5 changes: 5 additions & 0 deletions ccstruct/ocrrow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "ocrrow.h"
#include "blobbox.h"
Expand Down
5 changes: 5 additions & 0 deletions ccstruct/pdblock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include <stdlib.h>
#include "blckerr.h"
Expand Down
5 changes: 5 additions & 0 deletions ccstruct/polyblk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include <ctype.h>
#include <math.h>
Expand Down
5 changes: 5 additions & 0 deletions ccstruct/polyblob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "varable.h"
#include "ocrrow.h"
Expand Down
5 changes: 5 additions & 0 deletions ccstruct/poutline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "poutline.h"

Expand Down
5 changes: 5 additions & 0 deletions ccstruct/quspline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "memry.h"
#include "quadlsq.h"
Expand Down
5 changes: 5 additions & 0 deletions ccstruct/rect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h" //precompiled headers
#include "rect.h"

Expand Down
5 changes: 5 additions & 0 deletions ccstruct/statistc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h" //precompiled headers
#include <string.h>
#include <math.h>
Expand Down
5 changes: 5 additions & 0 deletions ccstruct/stepblob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "stepblob.h"

Expand Down
5 changes: 5 additions & 0 deletions ccstruct/werd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "blckerr.h"
#include "linlsq.h"
Expand Down
5 changes: 5 additions & 0 deletions ccutil/debugwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h" //precompiled headers
#include <stdarg.h>
#include "debugwin.h"
Expand Down
6 changes: 6 additions & 0 deletions ccutil/tprintf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
** limitations under the License.
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h" //precompiled headers
#include <stdio.h>
#include <stdarg.h>
Expand Down
5 changes: 5 additions & 0 deletions classify/adaptmatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
/**----------------------------------------------------------------------------
Include Files and Type Defines
----------------------------------------------------------------------------**/
// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include <ctype.h>
#include "adaptmatch.h"
#include "normfeat.h"
Expand Down
5 changes: 5 additions & 0 deletions classify/intmatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
/**----------------------------------------------------------------------------
Include Files and Type Defines
----------------------------------------------------------------------------**/
// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "intmatcher.h"
#include "intproto.h"
#include "tordvars.h"
Expand Down
5 changes: 5 additions & 0 deletions classify/intproto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
/**----------------------------------------------------------------------------
Include Files and Type Defines
----------------------------------------------------------------------------**/
// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "helpers.h"
#include "intproto.h"
#include "picofeat.h"
Expand Down
5 changes: 5 additions & 0 deletions textord/alignedblob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
//
///////////////////////////////////////////////////////////////////////

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "alignedblob.h"
#include "ndminx.h"

Expand Down
5 changes: 5 additions & 0 deletions textord/colfind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
//
///////////////////////////////////////////////////////////////////////

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
Expand Down
5 changes: 5 additions & 0 deletions textord/drawedg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "drawedg.h"

Expand Down
5 changes: 5 additions & 0 deletions textord/drawtord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "pithsync.h"
#include "topitch.h"
Expand Down
5 changes: 5 additions & 0 deletions textord/edgblob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "scanedg.h"
#include "drawedg.h"
Expand Down
5 changes: 5 additions & 0 deletions textord/edgloop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*
**********************************************************************/

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "mfcpch.h"
#include "scanedg.h"
#include "drawedg.h"
Expand Down
Loading

0 comments on commit 5c8ad7e

Please sign in to comment.