Skip to content

Commit

Permalink
Needs AC_PROG_CC
Browse files Browse the repository at this point in the history
Although `AC_PROG_CC_C99` has been obsolete, `AC_PROG_CC` is not
and the latter is necessary not to make C++ compiler mandatory.
  • Loading branch information
nobu committed Sep 30, 2021
1 parent 90f2ab9 commit 912a8dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ rb_test_CXXFLAGS=${CXXFLAGS+yes}
# BSD's ports and MacPorts prefix GNU binutils with 'g'

dnl Seems necessarily in order to add -std=gnu99 option for gcc 4.9.
m4_version_prereq([2.70], [], [AC_PROG_CC_C99])
m4_version_prereq([2.70], [AC_PROG_CC], [AC_PROG_CC_C99])

AC_PROG_CXX
AC_PROG_CPP
Expand Down

0 comments on commit 912a8dc

Please sign in to comment.