GLib gperf

Dear Lazyweb, Is there a more modern, GLib'ish version of gperf? I want to go from string->enum and emun->string faster than just using strcmp in a loop. I don't think I want to use GHashTable as it needs to be bi-directional. I like nice compact simple C code, and don't like awk in makefiles. Ideas? Richard.