comparison gnulib-tool @ 8356:72f47158c694

Special handling for the 'relocatable-prog-wrapper' module.
author Bruno Haible <bruno@clisp.org>
date Tue, 06 Mar 2007 03:38:30 +0000
parents 0951beec5b89
children bf7fdc3211a4
comparison
equal deleted inserted replaced
8355:a1f364a82df3 8356:72f47158c694
20 # This program is meant for authors or maintainers which want to import 20 # This program is meant for authors or maintainers which want to import
21 # modules from gnulib into their packages. 21 # modules from gnulib into their packages.
22 22
23 progname=$0 23 progname=$0
24 package=gnulib 24 package=gnulib
25 cvsdatestamp='$Date: 2007-02-04 19:09:25 $' 25 cvsdatestamp='$Date: 2007-03-06 03:38:30 $'
26 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` 26 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
27 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` 27 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
28 nl=' 28 nl='
29 ' 29 '
30 30
1006 # inside autoconf's built-in macros are not missed). 1006 # inside autoconf's built-in macros are not missed).
1007 # But it's simpler and more robust to do it here, based on the file list. 1007 # But it's simpler and more robust to do it here, based on the file list.
1008 # If some .c file exists and is not used with AC_LIBOBJ - for example, 1008 # If some .c file exists and is not used with AC_LIBOBJ - for example,
1009 # a .c file is preprocessed into another .c file for BUILT_SOURCES -, 1009 # a .c file is preprocessed into another .c file for BUILT_SOURCES -,
1010 # automake will generate a useless dependency; this is harmless. 1010 # automake will generate a useless dependency; this is harmless.
1011 sed_extract_c_files='/\.c$/p' 1011 case "$1" in
1012 extra_files=`echo "$extra_files" | sed -n -e "$sed_extract_c_files"` 1012 relocatable-prog-wrapper) ;;
1013 if test -n "$extra_files"; then 1013 *)
1014 echo "EXTRA_lib_SOURCES +=" $extra_files 1014 sed_extract_c_files='/\.c$/p'
1015 echo 1015 extra_files=`echo "$extra_files" | sed -n -e "$sed_extract_c_files"`
1016 fi 1016 if test -n "$extra_files"; then
1017 echo "EXTRA_lib_SOURCES +=" $extra_files
1018 echo
1019 fi
1020 ;;
1021 esac
1017 ;; 1022 ;;
1018 esac 1023 esac
1019 } 1024 }
1020 1025
1021 # func_get_include_directive module 1026 # func_get_include_directive module