add me as a maintainer for a few other packages
[openwrt.git] / package / ead / src / tinysrp / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2
3 AC_INIT(t_pwd.h)
4 AM_CONFIG_HEADER(config.h)
5 AM_INIT_AUTOMAKE(libtinysrp, 0.7.5)
6
7 test "$CFLAGS" = "" && CFLAGS="-O2"
8
9 dnl Checks for programs.
10
11 AC_PROG_CC
12 AC_PROG_INSTALL
13 AC_PROG_LN_S
14 AC_PROG_RANLIB
15 AC_ARG_PROGRAM
16
17 dnl Checks for header files.
18
19 AC_HEADER_STDC
20 AC_CHECK_HEADERS(sgtty.h sys/ioctl.h sys/time.h termio.h termios.h unistd.h)
21
22 dnl Checks for typedefs, structures, and compiler characteristics.
23
24 AC_C_CONST
25 AC_C_INLINE
26 AC_HEADER_TIME
27 AC_C_BIGENDIAN
28 AC_CHECK_SIZEOF(short)
29 AC_CHECK_SIZEOF(int)
30 AC_CHECK_SIZEOF(long)
31 AC_CHECK_SIZEOF(long long)
32 AC_TRY_COMPILE(, [volatile int i;], , AC_DEFINE(volatile, ))
33 AC_C_CHAR_UNSIGNED
34
35 AC_SUBST(signed)dnl
36 if test "$ac_cv_c_char_unsigned" = "yes"; then
37 signed=-signed
38 fi
39
40 dnl Checks for library functions.
41
42 AC_CHECK_FUNCS(sigaction strchr memcpy)
43 TYPE_SIGNAL
44 AC_HEADER_CHECK(termios.h,AC_FUNC_CHECK(cfsetispeed,AC_DEFINE(POSIX_TERMIOS)))
45
46 dnl User options
47
48 dnl Some defines for now.
49
50 AC_DEFINE(SHA1HANDSOFF)
51
52 AC_OUTPUT(Makefile)
This page took 0.041199 seconds and 5 git commands to generate.