You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
450 B
14 lines
450 B
dnl AC_EXPAND_DIR(VARNAME, DIR) |
|
dnl expands occurrences of ${prefix} and ${exec_prefix} in the given DIR, |
|
dnl and assigns the resulting string to VARNAME |
|
dnl example: AC_DEFINE_DIR(DATADIR, "$datadir") |
|
dnl by Alexandre Oliva <oliva@dcc.unicamp.br> |
|
AC_DEFUN([AC_EXPAND_DIR], [ |
|
$1=$2 |
|
$1=`( |
|
test "x$prefix" = xNONE && prefix="$ac_default_prefix" |
|
test "x$exec_prefix" = xNONE && exec_prefix="${prefix}" |
|
eval echo \""[$]$1"\" |
|
)` |
|
]) |
|
|
|
|