From c4b3e179e52f977d145ed7004b53f779b4c4f018 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Wed, 30 Aug 2000 23:09:34 +0000 Subject: [PATCH] Don't use ${APXS} if dso support isn't compiled in. PR: ports/20911 Reviewed by: Jim Housley --- www/mod_auth_mysql/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/mod_auth_mysql/Makefile b/www/mod_auth_mysql/Makefile index a84b84bf3d92..5abf4e954c07 100644 --- a/www/mod_auth_mysql/Makefile +++ b/www/mod_auth_mysql/Makefile @@ -22,6 +22,9 @@ APXS= ${LOCALBASE}/sbin/apxs AP_PORT?= apache13 .if exists(${APXS}) +APXS_WORKS!= ${APXS} -q TARGET 2>/dev/null || echo no +.endif +.if exists(${APXS}) && ${APXS_WORKS} != no AP_TARGET!= ${APXS} -q TARGET AP_SYSCONF!= ${APXS} -q SYSCONFDIR AP_INCLUDE!= ${APXS} -q INCLUDEDIR