- Add check to get sigc++ cflags and ldflags separately, if needed

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@278 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-01-31 22:49:22 +00:00
parent 749bf68235
commit 4333591e8f
1 changed files with 7 additions and 3 deletions

View File

@ -54,6 +54,7 @@ AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.14.1]) AM_GNU_GETTEXT_VERSION([0.14.1])
dnl various requisites dnl various requisites
SIGCPP_VERSION=2.0.10
GTKMM_VERSION=2.8.0 GTKMM_VERSION=2.8.0
CAIRO_VERSION=1.0.0 CAIRO_VERSION=1.0.0
@ -78,12 +79,15 @@ dnl check for gtkmm & cairo
PKG_CHECK_MODULES([CAIRO], PKG_CHECK_MODULES([CAIRO],
[cairo >= $CAIRO_VERSION], [cairo >= $CAIRO_VERSION],
:, AC_MSG_ERROR([$CAIRO_PKG_ERRORS])) :, AC_MSG_ERROR([$CAIRO_PKG_ERRORS]))
PKG_CHECK_MODULES([GLIB],
[glibmm-2.4 >= $GTKMM_VERSION],
:, AC_MSG_ERROR([$GLIB_PKG_ERRORS]))
PKG_CHECK_MODULES([GTHREAD], PKG_CHECK_MODULES([GTHREAD],
[gthread-2.0 >= $GTKMM_VERSION], [gthread-2.0 >= $GTKMM_VERSION],
:, AC_MSG_ERROR([$GTHREAD_PKG_ERRORS])) :, AC_MSG_ERROR([$GTHREAD_PKG_ERRORS]))
PKG_CHECK_MODULES([SIGCPP],
[sigc++-2.0 >= $SIGCPP_VERSION],
:, AC_MSG_ERROR([$SIGCPP_PKG_ERRORS]))
PKG_CHECK_MODULES([GLIBMM],
[glibmm-2.4 >= $GTKMM_VERSION],
:, AC_MSG_ERROR([$GLIBMM_PKG_ERRORS]))
PKG_CHECK_MODULES([GTKMM], PKG_CHECK_MODULES([GTKMM],
[gtkmm-2.4 >= $GTKMM_VERSION], [gtkmm-2.4 >= $GTKMM_VERSION],
:, AC_MSG_ERROR([$GTKMM_PKG_ERRORS])) :, AC_MSG_ERROR([$GTKMM_PKG_ERRORS]))