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
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