Don't use ${APXS} if dso support isn't compiled in.

PR:		ports/20911
Reviewed by:	Jim Housley <jim@thehousleys.net>
This commit is contained in:
Bill Fenner 2000-08-30 23:09:34 +00:00
parent 90307f6d47
commit c4b3e179e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32139

View File

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