From f394888a7bf459af3e9ef92a1f9f3d084639d173 Mon Sep 17 00:00:00 2001 From: dbs Date: Fri, 20 Nov 2009 15:41:18 +0000 Subject: [PATCH] Patch from Jeroen van Meeuwen (Fedora Project) to use $(APXS2) 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gateway/Makefile.am b/src/gateway/Makefile.am index c069be0..9552765 100644 --- a/src/gateway/Makefile.am +++ b/src/gateway/Makefile.am @@ -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 -- 2.11.0