File: scope.m4

package info (click to toggle)
geany-plugins 2.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,832 kB
  • sloc: ansic: 107,883; sh: 5,567; makefile: 1,531; sed: 16
file content (26 lines) | stat: -rw-r--r-- 646 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
AC_DEFUN([GP_CHECK_SCOPE],
[
    GP_ARG_DISABLE([Scope], [auto])

    AS_CASE([$host_os],
            [cygwin* | mingw* | win32*],
            [PTY_LIBS=""],

            [GP_CHECK_GTK3([vte_package=vte-2.91], [vte_package="vte >= 0.17"])
             GP_CHECK_PLUGIN_DEPS([scope], [VTE], [$vte_package])
             GP_CHECK_UTILSLIB_VTECOMPAT([Scope])

             AC_CHECK_HEADERS([util.h pty.h libutil.h])
             PTY_LIBS="-lutil"])

    AC_SUBST(PTY_LIBS)

    GP_COMMIT_PLUGIN_STATUS([Scope])

    AC_CONFIG_FILES([
        scope/Makefile
        scope/data/Makefile
        scope/docs/Makefile
        scope/src/Makefile
    ])
])