build: introduced NTD_UNEXPAND() autoconf macro
commit99168c015f3c6d11a195d3bc04f8dbd79eeb1d7b
authorNicola Fontana <ntd@entidi.it>
Fri, 23 Mar 2012 17:19:36 +0000 (23 18:19 +0100)
committerNicola Fontana <ntd@entidi.it>
Fri, 23 Mar 2012 17:19:36 +0000 (23 18:19 +0100)
tree5dc2ba66d3a64ade190cd5ebba49cbfb5eb16d7c
parent0e8c33a0b1b1e9bd95b597d76dc3b1f980124357
build: introduced NTD_UNEXPAND() autoconf macro

Instead of getting the hardcoded paths from pkg-config variables, added
a macro that gets the (likely) unexpanded version. This is done by
redefining the commond used variable (prefix, bindir, libdir and so on)
to their unexpanded version ('$prefix', '$bindir', '$libdir')... kind of
hackish but the cleaner way I found of.

Used this macro to get glade catalogdir and GObject introspection dirs,
so now all the required directories are relative to '$prefix' and make
distcheck does not fail.
build/ntd.m4 [new file with mode: 0644]
configure.ac