Commit 72b69e00 authored by Paolo Bonzini's avatar Paolo Bonzini Committed by Tor Lillqvist

Don't run system("touch conf.gtktest") in the AM_PATH_GTK_2_0 macro

Just use the C library instead to create the file. Helps building
using Wine. Not that I think we want to endorse that way to build GTK+
for Windows, proper cross-compiling surely probably more sense, but
accepting this minimal patch doesn't hurt. From bug #590017.
Signed-off-by: 's avatarTor Lillqvist <tml@iki.fi>
parent 8dfac859
......@@ -85,7 +85,7 @@ main ()
int major, minor, micro;
char *tmp_version;
system ("touch conf.gtktest");
fclose (fopen ("conf.gtktest", "w");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_gtk_version");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment