gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11813: remove the existing libltdl


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11813: remove the existing libltdl directory so we don't wind up with a mashup of versions.
Date: Wed, 27 Jan 2010 14:10:29 -0700
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 11813
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Wed 2010-01-27 14:10:29 -0700
message:
  remove the existing libltdl directory so we don't wind up with a mashup of 
versions.
modified:
  autogen.sh
=== modified file 'autogen.sh'
--- a/autogen.sh        2010-01-01 17:48:26 +0000
+++ b/autogen.sh        2010-01-27 21:10:29 +0000
@@ -110,22 +110,25 @@
   am_opt=--include-deps;;
 esac
 
-# Rather than have libltdl run it's own configure, the few tests libltdl needed
-# were added to the main configure.ac. As we need to look at config.h in header
-# files, which may conflict with other versions of config.h, this has been
-# renamed to gnashconfig,h to be unique. As the files libtoolize copies insist
-# on using config.h, we just edit the name, rather than adding a fixed copy to
-# Gnash.
+# Rather than have libltdl run it's own configure, the few tests
+# libltdl needed were added to the main configure.ac. As we need to
+# look at config.h in header files, which may conflict with other
+# versions of config.h, this has been renamed to gnashconfig,h to be
+# unique. As the files libtoolize copies insist on using config.h, we
+# just edit the name, rather than adding a fixed copy to Gnash.
 #
-# This gets more interesting with libtool 2.x, which heavily changed how 
everything
-# worked. Where libtool 1.5 installed only a header and had a single source 
file,
-# libtool 2.x has an entire sub directory tree of headers and source files.
-# So for libtool 1.5.x, we do everything the way this has always worked for 
Gnash.
-# For libtool 2.x, we install in a subdirectory of libbase, because we have to
-# hack the build directory, and everything configures tottally differernt than 
1.5.x
-# used to. For more fun, libtoolize has different command line arguments, but 
one thing
-# that got fixed is for libtool 2.x there is an #define for the config file 
name, but
-# for libtool 1.5 it expects config.h always, so we change this to 
gnashconfig.h.
+# This gets more interesting with libtool 2.x, which heavily changed
+# how everything worked. Where libtool 1.5 installed only a header and
+# had a single source file, libtool 2.x has an entire sub directory
+# tree of headers and source files. So for libtool 1.5.x, we do
+# everything the way this has always worked for Gnash. For libtool
+# 2.x, we install in a subdirectory of libbase, because we have to
+# hack the build directory, and everything configures tottally
+# differernt than 1.5.x used to. For more fun, libtoolize has
+# different command line arguments, but one thing that got fixed is
+# for libtool 2.x there is an #define for the config file name, but
+# for libtool 1.5 it expects config.h always, so we change this to
+# gnashconfig.h.
 ltdlver=`${LIBTOOLIZE:-libtoolize} --version | head -1 | cut -d ' ' -f 4`
 ltdlmajor=`echo $ltdlver | cut -d '.' -f 1`
 if test -z "$NO_LIBTOOLIZE" ; then
@@ -135,6 +138,10 @@
     libtoolflags="${libtoolflags} ${ltbasedir} --quiet --recursive"
   fi
   echo "Running libtoolize $ltdlver ${libtoolflags} ..."
+  # We have to remove the old libltdl sources, as it's entirely
+  # possible these files are being regenerated on a machine with a
+  # different version of libtoolize.
+  rm -fr libltdl
   if ${LIBTOOLIZE:-libtoolize} ${libtoolflags}; then
     # libtool insists on including config.h, but we use gnashconfig.h
     # to avoid any problems, so we have to change this include


reply via email to

[Prev in Thread] Current Thread [Next in Thread]