This required a dependency on Automake 1.11 or later. It also required
dropping C2x compatibility warnings because Gnulib now triggers them. The
Gnulib tempname module requires linking against $(LIB_GETRANDOM), so this
adds that in each case where the build links against libgl.
## Process this file with automake to produce Makefile.in -*- makefile -*-
## Process this file with automake to produce Makefile.in -*- makefile -*-
-AUTOMAKE_OPTIONS = std-options check-news 1.10.1 subdir-objects
+AUTOMAKE_OPTIONS = std-options check-news 1.11 subdir-objects
SUBDIRS = gl po
DISTCLEANFILES = ./po/stamp-po xconfigure
SUBDIRS = gl po
DISTCLEANFILES = ./po/stamp-po xconfigure
Gnulib does not maintain a stable API or ABI, so it is possible that
PSPP will not work with older or newer versions of Gnulib.
Gnulib does not maintain a stable API or ABI, so it is possible that
PSPP will not work with older or newer versions of Gnulib.
- commit 0edaafc813caff4101c58405c6ab279597afc0b9
+ commit 2d830e4a792fcd9f614ed08a7f18584b8b21d23b (HEAD, origin/master, origin/HEAD)
Author: Bruno Haible <bruno@clisp.org>
Author: Bruno Haible <bruno@clisp.org>
- Date: Sat Oct 10 22:52:22 2020 +0200
+ Date: Sun Mar 13 15:12:46 2022 +0100
- *-list, *-oset, *-omap: Avoid possible compiler warnings.
-
- Reported by Marc Nieper-Wißkirchen in
- <https://lists.gnu.org/r/bug-gnulib/2020-10/msg00025.html>.
+ sigsegv: Add support for Linux/PowerPC (32-bit) with musl libc.
To clone Gnulib into a directory named "gnulib" using Git, and then
check out this particular commit, run these commands:
To clone Gnulib into a directory named "gnulib" using Git, and then
check out this particular commit, run these commands:
PSPP_ENABLE_OPTION([-Wpointer-arith])
PSPP_ENABLE_OPTION([-Wno-sign-compare])
PSPP_ENABLE_OPTION([-Wmissing-prototypes])
PSPP_ENABLE_OPTION([-Wpointer-arith])
PSPP_ENABLE_OPTION([-Wno-sign-compare])
PSPP_ENABLE_OPTION([-Wmissing-prototypes])
-PSPP_ENABLE_OPTION([-Wc11-c2x-compat])
AM_CONDITIONAL(cc_is_gcc, test x"$GCC" = x"yes" )
AM_CONDITIONAL(host_is_w32, [case $host_os in mingw*) true;; *) false;; esac] )
AM_CONDITIONAL(cc_is_gcc, test x"$GCC" = x"yes" )
AM_CONDITIONAL(host_is_w32, [case $host_os in mingw*) true;; *) false;; esac] )
src_libpspp_core_la_LIBADD = \
src/data/libdata.la \
src/libpspp/liblibpspp.la \
src_libpspp_core_la_LIBADD = \
src/data/libdata.la \
src/libpspp/liblibpspp.la \
- $(LIBXML2_LIBS) $(PG_LIBS) \
+ $(LIBXML2_LIBS) $(PG_LIBS) $(LIB_GETRANDOM) \
gl/libgl.la
src_libpspp_la_SOURCES =
gl/libgl.la
src_libpspp_la_SOURCES =
$(LIBRSVG_LIBS) \
$(CAIRO_LIBS) \
$(LIBINTL) \
$(LIBRSVG_LIBS) \
$(CAIRO_LIBS) \
$(LIBINTL) \
+ $(GSL_LIBS) \
+ $(LIB_GETRANDOM)
if host_is_w32
src_ui_gui_psppire_LDADD += src/ui/gui/pspp.res
if host_is_w32
src_ui_gui_psppire_LDADD += src/ui/gui/pspp.res
src_ui_gui_spreadsheet_test_LDADD = \
src/libpspp-core.la \
$(GTK_LIBS) \
src_ui_gui_spreadsheet_test_LDADD = \
src/libpspp-core.la \
$(GTK_LIBS) \
+ $(GTHREAD_LIBS) \
+ $(LIB_GETRANDOM)
src_ui_gui_spreadsheet_test_SOURCES = src/ui/gui/spreadsheet-test.c src/ui/gui/psppire-spreadsheet-model.c
src_ui_gui_spreadsheet_test_SOURCES = src/ui/gui/spreadsheet-test.c src/ui/gui/psppire-spreadsheet-model.c
$(CAIRO_LIBS) \
$(NCURSES_LIBS) \
$(LTLIBREADLINE) \
$(CAIRO_LIBS) \
$(NCURSES_LIBS) \
$(LTLIBREADLINE) \
+ $(GSL_LIBS) \
+ $(LIB_GETRANDOM)
src_ui_terminal_pspp_LDFLAGS = $(PSPP_LDFLAGS) $(PG_LDFLAGS)
src_ui_terminal_pspp_LDFLAGS = $(PSPP_LDFLAGS) $(PG_LDFLAGS)
tests_libpspp_heap_test_SOURCES = \
tests/libpspp/heap-test.c
tests_libpspp_heap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
tests_libpspp_heap_test_SOURCES = \
tests/libpspp/heap-test.c
tests_libpspp_heap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
-tests_libpspp_heap_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_heap_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la $(LIB_GETRANDOM)
check_PROGRAMS += tests/libpspp/hmap-test
tests_libpspp_hmap_test_SOURCES = \
check_PROGRAMS += tests/libpspp/hmap-test
tests_libpspp_hmap_test_SOURCES = \
check_PROGRAMS += tests/libpspp/i18n-test
tests_libpspp_i18n_test_SOURCES = tests/libpspp/i18n-test.c
check_PROGRAMS += tests/libpspp/i18n-test
tests_libpspp_i18n_test_SOURCES = tests/libpspp/i18n-test.c
-tests_libpspp_i18n_test_LDADD = src/libpspp-core.la gl/libgl.la
+tests_libpspp_i18n_test_LDADD = src/libpspp-core.la gl/libgl.la $(LIB_GETRANDOM)
check_PROGRAMS += tests/libpspp/abt-test
tests_libpspp_abt_test_SOURCES = \
check_PROGRAMS += tests/libpspp/abt-test
tests_libpspp_abt_test_SOURCES = \
tests_libpspp_range_set_test_SOURCES = \
tests/libpspp/range-set-test.c
tests_libpspp_range_set_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
tests_libpspp_range_set_test_SOURCES = \
tests/libpspp/range-set-test.c
tests_libpspp_range_set_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
-tests_libpspp_range_set_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_range_set_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la $(LIB_GETRANDOM)
check_PROGRAMS += tests/libpspp/range-tower-test
tests_libpspp_range_tower_test_SOURCES = \
tests/libpspp/range-tower-test.c
tests_libpspp_range_tower_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
check_PROGRAMS += tests/libpspp/range-tower-test
tests_libpspp_range_tower_test_SOURCES = \
tests/libpspp/range-tower-test.c
tests_libpspp_range_tower_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
-tests_libpspp_range_tower_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_range_tower_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la $(LIB_GETRANDOM)
check_PROGRAMS += tests/libpspp/str-test
tests_libpspp_str_test_SOURCES = \
tests/libpspp/str-test.c
check_PROGRAMS += tests/libpspp/str-test
tests_libpspp_str_test_SOURCES = \
tests/libpspp/str-test.c
-tests_libpspp_str_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_str_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la $(LIB_GETRANDOM)
check_PROGRAMS += tests/libpspp/string-map-test
tests_libpspp_string_map_test_SOURCES = \
tests/libpspp/string-map-test.c
tests_libpspp_string_map_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
check_PROGRAMS += tests/libpspp/string-map-test
tests_libpspp_string_map_test_SOURCES = \
tests/libpspp/string-map-test.c
tests_libpspp_string_map_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
-tests_libpspp_string_map_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_string_map_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la $(LIB_GETRANDOM)
check_PROGRAMS += tests/libpspp/stringi-map-test
tests_libpspp_stringi_map_test_SOURCES = \
check_PROGRAMS += tests/libpspp/stringi-map-test
tests_libpspp_stringi_map_test_SOURCES = \
tests_libpspp_tower_test_SOURCES = \
tests/libpspp/tower-test.c
tests_libpspp_tower_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
tests_libpspp_tower_test_SOURCES = \
tests/libpspp/tower-test.c
tests_libpspp_tower_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
-tests_libpspp_tower_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_tower_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la $(LIB_GETRANDOM)
check_PROGRAMS += tests/libpspp/u8-istream-test
tests_libpspp_u8_istream_test_SOURCES = tests/libpspp/u8-istream-test.c
check_PROGRAMS += tests/libpspp/u8-istream-test
tests_libpspp_u8_istream_test_SOURCES = tests/libpspp/u8-istream-test.c
tests_libpspp_sparse_array_test_SOURCES = \
tests/libpspp/sparse-array-test.c
tests_libpspp_sparse_array_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
tests_libpspp_sparse_array_test_SOURCES = \
tests/libpspp/sparse-array-test.c
tests_libpspp_sparse_array_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
-tests_libpspp_sparse_array_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_sparse_array_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la $(LIB_GETRANDOM)
check_PROGRAMS += tests/libpspp/sparse-xarray-test
tests_libpspp_sparse_xarray_test_SOURCES = \
check_PROGRAMS += tests/libpspp/sparse-xarray-test
tests_libpspp_sparse_xarray_test_SOURCES = \
tests_libpspp_sparse_xarray_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
tests_libpspp_sparse_xarray_test_LDADD = src/libpspp/liblibpspp.la \
src/libpspp-core.la \
tests_libpspp_sparse_xarray_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
tests_libpspp_sparse_xarray_test_LDADD = src/libpspp/liblibpspp.la \
src/libpspp-core.la \
+ gl/libgl.la \
+ $(LIB_GETRANDOM)
check_PROGRAMS += tests/data/inexactify
tests_data_inexactify_SOURCES = tests/data/inexactify.c
check_PROGRAMS += tests/data/inexactify
tests_data_inexactify_SOURCES = tests/data/inexactify.c
tests/language/lexer/command-name-test.c
tests_language_lexer_command_name_test_LDADD = \
src/libpspp/liblibpspp.la \
tests/language/lexer/command-name-test.c
tests_language_lexer_command_name_test_LDADD = \
src/libpspp/liblibpspp.la \
+ gl/libgl.la \
+ $(LIB_GETRANDOM)
tests_language_lexer_command_name_test_CFLAGS = $(AM_CFLAGS)
check_PROGRAMS += tests/language/lexer/scan-test
tests_language_lexer_command_name_test_CFLAGS = $(AM_CFLAGS)
check_PROGRAMS += tests/language/lexer/scan-test
tests_language_lexer_scan_test_CFLAGS = $(AM_CFLAGS)
tests_language_lexer_scan_test_LDADD = \
src/libpspp/liblibpspp.la \
tests_language_lexer_scan_test_CFLAGS = $(AM_CFLAGS)
tests_language_lexer_scan_test_LDADD = \
src/libpspp/liblibpspp.la \
+ gl/libgl.la \
+ $(LIB_GETRANDOM)
check_PROGRAMS += tests/language/lexer/segment-test
tests_language_lexer_segment_test_SOURCES = \
check_PROGRAMS += tests/language/lexer/segment-test
tests_language_lexer_segment_test_SOURCES = \
tests_language_lexer_segment_test_CFLAGS = $(AM_CFLAGS)
tests_language_lexer_segment_test_LDADD = \
src/libpspp/liblibpspp.la \
tests_language_lexer_segment_test_CFLAGS = $(AM_CFLAGS)
tests_language_lexer_segment_test_LDADD = \
src/libpspp/liblibpspp.la \
+ gl/libgl.la \
+ $(LIB_GETRANDOM)
check_PROGRAMS += tests/libpspp/zip-test
tests_libpspp_zip_test_SOURCES = \
check_PROGRAMS += tests/libpspp/zip-test
tests_libpspp_zip_test_SOURCES = \
tests_libpspp_zip_test_LDADD = \
src/libpspp/liblibpspp.la \
src/libpspp-core.la \
tests_libpspp_zip_test_LDADD = \
src/libpspp/liblibpspp.la \
src/libpspp-core.la \
+ gl/libgl.la \
+ $(LIB_GETRANDOM)
check_PROGRAMS += tests/math/chart-get-scale-test
tests_math_chart_get_scale_test_SOURCES = tests/math/chart-get-scale-test.c
check_PROGRAMS += tests/math/chart-get-scale-test
tests_math_chart_get_scale_test_SOURCES = tests/math/chart-get-scale-test.c
src/math/libpspp-math.la \
src/libpspp/liblibpspp.la \
src/libpspp-core.la \
src/math/libpspp-math.la \
src/libpspp/liblibpspp.la \
src/libpspp-core.la \
+ gl/libgl.la \
+ $(LIB_GETRANDOM)
check_PROGRAMS += tests/math/chart-get-ticks-format-test
tests_math_chart_get_ticks_format_test_SOURCES = tests/math/chart-get-ticks-format-test.c
check_PROGRAMS += tests/math/chart-get-ticks-format-test
tests_math_chart_get_ticks_format_test_SOURCES = tests/math/chart-get-ticks-format-test.c
src/math/libpspp-math.la \
src/libpspp/liblibpspp.la \
src/libpspp-core.la \
src/math/libpspp-math.la \
src/libpspp/liblibpspp.la \
src/libpspp-core.la \
+ gl/libgl.la \
+ $(LIB_GETRANDOM)
check_PROGRAMS += tests/output/pivot-table-test
tests_output_pivot_table_test_SOURCES = tests/output/pivot-table-test.c
check_PROGRAMS += tests/output/pivot-table-test
tests_output_pivot_table_test_SOURCES = tests/output/pivot-table-test.c
src/libpspp.la \
src/libpspp-core.la \
gl/libgl.la \
src/libpspp.la \
src/libpspp-core.la \
gl/libgl.la \
$(CAIRO_LIBS)
EXTRA_DIST += tests/output/look.stt
$(CAIRO_LIBS)
EXTRA_DIST += tests/output/look.stt