1
0
Fork 0
mirror of https://github.com/tailix/drivers.git synced 2024-11-20 11:06:32 -05:00
drivers/configure.ac
2022-12-03 19:30:15 +04:00

63 lines
951 B
Text

############################
# Specify program versions #
############################
AC_PREREQ([2.68])
LT_PREREQ([2.4.6])
##################################
# Initialize Autoconf & Automake #
##################################
AC_INIT([drivers],
m4_normalize(m4_include([VERSION])),
[https://github.com/tailix/drivers/issues],
[drivers],
[https://github.com/tailix/drivers])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/foobar.c])
AC_CONFIG_FILES([
Makefile
include/Makefile
])
AM_INIT_AUTOMAKE([1.16 subdir-objects])
##############
# Run checks #
##############
AC_LANG([C])
AM_PROG_AR
AM_PROG_AS
AC_PROG_CC
AC_PROG_CC_C99
AC_C_INLINE
AC_CHECK_HEADER_STDBOOL
AC_CHECK_HEADERS([stdarg.h stddef.h stdint.h])
######################
# Initialize Libtool #
######################
LT_INIT([disable-shared])
##########
# Finish #
##########
AC_OUTPUT