diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-04-23 20:25:57 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2008-04-23 20:25:57 -0400 |
commit | 40566c36d543edc2118cbb358e0303d9e8862892 (patch) | |
tree | 8b3933ca32f57ef38ff3c4e175f39406bcb115b9 /configure.ac | |
parent | b3832bcc46d85110fdb2b553df6249a831cfe0fa (diff) |
Use the python install path from xcb-xproto.pc to locate the xcbgen package.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9b94392..5d21e81 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,12 @@ XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto` AC_MSG_RESULT($XCBPROTO_XCBINCLUDEDIR) AC_SUBST(XCBPROTO_XCBINCLUDEDIR) +# Find the xcbgen Python package +AC_MSG_CHECKING(XCBPROTO_XCBPYTHONDIR) +XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto` +AC_MSG_RESULT($XCBPROTO_XCBPYTHONDIR) +AC_SUBST(XCBPROTO_XCBPYTHONDIR) + AC_HEADER_STDC AC_SEARCH_LIBS(getaddrinfo, socket) AC_SEARCH_LIBS(connect, socket) |