summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-08-30 08:32:15 +0400
committerIvan Maidanski <ivmai@mail.ru>2012-08-30 15:35:26 +0400
commitb7717690fe65ca40d79b0f5554d28ad206878ab8 (patch)
treeca128a295437088297ff0f2f0d3978cd5ab60ca7
parent93394c42b1f3b26790f02ea1bda5166603cd9df7 (diff)
downloadbdwgc-b7717690fe65ca40d79b0f5554d28ad206878ab8.tar.gz
Include "config.h" instead of "private/config.h" on HAVE_CONFIG_H
(Change the behavior of HAVE_CONFIG_H macro to the standard one which assumes that no folder is specified in #include "config.h".) * configure.ac (AM_CONFIG_HEADER): Replace include/private/config.h to include/config.h. * cord/cordbscs.c: Include "config.h" (instead of "private/config.h") if HAVE_CONFIG_H defined. * cord/cordprnt.c: Likewise. * cord/cordxtra.c: Likewise. * gc_cpp.cc: Likewise. * include/private/gc_pmark.h: Likewise. * include/private/gc_priv.h: Likewise. * real_malloc.c: Likewise. * tests/disclaim_test.c: Likewise. * tests/initsecondarythread.c: Likewise. * tests/subthread_create.c: Likewise. * tests/test.c: Likewise. * tests/test_cpp.cc: Likewise. * tests/thread_leak_test.c: Likewise. * tests/threadkey_test.c: Likewise.
-rw-r--r--configure.ac2
-rw-r--r--cord/cordbscs.c2
-rw-r--r--cord/cordprnt.c2
-rw-r--r--cord/cordxtra.c2
-rw-r--r--gc_cpp.cc2
-rw-r--r--include/private/gc_pmark.h2
-rw-r--r--include/private/gc_priv.h2
-rw-r--r--real_malloc.c2
-rw-r--r--tests/disclaim_test.c2
-rw-r--r--tests/initsecondarythread.c2
-rw-r--r--tests/subthread_create.c2
-rw-r--r--tests/test.c2
-rw-r--r--tests/test_cpp.cc2
-rw-r--r--tests/thread_leak_test.c2
-rw-r--r--tests/threadkey_test.c2
15 files changed, 15 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac
index d007456a..a33c21e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@ AC_PREREQ(2.61)
AC_REVISION($Revision: 1.69 $)
GC_SET_VERSION
AM_INIT_AUTOMAKE([foreign dist-bzip2 nostdinc])
-AM_CONFIG_HEADER([include/private/config.h])
+AM_CONFIG_HEADER([include/config.h])
AM_MAINTAINER_MODE
AC_SUBST(PACKAGE)
diff --git a/cord/cordbscs.c b/cord/cordbscs.c
index 8bc483f7..2231963f 100644
--- a/cord/cordbscs.c
+++ b/cord/cordbscs.c
@@ -12,7 +12,7 @@
*/
#ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
#endif
#ifndef CORD_BUILD
# define CORD_BUILD
diff --git a/cord/cordprnt.c b/cord/cordprnt.c
index 864c50c7..b23ea7f2 100644
--- a/cord/cordprnt.c
+++ b/cord/cordprnt.c
@@ -22,7 +22,7 @@
/* sprintf implementation whenever possible. */
#ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
#endif
#ifndef CORD_BUILD
# define CORD_BUILD
diff --git a/cord/cordxtra.c b/cord/cordxtra.c
index 4231fd7f..b00a482c 100644
--- a/cord/cordxtra.c
+++ b/cord/cordxtra.c
@@ -18,7 +18,7 @@
*/
#ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
#endif
#ifndef CORD_BUILD
# define CORD_BUILD
diff --git a/gc_cpp.cc b/gc_cpp.cc
index 229a0c3e..86792b04 100644
--- a/gc_cpp.cc
+++ b/gc_cpp.cc
@@ -20,7 +20,7 @@ built-in "new" and "delete".
**************************************************************************/
#ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
#endif
#ifndef GC_BUILD
diff --git a/include/private/gc_pmark.h b/include/private/gc_pmark.h
index 8351d6b1..def4a917 100644
--- a/include/private/gc_pmark.h
+++ b/include/private/gc_pmark.h
@@ -23,7 +23,7 @@
#define GC_PMARK_H
#ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
#endif
#ifndef GC_BUILD
diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h
index 49c1c80c..6458bda6 100644
--- a/include/private/gc_priv.h
+++ b/include/private/gc_priv.h
@@ -19,7 +19,7 @@
#define GC_PRIVATE_H
#ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
#endif
#ifndef GC_BUILD
diff --git a/real_malloc.c b/real_malloc.c
index da11f342..145e73f3 100644
--- a/real_malloc.c
+++ b/real_malloc.c
@@ -13,7 +13,7 @@
*/
# ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
# endif
# ifdef PCR
diff --git a/tests/disclaim_test.c b/tests/disclaim_test.c
index 3a57bc07..7bba6fb8 100644
--- a/tests/disclaim_test.c
+++ b/tests/disclaim_test.c
@@ -22,7 +22,7 @@
#ifdef HAVE_CONFIG_H
/* For GC_[P]THREADS */
-# include "private/config.h"
+# include "config.h"
#endif
#include "gc_disclaim.h"
diff --git a/tests/initsecondarythread.c b/tests/initsecondarythread.c
index 63e642f9..70063ebd 100644
--- a/tests/initsecondarythread.c
+++ b/tests/initsecondarythread.c
@@ -16,7 +16,7 @@
*/
#ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
#endif
#ifndef GC_THREADS
diff --git a/tests/subthread_create.c b/tests/subthread_create.c
index cbdc5e3c..9352f339 100644
--- a/tests/subthread_create.c
+++ b/tests/subthread_create.c
@@ -1,7 +1,7 @@
#ifdef HAVE_CONFIG_H
/* For PARALLEL_MARK */
-# include "private/config.h"
+# include "config.h"
#endif
#ifndef GC_THREADS
diff --git a/tests/test.c b/tests/test.c
index be294e34..ad22f23b 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -19,7 +19,7 @@
/* checking for some of the tests. */
# ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
# endif
# undef GC_BUILD
diff --git a/tests/test_cpp.cc b/tests/test_cpp.cc
index f3340dbd..1d47590c 100644
--- a/tests/test_cpp.cc
+++ b/tests/test_cpp.cc
@@ -23,7 +23,7 @@ few minutes to complete.
***************************************************************************/
#ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
#endif
#undef GC_BUILD
diff --git a/tests/thread_leak_test.c b/tests/thread_leak_test.c
index 0710fc2c..8b7f82d6 100644
--- a/tests/thread_leak_test.c
+++ b/tests/thread_leak_test.c
@@ -1,6 +1,6 @@
#ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
#endif
#ifndef GC_THREADS
diff --git a/tests/threadkey_test.c b/tests/threadkey_test.c
index 4307b48c..92b793fc 100644
--- a/tests/threadkey_test.c
+++ b/tests/threadkey_test.c
@@ -1,6 +1,6 @@
#ifdef HAVE_CONFIG_H
-# include "private/config.h"
+# include "config.h"
#endif
#ifndef GC_THREADS