From: Akim Demaille Date: Thu, 10 Feb 2000 09:42:36 +0000 (+0000) Subject: * acspecific.m4 (AC_PROG_SED): Removed. X-Git-Tag: autoconf-2.50~1164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dbe69988a0f88b38433db542302636b8adb08f1;p=thirdparty%2Fautoconf.git * acspecific.m4 (AC_PROG_SED): Removed. --- diff --git a/ChangeLog b/ChangeLog index c3810c310..6b7a901fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-02-10 Akim Demaille + + * acspecific.m4 (AC_PROG_SED): Removed. + 2000-02-10 Akim Demaille AC_CHECK_FILES has never worked properly. diff --git a/acspecific.m4 b/acspecific.m4 index 2df11dd9e..8a4e8c91d 100644 --- a/acspecific.m4 +++ b/acspecific.m4 @@ -614,32 +614,6 @@ AC_DEFUN(AC_PROG_AWK, [AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )]) -# AC_PROG_SED -# ----------- -# Check whether the first sed in the path supports long scripts. -# Set the variable $ac_cv_prog_sed_max_cmd to the maximum number -# of commands to put in a sed script, `infinite' meaning a priori -# infinite. -# This macro is not documented on purpose. -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 2^4 = 16 lines of 10 commands. -for ac_cnt in 0 1 2 3 -do - cat conftest.s conftest.s >conftest.s1 - mv conftest.s1 conftest.s -done -if test "`echo 0 | sed -f conftest.s`" != 0; then -dnl HP-UX sed dies with scripts longer than 100 commands. - ac_cv_prog_sed_max_cmd=100 -else - ac_cv_prog_sed_max_cmd=infinite -fi -])dnl -]) - # AC_PROG_BINSH # ------------- # Check the maximum length of an here document. diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 2df11dd9e..8a4e8c91d 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -614,32 +614,6 @@ AC_DEFUN(AC_PROG_AWK, [AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )]) -# AC_PROG_SED -# ----------- -# Check whether the first sed in the path supports long scripts. -# Set the variable $ac_cv_prog_sed_max_cmd to the maximum number -# of commands to put in a sed script, `infinite' meaning a priori -# infinite. -# This macro is not documented on purpose. -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 2^4 = 16 lines of 10 commands. -for ac_cnt in 0 1 2 3 -do - cat conftest.s conftest.s >conftest.s1 - mv conftest.s1 conftest.s -done -if test "`echo 0 | sed -f conftest.s`" != 0; then -dnl HP-UX sed dies with scripts longer than 100 commands. - ac_cv_prog_sed_max_cmd=100 -else - ac_cv_prog_sed_max_cmd=infinite -fi -])dnl -]) - # AC_PROG_BINSH # ------------- # Check the maximum length of an here document.