Index: /trunk/pois/configure.ac
===================================================================
--- /trunk/pois/configure.ac	(revision 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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 8780)
+++ /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>
Index: /trunk/ppMerge/autogen.sh
===================================================================
--- /trunk/ppMerge/autogen.sh	(revision 8780)
+++ /trunk/ppMerge/autogen.sh	(revision 8781)
@@ -37,11 +37,11 @@
 }
 
-#($AUTOHEADER --version) < /dev/null > /dev/null 2>&1 || {
-#        echo
-#        echo "You must have $AUTOHEADER installed to compile $PROJECT."
-#        echo "Download the appropriate package for your distribution,"
-#        echo "or get the source tarball at http://ftp.gnu.org/gnu/autoconf/"
-#        DIE=1
-#}
+($AUTOHEADER --version) < /dev/null > /dev/null 2>&1 || {
+        echo
+        echo "You must have $AUTOHEADER installed to compile $PROJECT."
+        echo "Download the appropriate package for your distribution,"
+        echo "or get the source tarball at http://ftp.gnu.org/gnu/autoconf/"
+        DIE=1
+}
 
 ($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || {
@@ -77,5 +77,5 @@
 #$LIBTOOLIZE --copy --force || echo "$LIBTOOlIZE failed"
 $ACLOCAL || echo "$ACLOCAL failed"
-#$AUTOHEADER || echo "$AUTOHEADER failed"
+$AUTOHEADER || echo "$AUTOHEADER failed"
 $AUTOMAKE --add-missing --force-missing --copy || echo "$AUTOMAKE failed"
 $AUTOCONF || echo "$AUTOCONF failed"
Index: /trunk/ppMerge/configure.ac
===================================================================
--- /trunk/ppMerge/configure.ac	(revision 8780)
+++ /trunk/ppMerge/configure.ac	(revision 8781)
@@ -5,5 +5,5 @@
 
 AM_INIT_AUTOMAKE([1.6 foreign dist-bzip2])
-dnl AM_CONFIG_HEADER([config.h])
+AM_CONFIG_HEADER([src/config.h])
 AM_MAINTAINER_MODE
 
@@ -13,4 +13,7 @@
 AC_PROG_INSTALL
 dnl AC_PROG_LIBTOOL
+
+dnl enable largefile supports
+AC_SYS_LARGEFILE
 
 ppMerge_CFLAGS="-Wall -Werror -std=c99"
Index: /trunk/ppMerge/src/ppMerge.c
===================================================================
--- /trunk/ppMerge/src/ppMerge.c	(revision 8780)
+++ /trunk/ppMerge/src/ppMerge.c	(revision 8781)
@@ -1,2 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <pslib.h>
Index: /trunk/ppMerge/src/ppMergeCheckInputs.c
===================================================================
--- /trunk/ppMerge/src/ppMergeCheckInputs.c	(revision 8780)
+++ /trunk/ppMerge/src/ppMergeCheckInputs.c	(revision 8781)
@@ -1,2 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <assert.h>
Index: /trunk/ppMerge/src/ppMergeCombine.c
===================================================================
--- /trunk/ppMerge/src/ppMergeCombine.c	(revision 8780)
+++ /trunk/ppMerge/src/ppMergeCombine.c	(revision 8781)
@@ -1,2 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <unistd.h>
Index: /trunk/ppMerge/src/ppMergeConfig.c
===================================================================
--- /trunk/ppMerge/src/ppMergeConfig.c	(revision 8780)
+++ /trunk/ppMerge/src/ppMergeConfig.c	(revision 8781)
@@ -1,2 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <pslib.h>
Index: /trunk/ppMerge/src/ppMergeData.c
===================================================================
--- /trunk/ppMerge/src/ppMergeData.c	(revision 8780)
+++ /trunk/ppMerge/src/ppMergeData.c	(revision 8781)
@@ -1,2 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <pslib.h>
Index: /trunk/ppMerge/src/ppMergeOptions.c
===================================================================
--- /trunk/ppMerge/src/ppMergeOptions.c	(revision 8780)
+++ /trunk/ppMerge/src/ppMergeOptions.c	(revision 8781)
@@ -1,2 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <pslib.h>
Index: /trunk/ppMerge/src/ppMergeScaleZero.c
===================================================================
--- /trunk/ppMerge/src/ppMergeScaleZero.c	(revision 8780)
+++ /trunk/ppMerge/src/ppMergeScaleZero.c	(revision 8781)
@@ -1,2 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <assert.h>
