Skip to content

Commit

Permalink
configure: say 'the C compiler' instead of printing full path
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterDA committed Jul 23, 2024
1 parent 2f62c78 commit d3cda58
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
5 changes: 3 additions & 2 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ AC_DEFUN([OCAML_CC_SUPPORTS_ATOMIC], [
opts=""
AS_IF([test -n "$1"],[CFLAGS="$CFLAGS $1"; opts="$1"])
AS_IF([test -n "$2"],[LIBS="$LIBS $2"; opts="${opts:+$opts }$2"])
AC_MSG_CHECKING(m4_normalize([if $CC supports _Atomic types with
AC_MSG_CHECKING(m4_normalize([if the C compiler supports _Atomic types with
${opts:-no additional options}]))
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
Expand All @@ -532,7 +532,8 @@ AC_DEFUN([OCAML_CC_SUPPORTS_ATOMIC], [
])

AC_DEFUN([OCAML_CC_SUPPORTS_LABELS_AS_VALUES], [
AC_CACHE_CHECK([whether $CC supports the labels as values extension],
AC_CACHE_CHECK(m4_normalize([whether the C compiler supports the labels as
values extension]),
[ocaml_cv_prog_cc_labels_as_values],
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[
void *ptr;
Expand Down
27 changes: 11 additions & 16 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d3cda58

Please sign in to comment.