Skip to content

Commit

Permalink
build: Update ax_prog_cc_for_build.m4 with upstream
Browse files Browse the repository at this point in the history
The ax_prog_cc_for_build.m4 module from upstream contains a typo fix.
Beyond that, there are no code changes.
  • Loading branch information
Explorer09 committed Nov 3, 2024
1 parent 21eee2c commit fb1c7cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ AS_IF([test "x${BUILD_OBJEXT-}" = x],
[BUILD_EXEEXT="${ac_cv_build_exeext-}"
BUILD_OBJEXT="${ac_cv_build_objext-}"])])
AS_IF([test "x${BUILD_OBJEXT-}" = x && test "x${enable_bootstrap-yes}" = xyes],
[AC_MSG_ERROR([BUILD_OBJEXT is invalid; please regenerate 'configure' with a newer ax_prog_cc_for_build.m4 (serial 22 or later) or configure with '--disable-bootstrap'])])
[AC_MSG_ERROR([BUILD_OBJEXT is invalid; please regenerate 'configure' with a newer ax_prog_cc_for_build.m4 (serial 23 or later) or configure with '--disable-bootstrap'])])

pkgconfigdir=${libdir}/pkgconfig
AC_SUBST(pkgconfigdir)
Expand Down
6 changes: 2 additions & 4 deletions m4/ax_prog_cc_for_build.m4
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.

#serial 21
# With patches not yet merged upstream
# <https://savannah.gnu.org/patch/index.php?10452>
#serial 26

AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
Expand Down Expand Up @@ -163,7 +161,7 @@ ac_cv_c_compiler_gnu=$ac_cv_host_c_compiler_gnu
ac_compiler_gnu=$ac_cv_host_c_compiler_gnu
dnl restore global variables ac_ext, ac_cpp, ac_compile,
dnl ac_link, ac_compiler_gnu (dependant on the current
dnl ac_link, ac_compiler_gnu (dependent on the current
dnl language after popping):
AC_LANG_POP([C])
Expand Down

0 comments on commit fb1c7cc

Please sign in to comment.