added support for pointer to const
[libt2n] / libt2n.m4
1 dnl test for libt2n and libt2n-codegen
2 dnl LIBT2N(VERSION, action-if, action-not)
3 AC_DEFUN([LIBT2N_CHECK],
4 [
5         PKG_CHECK_MODULES(LIBT2N, [$1], [$2], [$3])
6         LIBT2N_CODEGEN=`$PKG_CONFIG --variable libt2n_codegen libt2n`
7         LIBT2N_DATADIR=`$PKG_CONFIG --variable libt2n_datadir libt2n`
8         LIBT2N_CLIENT_PCTEMPLATE="$LIBT2N_DATADIR/clientlib.pc.in"
9         AC_SUBST(LIBT2N_CODEGEN)
10         AC_SUBST(LIBT2N_CLIENT_PCTEMPLATE)
11 ])