mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 06:48:47 +02:00
51 lines
1014 B
Plaintext
51 lines
1014 B
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
dnl $Id: configure.in,v 1.8 2000-03-15 16:05:19 dfs Exp $
|
|
|
|
AC_INIT(src/queue.c)
|
|
|
|
cat <<'EOF'
|
|
|
|
**********************
|
|
* *
|
|
* Configuring REMIND *
|
|
* *
|
|
**********************
|
|
|
|
EOF
|
|
|
|
AC_CONFIG_HEADER(src/config.h)
|
|
|
|
dnl Checks for programs.
|
|
AC_PROG_CC
|
|
AC_PROG_INSTALL
|
|
AC_PROG_LN_S
|
|
AC_PROG_MAKE_SET
|
|
|
|
dnl Checks for libraries.
|
|
dnl Replace `main' with a function in -lm:
|
|
|
|
AC_CHECK_LIB(m, sqrt)
|
|
|
|
dnl Checks for header files.
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS(sys/file.h sys/select.h sys/time.h sys/types.h unistd.h malloc.h stdarg.h stdlib.h pwd.h)
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
AC_C_CONST
|
|
AC_STRUCT_TM
|
|
|
|
dnl Checks for library functions.
|
|
AC_TYPE_SIGNAL
|
|
AC_TYPE_PID_T
|
|
AC_TYPE_UID_T
|
|
AC_FUNC_UTIME_NULL
|
|
AC_HEADER_TIME
|
|
AC_FUNC_VPRINTF
|
|
AC_CHECK_FUNCS(mktime putenv strstr timegm difftime)
|
|
|
|
if test "$GCC" = yes; then
|
|
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes"
|
|
fi
|
|
|
|
AC_OUTPUT(src/Makefile)
|