From 2049bbfafa548840d926b4ad440e391513f4cc3c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 13 May 2005 07:01:19 +0000 Subject: [PATCH] (func_import): Sort and uniquify recommended includes. --- gnulib-tool | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnulib-tool b/gnulib-tool index 1acf074e44..6ed67ad3fe 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2005-04-21 22:10:05 $' +cvsdatestamp='$Date: 2005-05-13 07:01:19 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -699,8 +699,8 @@ func_import () echo echo "You may need to add #include directives for the following .h files." for module in $modules; do - func_get_include_directive "$module" | sed -e '/^$/d;' -e 's/^/ /' - done + func_get_include_directive "$module" + done | LC_ALL=C sort -u | sed -e '/^$/d;' -e 's/^/ /' echo echo "Don't forget to add \"$sourcebase/Makefile\"" echo "to AC_CONFIG_FILES in \"$configure_ac\" and to mention" -- 2.30.2