configure.ac 1.86 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
        [0.24],
8 9 10 11 12 13
        [https://bugzilla.gnome.org/enter_bug.cgi?product=transmageddon],
        [transmageddon],
        [http://www.linuxrising.org/transmageddon])

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, 0.11.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 55 56
GETTEXT_PACKAGE="transmageddon"
AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Gettext package])
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])

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

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

dnl output stuff
63
AC_CONFIG_FILES([
Christian Schaller's avatar
Christian Schaller committed
64 65 66 67
Makefile
bin/Makefile
common/Makefile
common/m4/Makefile
68
src/about.py
Christian Schaller's avatar
Christian Schaller committed
69
src/Makefile
70
profiles/Makefile
71
presets/Makefile
72
po/Makefile.in
Christian Schaller's avatar
Christian Schaller committed
73
transmageddon.spec
74
transmageddon.desktop.in
75 76
])
AC_OUTPUT