[Opensrf-commits] r1858 - trunk/src/gateway (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Nov 20 10:41:20 EST 2009


Author: dbs
Date: 2009-11-20 10:41:18 -0500 (Fri, 20 Nov 2009)
New Revision: 1858

Modified:
   trunk/src/gateway/Makefile.am
Log:
Patch from Jeroen van Meeuwen (Fedora Project) <kanarip at fedoraproject.org> to use $(APXS2)

Attached patch makes the auto foo respect the --with-apxs ./configure option for src/gateway/Makefile.am.


Modified: trunk/src/gateway/Makefile.am
===================================================================
--- trunk/src/gateway/Makefile.am	2009-11-16 05:22:48 UTC (rev 1857)
+++ trunk/src/gateway/Makefile.am	2009-11-20 15:41:18 UTC (rev 1858)
@@ -20,9 +20,9 @@
 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



More information about the opensrf-commits mailing list