Skip to content

m4/fp_find_cxx_std_lib.m4: Don't quote $CXX or $CC

PHO requested to merge PHO/ghc:dont-quote-CXX-in-FP_FIND_CXX_STD_LIB into master

$CXX must not be quoted because it may contain flags. The same goes for $CC. This causes a configuration failure on MacOS X 14 where AC_PROG_CXX sets $CXX to clang++ -std=gnu++11.

  • if your MR may break existing programs (e.g. touches base or causes the compiler to reject programs), please describe the expected breakage and add the user-facing label. This will run ghc/head.hackage> to characterise the effect of your change on Hackage.
  • ensure that your commits are either individually buildable or squashed
  • ensure that your commit messages describe what they do (referring to tickets using #NNNN syntax when appropriate)
  • have added source comments describing your change. For larger changes you likely should add a [Note][notes] and cross-reference it from the relevant places.
  • add a [testcase to the testsuite][adding test].
  • updates the users guide if applicable
  • mentions new features in the release notes for the next release

Merge request reports