changeset 8022:9708674ab85d

don't include config.h in other header files
author John W. Eaton <jwe@octave.org>
date Thu, 07 Aug 2008 15:31:49 -0400
parents 85184151822e
children 0ff67bd96f8d
files liboctave/ChangeLog liboctave/oct-sparse.h liboctave/sparse-base-chol.h src/ChangeLog src/gl-render.h src/zfstream.h
diffstat 6 files changed, 4 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog	Thu Aug 07 15:31:17 2008 -0400
+++ b/liboctave/ChangeLog	Thu Aug 07 15:31:49 2008 -0400
@@ -1,5 +1,7 @@
 2008-08-07  John W. Eaton  <jwe@octave.org>
 
+	* sprse-base-chol.h, oct-sparse.h: Don't include config.h.
+
 	* cmd-edit.cc, file-ops.h, kpse.cc, oct-env.cc, pathsearch.cc:
 	Replace all uses of NPOS with std::string::npos.
 
--- a/liboctave/oct-sparse.h	Thu Aug 07 15:31:17 2008 -0400
+++ b/liboctave/oct-sparse.h	Thu Aug 07 15:31:49 2008 -0400
@@ -23,10 +23,6 @@
 #if !defined (oct_sparse_h)
 #define oct_sparse_h 1
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #if defined (HAVE_SUITESPARSE_AMD_H)
 #include <suitesparse/amd.h>
 #elif defined (HAVE_UFSPARSE_AMD_H)
--- a/liboctave/sparse-base-chol.h	Thu Aug 07 15:31:17 2008 -0400
+++ b/liboctave/sparse-base-chol.h	Thu Aug 07 15:31:49 2008 -0400
@@ -24,10 +24,6 @@
 #if !defined (octave_sparse_base_chol_h)
 #define octave_sparse_base_chol_h 1
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include "oct-sparse.h"
 #include "dColVector.h"
 
--- a/src/ChangeLog	Thu Aug 07 15:31:17 2008 -0400
+++ b/src/ChangeLog	Thu Aug 07 15:31:49 2008 -0400
@@ -1,5 +1,7 @@
 2008-08-07  John W. Eaton  <jwe@octave.org>
 
+	* src/glrender.h, src/zfstream.h: Don't include config.h.
+
 	* oct-errno.h: Include <cerrno>.
 
 	* Cell.cc, DLD-FUNCTIONS/regexp.cc, DLD-FUNCTIONS/dlmread.cc,
--- a/src/gl-render.h	Thu Aug 07 15:31:17 2008 -0400
+++ b/src/gl-render.h	Thu Aug 07 15:31:49 2008 -0400
@@ -23,8 +23,6 @@
 #if !defined (gl_render_h)
 #define gl_render_h 1
 
-#include "config.h"
-
 #ifdef HAVE_WINDOWS_H
 #include <windows.h>
 #endif
--- a/src/zfstream.h	Thu Aug 07 15:31:17 2008 -0400
+++ b/src/zfstream.h	Thu Aug 07 15:31:49 2008 -0400
@@ -33,10 +33,6 @@
 #ifndef ZFSTREAM_H
 #define ZFSTREAM_H
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #ifdef HAVE_ZLIB
 
 #include <istream>  // not iostream, since we don't need cin/cout