amagnasco / xwpe

Upload of an abandoned ncurses-based programming environment
http://www.identicalsoftware.com/xwpe/
GNU General Public License v2.0
31 stars 7 forks source link

Use of autotools #51

Closed gbonnema closed 7 years ago

gbonnema commented 7 years ago

Alessandro,

I have been looking at autotools and changing stuff and in the meantime learnt a lot. Especially, that it is not as easy as it seems. The approach I had up to now, was to start from scratch and use the old configure.in and Makefile.in as directives. That turns out to be very complex.

I am starting afresh and doing the changes step by step, not too much at a time. What I want to do is the following:

[1] Rename configure.in to configure.ac and Makefile.in to Makefile.am to conform to the new autotools standards. Also apply any changes necessary just to make this transition. [2] Use autoscan to solve the warnings it provides. [3] Replace the ncurses testing bit. I suspect that the macro AX_WITH_CURSES might help us a lot. Link is autoconf archive.

During this process I should be able to create a readme for using the autotools (for everyone who wants to rebuild the configure scripts using autotools). The others should be able to work from ./configure && make && sudo make install.

This is what I have in mind now. The changes I have up to now (only local changes) I will revert and stash somewhere.

Any ideas? Comments?

gbonnema commented 7 years ago

I have created a branch (autotools) on my forked repo to cater to these changes. The status is that I have a compiling environment and are checking the defined variables. As soon as I finish that, I will issue a pull request and merge into experimental.

gbonnema commented 7 years ago

Issue was solved in the autotools modification. Closing issue.