summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-09-26 09:12:55 +0000
committerSascha Schumann <sas@php.net>1999-09-26 09:12:55 +0000
commit8b462c1acf3921cd5e23817ee8c1ddd1a2285ef0 (patch)
treebbc4a50065397482b2c6a2a774d52fd33c930257
parentdf42e494d70ee10dd3cf245a66778d6a5c4ad840 (diff)
downloadphp-git-8b462c1acf3921cd5e23817ee8c1ddd1a2285ef0.tar.gz
Do nothing, if PHP_RPATHS is empty.
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 532ce34fdb..5edcc59c64 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -48,7 +48,7 @@ dnl
dnl builds RPATH from PHP_RPATHS
dnl
AC_DEFUN(AC_BUILD_RPATH,[
- if test "$enable_rpath" = "yes"; then
+ if test "$enable_rpath" = "yes" && test -n "$PHP_RPATHS"; then
if test -n "$AXPS"; then
for i in $PHP_RPATHS; do
RPATHS="$RPATHS ${apxs_runpath_switch}$i'"