Mercurial > hg > octave-lyh > gnulib-hg
changeset 4171:c2c0e7e2e7bd
Ensure alloca.h and stdbool.h are created before compiling the library.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 13 Jan 2003 16:03:12 +0000 |
parents | 733dc39fdf11 |
children | 5321105558d8 |
files | ChangeLog gnulib-tool modules/alloca modules/stdbool |
diffstat | 4 files changed, 10 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-01-11 Bruno Haible <bruno@clisp.org> + + * gnulib-tool (func_create_testdir): Substitute lib_OBJECTS. + * modules/alloca (Makefile.am): All object files depend on alloca.h. + * modules/stdbool (Makefile.am): All object files depend on stdbool.h. + 2003-01-12 Paul Eggert <eggert@twinsun.com> Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
--- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2003-01-09 13:22:53 $' +cvsdatestamp='$Date: 2003-01-13 16:03:12 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -348,7 +348,7 @@ for module in $modules; do func_verify_module if test -n "$module"; then - func_get_automake_snippet "$module" | sed -e "s,lib_SOURCES,$libname"'_a_SOURCES,g' + func_get_automake_snippet "$module" | sed -e "s,lib_SOURCES,$libname"'_a_SOURCES,g' -e "s,lib_OBJECTS,$libname"'_a_OBJECTS,g' if test "$module" = 'alloca'; then echo "$libname"'_a_LIBADD += @ALLOCA@' echo '#'"$libname"'_la_LIBADD += @LTALLOCA@'
--- a/modules/alloca +++ b/modules/alloca @@ -17,7 +17,7 @@ # The following is needed in order to create an <alloca.h> when the system # doesn't have one that works with the given compiler. -all-local: @ALLOCA_H@ +all-local $(lib_OBJECTS): @ALLOCA_H@ alloca.h: alloca_.h cp $(srcdir)/alloca_.h alloca.h MOSTLYCLEANFILES += alloca.h
--- a/modules/stdbool +++ b/modules/stdbool @@ -14,7 +14,7 @@ # The following is needed in order to create an <stdbool.h> when the system # doesn't have one that works. -all-local: @STDBOOL_H@ +all-local $(lib_OBJECTS): @STDBOOL_H@ stdbool.h: stdbool.h.in sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' < $(srcdir)/stdbool.h.in > stdbool.h MOSTLYCLEANFILES += stdbool.h