diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2022-06-10 17:23:31 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-06-10 17:25:06 -0400 |
commit | 11864d2999a2f5f8537e56d8ae17515675d4879b (patch) | |
tree | 9d84715264dfc1f674d4e2c5404c3206f34b6fb9 /scripts | |
parent | 91ce3b085738f9279e903ec8eb0d1339f7a6a0f0 (diff) | |
download | lighttpd-git-11864d2999a2f5f8537e56d8ae17515675d4879b.tar.gz |
[autoconf] update ax_prog_cc_for_build.m4
update scripts/m4/ax_prog_cc_for_build.m4 from serial 20 to serial 21
(This should fix build errors occuring with './configure -C' caching)
https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_for_build.m4
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/m4/ax_prog_cc_for_build.m4 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/m4/ax_prog_cc_for_build.m4 b/scripts/m4/ax_prog_cc_for_build.m4 index f6518dbe..1db8d73f 100644 --- a/scripts/m4/ax_prog_cc_for_build.m4 +++ b/scripts/m4/ax_prog_cc_for_build.m4 @@ -32,7 +32,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 20 +#serial 21 AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD]) AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl @@ -89,16 +89,16 @@ AC_LANG_PUSH([C]) dnl The pushdef([ac_cv_c_compiler_gnu], ...) currently does not cover dnl the use of this variable in _AC_LANG_COMPILER_GNU called by dnl AC_PROG_CC. Unset this cache variable temporarily as a workaround. -was_set_ac_cv_c_compiler_gnu=${[ac_cv_c_compiler_gnu]+y} -AS_IF([test ${was_set_ac_cv_c_compiler_gnu}], - [saved_ac_cv_c_compiler_gnu=$[ac_cv_c_compiler_gnu] +was_set_c_compiler_gnu=${[ac_cv_c_compiler_gnu]+y} +AS_IF([test ${was_set_c_compiler_gnu}], + [saved_c_compiler_gnu=$[ac_cv_c_compiler_gnu] AS_UNSET([[ac_cv_c_compiler_gnu]])]) AC_PROG_CC dnl Restore ac_cv_c_compiler_gnu -AS_IF([test ${was_set_ac_cv_c_compiler_gnu}], - [[ac_cv_c_compiler_gnu]=saved_ac_cv_c_compiler_gnu]) +AS_IF([test ${was_set_c_compiler_gnu}], + [[ac_cv_c_compiler_gnu]=$[saved_c_compiler_gnu]]) _AC_COMPILER_EXEEXT _AC_COMPILER_OBJEXT |