ac_tests_pattern.
Reported by Andrej Borsenkow.
+2000-12-07 Akim Demaille <akim@epita.fr>
+
+ * tests/atgeneral.m4 (AT_INIT): More robust computation of
+ ac_tests_pattern.
+ Reported by Andrej Borsenkow.
+
2000-12-07 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_EXEEXT): Skip *.pdb.
Tests:
EOF
- # "1 42 45 " => " (1|42|45|dummy): "
- at_tests_pattern=`echo "$at_tests" | tr ' ' '|'`
- egrep -e " (${at_tests_pattern}dummy): " <<EOF
+ # " 1 42 45 " => " (1|42|45): "
+ at_tests_pattern=`echo "$at_tests" | sed 's/^ *//;s/ *$//;y/ */|/'`
+ egrep -e " (${at_tests_pattern}): " <<EOF
m4_divert([HELP])dnl Help message inserted here.
m4_divert([SETUP])dnl
EOF
Tests:
EOF
- # "1 42 45 " => " (1|42|45|dummy): "
- at_tests_pattern=`echo "$at_tests" | tr ' ' '|'`
- egrep -e " (${at_tests_pattern}dummy): " <<EOF
+ # " 1 42 45 " => " (1|42|45): "
+ at_tests_pattern=`echo "$at_tests" | sed 's/^ *//;s/ *$//;y/ */|/'`
+ egrep -e " (${at_tests_pattern}): " <<EOF
m4_divert([HELP])dnl Help message inserted here.
m4_divert([SETUP])dnl
EOF