directory for _PROGRAMS.
* tests/libtoo10.test: New test.
* tests/Makefile.am: Update.
* THANKS: Update.
Report by Guillermo Ontañón.
+2007-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * automake.in (handle_programs): Also clean .libs/_libs
+ directory for _PROGRAMS.
+ * tests/libtoo10.test: New test.
+ * tests/Makefile.am: Update.
+ * THANKS: Update.
+ Report by Guillermo Ontañón.
+
2007-08-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac: Actually require version 2.60 in the test for
Greg A. Woods woods@most.weird.com
Greg Schafer gschafer@zip.com.au
Guido Draheim guidod@gmx.de
+Guillermo Ontañón gontanonext@pandasoftware.es
Gustavo Carneiro gjc@inescporto.pt
-Gwenole Beauchesne gbeauchesne@mandrakesoft.com
+Gwenole Beauchesne gbeauchesne@mandrakesoft.com
H.J. Lu hjl@lucon.org
H.Merijn Brand h.m.brand@hccnet.nl
Hans Ulrich Niedermann hun@n-dimensional.de
Harald Dunkel harald@CoWare.com
Harlan Stenn Harlan.Stenn@pfcs.com
-He Li tippa000@yahoo.com
+He Li tippa000@yahoo.com
Henrik Frystyk Nielsen frystyk@w3.org
Ian Lance Taylor ian@cygnus.com
Imacat imacat@mail.imacat.idv.tw
Mark Phillips msp@nortelnetworks.com
Markku Rossi mtr@ngs.fi
Markus F.X.J. Oberhumer k3040e4@wildsau.idv-edu.uni-linz.ac.at
-Martin Bravenboer martin@cs.uu.nl
+Martin Bravenboer martin@cs.uu.nl
Martin Frydl martin@idoox.com
Martin Waitz tali@admingilde.org
Mathias Doreille doreille@smr.ch
Per Bothner bothner@cygnus.com
Per Cederqvist ceder@lysator.liu.se
Per Oyvind Hvidsten poeh@enter.vg
-Peter Breitenlohner peb@mppmu.mpg.de
+Peter Breitenlohner peb@mppmu.mpg.de
Peter Eisentraut peter_e@gmx.net
Peter Gavin pgavin@debaser.kicks-ass.org
Peter Mattis petm@scam.XCF.Berkeley.EDU
# make sure this directory will exist.
my $dirstamp = require_build_directory_maybe ($one_file);
+ $libtool_clean_directories{dirname ($one_file)} = 1;
+
$output_rules .= &file_contents ('program',
$where,
PROGRAM => $one_file,
libtool7.test \
libtool8.test \
libtool9.test \
+libtoo10.test \
license.test \
link_c_cxx.test \
link_dist.test \
libtool7.test \
libtool8.test \
libtool9.test \
+libtoo10.test \
license.test \
link_c_cxx.test \
link_dist.test \
--- /dev/null
+#! /bin/sh
+# Copyright (C) 2007 Free Software Foundation, Inc.
+#
+# This file is part of GNU Automake.
+#
+# GNU Automake 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 3, or (at your option)
+# any later version.
+#
+# GNU Automake 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 Automake; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
+
+# Make sure .libs directories are removed for _PROGRAMS.
+# Report from Guillermo Ontañón.
+
+required=libtoolize
+. ./defs || exit 1
+set -e
+
+cat >> configure.in << 'END'
+AC_PROG_LIBTOOL
+AC_OUTPUT
+END
+
+cat > Makefile.am << 'END'
+lib_LTLIBRARIES = lib/libfoo.la
+lib_libfoo_la_SOURCES = foo.c
+bin_PROGRAMS = src/main
+check_PROGRAMS = check/test
+src_main_SOURCES = main.c
+check_test_SOURCES = main.c
+LDADD = lib/libfoo.la
+END
+
+mkdir lib src check
+cat > foo.c << 'END'
+int foo () { return 0; }
+END
+
+cat > main.c << 'END'
+extern int foo ();
+int main () { return foo (); }
+END
+
+libtoolize
+$ACLOCAL
+$AUTOMAKE --add-missing
+$AUTOCONF
+./configure
+$MAKE all check clean
+test ! -d src/.libs
+test ! -d src/_libs
+test ! -d check/.libs
+test ! -d check/_libs
+$MAKE distcheck