News for hackers. Stuff that matters.
Re:A Simple Makefile for Medium-Sized C/C++ Projects by _RPM on Friday August 26, 2016 @10:17AM (#12366407)
Auto tools is great. To compile all you do is

    ./configure
      make
      make install
It couldn't be simpler. Even though I am part of the GitHub generation, I don't see why so many of my peers hate it. I actually like it.
Re:A Simple Makefile for Medium-Sized C/C++ Projects by wyldfire on Friday August 26, 2016 @10:21AM (#12366442)
This is kinda hilarious because, yes, "Autotools is great" [as a consumer]. But autotools and m4 is kinda awful to write IMO.
Re:A Simple Makefile for Medium-Sized C/C++ Projects by arglwarg on Friday August 26, 2016 @10:23AM (#12366464)
... and autotools is actively hate-inducing if you have to debug it.
Re:A Simple Makefile for Medium-Sized C/C++ Projects by pja on Friday August 26, 2016 @10:22AM (#12366453)
autotools is pretty great for the end-user who wants to compile your code or the distributor who wants to package it up for Debian or whatever.

It’s a crawling horror for the programmer that wants to use autotools as the build solution for their code however, which is the topic under discussion.

Re:A Simple Makefile for Medium-Sized C/C++ Projects by flohofwoe on Friday August 26, 2016 @10:29AM (#12366503)
This only works in the Unix world, on Mac only for command line tools (but only after installing autoconf and make), and not at all on Windows unless you install a complete Unix environment (cygwin or mingw).
Re:A Simple Makefile for Medium-Sized C/C++ Projects by slrz on Friday August 26, 2016 @11:59AM (#12367114)
Why would it only work with command line programs on the Mac? That's definitely not true, unless something changed very recently.

Also, you don't need autotools itself to build a autotoolized program. The generated configure script is portable sh.

Re:A Simple Makefile for Medium-Sized C/C++ Projects by _RPM on Friday August 26, 2016 @01:34PM (#12367841)
Not really. the end user doesn't need autotools installed actually. To build the configure script from the "configure.in" file, you need autotools. Go ahead and try!
Re:A Simple Makefile for Medium-Sized C/C++ Projects by GFK_of_xmaspast on Friday August 26, 2016 @10:33AM (#12366532)
That's the ideal situation, yes, but god help you when something goes wrong.
Re:A Simple Makefile for Medium-Sized C/C++ Projects by _RPM on Friday August 26, 2016 @11:03AM (#12366742)
It's not that hard. I recently had to debug a memcached configure.in script. But, I consider myself a C programmer, so that fact might be source of bias.