* configure.ac: Correct a non-portable use of sed.
authorElias Pipping <pipping@gentoo.org>
Sun, 13 Jan 2008 08:16:09 +0000 (09:16 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 13 Jan 2008 08:16:09 +0000 (09:16 +0100)
ChangeLog
configure.ac

index 5b74c25..dd353e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-13  Elias Pipping  <pipping@gentoo.org>
+
+       * configure.ac: Correct a non-portable use of sed.
+
 2008-01-12  Mike Frysinger  <vapier@gentoo.org>
 
        * src/dircolors.hin (image formats): Add the .svg suffix.
index 78c662a..a42d55e 100644 (file)
@@ -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,