pidl: support using pidl from top level directory
authorAndrew Tridgell <tridge@samba.org>
Thu, 3 Feb 2011 02:05:18 +0000 (13:05 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 7 Feb 2011 02:22:00 +0000 (13:22 +1100)
commit431b25e8953794079ff52155929f0263a833da69
tree8c7acf67690475b9fc5deab85fc25af1cd2678d4
parent3f3696ce07957456e366507b43ff562277803b98
pidl: support using pidl from top level directory

pidl needs to know if it is being used within the samba tree or not,
to get the names of some include files right. This adds support for
using pidl in the top level directory of a Samba build

This change also makes it clear that is_intree() is a boolean
function. Previously it returned different values for Samba3 and
Samba4, but there is nothing that depends on that

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
pidl/lib/Parse/Pidl/Samba4.pm