From: Ben Elliston Date: Sun, 31 Oct 1999 00:03:45 +0000 (+0000) Subject: 1999-10-31 Ben Elliston X-Git-Tag: autoconf-2.50~1324 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eda5fc6b7aba9ecac221e564c6daf86780822b51;p=thirdparty%2Fautoconf.git 1999-10-31 Ben Elliston * 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 . --- diff --git a/ChangeLog b/ChangeLog index 252da9c6..70cb513b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +1999-10-31 Ben Elliston + + * 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 . + 1999-10-27 Ben Elliston * THANKS: Updated Alexandre's address. diff --git a/acspecific.m4 b/acspecific.m4 index 1dca1d38..b25c5a37 100644 --- a/acspecific.m4 +++ b/acspecific.m4 @@ -520,7 +520,7 @@ dnl Set the variable $ac_cv_prog_sed_max_cmd to the maximum number 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/;" @@ -543,7 +543,7 @@ dnl AC_PROG_BINSH 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.'" diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 1dca1d38..b25c5a37 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -520,7 +520,7 @@ dnl Set the variable $ac_cv_prog_sed_max_cmd to the maximum number 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/;" @@ -543,7 +543,7 @@ dnl AC_PROG_BINSH 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.'" diff --git a/testsuite/autoconf.s/defines.exp b/testsuite/autoconf.s/defines.exp index 44be7d80..3d0eab7c 100644 --- a/testsuite/autoconf.s/defines.exp +++ b/testsuite/autoconf.s/defines.exp @@ -6,12 +6,12 @@ # 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. @@ -31,9 +31,9 @@ send_user "Checking acspecific.m4 for definitions of symbols in acconfig.h...\n" 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" } } @@ -42,8 +42,8 @@ send_user "Checking acconfig.h for symbols defined in acspecific.m4...\n" 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" } }