AC_DEFUN([MY_EXPAND_DIR], [
  $1=$2
  $1=`(
       test "x$prefix" = xNONE && prefix="$ac_default_prefix"
       test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
       eval echo \""[$]$1"\"
      )`
])

