The generated extension directory already contains a ready to use configure file, so compilation is as usual.

The only step you need to perform manually right now is putting the generated x1.so extension file to a library directory where the mysql server can find it.

$ cd x1
$ configure
$ make
$ sudo cp .libs/x1.so /usr/lib