summaryrefslogtreecommitdiff
path: root/m4macros
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-10-19 13:03:56 -0400
committerDan Winship <danw@gnome.org>2013-11-20 09:16:16 -0500
commit7f5b2901cf5bea290c11133dad16850176178dad (patch)
tree7b1b2839583838750b6745fdef818de8b557af26 /m4macros
parent51a917bc1656368e8d94ea7ea3b33d3cc06daa82 (diff)
downloadglib-7f5b2901cf5bea290c11133dad16850176178dad.tar.gz
Remove alleged support for last-millennium Unixes
Remove workarounds for NeXTStep (last released in 1995), SunOS (1994), HP-UX 9.x (1992) and 10.x (1995), OSF/1 / Digital UNIX / Tru64 UNIX 4.x (1999), and AIX 4.x (1999). HP-UX 11 implements dlopen(), so dropping support for earlier versions also lets us remove the HP-UX-specific gmodule-dld. https://bugzilla.gnome.org/show_bug.cgi?id=710519
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/glib-2.0.m45
1 files changed, 1 insertions, 4 deletions
diff --git a/m4macros/glib-2.0.m4 b/m4macros/glib-2.0.m4
index 0507b76c7..d8f03d420 100644
--- a/m4macros/glib-2.0.m4
+++ b/m4macros/glib-2.0.m4
@@ -93,13 +93,10 @@ int
main ()
{
unsigned int major, minor, micro;
- char *tmp_version;
fclose (fopen ("conf.glibtest", "w"));
- /* HP/UX 9 (%@#!) writes to sscanf strings */
- tmp_version = g_strdup("$min_glib_version");
- if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
+ if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_glib_version");
exit(1);
}