* Makefile.am: Change AM_CPPFLAGS to avrdude_CPPFLAGS.
Define avrdude_CFLAGS. * configure.ac: Set ENABLE_WARNINGS to "-Wall" if using gcc. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@362 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
3bd2da1766
commit
ea652e7b78
|
@ -1,3 +1,9 @@
|
||||||
|
2003-09-04 Theodore A. Roth <troth@openavr.org>
|
||||||
|
|
||||||
|
* Makefile.am: Change AM_CPPFLAGS to avrdude_CPPFLAGS.
|
||||||
|
Define avrdude_CFLAGS.
|
||||||
|
* configure.ac: Set ENABLE_WARNINGS to "-Wall" if using gcc.
|
||||||
|
|
||||||
2003-09-02 Eric B. Weddington <eric@ecentral.com>
|
2003-09-02 Eric B. Weddington <eric@ecentral.com>
|
||||||
|
|
||||||
* doc/avrdude.texi: Add note about privileges needed to load
|
* doc/avrdude.texi: Add note about privileges needed to load
|
||||||
|
|
|
@ -39,7 +39,9 @@ DIST_SUBDIRS = doc windows
|
||||||
|
|
||||||
AM_YFLAGS = -d
|
AM_YFLAGS = -d
|
||||||
|
|
||||||
AM_CPPFLAGS = -DCONFIG_DIR=\"$(sysconfdir)\"
|
avrdude_CPPFLAGS = -DCONFIG_DIR=\"$(sysconfdir)\"
|
||||||
|
|
||||||
|
avrdude_CFLAGS = @ENABLE_WARNINGS@
|
||||||
|
|
||||||
bin_PROGRAMS = avrdude
|
bin_PROGRAMS = avrdude
|
||||||
|
|
||||||
|
|
|
@ -125,6 +125,12 @@ case $target in
|
||||||
esac
|
esac
|
||||||
AC_SUBST(WINDOWS_DIRS,$WINDOWS_DIRS)
|
AC_SUBST(WINDOWS_DIRS,$WINDOWS_DIRS)
|
||||||
|
|
||||||
|
# If we are compiling with gcc, enable all warning and make warnings errors.
|
||||||
|
if test "$GCC" = yes; then
|
||||||
|
ENABLE_WARNINGS="-Wall"
|
||||||
|
fi
|
||||||
|
AC_SUBST(ENABLE_WARNINGS,$ENABLE_WARNINGS)
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
windows/Makefile
|
windows/Makefile
|
||||||
|
|
Loading…
Reference in New Issue