[PORT=80])
AC_ARG_ENABLE(maintainer-mode,[ --enable-maintainer-mode Turn on debugging and compile time warnings],
- [if test "$ac_cv_prog_gcc" = "yes"; then APR_ADDTO(CPPFLAGS,-DAP_DEBUG) fi
+[
+ if test "$ac_cv_prog_gcc" = "yes"; then
+ APR_ADDTO(CPPFLAGS,-DAP_DEBUG_HAVE_GCC)
+ fi
+ APR_ADDTO(CPPFLAGS, -DAP_DEBUG)
])dnl
APACHE_ENABLE_LAYOUT
typedef struct cmd_parms_struct cmd_parms;
-#ifdef AP_DEBUG
+#ifdef AP_DEBUG_HAVE_GCC
typedef union {
const char *(*no_args) (cmd_parms *parms, void *mconfig);
# define AP_INIT_FLAG(directive, func, mconfig, where, help) \
{ directive, { .flag=func }, mconfig, where, FLAG, help }
-#else
+#else /* AP_DEBUG_HAVE_GCC */
typedef const char *(*cmd_func) ();
# define AP_INIT_FLAG(directive, func, mconfig, where, help) \
{ directive, func, mconfig, where, FLAG, help }
-#endif
+#endif /* AP_DEBUG_HAVE_GCC */
typedef struct command_struct command_rec;
/**