get rid of above these are not needed when recipes inherit autotools see if you need to copy over some of m4 macros that is what you need to do in do_configure_prepend if needed.
Can you point me to an existing recipe that already does something similar? I am not sure what I am looking for.