From f088d94d2526353d29b4fcde35e1adede7b6e944 Mon Sep 17 00:00:00 2001 From: Elias Pipping Date: Sun, 13 Jan 2008 09:16:09 +0100 Subject: [PATCH] * configure.ac: Correct a non-portable use of sed. --- ChangeLog | 4 ++++ configure.ac | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5b74c255f6..dd353e7406 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-13 Elias Pipping + + * configure.ac: Correct a non-portable use of sed. + 2008-01-12 Mike Frysinger * src/dircolors.hin (image formats): Add the .svg suffix. diff --git a/configure.ac b/configure.ac index 78c662abce..a42d55ec32 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # -*- autoconf -*- # Process this file with autoconf to produce a configure script. -# Copyright (C) 1991, 1993-2007 Free Software Foundation, Inc. +# Copyright (C) 1991, 1993-2008 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 @@ -279,7 +279,8 @@ no_install_progs_default=`echo "$t"|sed 's/ $//'` # The compromise is to ensure that the space-separated list extracted # above matches the literal 2nd argument below. c="$srcdir/configure.ac" -t=`sed -n '/^g''l_INCLUDE_EXCLUDE_PROG(.* [\[\(.*\)\]])/{s//\1/;s/,/ /gp}' $c` +t=`sed -n '/^g''l_INCLUDE_EXCLUDE_PROG(.* [\[\(.*\)\]])/{s//\1/;s/,/ /gp +}' $c` case $t in $no_install_progs_default) ;; *) AC_MSG_ERROR([[internal error: g'l_INCLUDE_EXCLUDE_PROG's 2nd arg, $t, -- 2.47.3