You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Mo DeJong <su...@bayarea.net> on 2001/10/03 10:42:47 UTC

Patch to remove generated libtool files (repost)

Hiya.

Could someone with CVS access apply this patch? It fixes a problem
that could show up if someone were to run ./buildconf using
libtool 1.3 and then again with libtool 1.4. It is an unlikely
edge case and there is no way this patch could break anything.

thanks
Mo DeJong

Index: buildconf
===================================================================
RCS file: /home/cvspublic/apr/buildconf,v
retrieving revision 1.20
diff -u -r1.20 buildconf
--- buildconf	2001/09/23 02:30:56	1.20
+++ buildconf	2001/09/27 22:42:04
@@ -74,6 +74,9 @@
 #
 echo "Copying libtool helper files ..."
 
+# Remove any libtool files so one can switch between libtool 1.3
+# and libtool 1.4 by simply rerunning the buildconf script.
+(cd build ; rm -f ltconfig ltmain.sh libtool.m4)
 $libtoolize --copy --automake
 
 ltpath=`dirname $libtoolize`
@@ -84,7 +87,6 @@
     exit 1
 fi
 
-rm -f build/libtool.m4
 cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
 
 # This is just temporary until people's workspaces are cleared -- remove

Re: Patch to remove generated libtool files (repost)

Posted by Greg Stein <gs...@lyra.org>.
Applied. Thanks!


On Wed, Oct 03, 2001 at 01:42:47AM -0700, Mo DeJong wrote:
> Hiya.
> 
> Could someone with CVS access apply this patch? It fixes a problem
> that could show up if someone were to run ./buildconf using
> libtool 1.3 and then again with libtool 1.4. It is an unlikely
> edge case and there is no way this patch could break anything.
> 
> thanks
> Mo DeJong
> 
> Index: buildconf
> ===================================================================
> RCS file: /home/cvspublic/apr/buildconf,v
> retrieving revision 1.20
> diff -u -r1.20 buildconf
> --- buildconf	2001/09/23 02:30:56	1.20
> +++ buildconf	2001/09/27 22:42:04
> @@ -74,6 +74,9 @@
>  #
>  echo "Copying libtool helper files ..."
>  
> +# Remove any libtool files so one can switch between libtool 1.3
> +# and libtool 1.4 by simply rerunning the buildconf script.
> +(cd build ; rm -f ltconfig ltmain.sh libtool.m4)
>  $libtoolize --copy --automake
>  
>  ltpath=`dirname $libtoolize`
> @@ -84,7 +87,6 @@
>      exit 1
>  fi
>  
> -rm -f build/libtool.m4
>  cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
>  
>  # This is just temporary until people's workspaces are cleared -- remove

-- 
Greg Stein, http://www.lyra.org/