50 lines
1.3 KiB
Text
50 lines
1.3 KiB
Text
|
# -*- Autoconf -*-
|
||
|
# Process this file with autoconf to produce a configure script.
|
||
|
|
||
|
AC_PREREQ([2.69])
|
||
|
AC_INIT([inweb-bootstrap], [7.2.0], [adam.faiz@disroot.org])
|
||
|
AC_CONFIG_HEADERS([config.h])
|
||
|
|
||
|
# Checks for programs.
|
||
|
AC_PROG_CXX
|
||
|
|
||
|
AC_CHECK_TOOL(NOWEAVE,noweave,no)
|
||
|
AS_IF([test "$NOWEAVE" = "no"], [AC_MSG_ERROR([Please install noweave before configuring.])])
|
||
|
|
||
|
AC_CHECK_TOOL(NOTANGLE,notangle,no)
|
||
|
AS_IF([test "$NOTANGLE" = "no"], [AC_MSG_ERROR([Please install notangle before configuring.])])
|
||
|
|
||
|
AC_CHECK_TOOL(PDFLATEX,pdflatex,no)
|
||
|
AS_IF([test "$PDFLATEX" = "no"], [AC_MSG_ERROR([Please install texlive-scheme-basic before configuring.])])
|
||
|
|
||
|
AC_CHECK_TOOL(CPIF,cpif,no)
|
||
|
AS_IF([test "$CPIF" = "no"], [AC_MSG_ERROR([Please install cpif before configuring.])])
|
||
|
|
||
|
AC_SUBST(NOWEAVE)
|
||
|
AC_SUBST(NOTANGLE)
|
||
|
AC_SUBST(PDFLATEX)
|
||
|
AC_SUBST(CPIF)
|
||
|
|
||
|
# Checks for libraries.
|
||
|
|
||
|
# Checks for header files.
|
||
|
#AC_CHECK_HEADERS([limits.h stdint.h stdlib.h string.h strings.h unistd.h wchar.h])
|
||
|
|
||
|
# Checks for typedefs, structures, and compiler characteristics.
|
||
|
#AC_TYPE_OFF_T
|
||
|
#AC_TYPE_PID_T
|
||
|
#AC_TYPE_SIZE_T
|
||
|
#AC_TYPE_SSIZE_T
|
||
|
#AC_TYPE_UINT32_T
|
||
|
#AC_TYPE_UINT64_T
|
||
|
|
||
|
# Checks for library functions.
|
||
|
#AC_FUNC_MALLOC
|
||
|
#AC_FUNC_MKTIME
|
||
|
#AC_CHECK_FUNCS([atexit memset mkdir realpath strcasecmp strerror])
|
||
|
|
||
|
AM_INIT_AUTOMAKE
|
||
|
AC_CONFIG_FILES([Makefile])
|
||
|
|
||
|
AC_OUTPUT
|