From 9ec7ae4279f646ef070a122c92085b08a615ab8a Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Thu, 7 Sep 2000 07:25:39 +0000 Subject: [PATCH] * configure.in (AC_PROG_AWK): Removed -- no longer required by the build process. * lineno: ditto. --- ChangeLog | 4 +++ configure.in | 3 -- lineno | 98 ---------------------------------------------------- 3 files changed, 4 insertions(+), 101 deletions(-) delete mode 100755 lineno diff --git a/ChangeLog b/ChangeLog index 1c6e806aa..80b519cea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2000-09-07 Gary V. Vaughan + * configure.in (AC_PROG_AWK): Removed -- no longer required by + the build process. + * lineno: ditto. + * libtoolize.in (files): Don't try to install ltconfig -- it doesn't exist!! * bootstrap: Fake an ltconfig incase the installed automake diff --git a/configure.in b/configure.in index 82052143a..3dc0beb01 100644 --- a/configure.in +++ b/configure.in @@ -39,9 +39,6 @@ AM_PROG_NM AC_SUBST(NM) AC_PROG_LN_S -dnl For the `lineno' script (which puts line numbers into `ltmain.sh'). -AC_PROG_AWK - dnl Check for win32 dll support AC_LIBTOOL_WIN32_DLL diff --git a/lineno b/lineno deleted file mode 100755 index 7ee92da8b..000000000 --- a/lineno +++ /dev/null @@ -1,98 +0,0 @@ -#! /bin/sh -# lineno - Replace instances of @LINENO@ with the file's current line number -# Gordon Matzigkeit , 1997 - -# Copyright (C) 1992-2000 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, 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., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -AWK=${AWK-awk} -delete=no -files= -progname=`echo "$0" | sed 's%^.*/%%'` - -for arg -do - case "$arg" in - --delete) delete=yes ;; - - --help) - cat <&2 - exit 1 - ;; - - *) files="$files $arg" ;; - esac -done - -if test -z "$files"; then - echo "$progname: no FILES specified" 1>&2 - exit 1 -fi - -# Manage a temp file. -tmpfile="$progname.$$" -trap "rm -f $tmpfile; exit 1" 1 2 15 - -status=0 -for file in $files; do - if test -f "$file"; then : - else - status=1 - echo "$progname: \`$file' is not a file" 1>&2 - fi - - # Skip empty files. - test -s "$file" || continue - - # Transliterated from a section in autoconf (Autoconf 2.12). - $AWK ' - /@LINENO@/ { printf "%d:", NR } - { print } -' $file | sed '/@LINENO@/s/^\([0-9][0-9]*\):\(.*\)@LINENO@/\2\1/' > $tmpfile - - if test -s "$tmpfile"; then - cp $tmpfile $file && continue - fi - - if test "$delete" = yes; then - echo "$progname: deleting \`$file'" 1>&2 - rm -f $file - fi -done - -rm -f $tmpfile -exit $status -- 2.47.3