From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2041) id 534CB3858D28; Thu, 2 Nov 2023 02:31:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 534CB3858D28 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Vladimir Mezentsev To: bfd-cvs@sourceware.org, gdb-cvs@sourceware.org Subject: [binutils-gdb] gprofng: remove dependency on help2man X-Act-Checkin: binutils-gdb X-Git-Author: Vladimir Mezentsev X-Git-Refname: refs/heads/master X-Git-Oldrev: 2285e8952aa9e922d6529802df3f4441a30f52d9 X-Git-Newrev: 7b32e37eb68de43ef5cefe4558e314c3a28abd80 Message-Id: <20231102023114.534CB3858D28@sourceware.org> Date: Thu, 2 Nov 2023 02:31:14 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2023 02:31:14 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D7b32e37eb68d= e43ef5cefe4558e314c3a28abd80 commit 7b32e37eb68de43ef5cefe4558e314c3a28abd80 Author: Vladimir Mezentsev Date: Tue Oct 31 12:11:45 2023 -0700 gprofng: remove dependency on help2man =20 help2man is no longer used to create the gprofng man pages. =20 gprofng/ChangeLog 2023-10-31 Vladimir Mezentsev =20 * configure.ac: Remove HELP2MAN. * Makefile.in: Rebuild. * configure: Rebuild. * doc/Makefile.in: Rebuild. * gp-display-html/Makefile.in: Rebuild. * src/Makefile.in: Rebuild. Diff: --- gprofng/Makefile.in | 1 - gprofng/configure | 56 ++-------------------------------= ---- gprofng/configure.ac | 8 ------ gprofng/doc/Makefile.in | 1 - gprofng/gp-display-html/Makefile.in | 1 - gprofng/src/Makefile.in | 1 - 6 files changed, 2 insertions(+), 66 deletions(-) diff --git a/gprofng/Makefile.in b/gprofng/Makefile.in index 7e7dbe53a6c..d0b66b7350e 100644 --- a/gprofng/Makefile.in +++ b/gprofng/Makefile.in @@ -271,7 +271,6 @@ GPROFNG_LIBADD =3D @GPROFNG_LIBADD@ GPROFNG_NO_FORMAT_TRUNCATION_CFLAGS =3D @GPROFNG_NO_FORMAT_TRUNCATION_CFLA= GS@ GPROFNG_NO_SWITCH_CFLAGS =3D @GPROFNG_NO_SWITCH_CFLAGS@ GREP =3D @GREP@ -HELP2MAN =3D @HELP2MAN@ INSTALL =3D @INSTALL@ INSTALL_DATA =3D @INSTALL_DATA@ INSTALL_PROGRAM =3D @INSTALL_PROGRAM@ diff --git a/gprofng/configure b/gprofng/configure index 90f869829f6..1c6a99291be 100755 --- a/gprofng/configure +++ b/gprofng/configure @@ -643,7 +643,6 @@ BUILD_DOC_FALSE BUILD_DOC_TRUE BUILD_MAN_FALSE BUILD_MAN_TRUE -HELP2MAN zlibinc zlibdir TCL_TRY_FALSE @@ -12249,7 +12248,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12252 "configure" +#line 12251 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -12355,7 +12354,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12358 "configure" +#line 12357 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -16784,57 +16783,6 @@ fi build_man=3Dfalse build_doc=3Dfalse if test $cross_compiling =3D no; then - for ac_prog in help2man -do - # Extract the first word of "$ac_prog", so it can be a program name with= args. -set dummy $ac_prog; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_HELP2MAN+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$HELP2MAN"; then - ac_cv_prog_HELP2MAN=3D"$HELP2MAN" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_HELP2MAN=3D"$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -HELP2MAN=3D$ac_cv_prog_HELP2MAN -if test -n "$HELP2MAN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5 -$as_echo "$HELP2MAN" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$HELP2MAN" && break -done -test -n "$HELP2MAN" || HELP2MAN=3D"$MISSING help2man" - - case "x$HELP2MAN" in - x | */missing\ help2man* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gprofng: help2man = is missing. Man pages will not be built." >&5 -$as_echo "$as_me: WARNING: gprofng: help2man is missing. Man pages will no= t be built." >&2;} - ;; - * ) build_man=3Dtrue ;; - esac - for ac_prog in makeinfo do # Extract the first word of "$ac_prog", so it can be a program name with= args. diff --git a/gprofng/configure.ac b/gprofng/configure.ac index 7938d7b2cb0..6b8fe262748 100644 --- a/gprofng/configure.ac +++ b/gprofng/configure.ac @@ -208,14 +208,6 @@ AM_ZLIB build_man=3Dfalse build_doc=3Dfalse if test $cross_compiling =3D no; then - AC_CHECK_PROGS([HELP2MAN], help2man, [$MISSING help2man]) - case "x$HELP2MAN" in - x | */missing\ help2man* ) - AC_MSG_WARN([gprofng: help2man is missing. Man pages will not be bui= lt.]) - ;; - * ) build_man=3Dtrue ;; - esac - AC_CHECK_PROGS([MAKEINFO], makeinfo, [$MISSING makeinfo]) case "x$MAKEINFO" in x | */missing\ makeinfo*) diff --git a/gprofng/doc/Makefile.in b/gprofng/doc/Makefile.in index 78f8ae11fc7..0b38534ca7b 100644 --- a/gprofng/doc/Makefile.in +++ b/gprofng/doc/Makefile.in @@ -254,7 +254,6 @@ GPROFNG_LIBADD =3D @GPROFNG_LIBADD@ GPROFNG_NO_FORMAT_TRUNCATION_CFLAGS =3D @GPROFNG_NO_FORMAT_TRUNCATION_CFLA= GS@ GPROFNG_NO_SWITCH_CFLAGS =3D @GPROFNG_NO_SWITCH_CFLAGS@ GREP =3D @GREP@ -HELP2MAN =3D @HELP2MAN@ INSTALL =3D @INSTALL@ INSTALL_DATA =3D @INSTALL_DATA@ INSTALL_PROGRAM =3D @INSTALL_PROGRAM@ diff --git a/gprofng/gp-display-html/Makefile.in b/gprofng/gp-display-html/= Makefile.in index 21cc1c6623b..20c3eaac5fd 100644 --- a/gprofng/gp-display-html/Makefile.in +++ b/gprofng/gp-display-html/Makefile.in @@ -213,7 +213,6 @@ GPROFNG_LIBADD =3D @GPROFNG_LIBADD@ GPROFNG_NO_FORMAT_TRUNCATION_CFLAGS =3D @GPROFNG_NO_FORMAT_TRUNCATION_CFLA= GS@ GPROFNG_NO_SWITCH_CFLAGS =3D @GPROFNG_NO_SWITCH_CFLAGS@ GREP =3D @GREP@ -HELP2MAN =3D @HELP2MAN@ INSTALL =3D @INSTALL@ INSTALL_DATA =3D @INSTALL_DATA@ INSTALL_PROGRAM =3D @INSTALL_PROGRAM@ diff --git a/gprofng/src/Makefile.in b/gprofng/src/Makefile.in index 47da873b80c..b45bf3284cc 100644 --- a/gprofng/src/Makefile.in +++ b/gprofng/src/Makefile.in @@ -337,7 +337,6 @@ GPROFNG_LIBADD =3D @GPROFNG_LIBADD@ GPROFNG_NO_FORMAT_TRUNCATION_CFLAGS =3D @GPROFNG_NO_FORMAT_TRUNCATION_CFLA= GS@ GPROFNG_NO_SWITCH_CFLAGS =3D @GPROFNG_NO_SWITCH_CFLAGS@ GREP =3D @GREP@ -HELP2MAN =3D @HELP2MAN@ INSTALL =3D @INSTALL@ INSTALL_DATA =3D @INSTALL_DATA@ INSTALL_PROGRAM =3D @INSTALL_PROGRAM@