autotools-project/configure.ac

63 lines
974 B
Plaintext
Raw Normal View History

2022-06-11 10:53:45 +00:00
############################
# Specify program versions #
############################
AC_PREREQ([2.70])
2022-06-11 10:53:45 +00:00
LT_PREREQ([2.4.6])
##################################
# Initialize Autoconf & Automake #
##################################
2022-06-11 10:53:45 +00:00
2022-06-07 01:09:06 +00:00
AC_INIT([autotools-project],
2022-06-13 12:45:27 +00:00
m4_normalize(m4_include([VERSION])),
2022-06-07 01:09:06 +00:00
[https://github.com/tailix/autotools-project/issues],
[autotools-project],
[https://github.com/tailix/autotools-project])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
2022-06-11 10:53:45 +00:00
AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/main.c])
2022-06-07 01:09:06 +00:00
AC_CONFIG_FILES([
Makefile
2022-06-07 04:10:53 +00:00
include/Makefile
2022-06-07 01:09:06 +00:00
])
2022-06-11 10:53:45 +00:00
AM_INIT_AUTOMAKE([1.16 subdir-objects])
##############
# Run checks #
##############
2022-06-07 01:09:06 +00:00
AC_LANG([C])
AM_PROG_AR
AM_PROG_AS
AC_PROG_CC
AC_C_INLINE
AC_CHECK_HEADER_STDBOOL
AC_CHECK_HEADERS([stdarg.h stddef.h stdint.h])
2022-06-11 10:53:45 +00:00
######################
# Initialize Libtool #
######################
LT_INIT([disable-shared])
##########
# Finish #
##########
2022-06-07 01:09:06 +00:00
AC_OUTPUT