all repos — nimisewi_c @ d77bd77ed102dd8d6b24f9c45e2a5128d6d859d5

simple random toki pona phrase generator

configure.ac (view raw)

 1AC_INIT([nimisewi], [0.1.0], [aaoth@aaoth.xyz])
 2AC_COPYRIGHT([Copyright (c) 2021, la-ninpre])
 3AC_CONFIG_AUX_DIR([autotools])
 4AM_INIT_AUTOMAKE
 5AC_CONFIG_HEADERS([config.h])
 6AC_CONFIG_FILES([Makefile])
 7AC_CANONICAL_HOST
 8
 9# Checks for programs.
10AC_PROG_CC
11
12# Checks for libraries.
13case "$host_os" in
14     linux*)
15        AC_CHECK_HEADERS([bsd/string.h])
16        AC_CHECK_FUNCS([strlcat])
17        ;;
18    *bsd*|dragonfly*)
19        AC_CHECK_FUNCS([strlcat pledge])
20        ;;
21esac
22
23# Checks for header files.
24AC_CHECK_HEADERS([sys/time.h unistd.h])
25
26# Checks for typedefs, structures, and compiler characteristics.
27AC_TYPE_PID_T
28AC_TYPE_SIZE_T
29
30# Checks for library functions.
31AC_FUNC_MALLOC
32AC_CHECK_FUNCS([gettimeofday])
33
34AC_OUTPUT