Author: jelmer Date: 2006-04-08 17:54:27 +0000 (Sat, 08 Apr 2006) New Revision: 523
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=523 Log: Add --with-apache option Modified: trunk/mod_ntlm_winbind/configure.in Changeset: Modified: trunk/mod_ntlm_winbind/configure.in =================================================================== --- trunk/mod_ntlm_winbind/configure.in 2006-04-08 17:12:37 UTC (rev 522) +++ trunk/mod_ntlm_winbind/configure.in 2006-04-08 17:54:27 UTC (rev 523) @@ -10,8 +10,12 @@ # We use axps to compile source files, which may be in /usr/sbin AC_PATH_PROGS([APXS], [apxs2 apxs],, [$PATH:/usr/sbin]) -AC_PATH_PROG([HTTPD], [httpd], [/usr/sbin/httpd], [$PATH:/usr/sbin]) +AC_ARG_WITH(apache, +[ --with-apache=PATH Specify path to apache executable], +[ HTTPD="$withval" ], +[ AC_PATH_PROG([HTTPD], [httpd], [/usr/sbin/httpd], [$PATH:/usr/sbin]) ]) + APACHE_VER=`${HTTPD} -v | grep version` if echo "$APACHE_VER" | grep -q "/2\." then
