View | Details | Raw Unified | Return to bug 185575
Collapse All | Expand All

(-)plugins/project-wizard/autogen.c (-3 / +3 lines)
Lines 99-110 Link Here
99
		gchar* ptr;
99
		gchar* ptr;
100
100
101
		/* Check autogen */
101
		/* Check autogen */
102
		if (strstr(output, "The Automated Program Generator") == NULL) return FALSE;
102
		if (strstr(output, "(GNU AutoGen)") == NULL) return FALSE;
103
103
104
		/* Get version number */
104
		/* Get version number */
105
		ptr = strstr(output, "Ver. ");
105
		ptr = strstr(output, "(GNU AutoGen) ");
106
	       	if (ptr == NULL) return FALSE;
106
	       	if (ptr == NULL) return FALSE;
107
		ptr += 5;
107
		ptr += 14;
108
		sscanf(ptr,"%d.%d.%d", &ver[0], &ver[1], &ver[2]);
108
		sscanf(ptr,"%d.%d.%d", &ver[0], &ver[1], &ver[2]);
109
109
110
		return (ver[0] == 5);
110
		return (ver[0] == 5);

Return to bug 185575