From 5684f75fa66cc33a8cfaa9ee904a008e2a5c5f47 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 17 Apr 2022 12:53:37 +0200 Subject: [PATCH] `AC_CHECK_PROGS(SED,...)` -> `AC_PROG_SED` * `AC_PROG_SED` is more portable and the Autoconf builtin. --- configure.ac | 2 +- tclpkg/gv/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 29e6121c7..070a8e915 100644 --- a/configure.ac +++ b/configure.ac @@ -267,12 +267,12 @@ dnl checks for various programs AM_PROG_LEX AC_PROG_YACC AC_PROG_AWK +AC_PROG_SED AC_PROG_INSTALL AC_PROG_LN_S LT_INIT # prefer GNU variants over, say, Oracle's or Apples -AC_CHECK_PROGS(SED,gsed sed,false) AC_CHECK_PROGS(SORT,gsort sort,false) AC_CHECK_PROG(EGREP,egrep,egrep,false) diff --git a/tclpkg/gv/Makefile.am b/tclpkg/gv/Makefile.am index b3836b3ad..cdbca4ca3 100644 --- a/tclpkg/gv/Makefile.am +++ b/tclpkg/gv/Makefile.am @@ -148,7 +148,7 @@ gv.ml gv.mli: gv_ocaml.cpp gv_ocaml.cpp: gv.i $(SWIG) -c++ -ocaml -o $@ $(srcdir)/gv.i mv $@ $@.orig - sed '/int caml_array_length/d' $@.orig > $@ + $(SED) '/int caml_array_length/d' $@.orig > $@ rm $@.orig swig.mli: $(SWIG) -ocaml -co $@ -- 2.40.0