2008-08-22 Johan Dahlin <johan@gnome.org>
* giscanner/sourcescanner.py:
Check for ../gobject-introspection-1.0.pc.in to determine
if we run installed or uninstalled.
svn path=/trunk/; revision=464
2008-08-22 Johan Dahlin <johan@gnome.org>
+ * giscanner/sourcescanner.py:
+ Check for ../gobject-introspection-1.0.pc.in to determine
+ if we run installed or uninstalled.
+
+2008-08-22 Johan Dahlin <johan@gnome.org>
+
* gir/Makefile.am:
* giscanner/sourcescanner.py:
Send in undefs/defines via writing it directly to stdin
defines.append('__G_LIBCONFIG_H__')
dirname = os.path.dirname(os.path.abspath(__file__))
- includedir = os.path.join(dirname, '..', 'giscanner')
- if not os.path.exists(includedir):
+ if os.path.exists(
+ os.path.join(dirname, '..', 'gobject-introspection-1.0.pc.in')):
+ includedir = os.path.join(dirname, '..', 'giscanner')
+ else:
includedir = INCLUDEDIR
filenames.insert(0, os.path.join(includedir, 'glibconfig-scanner.h'))