Root/package/ead/src/tinysrp/configure.in

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

Archive Download this file



interactive