+1999-10-31 Ben Elliston <bje@cygnus.com>
+
+ * testsuite/autoconf.s/defines.exp: Changed `fail' and `pass' in
+ `xfail' and `xpass'. The testsuite checks that acconfig.h
+ templates the AC_DEFINEs. Since we no longer rely on acconfig.h,
+ the test is obsolete.
+ * acspecific.m4 (AC_PROG_BINSH, AC_PROG_SED): Don't quote the name
+ of the macro defined; the testsuite does not recognize this
+ syntax. From Akim Demaille <akim@epita.fr>.
+
1999-10-27 Ben Elliston <bje@cygnus.com>
* THANKS: Updated Alexandre's address.
dnl of commands to put in a sed script, `infinite' meaning a priori
dnl infinite.
dnl This macro is not documented on purpose.
-AC_DEFUN([AC_PROG_SED],
+AC_DEFUN(AC_PROG_SED,
[AC_CACHE_CHECK([for max sed script length], ac_cv_prog_sed_max_cmd,
[echo >conftest.s "\
s/0/1/;s/1/2/;s/2/3/;s/3/4/;s/4/5/;s/5/6/;s/6/7/;s/7/8/;s/8/9/;s/9/0/;s/9/O/;"
dnl -------------
dnl Check the maximum length of an here document.
dnl FIXME: Is this test really reliable?
-AC_DEFUN([AC_PROG_BINSH],
+AC_DEFUN(AC_PROG_BINSH,
[AC_CACHE_CHECK([for max here document length], ac_cv_prog_binsh_max_heredoc,
[echo >conftest.s1 "\
ac_test='This is a sample string to test here documents.'"
dnl of commands to put in a sed script, `infinite' meaning a priori
dnl infinite.
dnl This macro is not documented on purpose.
-AC_DEFUN([AC_PROG_SED],
+AC_DEFUN(AC_PROG_SED,
[AC_CACHE_CHECK([for max sed script length], ac_cv_prog_sed_max_cmd,
[echo >conftest.s "\
s/0/1/;s/1/2/;s/2/3/;s/3/4/;s/4/5/;s/5/6/;s/6/7/;s/7/8/;s/8/9/;s/9/0/;s/9/O/;"
dnl -------------
dnl Check the maximum length of an here document.
dnl FIXME: Is this test really reliable?
-AC_DEFUN([AC_PROG_BINSH],
+AC_DEFUN(AC_PROG_BINSH,
[AC_CACHE_CHECK([for max here document length], ac_cv_prog_binsh_max_heredoc,
[echo >conftest.s1 "\
ac_test='This is a sample string to test here documents.'"
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
foreach u $undefs {
send_user "$u\n"
if {[lsearch -exact $defines $u] != -1} {
- pass "$u"
+ xpass "$u"
} else {
- fail "$u, not defined"
+ xfail "$u, not defined"
}
}
foreach d $defines {
send_user "$d\n"
if {[lsearch -exact $undefs $d] != -1} {
- pass "$d"
+ xpass "$d"
} else {
- fail "$d, no entry"
+ xfail "$d, no entry"
}
}