Patch from Jeroen van Meeuwen (Fedora Project) <kanarip@fedoraproject.org> to use...
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 20 Nov 2009 15:41:18 +0000 (15:41 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 20 Nov 2009 15:41:18 +0000 (15:41 +0000)
Attached patch makes the auto foo respect the --with-apxs ./configure option for src/gateway/Makefile.am.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1858 9efc2488-bf62-4759-914b-345cdb29e865

src/gateway/Makefile.am

index c069be0..9552765 100644 (file)
@@ -20,9 +20,9 @@ AM_LDFLAGS = -L$(LIBDIR) -L@top_builddir@/src/libopensrf
 DISTCLEANFILES = Makefile.in Makefile
 
 install-exec-local: 
-       if [ ! "$$(grep mod_placeholder `apxs2 -q SYSCONFDIR`/httpd.conf)" ]; \
+       if [ ! "$$(grep mod_placeholder `$(APXS2) -q SYSCONFDIR`/httpd.conf)" ]; \
                then echo -e "#\n#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so" \
-               >> `apxs2 -q SYSCONFDIR`/httpd.conf; \
+               >> `$(APXS2) -q SYSCONFDIR`/httpd.conf; \
        fi
        $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) @srcdir@/osrf_json_gateway.c apachetools.c apachetools.h libopensrf.so
        $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) @srcdir@/osrf_http_translator.c apachetools.c apachetools.h libopensrf.so