mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ([2.69])
|
|
AC_INIT([urcrypt], [1.0])
|
|
AC_CONFIG_SRCDIR([urcrypt.c])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
AC_CONFIG_AUX_DIR([build-aux])
|
|
AC_CONFIG_MACRO_DIR([build-aux/m4])
|
|
AM_INIT_AUTOMAKE([foreign subdir-objects -Wall -Werror])
|
|
AM_PROG_AR
|
|
LT_INIT
|
|
AC_PROG_CC
|
|
AC_CHECK_LIB([aes_siv], [AES_SIV_CTX_new])
|
|
|
|
## Checks for libraries.
|
|
## FIXME: Replace `main' with a function in `-laes_siv':
|
|
## FIXME: Replace `main' with a function in `-largon2':
|
|
#AC_CHECK_LIB([argon2], [main])
|
|
## FIXME: Replace `main' with a function in `-led25519':
|
|
#AC_CHECK_LIB([ed25519], [main])
|
|
## FIXME: Replace `main' with a function in `-lgmp':
|
|
#AC_CHECK_LIB([gmp], [main])
|
|
## FIXME: Replace `main' with a function in `-lsecp256k1':
|
|
#AC_CHECK_LIB([secp256k1], [main])
|
|
## FIXME: Replace `main' with a function in `-lssl':
|
|
#AC_CHECK_LIB([ssl], [main])
|
|
|
|
# Checks for header files.
|
|
AC_CHECK_HEADERS([limits.h stddef.h stdint.h stdlib.h string.h])
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
AC_CHECK_HEADER_STDBOOL
|
|
AC_TYPE_INT32_T
|
|
AC_TYPE_INT64_T
|
|
AC_TYPE_SIZE_T
|
|
AC_TYPE_UINT32_T
|
|
AC_TYPE_UINT64_T
|
|
AC_TYPE_UINT8_T
|
|
|
|
# Checks for library functions.
|
|
AC_CHECK_FUNCS([memset])
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|