Automake Autoconf Aclocal Autoreconf example to Makefile recipe code

1 month ago
13

This video shows how one takes a source code repository for Makefile and transitions to the GNU autoconf make system but leaves the make recipes - just like Richard Stallman does - and how you can use autoconf .m4 files already made to find things out about a system. In this one we use

# This one tells you what the command line target was
AC_CANONICAL_TARGET
# This autoconf .m4 file determines the host type
AC_CANONICAL_HOST
# This one determines the target type ( like in a Canadian Cross compiliation when you get a windows machine to write code for a Motorola CPU etc...)
AC_CANONICAL_BUILD

to get the platform type so we can replace the old configurations down the road.

Loading comments...