[ET Trac] [Einstein Toolkit] #1227: incorrectly quoted regular expressions in aclocal.m4

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Jan 18 19:20:11 CST 2013


#1227: incorrectly quoted regular expressions in aclocal.m4
-------------------+--------------------------------------------------------
 Reporter:  rhaas  |        Type:  defect
   Status:  new    |    Priority:  minor 
Milestone:         |   Component:  Cactus
  Version:         |    Keywords:        
-------------------+--------------------------------------------------------
 m4 uses square brackets as quotation characters and removes one set of
 them per argument call. This affects regular expressions that contain
 character ranges. This in turn affect some HAVE_XXX macros where XXX
 contains invalid characters eg. XXX=math.h . The attached patch adds an
 extra level of [] around where the result is passed to a function. Also it
 seems as if the system provided AC_CHECK_FUNCS does not properly quote its
 third argument when passing it to AC_CHECK_FUNC. Hence I add an extra
 round of [] whenever it is used.

 This is a mess.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1227>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list