fix regex in Debug_tags and Trace_tags generation for Mac OS
authorMorgan Deters <mdeters@gmail.com>
Fri, 11 May 2012 20:13:28 +0000 (20:13 +0000)
committerMorgan Deters <mdeters@gmail.com>
Fri, 11 May 2012 20:13:28 +0000 (20:13 +0000)
src/util/Makefile.am

index 612cccba0fb3f462f1480f3d1c45480b7f8a9406..4787457cf3166f1eafb5f402153dc436373c7abf 100644 (file)
@@ -130,9 +130,9 @@ endif
 # expression (no |, no \<, ...).
 Debug_tags.tmp Trace_tags.tmp:
        $(AM_V_GEN)\
-       grep '\<$(@:_tags.tmp=)\(\.isOn\)\? *( *\".*\" *)' \
+       grep '\<$(@:_tags.tmp=)\(\.isOn\)* *( *\".*\" *)' \
                `find @srcdir@/../ -name "*.cpp" -or -name "*.h" -or -name "*.cc" -or -name "*.g"` | \
-       sed 's/^$(@:_tags.tmp=)\(\.isOn\)\? *( *\"\([^"]*\)\".*/\2/;s/.*[^a-zA-Z0-9_]$(@:_tags.tmp=)\(\.isOn\)\? *( *\"\([^"]*\)\".*/\2/' | sort | uniq >"$@"
+       sed 's/^$(@:_tags.tmp=)\(\.isOn\)* *( *\"\([^"]*\)\".*/\2/;s/.*[^a-zA-Z0-9_]$(@:_tags.tmp=)\(\.isOn\)* *( *\"\([^"]*\)\".*/\2/' | LC_ALL=C sort | uniq >"$@"
 
 if CVC4_CLN_IMP
 libutil_la_SOURCES += \