How to include .m4 files in Autoconf?

前端 未结 5 959
孤街浪徒
孤街浪徒 2021-02-05 04:46

I have downloaded a macro from Autoconf Archive, and I want to use it. What do I have to put in my configure.ac file to make use this macro?

5条回答
  •  忘了有多久
    2021-02-05 05:25

    Isn't it enough to just save the m4 macro in certain directory and run autoreconf with the -I option:

    autoreconf -i -I/path/to/your/m4/file
    

    Or did I misunderstand you and do you want to integrate it permanently, without the person running autoreconf to worry about downloading the m4 file?

提交回复
热议问题