diff options
| author | 2009-01-04 12:31:41 +0100 | |
|---|---|---|
| committer | 2009-01-04 12:31:41 +0100 | |
| commit | ca40090460a6e43112c1f9e9d414727c29a9847d (patch) | |
| tree | a439dad5ab5ee03d604ae363adec77ae9f979d59 /configure.ac | |
| parent | 135e43c1767c6d1cc4cad057130bf371a548f648 (diff) | |
| download | libplist-ca40090460a6e43112c1f9e9d414727c29a9847d.tar.gz libplist-ca40090460a6e43112c1f9e9d414727c29a9847d.tar.bz2 | |
Setup warning flags and fixes missing static attribute for local funtions.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index aa3a2e2..4af0e49 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -6,6 +6,7 @@ AC_INIT(libplist, 0.1.0, nospam@nowhere.com) | |||
| 6 | AM_INIT_AUTOMAKE(libplist, 0.1.0) | 6 | AM_INIT_AUTOMAKE(libplist, 0.1.0) |
| 7 | AC_CONFIG_SRCDIR([src/]) | 7 | AC_CONFIG_SRCDIR([src/]) |
| 8 | AC_CONFIG_HEADER([config.h]) | 8 | AC_CONFIG_HEADER([config.h]) |
| 9 | AC_CONFIG_MACRO_DIR([m4]) | ||
| 9 | 10 | ||
| 10 | AC_PROG_LIBTOOL | 11 | AC_PROG_LIBTOOL |
| 11 | 12 | ||
| @@ -44,4 +45,7 @@ if test "$no_debug_code" = true; then | |||
| 44 | AC_DEFINE(STRIP_DEBUG_CODE,1,[Strip debug reporting code]) | 45 | AC_DEFINE(STRIP_DEBUG_CODE,1,[Strip debug reporting code]) |
| 45 | fi | 46 | fi |
| 46 | 47 | ||
| 48 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default") | ||
| 49 | AC_SUBST(GLOBAL_CFLAGS) | ||
| 50 | |||
| 47 | AC_OUTPUT(Makefile src/Makefile include/Makefile plutil/Makefile libplist-1.0.pc) | 51 | AC_OUTPUT(Makefile src/Makefile include/Makefile plutil/Makefile libplist-1.0.pc) |
