aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal-fallback/gtk-2.0.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal-fallback/gtk-2.0.m4')
-rw-r--r--aclocal-fallback/gtk-2.0.m45
1 files changed, 1 insertions, 4 deletions
diff --git a/aclocal-fallback/gtk-2.0.m4 b/aclocal-fallback/gtk-2.0.m4
index 1c9321d56a..3ad85f69e8 100644
--- a/aclocal-fallback/gtk-2.0.m4
+++ b/aclocal-fallback/gtk-2.0.m4
@@ -80,13 +80,10 @@ int
main ()
{
int major, minor, micro;
- char *tmp_version;
system ("touch conf.gtktest");
- /* HP/UX 9 (%@#!) writes to sscanf strings */
- tmp_version = g_strdup("$min_gtk_version");
- if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
+ if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gtk_version");
exit(1);
}