From: Bruno Haible Date: Fri, 15 Oct 2004 20:20:11 +0000 (+0000) Subject: Provisions for defining LTALLOCA. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32712a7f713b2a366f8f0eb637c99e2fc1f023ea;p=pspp Provisions for defining LTALLOCA. --- diff --git a/ChangeLog b/ChangeLog index d5ebf22c90..9b95d1089a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-10-15 Bruno Haible + + * gnulib-tool (func_import): Let gl_INIT define LT_ALLOCA when needed. + 2004-10-15 Bruno Haible * gnulib-tool (func_emit_lib_Makefile_am): Add markers to separate diff --git a/gnulib-tool b/gnulib-tool index a18fdc54ab..d43afed5bc 100755 --- 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_import () 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 "])"