* configure.ac: Add writing of definition of confsubst to config.status, so it can run alone, not only called by configure.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1025 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Rene Liebscher 2011-12-22 19:44:37 +00:00
parent df51dbd421
commit abb87167cf
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-12-22 Rene Liebscher <R.Liebscher@gmx.de>
* configure.ac: Add writing of definition of confsubst to config.status,
so it can run alone, not only called by configure.
2011-12-17 Rene Liebscher <R.Liebscher@gmx.de> 2011-12-17 Rene Liebscher <R.Liebscher@gmx.de>
patch #7680: Fixing timeout problem in ser_recv in ser_win32.c patch #7680: Fixing timeout problem in ser_recv in ser_win32.c

View File

@ -285,7 +285,6 @@ if test "$enabled_parport" = "yes"; then
else else
confsubst="-e /^@HAVE_PARPORT_BEGIN@/,/^@HAVE_PARPORT_END@/d" confsubst="-e /^@HAVE_PARPORT_BEGIN@/,/^@HAVE_PARPORT_END@/d"
fi fi
export confsubst
# If we are compiling with gcc, enable all warning and make warnings errors. # If we are compiling with gcc, enable all warning and make warnings errors.
if test "$GCC" = yes; then if test "$GCC" = yes; then
@ -380,6 +379,7 @@ AC_CONFIG_FILES([
# avrdude.conf file. # avrdude.conf file.
AC_CONFIG_FILES([avrdude.conf.tmp:avrdude.conf.in], AC_CONFIG_FILES([avrdude.conf.tmp:avrdude.conf.in],
[sed $confsubst avrdude.conf.tmp > avrdude.conf]) [sed $confsubst avrdude.conf.tmp > avrdude.conf],
[confsubst="$confsubst"])
AC_OUTPUT AC_OUTPUT