summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-04-25 23:29:27 +0200
committerRyan Bloom <rbb@apache.org>2000-04-25 23:29:27 +0200
commitce2268f43dff83cf950b1e8c1d0d29c93e3b58e6 (patch)
tree65cd5d24e102084a57dd730ccb0350b0ec7b38fa /configure.in
parentSome Windows tweaks from William Rowe... (diff)
downloadapache2-ce2268f43dff83cf950b1e8c1d0d29c93e3b58e6.tar.xz
apache2-ce2268f43dff83cf950b1e8c1d0d29c93e3b58e6.zip
Allow the Apache-2.0 executable name to be specified with the
--with-program-name command line argument to configure. This does not change the name of the config files or anything else, yet. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85035 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--configure.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 797198f6a6..3a2a4a741f 100644
--- a/configure.in
+++ b/configure.in
@@ -162,6 +162,11 @@ dnl ## Build modules.c
rm -f $srcdir/modules.c
echo $MODLIST | $AWK -f $srcdir/helpers/build-modules-c.awk > $srcdir/modules.c
+AC_ARG_WITH(program-name,
+[ --with-program-name=alternate executable name],[
+ progname="$withval" ], [
+ progname='httpd'] )
+
AC_OUTPUT_COMMANDS([
echo '/* Generated by configure */' > ${path_h}.new
echo "#define HTTPD_ROOT \"$prefix\"" >> ${path_h}.new
@@ -182,6 +187,6 @@ exec_prefix=$exec_prefix
bindir=$bindir
])
-AC_OUTPUT($APACHE_OUTPUT_FILES)
+AC_OUTPUT($APACHE_OUTPUT_FILES Makefile)