#define NO_LINGCLOSE
#endif
-/* XXX - The PHP4 comments say -D_HPUX_SOURCE is obsolete. */
-
-/* TODO - none of the dynamic linking defines are in yet, but that's because
- * Manoj needs to learn what the exact ramifications of libtool on DSOs are */
-
-#undef PACKAGE
-#undef VERSION
-
-#if APR_FILE_BASED_SHM
-#define AP_USE_FILE_BASED_SCOREBOARD
-#else
-#define AP_USE_MEM_BASED_SCOREBOARD
-#endif
-
-/* If APR has OTHER_CHILD logic, use reliable piped logs.
- */
+/* If APR has OTHER_CHILD logic, use reliable piped logs. */
#if APR_HAS_OTHER_CHILD
#define AP_HAVE_RELIABLE_PIPED_LOGS TRUE
#endif
#include "apr_thread_proc.h"
#include "apr_portable.h"
-/*The optimized timeout code only works if we're not using a scoreboard file*/
-#if defined(AP_USE_MEM_BASED_SCOREBOARD)
+/* The optimized timeouts only work if we're not using a scoreboard file */
+#if !APR_FILE_BASED_SHM
#define OPTIMIZE_TIMEOUTS
#endif
#ifdef HAVE_SHMGET
printf(" -D HAVE_SHMGET\n");
#endif
-#ifdef AP_USE_FILE_BASED_SCOREBOARD
- printf(" -D AP_USE_FILE_BASED_SCOREBOARD\n");
+#if APR_FILE_BASED_SHM
+ printf(" -D APR_FILE_BASED_SHM\n");
#endif
-#ifdef AP_USE_MEM_BASED_SCOREBOARD
- printf(" -D AP_USE_MEM_BASED_SCOREBOARD\n");
-#endif
-#ifdef APR_HAS_MMAP
+#if APR_HAS_MMAP
printf(" -D APR_HAS_MMAP\n");
-#endif /*APR_HAS_MMAP*/
+#endif
#ifdef NO_WRITEV
printf(" -D NO_WRITEV\n");
#endif