]> granicus.if.org Git - php/commitdiff
Do nothing, if PHP_RPATHS is empty.
authorSascha Schumann <sas@php.net>
Sun, 26 Sep 1999 09:12:55 +0000 (09:12 +0000)
committerSascha Schumann <sas@php.net>
Sun, 26 Sep 1999 09:12:55 +0000 (09:12 +0000)
acinclude.m4

index 532ce34fdb36a2d1efb01f593aa41c4c40c9ce55..5edcc59c6414d4e016c08c0cf8046af8adf51b07 100644 (file)
@@ -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'"