diff options
| author | Noah Misch | 2019-02-16 21:12:28 +0000 |
|---|---|---|
| committer | Noah Misch | 2019-02-16 21:12:28 +0000 |
| commit | d1299aabbd0b4ae860078691b628dc6b90698039 (patch) | |
| tree | 7e6bad953394aee6b4a8c8770f04b5d73575021e /configure.in | |
| parent | 608b167f9f9c4553c35bb1ec0eab9ddae643989b (diff) | |
Fix PERMIT_DECLARATION_AFTER_STATEMENT initialization.
The defect caused a mere warning and only for gcc versions before 3.4.0.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 0373c155f0b..9c7a9738bc4 100644 --- a/configure.in +++ b/configure.in @@ -481,7 +481,7 @@ if test "$GCC" = yes -a "$ICC" = no; then # -Wdeclaration-after-statement isn't applicable for C++. Specific C files # disable it, so AC_SUBST the negative form. PERMIT_DECLARATION_AFTER_STATEMENT= - if test x"save_$CFLAGS" != x"$CFLAGS"; then + if test x"$save_CFLAGS" != x"$CFLAGS"; then PERMIT_DECLARATION_AFTER_STATEMENT=-Wno-declaration-after-statement fi AC_SUBST(PERMIT_DECLARATION_AFTER_STATEMENT) |
