Unfortunately I don't have either RPM nor apt-get or whatever else on my scratch system.
I build everithing (including kernel) and load it on the target computer
It is part of glibc-kernheader.
#rpm -qf /usr/include/linux/autoconf.h
glibc-kernheaders-2.4-9.1.94
I found out that autoconf.h is generated when configuring the kernel in some way (menuconfig, xconfig) , so I just had to copy it along with the other stuff to the target. And then everything with the PERL compilation went fine.
So install glibc-kernheader suitable to your glibc version.
Regards,
Manoj Jain.
Cheers,
Konstantin