autotools

Detect OS with autoconf

1 minute read Published: 2016-08-11

In this post based on my answer for a Stack Overflow question I'll show you how to detect the target OS in the configure.ac or configure.in autotools-files.