Which files generated by Autotools should I keep in version control repository?

You should not keep any files under version control that are not hand-edited. That means any generated file should be ignored by the version control system. I basically put only the following under version control: configure.ac Makefile.am the documentation files such as AUTHORS, NEWS etc. Makefile.am in subdirectories To address the point of having a … Read more

Why use build tools like Autotools when we can just write our own makefiles?

You are talking about two separate but intertwined things here: Autotools GNU coding standards Within Autotools, you have several projects: Autoconf Automake Libtool Let’s look at each one individually. Autoconf Autoconf easily scans an existing tree to find its dependencies and create a configure script that will run under almost any kind of shell. The … Read more

How do I convert an Autotools project to a CMake project? [closed]

There is no automated tool that will convert an arbitrary build system from autotools to cmake. I have converted a few moderately large projects manually. I like to create one CMakeLists.txt file for each set of configure.ac and/or Makefile.am file, to ease the conversion from autotools to cmake. Sadly, this manual approach requires developing an … Read more

libtool version mismatch error

Try running autoreconf –force –install ./configure make in the root directory of your project. If that doesn’t work, try running make maintainer-clean first and then go to step 1. If that still doesn’t work, run make maintainer-clean, then delete every generated file in the root directory of your project; including aclocal.m4, any m4 directory, any … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)