[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ libtool build error?
From: |
Bruno Haible |
Subject: |
Re: C++ libtool build error? |
Date: |
Sun, 28 Mar 2010 18:07:24 +0100 |
User-agent: |
KMail/1.9.9 |
Simon Josefsson wrote on 2010-03-17:
> > - The C++ tests of the modules 'string', 'stdlib', etc.
> > - The tests that ask for the superuser password ('idpriv-drop',
> > 'idpriv-droptemp').
> > - The long-running tests of the 'havelib' module (currently still in
> > gettext).
>
> I agree, having a mechanism to handle this would be useful.
Thanks for your opinion; it is now implemented.
> > Additionally, the user who installs a package might want to disable the C++
> > part even if it is packaged as part of the tarball. I'm applying this.
>
> Thanks, but the original problem is still not addressed -- building
> libidn (and libunistring, and likely other projects too) fails after the
> C++ self-tests were introduced in gnulib. What is the supported
> solution for that problem?
This fixes it:
2010-03-28 Bruno Haible <address@hidden>
Split C++ tests into separate tests modules.
* modules/dirent-c++-tests: New file, extracted from
modules/dirent-tests.
* modules/dirent-tests: Depend on it.
* modules/fcntl-h-c++-tests: New file, extracted from
modules/fcntl-h-tests.
* modules/fcntl-h-tests: Depend on it.
* modules/glob-c++-tests: New file, extracted from modules/glob-tests.
* modules/glob-tests: Depend on it.
* modules/iconv-h-c++-tests: New file, extracted from
modules/iconv-h-tests.
* modules/iconv-h-tests: Depend on it.
* modules/langinfo-c++-tests: New file, extracted from
modules/langinfo-tests.
* modules/langinfo-tests: Depend on it.
* modules/locale-c++-tests: New file, extracted from
modules/locale-tests.
* modules/locale-tests: Depend on it.
* modules/math-c++-tests: New file, extracted from modules/math-tests.
* modules/math-tests: Depend on it.
* modules/pty-c++-tests: New file, extracted from modules/pty-tests.
* modules/pty-tests: Depend on it.
* modules/search-c++-tests: New file, extracted from
modules/search-tests.
* modules/search-tests: Depend on it.
* modules/signal-c++-tests: New file, extracted from
modules/signal-tests.
* modules/signal-tests: Depend on it.
* modules/spawn-c++-tests: New file, extracted from
modules/spawn-tests.
* modules/spawn-tests: Depend on it.
* modules/stdio-c++-tests: New file, extracted from
modules/stdio-tests.
* modules/stdio-tests: Depend on it.
* modules/stdlib-c++-tests: New file, extracted from
modules/stdlib-tests.
* modules/stdlib-tests: Depend on it.
* modules/string-c++-tests: New file, extracted from
modules/string-tests.
* modules/string-tests: Depend on it.
* modules/sys_ioctl-c++-tests: New file, extracted from
modules/sys_ioctl-tests.
* modules/sys_ioctl-tests: Depend on it.
* modules/sys_select-c++-tests: New file, extracted from
modules/sys_select-tests.
* modules/sys_select-tests: Depend on it.
* modules/sys_socket-c++-tests: New file, extracted from
modules/sys_socket-tests.
* modules/sys_socket-tests: Depend on it.
* modules/sys_stat-c++-tests: New file, extracted from
modules/sys_stat-tests.
* modules/sys_stat-tests: Depend on it.
* modules/sys_time-c++-tests: New file, extracted from
modules/sys_time-tests.
* modules/sys_time-tests: Depend on it.
* modules/time-c++-tests: New file, extracted from modules/time-tests.
* modules/time-tests: Depend on it.
* modules/unistd-c++-tests: New file, extracted from
modules/unistd-tests.
* modules/unistd-tests: Depend on it.
* modules/wchar-c++-tests: New file, extracted from
modules/wchar-tests.
* modules/wchar-tests: Depend on it.
* modules/wctype-c++-tests: New file, extracted from
modules/wctype-tests.
* modules/wctype-tests: Depend on it.
Reported by Simon Josefsson.
Changing permissions from . to 100644
--- modules/dirent-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/dirent-c++-tests Sun Mar 28 18:47:43 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-dirent-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-dirent-c++
+check_PROGRAMS += test-dirent-c++
+test_dirent_c___SOURCES = test-dirent-c++.cc
+test_dirent_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
+endif
--- modules/dirent-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/dirent-tests Sun Mar 28 18:47:46 2010
@@ -1,19 +1,11 @@
Files:
tests/test-dirent.c
-tests/test-dirent-c++.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+dirent-c++-tests
configure.ac:
Makefile.am:
TESTS += test-dirent
check_PROGRAMS += test-dirent
-if ANSICXX
-TESTS += test-dirent-c++
-check_PROGRAMS += test-dirent-c++
-test_dirent_c___SOURCES = test-dirent-c++.cc
-test_dirent_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
-endif
Changing permissions from . to 100644
--- modules/fcntl-h-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/fcntl-h-c++-tests Sun Mar 28 18:48:15 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-fcntl-h-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-fcntl-h-c++
+check_PROGRAMS += test-fcntl-h-c++
+test_fcntl_h_c___SOURCES = test-fcntl-h-c++.cc
+test_fcntl_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
+endif
--- modules/fcntl-h-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/fcntl-h-tests Sun Mar 28 18:48:16 2010
@@ -1,19 +1,11 @@
Files:
tests/test-fcntl-h.c
-tests/test-fcntl-h-c++.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+fcntl-h-c++-tests
configure.ac:
Makefile.am:
TESTS += test-fcntl-h
check_PROGRAMS += test-fcntl-h
-if ANSICXX
-TESTS += test-fcntl-h-c++
-check_PROGRAMS += test-fcntl-h-c++
-test_fcntl_h_c___SOURCES = test-fcntl-h-c++.cc
-test_fcntl_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
-endif
Changing permissions from . to 100644
--- modules/glob-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/glob-c++-tests Sun Mar 28 18:48:35 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-glob-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-glob-c++
+check_PROGRAMS += test-glob-c++
+test_glob_c___SOURCES = test-glob-c++.cc
+test_glob_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
+endif
--- modules/glob-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/glob-tests Sun Mar 28 18:46:42 2010
@@ -1,20 +1,13 @@
Files:
tests/test-glob.c
-tests/test-glob-c++.cc
tests/signature.h
tests/macros.h
Depends-on:
-ansi-c++-opt
+glob-c++-tests
configure.ac:
Makefile.am:
TESTS += test-glob
check_PROGRAMS += test-glob
-if ANSICXX
-TESTS += test-glob-c++
-check_PROGRAMS += test-glob-c++
-test_glob_c___SOURCES = test-glob-c++.cc
-test_glob_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
-endif
Changing permissions from . to 100644
--- modules/iconv-h-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/iconv-h-c++-tests Sun Mar 28 18:48:57 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-iconv-h-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-iconv-h-c++
+check_PROGRAMS += test-iconv-h-c++
+test_iconv_h_c___SOURCES = test-iconv-h-c++.cc
+test_iconv_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIBICONV) $(LIB_NANOSLEEP)
+endif
--- modules/iconv-h-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/iconv-h-tests Sun Mar 28 18:48:59 2010
@@ -1,19 +1,11 @@
Files:
tests/test-iconv-h.c
-tests/test-iconv-h-c++.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+iconv-h-c++-tests
configure.ac:
Makefile.am:
TESTS += test-iconv-h
check_PROGRAMS += test-iconv-h
-if ANSICXX
-TESTS += test-iconv-h-c++
-check_PROGRAMS += test-iconv-h-c++
-test_iconv_h_c___SOURCES = test-iconv-h-c++.cc
-test_iconv_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIBICONV) $(LIB_NANOSLEEP)
-endif
Changing permissions from . to 100644
--- modules/langinfo-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/langinfo-c++-tests Sun Mar 28 18:49:13 2010
@@ -0,0 +1,18 @@
+Files:
+tests/test-langinfo-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-langinfo-c++
+check_PROGRAMS += test-langinfo-c++
+test_langinfo_c___SOURCES = test-langinfo-c++.cc
+endif
--- modules/langinfo-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/langinfo-tests Sun Mar 28 18:49:14 2010
@@ -1,18 +1,11 @@
Files:
tests/test-langinfo.c
-tests/test-langinfo-c++.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+langinfo-c++-tests
configure.ac:
Makefile.am:
TESTS += test-langinfo
check_PROGRAMS += test-langinfo
-if ANSICXX
-TESTS += test-langinfo-c++
-check_PROGRAMS += test-langinfo-c++
-test_langinfo_c___SOURCES = test-langinfo-c++.cc
-endif
Changing permissions from . to 100644
--- modules/locale-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/locale-c++-tests Sun Mar 28 18:49:38 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-locale-c++.cc
+tests/test-locale-c++2.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-locale-c++
+check_PROGRAMS += test-locale-c++
+test_locale_c___SOURCES = test-locale-c++.cc test-locale-c++2.cc
+endif
--- modules/locale-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/locale-tests Sun Mar 28 18:49:40 2010
@@ -1,12 +1,9 @@
Files:
tests/test-locale.c
-tests/test-locale-c++.cc
-tests/test-locale-c++2.cc
-tests/signature.h
Depends-on:
verify
-ansi-c++-opt
+locale-c++-tests
configure.ac:
AC_CHECK_FUNCS_ONCE([newlocale])
@@ -14,8 +11,3 @@
Makefile.am:
TESTS += test-locale
check_PROGRAMS += test-locale
-if ANSICXX
-TESTS += test-locale-c++
-check_PROGRAMS += test-locale-c++
-test_locale_c___SOURCES = test-locale-c++.cc test-locale-c++2.cc
-endif
Changing permissions from . to 100644
--- modules/math-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/math-c++-tests Sun Mar 28 18:49:54 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-math-c++.cc
+tests/test-math-c++2.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-math-c++
+check_PROGRAMS += test-math-c++
+test_math_c___SOURCES = test-math-c++.cc test-math-c++2.cc
+endif
--- modules/math-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/math-tests Sun Mar 28 18:49:56 2010
@@ -1,19 +1,11 @@
Files:
tests/test-math.c
-tests/test-math-c++.cc
-tests/test-math-c++2.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+math-c++-tests
configure.ac:
Makefile.am:
TESTS += test-math
check_PROGRAMS += test-math
-if ANSICXX
-TESTS += test-math-c++
-check_PROGRAMS += test-math-c++
-test_math_c___SOURCES = test-math-c++.cc test-math-c++2.cc
-endif
Changing permissions from . to 100644
--- modules/pty-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/pty-c++-tests Sun Mar 28 18:50:13 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-pty-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-pty-c++
+check_PROGRAMS += test-pty-c++
+test_pty_c___SOURCES = test-pty-c++.cc
+test_pty_c___LDADD = $(LDADD) $(PTY_LIB)
+endif
--- modules/pty-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/pty-tests Sun Mar 28 18:50:14 2010
@@ -1,16 +1,8 @@
Files:
-tests/test-pty-c++.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+pty-c++-tests
configure.ac:
Makefile.am:
-if ANSICXX
-TESTS += test-pty-c++
-check_PROGRAMS += test-pty-c++
-test_pty_c___SOURCES = test-pty-c++.cc
-test_pty_c___LDADD = $(LDADD) $(PTY_LIB)
-endif
Changing permissions from . to 100644
--- modules/search-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/search-c++-tests Sun Mar 28 18:50:28 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-search-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-search-c++
+check_PROGRAMS += test-search-c++
+test_search_c___SOURCES = test-search-c++.cc
+test_search_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
+endif
--- modules/search-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/search-tests Sun Mar 28 18:50:30 2010
@@ -1,19 +1,11 @@
Files:
tests/test-search.c
-tests/test-search-c++.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+search-c++-tests
configure.ac:
Makefile.am:
TESTS += test-search
check_PROGRAMS += test-search
-if ANSICXX
-TESTS += test-search-c++
-check_PROGRAMS += test-search-c++
-test_search_c___SOURCES = test-search-c++.cc
-test_search_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
-endif
Changing permissions from . to 100644
--- modules/signal-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/signal-c++-tests Sun Mar 28 18:50:46 2010
@@ -0,0 +1,20 @@
+Files:
+tests/test-signal-c++.cc
+tests/test-signal-c++2.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-signal-c++
+check_PROGRAMS += test-signal-c++
+test_signal_c___SOURCES = test-signal-c++.cc test-signal-c++2.cc
+test_signal_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
+endif
--- modules/signal-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/signal-tests Sun Mar 28 18:50:48 2010
@@ -1,20 +1,11 @@
Files:
tests/test-signal.c
-tests/test-signal-c++.cc
-tests/test-signal-c++2.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+signal-c++-tests
configure.ac:
Makefile.am:
TESTS += test-signal
check_PROGRAMS += test-signal
-if ANSICXX
-TESTS += test-signal-c++
-check_PROGRAMS += test-signal-c++
-test_signal_c___SOURCES = test-signal-c++.cc test-signal-c++2.cc
-test_signal_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
-endif
Changing permissions from . to 100644
--- modules/spawn-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/spawn-c++-tests Sun Mar 28 18:51:10 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-spawn-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-spawn-c++
+check_PROGRAMS += test-spawn-c++
+test_spawn_c___SOURCES = test-spawn-c++.cc
+test_spawn_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
+endif
--- modules/spawn-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/spawn-tests Sun Mar 28 18:51:12 2010
@@ -1,19 +1,11 @@
Files:
tests/test-spawn.c
-tests/test-spawn-c++.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+spawn-c++-tests
configure.ac:
Makefile.am:
TESTS += test-spawn
check_PROGRAMS += test-spawn
-if ANSICXX
-TESTS += test-spawn-c++
-check_PROGRAMS += test-spawn-c++
-test_spawn_c___SOURCES = test-spawn-c++.cc
-test_spawn_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
-endif
Changing permissions from . to 100644
--- modules/stdio-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/stdio-c++-tests Sun Mar 28 18:51:24 2010
@@ -0,0 +1,20 @@
+Files:
+tests/test-stdio-c++.cc
+tests/test-stdio-c++2.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-stdio-c++
+check_PROGRAMS += test-stdio-c++
+test_stdio_c___SOURCES = test-stdio-c++.cc test-stdio-c++2.cc
+test_stdio_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
+endif
--- modules/stdio-tests.orig Sun Mar 28 19:05:14 2010
+++ modules/stdio-tests Sun Mar 28 18:51:25 2010
@@ -1,21 +1,12 @@
Files:
tests/test-stdio.c
-tests/test-stdio-c++.cc
-tests/test-stdio-c++2.cc
-tests/signature.h
Depends-on:
verify
-ansi-c++-opt
+stdio-c++-tests
configure.ac:
Makefile.am:
TESTS += test-stdio
check_PROGRAMS += test-stdio
-if ANSICXX
-TESTS += test-stdio-c++
-check_PROGRAMS += test-stdio-c++
-test_stdio_c___SOURCES = test-stdio-c++.cc test-stdio-c++2.cc
-test_stdio_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
-endif
Changing permissions from . to 100644
--- modules/stdlib-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/stdlib-c++-tests Sun Mar 28 18:51:37 2010
@@ -0,0 +1,20 @@
+Files:
+tests/test-stdlib-c++.cc
+tests/test-stdlib-c++2.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-stdlib-c++
+check_PROGRAMS += test-stdlib-c++
+test_stdlib_c___SOURCES = test-stdlib-c++.cc test-stdlib-c++2.cc
+test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
+endif
--- modules/stdlib-tests.orig Sun Mar 28 19:05:15 2010
+++ modules/stdlib-tests Sun Mar 28 18:51:39 2010
@@ -1,21 +1,12 @@
Files:
tests/test-stdlib.c
-tests/test-stdlib-c++.cc
-tests/test-stdlib-c++2.cc
-tests/signature.h
Depends-on:
verify
-ansi-c++-opt
+stdlib-c++-tests
configure.ac:
Makefile.am:
TESTS += test-stdlib
check_PROGRAMS += test-stdlib
-if ANSICXX
-TESTS += test-stdlib-c++
-check_PROGRAMS += test-stdlib-c++
-test_stdlib_c___SOURCES = test-stdlib-c++.cc test-stdlib-c++2.cc
-test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
-endif
Changing permissions from . to 100644
--- modules/string-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/string-c++-tests Sun Mar 28 18:51:52 2010
@@ -0,0 +1,20 @@
+Files:
+tests/test-string-c++.cc
+tests/test-string-c++2.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-string-c++
+check_PROGRAMS += test-string-c++
+test_string_c___SOURCES = test-string-c++.cc test-string-c++2.cc
+test_string_c___LDADD = $(LDADD) $(LIBINTL)
+endif
--- modules/string-tests.orig Sun Mar 28 19:05:15 2010
+++ modules/string-tests Sun Mar 28 18:51:54 2010
@@ -1,21 +1,12 @@
Files:
tests/test-string.c
-tests/test-string-c++.cc
-tests/test-string-c++2.cc
-tests/signature.h
Depends-on:
verify
-ansi-c++-opt
+string-c++-tests
configure.ac:
Makefile.am:
TESTS += test-string
check_PROGRAMS += test-string
-if ANSICXX
-TESTS += test-string-c++
-check_PROGRAMS += test-string-c++
-test_string_c___SOURCES = test-string-c++.cc test-string-c++2.cc
-test_string_c___LDADD = $(LDADD) $(LIBINTL)
-endif
Changing permissions from . to 100644
--- modules/sys_ioctl-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/sys_ioctl-c++-tests Sun Mar 28 18:52:07 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-sys_ioctl-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-sys_ioctl-c++
+check_PROGRAMS += test-sys_ioctl-c++
+test_sys_ioctl_c___SOURCES = test-sys_ioctl-c++.cc
+test_sys_ioctl_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET)
$(LIB_CLOCK_GETTIME)
+endif
--- modules/sys_ioctl-tests.orig Sun Mar 28 19:05:15 2010
+++ modules/sys_ioctl-tests Sun Mar 28 18:52:09 2010
@@ -1,19 +1,11 @@
Files:
tests/test-sys_ioctl.c
-tests/test-sys_ioctl-c++.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+sys_ioctl-c++-tests
configure.ac:
Makefile.am:
TESTS += test-sys_ioctl
check_PROGRAMS += test-sys_ioctl
-if ANSICXX
-TESTS += test-sys_ioctl-c++
-check_PROGRAMS += test-sys_ioctl-c++
-test_sys_ioctl_c___SOURCES = test-sys_ioctl-c++.cc
-test_sys_ioctl_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET)
$(LIB_CLOCK_GETTIME)
-endif
Changing permissions from . to 100644
--- modules/sys_select-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/sys_select-c++-tests Sun Mar 28 18:52:20 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-sys_select-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-sys_select-c++
+check_PROGRAMS += test-sys_select-c++
+test_sys_select_c___SOURCES = test-sys_select-c++.cc
+test_sys_select_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(LIB_NANOSLEEP)
+endif
--- modules/sys_select-tests.orig Sun Mar 28 19:05:15 2010
+++ modules/sys_select-tests Sun Mar 28 18:52:22 2010
@@ -1,19 +1,11 @@
Files:
tests/test-sys_select.c
-tests/test-sys_select-c++.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+sys_select-c++-tests
configure.ac:
Makefile.am:
TESTS += test-sys_select
check_PROGRAMS += test-sys_select
-if ANSICXX
-TESTS += test-sys_select-c++
-check_PROGRAMS += test-sys_select-c++
-test_sys_select_c___SOURCES = test-sys_select-c++.cc
-test_sys_select_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(LIB_NANOSLEEP)
-endif
Changing permissions from . to 100644
--- modules/sys_socket-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/sys_socket-c++-tests Sun Mar 28 18:52:42 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-sys_socket-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-sys_socket-c++
+check_PROGRAMS += test-sys_socket-c++
+test_sys_socket_c___SOURCES = test-sys_socket-c++.cc
+test_sys_socket_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(LIB_NANOSLEEP)
+endif
--- modules/sys_socket-tests.orig Sun Mar 28 19:05:15 2010
+++ modules/sys_socket-tests Sun Mar 28 18:52:43 2010
@@ -1,10 +1,8 @@
Files:
tests/test-sys_socket.c
-tests/test-sys_socket-c++.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+sys_socket-c++-tests
configure.ac:
AC_CHECK_FUNCS_ONCE([shutdown])
@@ -12,9 +10,3 @@
Makefile.am:
TESTS += test-sys_socket
check_PROGRAMS += test-sys_socket
-if ANSICXX
-TESTS += test-sys_socket-c++
-check_PROGRAMS += test-sys_socket-c++
-test_sys_socket_c___SOURCES = test-sys_socket-c++.cc
-test_sys_socket_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(LIB_NANOSLEEP)
-endif
Changing permissions from . to 100644
--- modules/sys_stat-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/sys_stat-c++-tests Sun Mar 28 18:52:55 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-sys_stat-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-sys_stat-c++
+check_PROGRAMS += test-sys_stat-c++
+test_sys_stat_c___SOURCES = test-sys_stat-c++.cc
+test_sys_stat_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
+endif
--- modules/sys_stat-tests.orig Sun Mar 28 19:05:15 2010
+++ modules/sys_stat-tests Sun Mar 28 18:52:57 2010
@@ -1,20 +1,12 @@
Files:
tests/test-sys_stat.c
-tests/test-sys_stat-c++.cc
-tests/signature.h
Depends-on:
verify
-ansi-c++-opt
+sys_stat-c++-tests
configure.ac:
Makefile.am:
TESTS += test-sys_stat
check_PROGRAMS += test-sys_stat
-if ANSICXX
-TESTS += test-sys_stat-c++
-check_PROGRAMS += test-sys_stat-c++
-test_sys_stat_c___SOURCES = test-sys_stat-c++.cc
-test_sys_stat_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
-endif
Changing permissions from . to 100644
--- modules/sys_time-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/sys_time-c++-tests Sun Mar 28 18:53:11 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-sys_time-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-sys_time-c++
+check_PROGRAMS += test-sys_time-c++
+test_sys_time_c___SOURCES = test-sys_time-c++.cc
+test_sys_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
+endif
--- modules/sys_time-tests.orig Sun Mar 28 19:05:15 2010
+++ modules/sys_time-tests Sun Mar 28 18:53:13 2010
@@ -1,19 +1,11 @@
Files:
tests/test-sys_time.c
-tests/test-sys_time-c++.cc
-tests/signature.h
Depends-on:
-ansi-c++-opt
+sys_time-c++-tests
configure.ac:
Makefile.am:
TESTS += test-sys_time
check_PROGRAMS += test-sys_time
-if ANSICXX
-TESTS += test-sys_time-c++
-check_PROGRAMS += test-sys_time-c++
-test_sys_time_c___SOURCES = test-sys_time-c++.cc
-test_sys_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
-endif
Changing permissions from . to 100644
--- modules/time-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/time-c++-tests Sun Mar 28 18:53:28 2010
@@ -0,0 +1,20 @@
+Files:
+tests/test-time-c++.cc
+tests/test-time-c++2.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-time-c++
+check_PROGRAMS += test-time-c++
+test_time_c___SOURCES = test-time-c++.cc test-time-c++2.cc
+test_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
+endif
--- modules/time-tests.orig Sun Mar 28 19:05:15 2010
+++ modules/time-tests Sun Mar 28 18:53:30 2010
@@ -1,21 +1,12 @@
Files:
tests/test-time.c
-tests/test-time-c++.cc
-tests/test-time-c++2.cc
-tests/signature.h
Depends-on:
verify
-ansi-c++-opt
+time-c++-tests
configure.ac:
Makefile.am:
TESTS += test-time
check_PROGRAMS += test-time
-if ANSICXX
-TESTS += test-time-c++
-check_PROGRAMS += test-time-c++
-test_time_c___SOURCES = test-time-c++.cc test-time-c++2.cc
-test_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
-endif
Changing permissions from . to 100644
--- modules/unistd-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/unistd-c++-tests Sun Mar 28 18:53:40 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-unistd-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-unistd-c++
+check_PROGRAMS += test-unistd-c++
+test_unistd_c___SOURCES = test-unistd-c++.cc
+test_unistd_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
+endif
--- modules/unistd-tests.orig Sun Mar 28 19:05:15 2010
+++ modules/unistd-tests Sun Mar 28 18:53:42 2010
@@ -1,20 +1,12 @@
Files:
tests/test-unistd.c
-tests/test-unistd-c++.cc
-tests/signature.h
Depends-on:
verify
-ansi-c++-opt
+unistd-c++-tests
configure.ac:
Makefile.am:
TESTS += test-unistd
check_PROGRAMS += test-unistd
-if ANSICXX
-TESTS += test-unistd-c++
-check_PROGRAMS += test-unistd-c++
-test_unistd_c___SOURCES = test-unistd-c++.cc
-test_unistd_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
-endif
Changing permissions from . to 100644
--- modules/wchar-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/wchar-c++-tests Sun Mar 28 18:53:55 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-wchar-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-wchar-c++
+check_PROGRAMS += test-wchar-c++
+test_wchar_c___SOURCES = test-wchar-c++.cc
+test_wchar_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
+endif
--- modules/wchar-tests.orig Sun Mar 28 19:05:15 2010
+++ modules/wchar-tests Sun Mar 28 18:53:57 2010
@@ -1,20 +1,12 @@
Files:
tests/test-wchar.c
-tests/test-wchar-c++.cc
-tests/signature.h
Depends-on:
verify
-ansi-c++-opt
+wchar-c++-tests
configure.ac:
Makefile.am:
TESTS += test-wchar
check_PROGRAMS += test-wchar
-if ANSICXX
-TESTS += test-wchar-c++
-check_PROGRAMS += test-wchar-c++
-test_wchar_c___SOURCES = test-wchar-c++.cc
-test_wchar_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
-endif
Changing permissions from . to 100644
--- modules/wctype-c++-tests.orig Tue Apr 14 12:31:40 2009
+++ modules/wctype-c++-tests Sun Mar 28 18:54:08 2010
@@ -0,0 +1,19 @@
+Files:
+tests/test-wctype-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-wctype-c++
+check_PROGRAMS += test-wctype-c++
+test_wctype_c___SOURCES = test-wctype-c++.cc
+test_wctype_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
+endif
--- modules/wctype-tests.orig Sun Mar 28 19:05:15 2010
+++ modules/wctype-tests Sun Mar 28 18:54:12 2010
@@ -1,20 +1,12 @@
Files:
tests/test-wctype.c
-tests/test-wctype-c++.cc
-tests/signature.h
tests/macros.h
Depends-on:
-ansi-c++-opt
+wctype-c++-tests
configure.ac:
Makefile.am:
TESTS += test-wctype
check_PROGRAMS += test-wctype
-if ANSICXX
-TESTS += test-wctype-c++
-check_PROGRAMS += test-wctype-c++
-test_wctype_c___SOURCES = test-wctype-c++.cc
-test_wctype_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
-endif
- Re: C++ libtool build error?, (continued)
- Re: C++ libtool build error?, Ludovic Courtès, 2010/03/11
- Re: C++ libtool build error?, Bruno Haible, 2010/03/12
- Re: [bug-libunistring] Re: C++ libtool build error?, Simon Josefsson, 2010/03/12
- Re: C++ libtool build error?, Bruno Haible, 2010/03/13
- Re: C++ libtool build error?, Bruno Haible, 2010/03/13
- Re: C++ libtool build error?, Jim Meyering, 2010/03/13
- Re: C++ libtool build error?, Bruno Haible, 2010/03/13
- extra test module categories, Bruno Haible, 2010/03/28
- Re: extra test module categories, Bruno Haible, 2010/03/28
- Re: C++ libtool build error?, Simon Josefsson, 2010/03/17
- Re: C++ libtool build error?,
Bruno Haible <=
- Re: C++ libtool build error?, Eric Blake, 2010/03/17
- Re: C++ libtool build error?, Bruno Haible, 2010/03/28
- Re: C++ libtool build error?, Ralf Wildenhues, 2010/03/13
- Re: C++ libtool build error?, Bruno Haible, 2010/03/13