PKG-CHECK-MODULES

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

 



I have a configure.ac file as follows, and autoconf 2.27

dnl Process this file with autoconf to produce a configure script.
AC_INIT(compo, 1.0, steve.teale@xxxxxxxxxxxxxxxx)
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_SRCDIR(src/about.d)
AC_DEFUN([PKG_CHECK_MODULES])

PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 3.0.0])

Without the AC_DEFUN it won't run at all, contrary to most documentation I
have read.

With it, it runs, and then when I run ./configure it just exits silently. I
was expecting an error message for this version number of GTK2.

Can anyone tell me what I'm doing wrong?

I just want to make a configure file that will check for appropriate
versions of GLIB, GTK, cairo and pango, and produce an error message if not
found.

I don't think I can use automake, since the program is written in D.

Thanks Steve
-- 
View this message in context: http://old.nabble.com/PKG-CHECK-MODULES-tp32429146p32429146.html
Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux