| |
@@ -0,0 +1,28 @@
|
| |
+ # Taken from http://www.idryman.org/blog/2016/03/10/autoconf-tutorial-1/
|
| |
+ # Must init the autoconf setup
|
| |
+ # The first parameter is project name
|
| |
+ # second is version number
|
| |
+ # third is bug report address
|
| |
+ AC_INIT([hello], [1.0])
|
| |
+
|
| |
+ # We want to expand templates in this file
|
| |
+ AC_CONFIG_FILES([hello.c])
|
| |
+ # Store the auxiliary build tools (e.g., install-sh, config.sub, config.guess)
|
| |
+ # in this dir (build-aux)
|
| |
+ AC_CONFIG_AUX_DIR([build-aux])
|
| |
+
|
| |
+ # Init automake, and specify this program use relaxed structures.
|
| |
+ # i.e. this program doesn't follow the gnu coding standards, and doesn't have
|
| |
+ # ChangeLog, COPYING, AUTHORS, INSTALL, README etc. files.
|
| |
+ AM_INIT_AUTOMAKE([-Wall -Werror foreign])
|
| |
+
|
| |
+ # Check for C compiler
|
| |
+ AC_PROG_CC
|
| |
+ # We can add more checks in this section
|
| |
+
|
| |
+ # Tells automake to create a Makefile
|
| |
+ # See https://www.gnu.org/software/automake/manual/html_node/Requirements.html
|
| |
+ AC_CONFIG_FILES([Makefile])
|
| |
+
|
| |
+ # Generate the output
|
| |
+ AC_OUTPUT
|
| |
Related: RHBZ#1831941