Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorcabernal2013-01-14 17:46:25 +0000
committerJeff Johnston2013-01-15 19:50:04 +0000
commit62fa04403152027d2bf9b88c931afcdca81a946c (patch)
tree7b93a3ccc085d4ce3c8836a24b7cc29ea59fb6f0 /build
parentd0c99408cd96fb912c003fd678fd4377bc984906 (diff)
downloadorg.eclipse.cdt-62fa04403152027d2bf9b88c931afcdca81a946c.tar.gz
org.eclipse.cdt-62fa04403152027d2bf9b88c931afcdca81a946c.tar.xz
org.eclipse.cdt-62fa04403152027d2bf9b88c931afcdca81a946c.zip
Implement problem marker for AC_CHECK_LIB macro.
Fix for https://fedorahosted.org/eclipse-packagekit/ticket/5 . Change-Id: Ic4466a7eb04c4acc5749eafd0536364c53ae6fdb Reviewed-on: https://git.eclipse.org/r/9663 Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> IP-Clean: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/AutotoolsProblemMarkerInfo.java2
-rw-r--r--build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/ErrorParser.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/AutotoolsProblemMarkerInfo.java b/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/AutotoolsProblemMarkerInfo.java
index 62f3489a245..195c39679bf 100644
--- a/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/AutotoolsProblemMarkerInfo.java
+++ b/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/AutotoolsProblemMarkerInfo.java
@@ -21,7 +21,7 @@ import org.eclipse.core.runtime.IPath;
*/
public class AutotoolsProblemMarkerInfo {
- public static enum Type{PACKAGE, HEADER, PROG, FILE, GENERIC}
+ public static enum Type{PACKAGE, HEADER, PROG, LIB, FILE, GENERIC}
private ProblemMarkerInfo marker;
diff --git a/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/ErrorParser.java b/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/ErrorParser.java
index a6725458419..ffd1ef57133 100644
--- a/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/ErrorParser.java
+++ b/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/ErrorParser.java
@@ -175,6 +175,8 @@ public class ErrorParser extends MarkerGenerator implements IErrorParser {
return AutotoolsProblemMarkerInfo.Type.HEADER;
if (typeString.equals("file"))
return AutotoolsProblemMarkerInfo.Type.FILE;
+ if (typeString.equals("lib"))
+ return AutotoolsProblemMarkerInfo.Type.LIB;
return null;
}

Back to the top