summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mcal/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mcal/config.m4 b/ext/mcal/config.m4
index 01c898bb2c..3741351130 100644
--- a/ext/mcal/config.m4
+++ b/ext/mcal/config.m4
@@ -7,7 +7,7 @@ if test "$PHP_MCAL" != "no"; then
if test "$PHP_MCAL" = "yes"; then
MCAL_DIR=/usr/local
else
- MCAL_DIR=$PHP_MCAL
+ AC_EXPAND_PATH($PHP_MCAL, MCAL_DIR)
fi
AC_ADD_INCLUDE($MCAL_DIR)