From 610d0a08d8cb2dea6d380a5bffe6179fdd423589 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 19 Sep 2019 21:26:01 +0200 Subject: Remove internal mkdtemp and define feature test macro mkdtemp(): /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc 2.19 and earlier: */ _BSD_SOURCE || /* Since glibc 2.10: */ _POSIX_C_SOURCE >= 200809L _POSIX_C_SOURCE 200809L is enabled by _XOPEN_SOURCE >= 700. Ref: http://man7.org/linux/man-pages/man7/feature_test_macros.7.html --- src/Makefile.am | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index f0cd3e7..1f125f8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,12 +6,6 @@ bin_PROGRAMS = engrampa libexec_PROGRAMS = engrampa-server noinst_PROGRAMS = test-server -if MKDTEMP_MISSING -MKDTEMP_FILES=mkdtemp.c mkdtemp.h -else -MKDTEMP_FILES= -endif - if RUN_IN_PLACE privdatadir = $(top_srcdir)/data/ privexecdir = $(abs_top_builddir)/src/commands/ @@ -157,7 +151,6 @@ COMMON_SOURCES = \ rar-utils.h \ typedefs.h \ ui.h \ - $(MKDTEMP_FILES) \ $(BUILT_SOURCES) if ENABLE_JSON_GLIB -- cgit v1.2.1