#! /bin/sh
#
-# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004, 2005 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
progname=$0
package=gnulib
-cvsdatestamp='$Date: 2004-10-15 22:57:10 $'
+cvsdatestamp='$Date: 2005-01-05 02:50:04 $'
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
func_verify_module
if test -n "$module"; then
{
- func_get_automake_snippet "$module" | sed -e "s,lib_SOURCES,${libname}_${libext}_SOURCES,g" -e "s,lib_OBJECTS,${libname}_${libext}_OBJECTS,g"
+ func_get_automake_snippet "$module" |
+ sed -e 's,lib_\([A-Z][A-Z]*\),'"${libname}_${libext}"'_\1,g'
if test "$module" = 'alloca'; then
- echo "${libname}_${libext}_LIBADD += @{perhapsLT}ALLOCA@"
+ echo "${libname}_${libext}_LIBADD += @${perhapsLT}ALLOCA@"
fi
} > amsnippet.tmp
# Skip the contents if its entirely empty.
)
echo "Finished."
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
+ echo
echo "Don't forget to add \"$sourcebase/Makefile\""
echo "to AC_CONFIG_FILES in \"$configure_ac\" and to mention"
echo "\"`basename $sourcebase`\" in SUBDIRS in some Makefile.am."