--- configure.ac.orig	2004-07-28 08:34:01 UTC
+++ configure.ac
@@ -9,7 +9,9 @@ AM_INIT_AUTOMAKE(gsmc, 1.0, ik5nax@amsat
 # Checks for programs.
 AC_PROG_CC
 pkg_modules="gtk+-2.0"
-PKG_CHECK_MODULES(PACKAGE,[$pkg_modules])
+PACKAGE_CFLAGS=`pkg-config --cflags ${pkg_modules}`
+PACKAGE_LIBS=`pkg-config --libs ${pkg_modules}`
+#PKG_CHECK_MODULES(PACKAGE,[$pkg_modules])
 AC_SUBST(PACKAGE_CFLAGS)
 AC_SUBST(PACKAGE_LIBS)
 
