summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-24 13:11:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-24 13:11:47 (GMT)
commite89bfca44403750e0e1b9f7f36ed67cd244ab73f (patch)
tree03844a17dab6fcddf2ac38bcf6f89b9565e708e7 /unix/tcl.m4
parent96ef4a384e7c31836cbfbb9165122bc5e937333e (diff)
downloadtk-e89bfca44403750e0e1b9f7f36ed67cd244ab73f.zip
tk-e89bfca44403750e0e1b9f7f36ed67cd244ab73f.tar.gz
tk-e89bfca44403750e0e1b9f7f36ed67cd244ab73f.tar.bz2
Fix [4b5deacc70]: undefined reference to `Tcl_SetStartupScript'. Also fix some ANSI prototypes. Sync tcl.m4 with Tcl.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index f4503f4..399215e 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1142,7 +1142,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CFLAGS_DEBUG=-g
CFLAGS_OPTIMIZE=-O
AS_IF([test "$GCC" = yes], [
- CFLAGS_WARNING="-Wall"
+ CFLAGS_WARNING="-Wall -Wpointer-arith"
], [CFLAGS_WARNING=""])
AC_CHECK_TOOL(AR, ar)
STLIB_LD='${AR} cr'