automake/autoconf for my gtk2-app



Hallo,

I tried to write an automake/autoconf for my gtk2-app. This I the
problem part of my configure.in:

| pkg_modules="gtk+-2.0 >= 1.3.13"
| PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
| AC_SUBST(PACKAGE_CFLAGS)
| AC_SUBST(PACKAGE_LIBS)

./configure returns this errors:

| ./configure: line 4484: syntax error near unexpected token
| `PKG_CHECK_MODULES(PACKAGE,'./configure: line 4484:
| `PKG_CHECK_MODULES(PACKAGE, $pkg_modules)'

Where is the problem? I use automake 1.7.2 and autoconf 2.57.

Thanks
Andreas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]