From 97e76f4c979d7a0c4ed296c512c3024e3c6afa18 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 2 Jul 2005 05:08:36 +0000 Subject: 02.07.2005 --- configure.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index bb8966a..4cf04d4 100644 --- a/configure.in +++ b/configure.in @@ -43,6 +43,13 @@ XML_INCLUDES="\`xml-config --cflags\`" AC_SUBST(XML_LIBS) AC_SUBST(XML_INCLUDES) +AC_PATH_PROG(GTK_CONFIG, gtk-config, no) +AM_CONDITIONAL(HAVE_GTK, [ test $GTK_CONFIG != no ]) +GTK_LIBS="\`gtk-config --libs\`" +GTK_INCLUDES="\`gtk-config --cflags\`" +AC_SUBST(GTK_LIBS) +AC_SUBST(GTK_INCLUDES) + AC_CHECK_HEADER(librcd.h, [AC_CHECK_LIB(rcd, rcdGetRussianCharset, [ RCD_LIBS="-lrcd" RCD_INCLUDES="" @@ -75,4 +82,4 @@ AC_C_CONST dnl Checks for library functions. AC_CHECK_FUNCS(strcasecmp strncasecmp strdup) -AC_OUTPUT(src/Makefile examples/Makefile librcc.spec) +AC_OUTPUT(src/Makefile ui/Makefile examples/Makefile librcc.spec) -- cgit v1.2.3