diff options
author | Stéphane Loeuillet <leroutier@gmail.com> | 2007-10-28 17:35:01 +0100 |
---|---|---|
committer | Stéphane Loeuillet <leroutier@leroutier-desktop.(none)> | 2007-10-28 17:35:01 +0100 |
commit | f61976b5b6768ccf175087760ddfddf0de732d79 (patch) | |
tree | 9bb085166ca268fe998edd3cf9c73f59e89689ee | |
parent | 4988106537b893b6cf06a65f95f9bde73505a838 (diff) |
Add bug report URL and more checks
-rw-r--r-- | configure.ac | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 0cb75f9..d58ee2d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,13 +1,30 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + AC_PREREQ([2.58]) -AC_INIT(swfdec-gnome, 0.5.3.1) +AC_INIT( swfdec-gnome, [0.5.3.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=swfdec] ) AM_INIT_AUTOMAKE(1.6) -AM_CONFIG_HEADER(config.h) +AC_CONFIG_SRCDIR([config.h.in]) +AC_CONFIG_HEADER([config.h]) AM_MAINTAINER_MODE +# Checks for programs. AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_MAKE_SET IT_PROG_INTLTOOL([0.35.0]) +# Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS([stdlib.h string.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST + +# Checks for library functions. +AC_CHECK_FUNCS([strstr]) + GNOME_COMMON_INIT dnl GNOME_DOC_INIT GNOME_MAINTAINER_MODE_DEFINES @@ -17,15 +34,12 @@ GNOME_DEBUG_CHECK dnl GTK_DOC_CHECK(1.0) - dnl Setup gettext - GETTEXT_PACKAGE=swfdec-gnome AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package]) AM_GLIB_GNU_GETTEXT - dnl Required versions SWFDEC_MAJORMINOR=0.5 @@ -34,7 +48,6 @@ SWFDEC_REQUIRED=0.5.3.1 GTK_REQUIRED=2.12.0 - dnl Check dependencies PKG_CHECK_MODULES(THUMBNAILER, swfdec-$SWFDEC_MAJORMINOR = $SWFDEC_REQUIRED) @@ -51,6 +64,9 @@ dnl Finish up AC_SUBST(GLOBAL_CFLAGS) -AC_CONFIG_FILES(Makefile player/Makefile thumbnailer/Makefile po/Makefile.in data/Makefile) - +AC_CONFIG_FILES([Makefile + data/Makefile + player/Makefile + po/Makefile.in + thumbnailer/Makefile]) AC_OUTPUT |