diff options
author | ctice <ctice@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-20 20:43:16 +0000 |
---|---|---|
committer | ctice <ctice@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-20 20:43:16 +0000 |
commit | 83628c6074cc45c6221d1d1300dc2368caa3914b (patch) | |
tree | 6edb95b379595c8ad4d073f2353e858eaa4d6488 /libvtv/configure.ac | |
parent | 98b21e4dce553348b115e4361cba67769a3c3340 (diff) | |
download | ppe42-gcc-83628c6074cc45c6221d1d1300dc2368caa3914b.tar.gz ppe42-gcc-83628c6074cc45c6221d1d1300dc2368caa3914b.zip |
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
Diffstat (limited to 'libvtv/configure.ac')
-rw-r--r-- | libvtv/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
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],[]) |