so third-party modules don't have to pick up NOTEST_CPPFLAGS to avoid
gcc warnings from http_config.h.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104642
13f79535-47bb-0310-9956-
ffa450edef68
dnl ## Check for typedefs, structures, and compiler characteristics.
AC_C_CONST
-if test "$ac_cv_prog_gcc" = "yes"; then
- APR_ADDTO(NOTEST_CPPFLAGS,-DAP_HAVE_DESIGNATED_INITIALIZER)
+if test "x$GCC" = "xyes"; then
+ AC_DEFINE([AP_HAVE_DESIGNATED_INITIALIZER], 1,
+ [Define if the compiler supports designated initializers])
fi
dnl ## Check for library functions