precompile.pike should allocate program numbers in program_id.h
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1816
Reported by Martin Stjernholm mast@roxen.com
Comment by @grubba:
It's not a good idea for precompile.pike to allocate the numbers itself, since that might make for different numbers being allocated in different builds.
I've now made precompile.pike generate code that uses PROG_ID if it exists, and added PROG_ID definitions for the classes currently defined in cmods in the main source directory.