Re: configure.ac - GTKmm with MinGW



Foster, Gareth wrote:

I am attempting to use GTKmm with MinGW, I have installed MinGW (and it all
works now thank gawd), and I have installed the GTK+ and GTKmm -devel
packages, yet, the following configure.ac ...

"
AC_INIT(src/main.cc)

AC_CONFIG_HEADERS(src/config.h)

AM_INIT_AUTOMAKE(mergetoken,0.1.0)

#AM_CONFIG_HEADER(src/config.h)

PKG_CHECK_MODULES(DEPS, gtkmm-2.0 >= 2.4.0)

AC_SUBST(DEPS_CFLAGS)
AC_SUBST(DEPS_LIBS)

AC_PROG_CC

AC_PROG_CXX

AC_PROG_INSTALL

AC_OUTPUT(Makefile src/Makefile)
"

... gives me the following error message on ./configure -ing.

./configure: line 1630: syntax error near unexpected token
`PKG_CHECK_MODULES(DEPS,'
./configure: line 1630: `PKG_CHECK_MODULES(DEPS, gtkmm-2.0 >= 2.4.0)'

aclocal -I C:\\GTK\\share\\aclocal

Change C:\\GTK to your GTK+ root directory if relevant.

Cedric



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