diff options
author | Nick Clifton <nickc@redhat.com> | 2012-05-18 10:29:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-05-18 10:29:12 +0000 |
commit | 0bee45d9e7432d8e5e4a38124827bf9c3b22f017 (patch) | |
tree | 6dbeb05c50672cac09da1ac0f8650f53e67344e7 /bfd | |
parent | 9ff2f2af640248393919bd3036017422e9d37702 (diff) | |
download | gdb-0bee45d9e7432d8e5e4a38124827bf9c3b22f017.zip gdb-0bee45d9e7432d8e5e4a38124827bf9c3b22f017.tar.gz gdb-0bee45d9e7432d8e5e4a38124827bf9c3b22f017.tar.bz2 |
PR 14072
* bfd-in.h: Check for PACKAGE or PACKAGE_VERSION before
complaining about config.h not having been included.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/bfd-in.h | 3 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 3 |
3 files changed, 11 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e33fd5f..5edc067 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2012-05-18 Nick Clifton <nickc@redhat.com> + + PR 14072 + * bfd-in.h: Check for PACKAGE or PACKAGE_VERSION before + complaining about config.h not having been included. + * bfd-in2.h: Regenerate. + 2012-05-18 Andreas Schwab <schwab@linux-m68k.org> * aclocal.m4: Regenerate. diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index ae8149a..a61e721 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -25,7 +25,8 @@ #ifndef __BFD_H_SEEN__ #define __BFD_H_SEEN__ -#ifndef PACKAGE +/* PR 14072: Ensure that config.h is included first. */ +#if !defined PACKAGE && !defined PACKAGE_VERSION #error config.h must be included before this header #endif diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 275f977..7535483 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -32,7 +32,8 @@ #ifndef __BFD_H_SEEN__ #define __BFD_H_SEEN__ -#ifndef PACKAGE +/* PR 14072: Ensure that config.h is included first. */ +#if !defined PACKAGE && !defined PACKAGE_VERSION #error config.h must be included before this header #endif |