summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2020-09-23 22:20:48 (GMT)
committerKevin Walzer <kw@codebykevin.com>2020-09-23 22:20:48 (GMT)
commit08ada7da6ce675925377b919a18a3316c5e82a2d (patch)
treef3bf8c7a9e8285d38e68b5e3b6a14a3e2bca1122 /unix
parentd40550f463e5c49bedc0e38f4662c95c6f8791ab (diff)
downloadtk-08ada7da6ce675925377b919a18a3316c5e82a2d.zip
tk-08ada7da6ce675925377b919a18a3316c5e82a2d.tar.gz
tk-08ada7da6ce675925377b919a18a3316c5e82a2d.tar.bz2
Update makefile template
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in7
-rwxr-xr-xunix/configure4
-rw-r--r--unix/configure.ac4
3 files changed, 11 insertions, 4 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 8ab2359..f215859 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -297,6 +297,13 @@ REZ_SWITCHES = @REZ_FLAGS@ -i $(GENERIC_DIR) -i $(TCL_GENERIC_DIR)
XFT_CFLAGS = @XFT_CFLAGS@
XFT_LIBS = @XFT_LIBS@
+# support for libnotify
+GLIB_CFLAGS = @GLIB_CFLAGS@
+GLIB_LIBS = @GLIB_LIBS@
+LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@
+LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@
+
+
#----------------------------------------------------------------
# The information below is modified by the configure script when
# Makefile is generated from Makefile.in. You shouldn't normally
diff --git a/unix/configure b/unix/configure
index 8bb79e4..e35fe25 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7862,8 +7862,8 @@ $as_echo "$found_libnotify" >&6; }
UNIX_LIBNOTIFY_OBJS=tkUnixSysnotify.o
tk_oldCFlags=$CFLAGS
CFLAGS="$CFLAGS $LIBNOTIFY_CFLAGS $GLIB_CFLAGS"
- tk_oldLibs=$LIBS
- LIBS="$tk_oldLIBS $LIBNOTIFY_LIBS $GLIB_LIBS"
+ tk_oldLibs=$LIBS
+ LIBS="$tk_oldLIBS $LIBNOTIFY_LIBS $GLIB_LIBS"
$as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
diff --git a/unix/configure.ac b/unix/configure.ac
index 4f80818..fc3b8b9 100644
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -553,8 +553,8 @@ if test $tk_aqua = no; then
UNIX_LIBNOTIFY_OBJS=tkUnixSysnotify.o
tk_oldCFlags=$CFLAGS
CFLAGS="$CFLAGS $LIBNOTIFY_CFLAGS $GLIB_CFLAGS"
- tk_oldLibs=$LIBS
- LIBS="$tk_oldLIBS $LIBNOTIFY_LIBS $GLIB_LIBS"
+ tk_oldLibs=$LIBS
+ LIBS="$tk_oldLIBS $LIBNOTIFY_LIBS $GLIB_LIBS"
AC_DEFINE(HAVE_LIBNOTIFY, 1, [Have we turned on libnotify?])
else
UNIX_LIBNOTIFY_OBJS=""