Only look for config.h if the autoconf-based build is being used, and don't inline it into the amalgamation. (CVS 5093)
FossilOrigin-Name: 7df9ef2c8216133d50bf4737482f51193e8579b0
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 607e209..f40986d 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,16 +11,19 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.701 2008/05/01 17:03:49 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.702 2008/05/07 02:42:03 mlcreech Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
/*
-** Include the configuration header output by 'configure' if it was run
-** (otherwise we get an empty default).
+** Include the configuration header output by 'configure' if we're using the
+** autoconf-based build
*/
+#ifdef _HAVE_SQLITE_CONFIG_H
#include "config.h"
+#endif
+
#include "sqliteLimit.h"
/* Disable nuisance warnings on Borland compilers */