[geany/geany-plugins] e77e3c: Merge pull request #409 from b4n/scope/windows-autotools

Enrico Tröger git-noreply at xxxxx
Thu Jun 23 21:16:48 UTC 2016


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   GitHub <noreply at github.com>
Date:        Thu, 23 Jun 2016 21:16:48 UTC
Commit:      e77e3c926935bd36c1dec5bbc27972cb1b2866ed
             https://github.com/geany/geany-plugins/commit/e77e3c926935bd36c1dec5bbc27972cb1b2866ed

Log Message:
-----------
Merge pull request #409 from b4n/scope/windows-autotools

scope: Fix dependencies checks on Windows


Modified Paths:
--------------
    build/scope.m4

Modified: build/scope.m4
19 lines changed, 12 insertions(+), 7 deletions(-)
===================================================================
@@ -3,18 +3,23 @@ AC_DEFUN([GP_CHECK_SCOPE],
     GP_ARG_DISABLE([Scope], [auto])
     GP_CHECK_PLUGIN_GTK2_ONLY([Scope])
 
-    GP_CHECK_PLUGIN_DEPS([scope], [VTE],
-                         [vte >= 0.17])
-    AC_CHECK_HEADERS([util.h pty.h libutil.h])
-    GP_COMMIT_PLUGIN_STATUS([Scope])
-
     case "$host_os" in
-        cygwin* | mingw* | win32*) PTY_LIBS="" ;;
-        *) PTY_LIBS="-lutil" ;;
+        cygwin* | mingw* | win32*)
+            PTY_LIBS=""
+            ;;
+
+        *)
+            GP_CHECK_PLUGIN_DEPS([scope], [VTE],
+                                 [vte >= 0.17])
+            AC_CHECK_HEADERS([util.h pty.h libutil.h])
+            PTY_LIBS="-lutil"
+            ;;
     esac
 
     AC_SUBST(PTY_LIBS)
 
+    GP_COMMIT_PLUGIN_STATUS([Scope])
+
     AC_CONFIG_FILES([
         scope/Makefile
         scope/data/Makefile



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list