makes no sense with loadable MPMs
axe the unnecessary MPM_DIR build variable
move the stray APACHE_SUBST(MPM_LIB) from configure.in to server/mpm/config.m4, where
the other MPM_foos are handled
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@760403
13f79535-47bb-0310-9956-
ffa450edef68
esyscmd(./build/config-stubs .)
APACHE_SUBST(progname)
-APACHE_SUBST(MPM_LIB)
APACHE_SUBST(OS)
APACHE_SUBST(OS_DIR)
APACHE_SUBST(BUILTIN_LIBS)
[Location of the config file, relative to the Apache root directory])
AC_DEFINE_UNQUOTED(AP_TYPES_CONFIG_FILE, "${rel_sysconfdir}/mime.types",
[Location of the MIME types config file, relative to the Apache root directory])
-AC_DEFINE_UNQUOTED(APACHE_MPM_DIR, "$MPM_DIR",
- [Location of the source for the current MPM])
perlbin=`$ac_aux_dir/PrintPath perl`
if test "x$perlbin" = "x"; then
ap_rputs(" -D OS=\"" OS "\"\n", r);
#endif
-#ifdef APACHE_MPM_DIR
- ap_rputs(" -D APACHE_MPM_DIR=\"" APACHE_MPM_DIR "\"\n", r);
-#endif
-
#ifdef HAVE_SHMGET
ap_rputs(" -D HAVE_SHMGET\n", r);
#endif
#define CASE_BLIND_FILESYSTEM
#define NO_WRITEV
-#define APACHE_MPM_DIR "server/mpm/netware" /* generated on unix */
-
#define getpid NXThreadGetId
/* Hold the screen open if there is an exit code and the hold_screen_on_exit flag >= 0 or the
#define HAVE_UNC_PATHS
#define CASE_BLIND_FILESYSTEM
-#ifndef __MINGW32__
-#define APACHE_MPM_DIR "server/mpm/winnt" /* generated on unix */
-#endif
-
#include <stddef.h>
#ifdef __cplusplus
printf(" -D OS=\"" OS "\"\n");
#endif
-#ifdef APACHE_MPM_DIR
- printf(" -D APACHE_MPM_DIR=\"" APACHE_MPM_DIR "\"\n");
-#endif
-
#ifdef HAVE_SHMGET
printf(" -D HAVE_SHMGET\n");
#endif
MPM_NAME=""
MPM_SUBDIR_NAME=""
MPM_LIB=""
- MPM_DIR=""
else
MPM_NAME=$apache_cv_mpm
MPM_SUBDIR_NAME=$MPM_NAME
- MPM_DIR=server/mpm/$MPM_SUBDIR_NAME
- MPM_LIB=$MPM_DIR/lib${MPM_NAME}.la
+ MPM_LIB=server/mpm/$MPM_SUBDIR_NAME/lib${MPM_NAME}.la
- APACHE_SUBST(MPM_NAME)
- APACHE_SUBST(MPM_SUBDIR_NAME)
MODLIST="$MODLIST mpm_${MPM_NAME}"
fi
APACHE_SUBST(MPM_NAME)
APACHE_SUBST(MPM_SUBDIR_NAME)
+APACHE_SUBST(MPM_LIB)
#define WORKER_READY SERVER_READY
#define WORKER_IDLE_KILL SERVER_IDLE_KILL
-#define MPM_HARD_LIMITS_FILE APACHE_MPM_DIR "/mpm_default.h"
+#define MPM_HARD_LIMITS_FILE "/mpm_default.h"
/* config globals */