|
|
|
@ -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],
|
|
|
|
|
[
|
|
|
|
|