summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcabernal2013-01-14 12:46:25 (EST)
committerJeff Johnston2013-01-15 14:50:04 (EST)
commit62fa04403152027d2bf9b88c931afcdca81a946c (patch)
tree7b93a3ccc085d4ce3c8836a24b7cc29ea59fb6f0
parentd0c99408cd96fb912c003fd678fd4377bc984906 (diff)
downloadorg.eclipse.cdt-62fa04403152027d2bf9b88c931afcdca81a946c.zip
org.eclipse.cdt-62fa04403152027d2bf9b88c931afcdca81a946c.tar.gz
org.eclipse.cdt-62fa04403152027d2bf9b88c931afcdca81a946c.tar.bz2
Implement problem marker for AC_CHECK_LIB macro.refs/changes/63/9663/2
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>
-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 62f3489..195c396 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 a672545..ffd1ef5 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;
}