blob: 02002b08f4af4a841ff074766e452798a5356582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
dnl
dnl @synopsis RT_SUBST_EXPANDED_ARG(var)
dnl
dnl Export (via AC_SUBST) a given variable, along with an expanded
dnl version of the variable (same name, but with exp_ prefix).
dnl
dnl This code is heavily borrowed *cough* from the Apache 2 source.
dnl
AC_DEFUN([RT_SUBST_EXPANDED_ARG],[
RT_EXPAND_VAR(exp_$1, [$]$1)
AC_SUBST($1)
AC_SUBST(exp_$1)
])
|