Compiling SDL_draw on PSP

Hello everyone. Quick question, how can I build SDL_draw on the PSP? I
tried the same settings from SDL_image:

./autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser"
./configure --host psp --with-sdl-prefix=$(psp-config --psp-prefix)
–prefix=$(psp-config --psp-prefix)

But autogen.sh doesn’t exist, and it doesn’t accept psp as a host. Can
anyone help? Thanks in advance!