From 83628c6074cc45c6221d1d1300dc2368caa3914b Mon Sep 17 00:00:00 2001 From: ctice Date: Tue, 20 Aug 2013 20:43:16 +0000 Subject: Fix logging to not use /tmp or the current directory; get the location for writing log files from an environment variable; use secure getenv whenever possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201890 138bc75d-0d04-0410-961f-82ee72b054a4 --- libvtv/configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libvtv/configure.ac') diff --git a/libvtv/configure.ac b/libvtv/configure.ac index 47243122616..60350dfccc3 100644 --- a/libvtv/configure.ac +++ b/libvtv/configure.ac @@ -91,6 +91,12 @@ esac AC_SUBST(toolexecdir) AC_SUBST(toolexeclibdir) +AC_GNU_SOURCE +AC_CHECK_FUNCS([__secure_getenv]) + +AC_GNU_SOURCE +AC_CHECK_FUNCS([secure_getenv]) + # Check for programs. m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) m4_define([_AC_ARG_VAR_PRECIOUS],[]) -- cgit v1.2.1