From 9e9fc05c2f9be73f053d9c669827c73ea1dc394c Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 28 Mar 2009 15:23:12 +0900 Subject: [PATCH] Remove LIB_CLOSE variables from linker options. Gnulib used to define @LIB_CLOSE@ but no longer does, so this variable is no longer needed nor appropriate. --- src/ui/gui/automake.mk | 3 +-- src/ui/terminal/automake.mk | 3 +-- tests/automake.mk | 12 ++++++------ 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk index 0d3bbc18..11106640 100644 --- a/src/ui/gui/automake.mk +++ b/src/ui/gui/automake.mk @@ -29,8 +29,7 @@ src_ui_gui_psppire_LDADD = \ src/libpspp.la \ src/libpspp-core.la \ $(GTK_LIBS) \ - @LIBINTL@ \ - $(LIB_CLOSE) + @LIBINTL@ src_ui_gui_psppiredir = $(pkgdatadir) diff --git a/src/ui/terminal/automake.mk b/src/ui/terminal/automake.mk index cd47b62e..5ab09857 100644 --- a/src/ui/terminal/automake.mk +++ b/src/ui/terminal/automake.mk @@ -27,8 +27,7 @@ src_ui_terminal_pspp_LDADD = \ src/libpspp-core.la \ $(NCURSES_LIBS) \ $(LIBICONV) \ - @LIBINTL@ @LIBREADLINE@ \ - $(LIB_CLOSE) + @LIBINTL@ @LIBREADLINE@ src_ui_terminal_pspp_LDFLAGS = $(PSPP_LDFLAGS) $(PG_LDFLAGS) diff --git a/tests/automake.mk b/tests/automake.mk index 4c3899b1..f1bb6306 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -214,7 +214,7 @@ tests_libpspp_heap_test_SOURCES = \ src/libpspp/pool.c \ src/libpspp/pool.h \ tests/libpspp/heap-test.c -tests_libpspp_heap_test_LDADD = gl/libgl.la @LIBINTL@ @LIB_CLOSE@ +tests_libpspp_heap_test_LDADD = gl/libgl.la @LIBINTL@ tests_libpspp_heap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 tests_libpspp_hmap_test_SOURCES = \ @@ -264,12 +264,12 @@ tests_libpspp_range_set_test_SOURCES = \ src/libpspp/range-set.c \ src/libpspp/range-set.h \ tests/libpspp/range-set-test.c -tests_libpspp_range_set_test_LDADD = gl/libgl.la @LIBINTL@ @LIB_CLOSE@ +tests_libpspp_range_set_test_LDADD = gl/libgl.la @LIBINTL@ tests_libpspp_range_set_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 tests_libpspp_str_test_SOURCES = \ tests/libpspp/str-test.c -tests_libpspp_str_test_LDADD = src/libpspp/libpspp.la gl/libgl.la @LIBINTL@ @LIB_CLOSE@ +tests_libpspp_str_test_LDADD = src/libpspp/libpspp.la gl/libgl.la @LIBINTL@ tests_libpspp_tower_test_SOURCES = \ src/libpspp/abt.c \ @@ -279,7 +279,7 @@ tests_libpspp_tower_test_SOURCES = \ src/libpspp/tower.c \ src/libpspp/tower.h \ tests/libpspp/tower-test.c -tests_libpspp_tower_test_LDADD = gl/libgl.la @LIBINTL@ @LIB_CLOSE@ +tests_libpspp_tower_test_LDADD = gl/libgl.la @LIBINTL@ tests_libpspp_tower_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 tests_libpspp_sparse_array_test_SOURCES = \ @@ -288,7 +288,7 @@ tests_libpspp_sparse_array_test_SOURCES = \ src/libpspp/pool.c \ src/libpspp/pool.h \ tests/libpspp/sparse-array-test.c -tests_libpspp_sparse_array_test_LDADD = gl/libgl.la @LIBINTL@ @LIB_CLOSE@ +tests_libpspp_sparse_array_test_LDADD = gl/libgl.la @LIBINTL@ tests_libpspp_sparse_array_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 tests_formats_inexactify_SOURCES = tests/formats/inexactify.c @@ -298,7 +298,7 @@ tests_dissect_sysfile_SOURCES = \ src/libpspp/integer-format.c \ src/libpspp/float-format.c \ tests/dissect-sysfile.c -tests_dissect_sysfile_LDADD = gl/libgl.la @LIBINTL@ @LIB_CLOSE@ +tests_dissect_sysfile_LDADD = gl/libgl.la @LIBINTL@ tests_dissect_sysfile_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\" EXTRA_DIST += \ -- 2.30.2