Configure does not find glib2 macros in SL without this. See #10824. Should probably add a comment explaining why it is there though.