Skip to content

Commit 74ce871

Browse files
committed
Work around maintainer-mode build failure (using autoconf 2.69)
(possibly fallout from r1887279 / pull #25 ??)
1 parent 928eeac commit 74ce871

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

configure.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,16 +366,16 @@ AC_ARG_ENABLE(debug,[ --enable-debug Turn on debugging and compile tim
366366
])dnl
367367

368368
AC_ARG_ENABLE(maintainer-mode,[ --enable-maintainer-mode Turn on debugging and compile time warnings],
369-
[APR_ADDTO(CFLAGS,-g)
369+
[APR_ADDTO(NOTEST_CFLAGS,-g)
370370
if test "$GCC" = "yes"; then
371-
APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations])
371+
APR_ADDTO(NOTEST_CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations])
372372
case `($CC --version) 2>/dev/null` in
373373
*clang-900* | *"clang version 5.0.0"*)
374-
APR_ADDTO(CFLAGS,[-Wno-error=strict-prototypes])
374+
APR_ADDTO(NOTEST_CFLAGS,[-Wno-error=strict-prototypes])
375375
;;
376376
esac
377377
elif test "$AIX_XLC" = "yes"; then
378-
APR_ADDTO(CFLAGS,-qfullpath -qinitauto=FE -qcheck=all -qinfo=pro)
378+
APR_ADDTO(NOTEST_CFLAGS,-qfullpath -qinitauto=FE -qcheck=all -qinfo=pro)
379379
fi
380380
])dnl
381381

0 commit comments

Comments
 (0)