libtool-patches
[Top][All Lists]
Advanced

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

FYI: ltdl recursive tests [296]


From: Gary V. Vaughan
Subject: FYI: ltdl recursive tests [296]
Date: Mon, 7 Nov 2005 14:17:02 +0000 (GMT)
User-agent: mailnotify/0.7

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied to HEAD.

  * looking for address@hidden/libtool--devo--1.0--patch-360 to compare with
  * comparing to address@hidden/libtool--devo--1.0--patch-360
  A  tests/.arch-ids/recursive.at.id
  A  tests/recursive.at
  M  Makefile.am
  M  ChangeLog
  M  tests/testsuite.at
  
  * modified files
  
  Index: Changelog
  from  Gary V. Vaughan  <address@hidden>
        * tests/recursive.at: New tests for libltdl as a subdirectory,
        configured and compiled from the toplevel project using a
        recursive make..
        * tests/testsuite.at: Use it.
        * Makefile.am (TESTSUITE_AT): Depend on it.
  
  --- orig/Makefile.am
  +++ mod/Makefile.am
  @@ -364,6 +364,7 @@
                  tests/libtoolize.at \
                  tests/nonrecursive.at \
                  tests/old-m4-iface.at \
  +               tests/recursive.at \
                  tests/standalone.at \
                  tests/deplibs-ident.at \
                  tests/stresstest.at \
  
  
  --- orig/tests/testsuite.at
  +++ mod/tests/testsuite.at
  @@ -165,6 +165,8 @@
   m4_include([subproject.at])
   # nonrecursive libltdl compilation
   m4_include([nonrecursive.at])
  +# recursive libltdl compilation
  +m4_include([recursive.at])
   # C++ templates tests
   m4_include([template.at])
   # Behaviour of LT_OUTPUT
  
  
  
  * added files
  
  --- /dev/null
  +++ 
/Users/gary/devel/savannah/libtool--devo--1.0/,,address@hidden/new-files-archive/./tests/.arch-ids/recursive.at.id
  @@ -0,0 +1 @@
  +Gary V. Vaughan <address@hidden> Mon Nov  7 12:46:36 2005 1331.0
  --- /dev/null
  +++ 
/Users/gary/devel/savannah/libtool--devo--1.0/,,address@hidden/new-files-archive/./tests/recursive.at
  @@ -0,0 +1,110 @@
  +# Hand crafted tests for GNU Libtool.                         -*- Autotest 
-*-
  +# Copyright 2005 Free Software Foundation, Inc.
  +
  +# This program is free software; you can redistribute it and/or modify
  +# it under the terms of the GNU General Public License as published by
  +# the Free Software Foundation; either version 2, or (at your option)
  +# any later version.
  +
  +# This program is distributed in the hope that it will be useful,
  +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  +# GNU General Public License for more details.
  +
  +# You should have received a copy of the GNU General Public License
  +# along with this program; if not, write to the Free Software
  +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  +# 02111-1307, USA.
  +
  +AT_BANNER([Recursive Automake Libltdl.])
  +
  +# _LTDL_SETUP
  +# -----------
  +m4_pushdef([_LTDL_SETUP],
  +[AT_DATA([configure.ac],
  +[[AC_INIT([subdirectory-demo], ]AT_PACKAGE_VERSION[, ]AT_PACKAGE_BUGREPORT[)
  +LT_CONFIG_LTDL_DIR([ltdl], [recursive])
  +AC_CONFIG_AUX_DIR([ltdl/config])
  +AC_CONFIG_MACRO_DIR([ltdl/m4])
  +AC_CONFIG_LIBOBJ_DIR([ltdl])
  +AM_INIT_AUTOMAKE([foreign])
  +LT_INIT
  +LT_WITH_LTDL
  +AC_CONFIG_FILES([Makefile ltdl/Makefile])
  +AC_OUTPUT
  +]])
  +
  +AT_DATA([Makefile.am],
  +[[ACLOCAL_AMFLAGS = -I ltdl/m4
  +SUBDIRS = ltdl
  +lib_LTLIBRARIES = foo.la
  +foo_la_LDFLAGS = -module -avoid-version
  +]])
  +
  +echo 'static int dummy = 0;' > foo.c
  +])# _LTDL_SETUP
  +
  +## ------------------------ ##
  +## Softlinked libltdl tree. ##
  +## ------------------------ ##
  +
  +AT_SETUP([compiling softlinked libltdl])
  +
  +_LTDL_SETUP
  +
  +LT_AT_LIBTOOLIZE([--ltdl])
  +AT_CHECK([if test -f ltdl/configure.ac; then false; fi])
  +
  +LT_AT_AUTORECONF([--force --verbose --install])
  +LT_AT_CONFIGURE
  +LT_AT_MAKE
  +
  +AT_CHECK([test -f ltdl/libltdlc.la])
  +
  +AT_CLEANUP
  +
  +
  +## -------------------- ##
  +## Copied libltdl tree. ##
  +## -------------------- ##
  +
  +AT_SETUP([compiling copied libltdl])
  +
  +_LTDL_SETUP
  +
  +LT_AT_LIBTOOLIZE([--copy --ltdl])
  +AT_CHECK([if test -f ltdl/configure.ac; then false; fi])
  +
  +LT_AT_AUTORECONF([--force --verbose --install])
  +LT_AT_CONFIGURE
  +LT_AT_MAKE
  +
  +AT_CHECK([test -f ltdl/libltdlc.la])
  +
  +AT_CLEANUP
  +
  +
  +## ------------------------- ##
  +## Installable libltdl tree. ##
  +## ------------------------- ##
  +
  +AT_SETUP([installable libltdl])
  +
  +_LTDL_SETUP
  +
  +prefix=`pwd`/_inst
  +
  +LT_AT_LIBTOOLIZE([--copy --ltdl])
  +AT_CHECK([if test -f ltdl/configure.ac; then false; fi])
  +
  +LT_AT_AUTORECONF([--force --verbose --install])
  +LT_AT_CONFIGURE([--enable-ltdl-install --prefix=$prefix])
  +LT_AT_MAKE([all install])
  +
  +AT_CHECK([test -f $prefix/lib/libltdl.la])
  +AT_CHECK([test -f $prefix/include/ltdl.h])
  +
  +AT_CLEANUP
  +
  +dnl Be careful not to let the definition leak into other tests
  +m4_popdef([_LTDL_SETUP])
  
- -- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 1.0
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDb2HcFRMICSmD1gYRAsRQAJ9q1AnlFoemzM0N+Gvtbl1UwuLXmQCfUbS5
RVkbHX0QM4/YWSIHgBe2HBw=
=V9Ft
-----END PGP SIGNATURE-----




reply via email to

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