/[pidim]/configure.ac
ViewVC logotype

Annotation of /configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8 - (hide annotations)
Thu Aug 26 19:26:02 2010 UTC (9 years, 3 months ago) by ben
File size: 781 byte(s)
added some common routines for automation
1 ben 1 AC_PREREQ([2.65])
2 ben 7 AC_INIT(pidim, 0.1, brouits@free.fr)
3 ben 1 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
4     AC_CONFIG_SRCDIR([src/])
5     AC_CONFIG_HEADERS([config.h])
6    
7     # Checks for programs.
8     AC_ISC_POSIX
9     AC_PROG_CC
10     AM_PROG_CC_STDC
11     AC_HEADER_STDC
12    
13     # Internationalization
14     GETTEXT_PACKAGE=pidim
15     AC_SUBST(GETTEXT_PACKAGE)
16     AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
17     AM_GLIB_GNU_GETTEXT
18     IT_PROG_INTLTOOL([0.35.0])
19    
20     # Checks for modules
21     PKG_CHECK_MODULES(PIDIM, [glib-2.0 gtk+-2.0 alsa ])
22    
23     # Checks for libraries.
24    
25     # Checks for header files.
26 ben 8 AC_CHECK_HEADERS([libintl.h stdlib.h math.h])
27 ben 1
28     # Checks for typedefs, structures, and compiler characteristics.
29    
30     # Checks for library functions.
31     AC_FUNC_ALLOCA
32    
33     AC_OUTPUT([
34     Makefile
35     src/Makefile
36     po/Makefile.in
37     ])

  ViewVC Help
Powered by ViewVC 1.1.26