summaryrefslogtreecommitdiffstats
path: root/support/config.m4
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-09-28 06:19:39 +0200
committerRyan Bloom <rbb@apache.org>2001-09-28 06:19:39 +0200
commited0af9c112e429e0232bca8bf9d6ae832ec25df0 (patch)
tree1f1a6bd6fcfba8fdc6cc9b84c738be38a24db561 /support/config.m4
parentChange ProxyHTTPOverrideReturnedErrors command to ProxyErrorOverride (diff)
downloadapache2-ed0af9c112e429e0232bca8bf9d6ae832ec25df0.tar.xz
apache2-ed0af9c112e429e0232bca8bf9d6ae832ec25df0.zip
Allow support programs to be compiled against a static version
of libapr. This allows the smaller support programs to be relocated. Submitted by: Aaron Bannert <aaron@clove.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91167 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/config.m4')
-rw-r--r--support/config.m445
1 files changed, 45 insertions, 0 deletions
diff --git a/support/config.m4 b/support/config.m4
new file mode 100644
index 0000000000..ce377479b6
--- /dev/null
+++ b/support/config.m4
@@ -0,0 +1,45 @@
+
+
+htpasswd_LTFLAGS=""
+htdigest_LTFLAGS=""
+rotatelogs_LTFLAGS=""
+logresolve_LTFLAGS=""
+ab_LTFLAGS=""
+
+dnl XXX Should we change the foo_LTFLAGS="-static" settings below
+dnl to something like APR_ADDTO? -aaron
+
+AC_ARG_ENABLE(static-htpasswd,[ --enable-static-htpasswd Build a statically linked version of htpasswd],[
+if test "$enableval" = "yes" ; then
+ htpasswd_LTFLAGS="-static"
+fi
+])
+APACHE_SUBST(htpasswd_LTFLAGS)
+
+AC_ARG_ENABLE(static-htdigest,[ --enable-static-htdigest Build a statically linked version of htdigest],[
+if test "$enableval" = "yes" ; then
+ htdigest_LTFLAGS="-static"
+fi
+])
+APACHE_SUBST(htdigest_LTFLAGS)
+
+AC_ARG_ENABLE(static-rotatelogs,[ --enable-static-rotatelogs Build a statically linked version of rotatelogs],[
+if test "$enableval" = "yes" ; then
+ rotatelogs_LTFLAGS="-static"
+fi
+])
+APACHE_SUBST(rotatelogs_LTFLAGS)
+
+AC_ARG_ENABLE(static-logresolve,[ --enable-static-logresolve Build a statically linked version of logresolve],[
+if test "$enableval" = "yes" ; then
+ logresolve_LTFLAGS="-static"
+fi
+])
+APACHE_SUBST(logresolve_LTFLAGS)
+
+AC_ARG_ENABLE(static-ab,[ --enable-static-ab Build a statically linked version of ab],[
+if test "$enableval" = "yes" ; then
+ ab_LTFLAGS="-static"
+fi
+])
+APACHE_SUBST(ab_LTFLAGS)