Commit 0d6b1ab4 authored by Paolo Bonzini's avatar Paolo Bonzini Committed by Tor Lillqvist

Don't run system("touch conf.glibtest)" in the AM_PATH_GLIB_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, but accepting
this minimal patch doesn't hurt. From bug #590016.
Signed-off-by: default avatarTor Lillqvist <>
parent f6276add
......@@ -93,9 +93,8 @@ main ()
int major, minor, micro;
char *tmp_version;
int ignored;
ignored = system ("touch conf.glibtest");
fclose (fopen ("conf.glibtest", "w"));
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_glib_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