[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fyi-ac-arg-var.patch
From: |
Akim Demaille |
Subject: |
Re: fyi-ac-arg-var.patch |
Date: |
23 Jun 2001 15:11:10 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor) |
>>>>> "Alexandre" == Alexandre Oliva <address@hidden> writes:
>> I'm applying this change, but I'm waiting for you to agree/disagree
>> on the `make distclean' part of the message to update the doc.
Alexandre> Looks good to me. But I don't see much change in terms of
Alexandre> distclean. What do you mean?
I'm confused, I believe I answered, but didn't receive my answer :(
Anyway, I was referring to the fact that the message, originally, did
not mention `make distclean'.
This is the last part of it. One thing less, good!
Index: ChangeLog
from Akim Demaille <address@hidden>
* acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
stderr.
* doc/autoconf.texi (AC_ARG_VAR): Update.
Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.737
diff -u -u -r1.737 acgeneral.m4
--- acgeneral.m4 2001/06/21 10:56:21 1.737
+++ acgeneral.m4 2001/06/23 13:04:19
@@ -1536,17 +1536,17 @@
eval ac_new_val="\$ac_env_${ac_var}_value"
case $ac_old_set,$ac_new_set in
set,)
- AS_MESSAGE([error: `$ac_var' was set to `$ac_old_val' in the previous
run])
+ AS_MESSAGE([error: `$ac_var' was set to `$ac_old_val' in the previous
run], 2)
ac_cache_corrupted=: ;;
,set)
- AS_MESSAGE([error: `$ac_var' was not set in the previous run])
+ AS_MESSAGE([error: `$ac_var' was not set in the previous run], 2)
ac_cache_corrupted=: ;;
,);;
*)
if test "x$ac_old_val" != "x$ac_new_val"; then
- AS_MESSAGE([error: `$ac_var' has changed since the previous run:])
- AS_MESSAGE([ former value: $ac_old_val])
- AS_MESSAGE([ current value: $ac_new_val])
+ AS_MESSAGE([error: `$ac_var' has changed since the previous run:], 2)
+ AS_MESSAGE([ former value: $ac_old_val], 2)
+ AS_MESSAGE([ current value: $ac_new_val], 2)
ac_cache_corrupted=:
fi;;
esac
@@ -1566,7 +1566,7 @@
fi
done
if $ac_cache_corrupted; then
- AS_MESSAGE([error: changes in the environment can compromise the build])
+ AS_MESSAGE([error: changes in the environment can compromise the build], 2)
AS_ERROR([run `make distclean' and/or `rm $cache_file' and start over])
fi
])# _AC_ARG_VAR_VALIDATE
Index: doc/autoconf.texi
===================================================================
RCS file: /cvs/autoconf/doc/autoconf.texi,v
retrieving revision 1.474
diff -u -u -r1.474 autoconf.texi
--- doc/autoconf.texi 2001/06/21 09:18:16 1.474
+++ doc/autoconf.texi 2001/06/23 13:04:37
@@ -5525,23 +5525,16 @@
@example
$ ./configure --silent --config-cache
$ CC=cc ./configure --silent --config-cache
-configure: WARNING: `CC' was not set in the previous run
-configure: WARNING: changes in the environment can compromise
-configure: WARNING: the build. consider removing config.cache
-configure: WARNING: and starting over
-$ CC=gcc ./configure --config-cache --silent
-configure: WARNING: `CC' has changed since the previous run:
-configure: WARNING: former value: cc
-configure: WARNING: current value: gcc
-configure: WARNING: changes in the environment can compromise
-configure: WARNING: the build. consider removing config.cache
-configure: WARNING: and starting over
-$ ./configure --silent --config-cache
-configure: WARNING: `CC' was set to `gcc' in the previous run
-configure: WARNING: changes in the environment can compromise
-configure: WARNING: the build. consider removing config.cache
-configure: WARNING: and starting over
+configure: error: `CC' was not set in the previous run
+configure: error: changes in the environment can compromise \
+the build
+configure: error: run `make distclean' and/or \
+`rm config.cache' and start over
@end example
+
address@hidden
+and similarly if the variable is unset, or if its content is changed.
+
@item
@var{variable} is kept during automatic reconfiguration
- AC_SYS_RESTARTABLE_SYSCALLS (was: fyi-ac-arg-var.patch), (continued)
- AC_SYS_RESTARTABLE_SYSCALLS (was: fyi-ac-arg-var.patch), Pavel Roskin, 2001/06/22
- Re: AC_SYS_RESTARTABLE_SYSCALLS (was: fyi-ac-arg-var.patch), Pavel Roskin, 2001/06/25
- Re: AC_SYS_RESTARTABLE_SYSCALLS (was: fyi-ac-arg-var.patch), Akim Demaille, 2001/06/26
- Re: AC_SYS_RESTARTABLE_SYSCALLS (was: fyi-ac-arg-var.patch), Pavel Roskin, 2001/06/26
- Re: AC_SYS_RESTARTABLE_SYSCALLS (was: fyi-ac-arg-var.patch), Akim Demaille, 2001/06/26
- Re: AC_SYS_RESTARTABLE_SYSCALLS (was: fyi-ac-arg-var.patch), Jim Meyering, 2001/06/26
- Re: fyi-ac-arg-var.patch, Alexandre Oliva, 2001/06/21
- Re: fyi-ac-arg-var.patch, Akim Demaille, 2001/06/21
- Re: fyi-ac-arg-var.patch, Alexandre Oliva, 2001/06/21
- Re: fyi-ac-arg-var.patch, Akim Demaille, 2001/06/21
- Re: fyi-ac-arg-var.patch,
Akim Demaille <=