On Fri, Sep 16, 2022 at 11:10:14 +0000, Akash Bhaskaran (akabhask) wrote: > Hi, > > We are trying to port some patches pertaining to files like > Makefile.am ,configure.ac and .m4’s to libvirt kirkstone release. We > see that latest kirskstone now uses meson build architecture. What is a 'kirkstone'? I didn't ever hear this word in conjunction with libvirt. > We have > difficulties in porting the changes in the above-mentioned files to > meson. You didn't really show what you have problems with. I can point you to the 'rough' equivalents of the files you've mentioned above. > Is there any script or reference you can provide for helping us > port these files to meson? You'll have to refer to meson's docs and how we use it there isn't anything automatic for the conversion. Based on what you want to change, the equivalent of a makefile is the 'meson.build' file. Now note there are multiple 'meson.build' files. The top level meson.build has mostly dependency-related definitions. In case you need to depend on a new library, that will most likely be the correct file. Then each sub-module has their own meson.build file: e.g. src/meson.build, src/qemu/meson.build, src/security/meson.build etc. If you need to declare configure time options look into 'meson_options.txt'. Next time if you want more specific answers, please be a bit more specific in your question.