mirror of
https://github.com/pygos/usyslog.git
synced 2024-11-17 02:07:11 +01:00
36 lines
921 B
Text
36 lines
921 B
Text
|
AC_PREREQ([2.60])
|
||
|
AC_INIT([usyslog], [0.1], [david.oberhollenzer@tele2.at], usyslog)
|
||
|
AC_CONFIG_MACRO_DIR([m4])
|
||
|
AM_INIT_AUTOMAKE([foreign dist-xz])
|
||
|
AM_SILENT_RULES([yes])
|
||
|
AC_PROG_CC
|
||
|
AC_PROG_CC_C99
|
||
|
AC_PROG_INSTALL
|
||
|
|
||
|
UL_WARN_ADD([-Wall])
|
||
|
UL_WARN_ADD([-Wextra])
|
||
|
UL_WARN_ADD([-Wunused])
|
||
|
UL_WARN_ADD([-Wmissing-prototypes])
|
||
|
UL_WARN_ADD([-Wmissing-declarations])
|
||
|
UL_WARN_ADD([-Wwrite-strings])
|
||
|
UL_WARN_ADD([-Wjump-misses-init])
|
||
|
UL_WARN_ADD([-Wuninitialized])
|
||
|
UL_WARN_ADD([-Winit-self])
|
||
|
UL_WARN_ADD([-Wlogical-op])
|
||
|
UL_WARN_ADD([-Wunused-but-set-parameter])
|
||
|
UL_WARN_ADD([-Wunused-but-set-variable])
|
||
|
UL_WARN_ADD([-Wunused-parameter])
|
||
|
UL_WARN_ADD([-Wunused-result])
|
||
|
UL_WARN_ADD([-Wunused-variable])
|
||
|
UL_WARN_ADD([-Wduplicated-cond])
|
||
|
UL_WARN_ADD([-Wduplicated-branches])
|
||
|
UL_WARN_ADD([-Wrestrict])
|
||
|
UL_WARN_ADD([-Wnull-dereference])
|
||
|
UL_WARN_ADD([-pedantic])
|
||
|
|
||
|
AC_SUBST([WARN_CFLAGS])
|
||
|
|
||
|
AC_CONFIG_HEADERS([config.h])
|
||
|
|
||
|
AC_OUTPUT([Makefile])
|