aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormlcreech <mlcreech@noemail.net>2008-05-07 02:42:01 +0000
committermlcreech <mlcreech@noemail.net>2008-05-07 02:42:01 +0000
commit1e12d43b481cc2fb654cebd7bc43d57aa6c94f56 (patch)
treecc1a07e16dc6edf70f020e4f1d8f1eff24badfb2 /src
parented66afb0f4f166bf10250f3c9a897902fd0b13cb (diff)
downloadsqlite-1e12d43b481cc2fb654cebd7bc43d57aa6c94f56.tar.gz
sqlite-1e12d43b481cc2fb654cebd7bc43d57aa6c94f56.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/sqliteInt.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 607e2094d..f40986da5 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 */