Mercurial > pidgin.yaz
changeset 9146:769d6b6a483c
[gaim-migrate @ 9930]
Fixed the VERSION thing for good. Now everybody should be happy!
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 30 May 2004 23:01:38 +0000 |
parents | 7eac34219f1a |
children | 2e2eaa5b6249 |
files | configure.ac |
diffstat | 1 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Sun May 30 22:46:09 2004 +0000 +++ b/configure.ac Sun May 30 23:01:38 2004 +0000 @@ -1129,13 +1129,15 @@ AC_CHECK_HEADERS(termios.h) AC_VAR_TIMEZONE_EXTERNALS -dnl AC_CONFIG_COMMANDS([version], -dnl [[ -dnl sed -e "s/@VERSION@/$VERSION/" VERSION.in > VERSION.tmp -dnl cmp VERSION VERSION.in 2>/dev/null || cp VERSION.tmp VERSION -dnl rm -f VERSION.tmp -dnl ]] -dnl ) +AC_CONFIG_COMMANDS_PRE([ + if test -e VERSION; then + cp -p VERSION VERSION.ac-save + fi +]) + +AC_CONFIG_COMMANDS_POST([ + cmp VERSION VERSION.ac-save || touch -r VERSION.ac-save VERSION +]) AC_OUTPUT([Makefile Doxyfile