From 8901d28816bf527e53d24203afdc8b5df98b5d27 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Wed, 9 Feb 2000 01:33:24 +0000 Subject: [PATCH] Fix prefix handling. Before this patch, when using --prefix on the configure line, the binary ignored it when setting HTTPD_ROOT. This patch fixes that problem. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84595 13f79535-47bb-0310-9956-ffa450edef68 --- configure.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 47b6dc4d25..e8818d26ca 100644 --- a/configure.in +++ b/configure.in @@ -147,7 +147,9 @@ if test "$apache_need_shared" = "yes"; then $SHELL $srcdir/ltconfig --output=shlibtool --disable-static --srcdir=$srcdir --cache-file=./config.cache $srcdir/ltmain.sh fi -APACHE_FAST_OUTPUT(Makefile ap/Makefile lib/Makefile main/Makefile +CFLAGS="$CFLAGS \`\$(abs_srcdir)/apaci\`" + +APACHE_FAST_OUTPUT(apaci Makefile ap/Makefile lib/Makefile main/Makefile modules/Makefile os/Makefile) APACHE_FAST_GENERATE @@ -155,4 +157,7 @@ dnl ## Build modules.c rm -f $srcdir/modules.c echo $MODLIST | $AWK -f $srcdir/helpers/build-modules-c.awk > $srcdir/modules.c -AC_OUTPUT($APACHE_OUTPUT_FILES) +AC_SUBST(prefix) + +AC_OUTPUT($APACHE_OUTPUT_FILES apaci) +chmod 744 apaci -- 2.50.1