Add gtk/glibc checks to global acinclude.m4.in file

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/admin@1256728 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 7344e1ff5e
commit 5a98346b80

@ -6501,6 +6501,41 @@ AC_DEFUN([AM_KDE_MIN_VERSION],
AC_LANG_RESTORE
])
AC_DEFUN([AC_GLIB_2],
[
AC_MSG_CHECKING([for glib == 2.0])
GLIB2_LIBS=`$PKG_CONFIG --libs glib-2.0`
GLIB2_CFLAGS="`$PKG_CONFIG --cflags glib-2.0`"
if test -z "$GLIB2_LIBS"; then
AC_MSG_RESULT(no);
DO_NOT_COMPILE="$DO_NOT_COMPILE mozilla"
else
AC_MSG_RESULT([cflags $GLIB2_CFLAGS]);
AC_SUBST(GLIB2_CFLAGS)
AC_SUBST(GLIB2_LIBS)
fi
])
AC_DEFUN([AC_GTK_2],
[
AC_MSG_CHECKING([for gtk == 2.0])
GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0`
GTK2_CFLAGS="`$PKG_CONFIG --cflags gtk+-2.0`"
if test -z "$GTK2_LIBS"; then
AC_MSG_RESULT(no);
DO_NOT_COMPILE="$DO_NOT_COMPILE mozilla"
else
AC_MSG_RESULT([cflags $GTK2_CFLAGS]);
AC_SUBST(GTK2_CFLAGS)
AC_SUBST(GTK2_LIBS)
fi
])
AC_DEFUN([AC_LIBOFX],
[

Loading…
Cancel
Save