mirror of
https://github.com/horst3180/arc-theme.git
synced 2024-10-27 19:04:02 +00:00
some tweaks
This commit is contained in:
parent
cadb4ac730
commit
6e9113718e
@ -10,18 +10,16 @@ AC_DEFUN([ARC_GNOME], [
|
|||||||
[GNOME minor version]
|
[GNOME minor version]
|
||||||
)],
|
)],
|
||||||
[GNOME_VERSION="$withval"],
|
[GNOME_VERSION="$withval"],
|
||||||
[
|
[AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes)
|
||||||
AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes)
|
|
||||||
AS_IF(
|
AS_IF(
|
||||||
[test "x$HAVE_PKG_CONFIG" != "xyes"],
|
[test "x$HAVE_PKG_CONFIG" != "xyes"],
|
||||||
[AC_MSG_ERROR([Could not find pkg-config.])]
|
[AC_MSG_ERROR([Could not find pkg-config.])]
|
||||||
)
|
)
|
||||||
PKG_CHECK_EXISTS(
|
PKG_CHECK_EXISTS(
|
||||||
[gtk+-3.0],
|
[gtk+-3.0],
|
||||||
[GNOME_VERSION=`$PKG_CONFIG --modversion gtk+-3.0`],
|
[GNOME_VERSION=`$PKG_CONFIG --modversion gtk+-3.0`],
|
||||||
[AC_MSG_ERROR([Could not determine GNOME version. Please install GTK+3.0 and/or GTK+3.0 development files.])]
|
[AC_MSG_ERROR([Could not determine GNOME version. Install GTK3 and its development files (libgtk-3-dev for Debian/Ubuntu based distros and gtk3-devel for RPM based distros).])]
|
||||||
)
|
)]
|
||||||
]
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Trim version extras
|
# Trim version extras
|
||||||
|
Loading…
Reference in New Issue
Block a user