summaryrefslogtreecommitdiffstats
path: root/unix/configure.ac
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-06 13:59:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-06 13:59:38 (GMT)
commit85c9143fa9cf944abf9578dd6bf22ce4cc37a868 (patch)
tree4859c4e43f33ef28bec0bfe20501f4bf4a2ab077 /unix/configure.ac
parent4a66cff1ca1d31e2091709e7652916b6e7cbb10d (diff)
parent1cd8a9a6fda312a5dc2bff787db9cae05071fef6 (diff)
downloadtk-85c9143fa9cf944abf9578dd6bf22ce4cc37a868.zip
tk-85c9143fa9cf944abf9578dd6bf22ce4cc37a868.tar.gz
tk-85c9143fa9cf944abf9578dd6bf22ce4cc37a868.tar.bz2
Merge trunk. Rename tkMacOSXSysTray.c and fix MacOSX (UNIX) Makefile.in for it
Diffstat (limited to 'unix/configure.ac')
-rw-r--r--unix/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/configure.ac b/unix/configure.ac
index 8cfc570..071ff05 100644
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -230,7 +230,7 @@ AC_CHECK_TYPE([uintptr_t], [
AC_CACHE_CHECK([pw_gecos in struct pwd], tcl_cv_pwd_pw_gecos, [
AC_TRY_COMPILE([#include <pwd.h>],
- [struct passwd pwd; pwd.pw_gecos;],
+ [struct passwd pwd; (void)pwd.pw_gecos;],
tcl_cv_pwd_pw_gecos=yes, tcl_cv_pwd_pw_gecos=no)])
if test $tcl_cv_pwd_pw_gecos = yes; then
AC_DEFINE(HAVE_PW_GECOS, 1, [Does struct password have a pw_gecos field?])