Dmitry V. Levin
916adeda63
* Makefile.am (ACLOCAL_AMFLAGS): Add "-I m4". * acinclude.m4: Remove. * m4/includedir.m4: New file, with definition of AC_INCLUDEDIR from acinclude.m4. * m4/long_long.m4: New file, with definitions of AC_OFF_T_IS_LONG_LONG, AC_RLIM_T_IS_LONG_LONG and AC_LITTLE_ENDIAN_LONG_LONG from acinclude.m4. * m4/procfs.m4: New file, with definitions of AC_MP_PROCFS, AC_POLLABLE_PROCFS and AC_STRUCT_PR_SYSCALL from acinclude.m4. * m4/stat.m4: New file, with definition of AC_STAT64 from acinclude.m4. * m4/statfs.m4: New file, with definition of AC_STATFS64 from acinclude.m4. * m4/warnings.m4: New file, with definition of AC_WARNFLAGS from acinclude.m4.
13 lines
212 B
Plaintext
13 lines
212 B
Plaintext
dnl ### A macro to set gcc warning flags.
|
|
define(AC_WARNFLAGS,
|
|
[AC_SUBST(WARNFLAGS)
|
|
if test -z "$WARNFLAGS"
|
|
then
|
|
if test -n "$GCC"
|
|
then
|
|
# If we're using gcc we want warning flags.
|
|
WARNFLAGS=-Wall
|
|
fi
|
|
fi
|
|
])
|