mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 23:25:38 +00:00
Merge branch '3299-fix-AX_PROG_CC_FOR_BUILD-macro' into 'main'
Fix the cached value of ac_cv_c_compiler_gnu Closes #3299 See merge request isc-projects/bind9!6183
This commit is contained in:
@@ -91,16 +91,16 @@ AC_LANG_PUSH([C])
|
|||||||
dnl The pushdef([ac_cv_c_compiler_gnu], ...) currently does not cover
|
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 the use of this variable in _AC_LANG_COMPILER_GNU called by
|
||||||
dnl AC_PROG_CC. Unset this cache variable temporarily as a workaround.
|
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}
|
was_set_c_compiler_gnu=${[ac_cv_c_compiler_gnu]+y}
|
||||||
AS_IF([test ${was_set_ac_cv_c_compiler_gnu}],
|
AS_IF([test ${was_set_c_compiler_gnu}],
|
||||||
[saved_ac_cv_c_compiler_gnu=$[ac_cv_c_compiler_gnu]
|
[saved_c_compiler_gnu=$[ac_cv_c_compiler_gnu]
|
||||||
AS_UNSET([[ac_cv_c_compiler_gnu]])])
|
AS_UNSET([[ac_cv_c_compiler_gnu]])])
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|
||||||
dnl Restore ac_cv_c_compiler_gnu
|
dnl Restore ac_cv_c_compiler_gnu
|
||||||
AS_IF([test ${was_set_ac_cv_c_compiler_gnu}],
|
AS_IF([test ${was_set_c_compiler_gnu}],
|
||||||
[[ac_cv_c_compiler_gnu]=saved_ac_cv_c_compiler_gnu])
|
[[ac_cv_c_compiler_gnu]=$[saved_c_compiler_gnu]])
|
||||||
|
|
||||||
_AC_COMPILER_EXEEXT
|
_AC_COMPILER_EXEEXT
|
||||||
_AC_COMPILER_OBJEXT
|
_AC_COMPILER_OBJEXT
|
||||||
|
Reference in New Issue
Block a user