mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-25 02:47:01 +00:00
72 lines
1.6 KiB
Plaintext
72 lines
1.6 KiB
Plaintext
![]() |
dnl Process this file with autoconf to produce a configure script.
|
||
|
|
||
|
AC_PREREQ(2.59)
|
||
|
|
||
|
m4_define(gitg_major_version, 0)
|
||
|
m4_define(gitg_minor_version, 0)
|
||
|
m4_define(gitg_micro_version, 1)
|
||
|
m4_define(gitg_version, gitg_major_version.gitg_minor_version.gitg_micro_version)
|
||
|
|
||
|
AC_INIT(gitg, gitg_version, http://www.icecrew.nl)
|
||
|
AC_CONFIG_SRCDIR(gitg/gitg.c)
|
||
|
AC_CONFIG_MACRO_DIR([m4])
|
||
|
|
||
|
AC_DEFINE(GITG_MAJOR_VERSION, gitg_major_version, [GitG major version])
|
||
|
AC_SUBST(GITG_MAJOR_VERSION, gitg_major_version)
|
||
|
AC_DEFINE(GITG_MINOR_VERSION, gitg_minor_version, [GitG minor version])
|
||
|
AC_SUBST(GITG_MINOR_VERSION, gitg_minor_version)
|
||
|
AC_DEFINE(GITG_MICRO_VERSION, gitg_micro_version, [GitG micro version])
|
||
|
AC_SUBST(GITG_MICRO_VERSION, gitg_micro_version)
|
||
|
|
||
|
AM_INIT_AUTOMAKE([1.8 dist-bzip2 no-dist-gzip])
|
||
|
|
||
|
AM_MAINTAINER_MODE
|
||
|
AC_CONFIG_HEADERS(config.h)
|
||
|
|
||
|
IT_PROG_INTLTOOL([0.35.0])
|
||
|
AC_PROG_LIBTOOL
|
||
|
|
||
|
AC_ISC_POSIX
|
||
|
AC_PROG_CC
|
||
|
AC_PROG_INSTALL
|
||
|
AC_PROG_MAKE_SET
|
||
|
AC_PATH_PROG(GZIP, gzip)
|
||
|
|
||
|
dnl make sure we keep ACLOCAL_FLAGS around for maintainer builds to work
|
||
|
AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS -I m4")
|
||
|
|
||
|
GETTEXT_PACKAGE=gitg
|
||
|
AC_SUBST(GETTEXT_PACKAGE)
|
||
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
|
||
|
|
||
|
AM_GLIB_GNU_GETTEXT
|
||
|
|
||
|
PKG_CHECK_MODULES(PACKAGE, [
|
||
|
gtk+-2.0 >= 2.8.0
|
||
|
gthread-2.0
|
||
|
gtksourceview-2.0
|
||
|
])
|
||
|
|
||
|
AC_SUBST(PACKAGE_CFLAGS)
|
||
|
AC_SUBST(PACKAGE_LIBS)
|
||
|
|
||
|
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
|
||
|
|
||
|
AC_CONFIG_FILES([
|
||
|
Makefile
|
||
|
gitg/Makefile
|
||
|
data/Makefile
|
||
|
data/gitg.desktop.in
|
||
|
po/Makefile.in
|
||
|
])
|
||
|
|
||
|
AC_OUTPUT
|
||
|
|
||
|
echo "
|
||
|
|
||
|
Configuration:
|
||
|
|
||
|
Source code location: ${srcdir}
|
||
|
Compiler: ${CC}
|
||
|
"
|