Index: trunk/pois/configure.ac
===================================================================
--- trunk/pois/configure.ac	(revision 8683)
+++ trunk/pois/configure.ac	(revision 8781)
@@ -6,5 +6,5 @@
 
 AM_INIT_AUTOMAKE([1.6 foreign dist-bzip2])
-AM_CONFIG_HEADER([config.h])
+AM_CONFIG_HEADER([src/config.h])
 AM_MAINTAINER_MODE
 
@@ -13,4 +13,7 @@
 AC_PROG_INSTALL
 AC_PROG_LIBTOOL
+
+dnl enable largefile supports
+AC_SYS_LARGEFILE
 
 dnl handle debug building
Index: trunk/pois/src/errorCodes-skl.c
===================================================================
--- trunk/pois/src/errorCodes-skl.c	(revision 8683)
+++ trunk/pois/src/errorCodes-skl.c	(revision 8781)
@@ -6,4 +6,9 @@
  * will be machine generated from errorCodes.dat
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "pslib.h"
 #include "poisErrorCodes.h"
Index: trunk/pois/src/pois.c
===================================================================
--- trunk/pois/src/pois.c	(revision 8683)
+++ trunk/pois/src/pois.c	(revision 8781)
@@ -18,4 +18,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisAddPenalty.c
===================================================================
--- trunk/pois/src/poisAddPenalty.c	(revision 8683)
+++ trunk/pois/src/poisAddPenalty.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisCalculateDeviations.c
===================================================================
--- trunk/pois/src/poisCalculateDeviations.c	(revision 8683)
+++ trunk/pois/src/poisCalculateDeviations.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisCalculateEquation.c
===================================================================
--- trunk/pois/src/poisCalculateEquation.c	(revision 8683)
+++ trunk/pois/src/poisCalculateEquation.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisCheckKernel.c
===================================================================
--- trunk/pois/src/poisCheckKernel.c	(revision 8683)
+++ trunk/pois/src/poisCheckKernel.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisConvolveImage.c
===================================================================
--- trunk/pois/src/poisConvolveImage.c	(revision 8683)
+++ trunk/pois/src/poisConvolveImage.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisExtractKernel.c
===================================================================
--- trunk/pois/src/poisExtractKernel.c	(revision 8683)
+++ trunk/pois/src/poisExtractKernel.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisFindStamps.c
===================================================================
--- trunk/pois/src/poisFindStamps.c	(revision 8683)
+++ trunk/pois/src/poisFindStamps.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisKernelBasisFunctions.c
===================================================================
--- trunk/pois/src/poisKernelBasisFunctions.c	(revision 8683)
+++ trunk/pois/src/poisKernelBasisFunctions.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisMakeMask.c
===================================================================
--- trunk/pois/src/poisMakeMask.c	(revision 8683)
+++ trunk/pois/src/poisMakeMask.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisMaskOps.c
===================================================================
--- trunk/pois/src/poisMaskOps.c	(revision 8683)
+++ trunk/pois/src/poisMaskOps.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /*
Index: trunk/pois/src/poisParseConfig.c
===================================================================
--- trunk/pois/src/poisParseConfig.c	(revision 8683)
+++ trunk/pois/src/poisParseConfig.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisReadStamps.c
===================================================================
--- trunk/pois/src/poisReadStamps.c	(revision 8683)
+++ trunk/pois/src/poisReadStamps.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisRejectStamps.c
===================================================================
--- trunk/pois/src/poisRejectStamps.c	(revision 8683)
+++ trunk/pois/src/poisRejectStamps.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisSolveEquation.c
===================================================================
--- trunk/pois/src/poisSolveEquation.c	(revision 8683)
+++ trunk/pois/src/poisSolveEquation.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
Index: trunk/pois/src/poisStamp.c
===================================================================
--- trunk/pois/src/poisStamp.c	(revision 8683)
+++ trunk/pois/src/poisStamp.c	(revision 8781)
@@ -14,4 +14,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
