summaryrefslogtreecommitdiff
path: root/build/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'build/configure.ac')
-rw-r--r--build/configure.ac32
1 files changed, 32 insertions, 0 deletions
diff --git a/build/configure.ac b/build/configure.ac
new file mode 100644
index 000000000..d1e45600b
--- /dev/null
+++ b/build/configure.ac
@@ -0,0 +1,32 @@
+AC_PREREQ(2.53)
+
+AC_INIT([gnome-icon-theme], [1.0alpha1])
+AC_CONFIG_SRCDIR([16x16])
+
+AM_INIT_AUTOMAKE([1.9 tar-ustar])
+
+# Define the toplevel path here
+AC_SUBST(themedir, "\${datadir}/icons/")
+
+UTILS_REQUIRED=0.8.7
+
+AC_MSG_CHECKING([icon-naming-utils >= $UTILS_REQUIRED])
+PKG_CHECK_EXISTS(icon-naming-utils >= $UTILS_REQUIRED,
+ have_utils=yes, have_utils=no)
+if test "x$have_utils" = "xyes"; then
+ UTILS_PATH="`$PKG_CONFIG --variable=program_path icon-naming-utils`"
+ ICONMAP="$UTILS_PATH/icon-name-mapping"
+ AC_SUBST(ICONMAP)
+ AC_MSG_RESULT([yes])
+else
+ AC_MSG_RESULT([no])
+ AC_MSG_ERROR([icon-naming-utils >= $UTILS_REQUIRED is required to build
+ and install sato-icon-theme])
+fi
+
+
+AC_CONFIG_FILES([
+MAKEFILES
+])
+
+AC_OUTPUT