File: acinclude.m4

package info (click to toggle)
yad 0.40.0-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,776 kB
  • sloc: ansic: 9,519; sh: 1,270; makefile: 87
file content (17 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dnl Disable deprecated GTK+ features
AC_DEFUN([GTK_DISABLE_DEPRECATED],
[
	AC_ARG_ENABLE(deprecated, [AC_HELP_STRING([--disable-deprecated],
					[Disable deprecated GTK functions])], 
			,[enable_deprecated=yes])


	if test x$enable_deprecated = xyes
	then
		DISABLE_DEPRECATED=
	else
		DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE"
	fi
	
	AC_SUBST(DISABLE_DEPRECATED)
])