# HG changeset patch # User Bruno Haible # Date 1173152310 0 # Node ID 72f47158c69445e5456d8f8bfd01bd6660b4e009 # Parent a1f364a82df31f1be21c1cbbcc12c8cec238292d Special handling for the 'relocatable-prog-wrapper' module. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-05 Bruno Haible + + * gnulib-tool (func_get_automake_snippet): Don't synthesize an + EXTRA_lib_SOURCES augmentation for the relocatable-prog-wrapper module. + 2007-03-05 Bruno Haible * lib/stdio_.h: Include . diff --git a/gnulib-tool b/gnulib-tool --- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2007-02-04 19:09:25 $' +cvsdatestamp='$Date: 2007-03-06 03:38:30 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` nl=' @@ -1008,12 +1008,17 @@ # If some .c file exists and is not used with AC_LIBOBJ - for example, # a .c file is preprocessed into another .c file for BUILT_SOURCES -, # automake will generate a useless dependency; this is harmless. - sed_extract_c_files='/\.c$/p' - extra_files=`echo "$extra_files" | sed -n -e "$sed_extract_c_files"` - if test -n "$extra_files"; then - echo "EXTRA_lib_SOURCES +=" $extra_files - echo - fi + case "$1" in + relocatable-prog-wrapper) ;; + *) + sed_extract_c_files='/\.c$/p' + extra_files=`echo "$extra_files" | sed -n -e "$sed_extract_c_files"` + if test -n "$extra_files"; then + echo "EXTRA_lib_SOURCES +=" $extra_files + echo + fi + ;; + esac ;; esac }