Menu

#81 build: cleanup: generated files migrate to newer autotools

Unstable_(example)
open
nobody
None
5
2018-06-01
2015-11-21
No

Hi,

Some cleanup if you would like to accept.
These are for recent (~8 years at least) autotools.

  1. Add .gitignore to ease use o git.
  2. Remove autotools generated files from repo, these are not needed as autoreconf -ivf generates all.
  3. Simplify autogen.sh as no need to anything but autoreconf -ivf these days.
  4. Rename configure.in to configure.ac as configure.in is obsoleted.
  5. Reorder bit of configure.ac to resolve autoconf warnings.
  6. Modify automake/gettext macros in configure.ac to meet requirements.
  7. Update Makefile.am to resolve warnings.
  8. Add po/Makevars as it is required for recent gettext.

I would also suggest to remove maintainer mode as it should not be used in recent projects.

There are more fixups required for make distcheck to work, as local targets within root Makefile.am do not have uninstall targets.

Thanks!

1 Attachments

Discussion

  • Alon Bar-Lev

    Alon Bar-Lev - 2018-06-01

    hi,
    can you please look into this?
    very hard to work with the old autoconf in recent distributions.
    please?
    I am adding alternate patch with minimum changes to begin with.
    thanks!

     
  • Alon Bar-Lev

    Alon Bar-Lev - 2018-06-01

    rebase of the full patch, a cleanup of the build system, again, I suggest also to remove the mainteiner mode.

     

Log in to post a comment.