diff options
author | deva <deva> | 2006-05-01 11:28:35 +0000 |
---|---|---|
committer | deva <deva> | 2006-05-01 11:28:35 +0000 |
commit | 2bee772bed19a55f666d7106c02735f14c0084e4 (patch) | |
tree | 1b424406c33c43b0e4396eb4bb6fead19617b5ad /configure.in | |
parent | 7694d644af9f6058d31db5dc75ef6aa860276d25 (diff) |
*** empty log message ***
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/configure.in b/configure.in index b31bf49..40b5f75 100644 --- a/configure.in +++ b/configure.in @@ -35,8 +35,8 @@ if test x$with_client != xno && test -z "$CLIENT"; then gw_CHECK_QT # CXXFLAGS="$CXXFLAGS $QT_CXXLAGS" # LDFLAGS="$LDFLAGS $QT_LDADD" - AC_SUBST(QT_CXXFLAGS) - AC_SUBST(QT_LDADD) + AC_SUBST(QT_CXXFLAGS) + AC_SUBST(QT_LDADD) dnl ====================== dnl Check for the Xv extension @@ -50,7 +50,17 @@ if test x$with_client != xno && test -z "$CLIENT"; then AC_CHECK_HEADER(libraw1394/raw1394.h, , AC_MSG_ERROR([*** libraw1394 headers not found!])) AC_CHECK_LIB(raw1394, raw1394_get_userdata, , AC_MSG_ERROR([*** libraw1394 not found!])) - AC_OUTPUT(client/Makefile) + dnl ====================== + dnl Check for the cairo library + dnl ====================== + AC_CHECK_HEADER(cairo/cairo-features.h, , AC_MSG_ERROR([*** cairo headers not found!])) + CAIRO_CXXFLAGS="`pkg-config --cflags cairo` -I/usr/local/include" + AC_SUBST(CAIRO_CXXFLAGS) + AC_CHECK_LIB(svg-cairo, svg_cairo_create, , AC_MSG_ERROR([*** libcairo not found!])) + CAIRO_LDFLAGS="`pkg-config --libs cairo` -lsvg -lsvg-cairo" + AC_SUBST(CAIRO_LDFLAGS) + + AC_OUTPUT(client/Makefile) dnl Make code aware of the gui AC_DEFINE([USE_CLIENT], [], [Is defined if the project is configured to compile with client]) |