Mercurial > hg > octave-nkf > gnulib-hg
changeset 5356:144b29bba7b7
Provisions for defining LTALLOCA.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 15 Oct 2004 20:20:11 +0000 |
parents | 774ea1c956d0 |
children | 8bce169f70cc |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-10-15 Bruno Haible <bruno@clisp.org> + + * gnulib-tool (func_import): Let gl_INIT define LT_ALLOCA when needed. + 2004-10-15 Bruno Haible <bruno@clisp.org> * gnulib-tool (func_emit_lib_Makefile_am): Add markers to separate
--- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2004-10-15 16:54:14 $' +cvsdatestamp='$Date: 2004-10-15 20:20:11 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -589,6 +589,12 @@ func_verify_module if test -n "$module"; then func_get_autoconf_snippet "$module" | sed -e '/^$/d;' -e 's/^/ /' -e 's/AM_GNU_GETTEXT(\[external\])/dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac./' + if test "$module" = 'alloca' && test -n "$libtool; then + echo 'changequote(,)dnl' + echo 'LTALLOCA=`echo "$ALLOCA" | sed '"'"'s/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'"'"'`' + echo 'changequote([, ])dnl' + echo 'AC_SUBST(LTALLOCA)' + fi fi done echo "])"