41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
compile_for="gtk2"
CPPFLAGS="$CPPFLAGS -DUSE_GTK2"
AC_MSG_RESULT(Compiling for GTK2)
])
if test "$compile_for" = "gtk3" ; then
AM_PATH_GTK_3_0(3.22.0, ,
AC_MSG_ERROR(Cannot find GTK3.))
elif test "$compile_for" = "gtk2" ; then
AM_PATH_GTK_2_0(2.2.0, ,
AC_MSG_ERROR(Cannot find GTK2.))
else
dnl AM_PATH_GTK(1.2.0, ,
dnl AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
AC_MSG_ERROR(GTK1 no longer supported)
fi
dnl Set PACKAGE_DATA_DIR in config.h.
|
>
>
>
>
|
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
compile_for="gtk2"
CPPFLAGS="$CPPFLAGS -DUSE_GTK2"
AC_MSG_RESULT(Compiling for GTK2)
])
if test "$compile_for" = "gtk3" ; then
AM_PATH_GTK_3_0(3.22.0, ,
AC_MSG_ERROR(Cannot find GTK3.))
PKG_CHECK_MODULES([PangoFT2], [pangoft2], ,
AC_MSG_ERROR(Cannot find PangoFT2.))
elif test "$compile_for" = "gtk2" ; then
AM_PATH_GTK_2_0(2.2.0, ,
AC_MSG_ERROR(Cannot find GTK2.))
PKG_CHECK_MODULES([PangoFT2], [pangoft2], ,
AC_MSG_ERROR(Cannot find PangoFT2.))
else
dnl AM_PATH_GTK(1.2.0, ,
dnl AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
AC_MSG_ERROR(GTK1 no longer supported)
fi
dnl Set PACKAGE_DATA_DIR in config.h.
|