root / configure.ac @ 4012ec30
History | View | Annotate | Download (805 Bytes)
| 1 | # -*- Autoconf -*- |
|---|---|
| 2 | # Process this file with autoconf to produce a configure script. |
| 3 | |
| 4 | AC_PREREQ(2.61) |
| 5 | AC_INIT(src/sylfilter.c) |
| 6 | AM_INIT_AUTOMAKE(sylfilter, 0.1) |
| 7 | AC_CONFIG_SRCDIR([src/sylfilter.c]) |
| 8 | AC_CONFIG_HEADER([config.h]) |
| 9 | |
| 10 | # Checks for programs. |
| 11 | AC_PROG_CC |
| 12 | AC_PROG_INSTALL |
| 13 | AM_PROG_LIBTOOL |
| 14 | |
| 15 | # Checks for libraries. |
| 16 | AM_PATH_GLIB_2_0(2.0.0,, AC_MSG_ERROR(Test for GLib failed. See the 'INSTALL' for help.)) |
| 17 | |
| 18 | AC_SUBST(GLIB_CFLAGS) |
| 19 | AC_SUBST(GLIB_LIBS) |
| 20 | |
| 21 | # Checks for header files. |
| 22 | AC_HEADER_STDC |
| 23 | |
| 24 | # Checks for typedefs, structures, and compiler characteristics. |
| 25 | |
| 26 | # Checks for library functions. |
| 27 | |
| 28 | AC_CONFIG_FILES([Makefile |
| 29 | lib/Makefile |
| 30 | lib/filters/Makefile |
| 31 | src/Makefile |
| 32 | test/Makefile]) |
| 33 | AC_OUTPUT |