From: Elias Pipping Date: Sun, 13 Jan 2008 08:16:09 +0000 (+0100) Subject: * configure.ac: Correct a non-portable use of sed. X-Git-Tag: v6.10~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f088d94d2526353d29b4fcde35e1adede7b6e944;p=platform%2Fupstream%2Fcoreutils.git * configure.ac: Correct a non-portable use of sed. --- diff --git a/ChangeLog b/ChangeLog index 5b74c25..dd353e7 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 78c662a..a42d55e 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,