Skip to content

msteveb/autosetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

54e2535 · Feb 23, 2025
Feb 20, 2025
Feb 23, 2025
Sep 2, 2024
Dec 14, 2010
May 4, 2011
Nov 26, 2017
Dec 15, 2022
Dec 14, 2010
Sep 28, 2024
Sep 2, 2024
Sep 2, 2024
Jan 10, 2025
Mar 25, 2017
Feb 23, 2025
Oct 1, 2017
Mar 25, 2017

Repository files navigation

From the autosetup v0.6.2 User Manual...

autosetup is a tool, similar to autoconf, to configure a build system for the appropriate environment, according to the system capabilities and the user configuration.

autosetup is designed to be light-weight, fast, simple and flexible.

Notable features include:

  • Easily check for headers, functions, types for C/C++
  • Easily support user configuration options
  • Can generate files based on templates, such as Makefile.in => Makefile
  • Can generate header files based on checked features
  • Excellent support for cross compilation
  • Replacement for autoconf in many situations
  • Runs with either Tcl 8.5+, Jim Tcl or just a C compiler (using the included Jim Tcl source code!)
  • autosetup is intended to be distributed with projects - no version issues

autosetup is particularly targeted towards building C/C++ applications on Unix systems, however it can be extended for other environments as needed.

autosetup is not:

  • A build system
  • A replacement for automake
  • Intended to replace all possible uses of autoconf

Try: ./autosetup --help or ./autosetup --reference

Or view the manual on github at:

https://msteveb.github.io/autosetup/

Quick Start

To install autosetup into your project, 'cd' to the top level of your project and run:

<path-to-autosetup>/autosetup --install

Once autosetup is installed, create auto.def, run:

./configure

To migrate an autoconf-enabled project to autosetup:

<path-to-autosetup>/migrate-autoconf