mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-18 10:45:15 +08:00
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>.
This commit is contained in:
parent
7e49021235
commit
eda5fc6b7a
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
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.
|
||||
|
@ -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.'"
|
||||
|
@ -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.'"
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user