Skip to content

Commit

Permalink
Work around maintainer-mode build failure (using autoconf 2.69)
Browse files Browse the repository at this point in the history
(possibly fallout from r1887279 / pull apache#25 ??)
  • Loading branch information
notroj committed Mar 23, 2021
1 parent 7a87238 commit a06ef0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure.in
Expand Up @@ -366,16 +366,16 @@ AC_ARG_ENABLE(debug,[ --enable-debug Turn on debugging and compile tim
])dnl

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

Expand Down

0 comments on commit a06ef0d

Please sign in to comment.