configure.ac 2.02 KB
Newer Older
1
AC_PREREQ([2.63])
Christian Schaller's avatar
Christian Schaller committed
2 3 4 5

dnl initialize autoconf
dnl when going to/from release please set the nano (fourth number) right !
dnl releases only do Wall, cvs and prerelease does Werror too
6
AC_INIT([transmageddon],
7
        [1.3],
8 9
        [https://bugzilla.gnome.org/enter_bug.cgi?product=transmageddon],
        [transmageddon],
10
        [http://www.linuxrising.org/])
11 12 13

AC_CONFIG_SRCDIR([src/transmageddon.py])
AC_CONFIG_MACRO_DIR([m4])
Christian Schaller's avatar
Christian Schaller committed
14 15

dnl initialize automake
16
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz])
Christian Schaller's avatar
Christian Schaller committed
17

18
dnl enable maintainer mode option
19
AM_MAINTAINER_MODE([enable])
Christian Schaller's avatar
Christian Schaller committed
20 21 22 23 24 25 26 27 28 29 30 31

AC_SUBST_FILE(AUTHORS)
AUTHORS=$srcdir/AUTHORS

dnl Note for packagers
dnl The following requirements are run-time requirements,
dnl make sure you don't forget them, even though you're able to
dnl build pitivi without them.
dnl
dnl For a more exhaustive list of checks, you can have a look at
dnl the runtime checks in pitivi/check.py

32
AC_SUBST(GST_REQ, 1.2.0)
Christian Schaller's avatar
Christian Schaller committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48

AS_AC_EXPAND(LIBDIR, $libdir)
AC_MSG_NOTICE(Storing library files in $LIBDIR)

AS_AC_EXPAND(DATADIR, $datadir)
AC_MSG_NOTICE(Storing data files in $DATADIR)

AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
AC_MSG_NOTICE(Storing configuration files in $SYSCONFDIR)

AS_AC_EXPAND(LOCALSTATEDIR, $localstatedir)
AC_MSG_NOTICE(Using localstatedir $LOCALSTATEDIR)

dnl check for python
AS_PATH_PYTHON(2.5)

49 50
dnl enable i18n
ALL_LINGUAS="pl"
51 52 53 54
GETTEXT_PACKAGE="transmageddon"
AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Gettext package])
AM_GLIB_GNU_GETTEXT
55 56
IT_PROG_INTLTOOL([0.40.0])
APPDATA_XML
57

Christian Schaller's avatar
Christian Schaller committed
58 59 60 61 62 63
CONFIGURED_PYTHONPATH=$PYTHONPATH
AC_SUBST(CONFIGURED_PYTHONPATH)

AC_CONFIG_FILES([bin/transmageddon], [chmod +x bin/transmageddon])

dnl output stuff
64
AC_CONFIG_FILES([
Christian Schaller's avatar
Christian Schaller committed
65
Makefile
66
appdata/Makefile
Christian Schaller's avatar
Christian Schaller committed
67 68 69
bin/Makefile
common/Makefile
common/m4/Makefile
70 71 72 73 74 75 76
icons/Makefile
icons/16x16/Makefile
icons/22x22/Makefile
icons/24x24/Makefile
icons/32x32/Makefile
icons/48x48/Makefile
icons/256x256/Makefile
77
src/about.py
Christian Schaller's avatar
Christian Schaller committed
78
src/Makefile
79
profiles/Makefile
80
presets/Makefile
81
po/Makefile.in
Christian Schaller's avatar
Christian Schaller committed
82
transmageddon.spec
83
transmageddon.desktop.in
84 85
])
AC_OUTPUT