f45d80805e
* rdi-share/Makefile.am, rdi-share/aclocal.m4, rdi-share/configure: New files. * rdi-share/configure.in: Rewritten to be an autoconf input file. * rdi-share/Makefile.in, rdi-share/configure: Generated by automake/autoconf. * rdi-share/dbg_hif.h, etherdrv.c, hostchan.c: Use autoconf tests to check environment. automake/autoconfiscate rdi-share. We don't use the checks that autoconf provides too much for now, but it'll be easier to use them if any problems crop up in the future. (rdi-share/ is foreign code and it probably isn't worth spending any more time than necessary messing with it.)
35 lines
697 B
Text
35 lines
697 B
Text
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(adp.h)
|
|
|
|
AM_INIT_AUTOMAKE(rdi-share, 1.0)
|
|
|
|
PACKAGE=rdi-share
|
|
VERSION=1.0
|
|
|
|
dnl Checks for programs.
|
|
AC_PROG_CC
|
|
AC_PROG_INSTALL
|
|
AC_PROG_MAKE_SET
|
|
AC_PROG_RANLIB
|
|
|
|
dnl Checks for libraries.
|
|
|
|
dnl Checks for header files.
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h sys/filio.h)
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
AC_C_CONST
|
|
AC_TYPE_SIZE_T
|
|
AC_HEADER_TIME
|
|
|
|
dnl Checks for library functions.
|
|
AC_PROG_GCC_TRADITIONAL
|
|
AC_TYPE_SIGNAL
|
|
AC_FUNC_VPRINTF
|
|
AC_CHECK_FUNCS(gettimeofday select socket strtod strtoul memcpy memmove)
|
|
|
|
AM_MAINTAINER_MODE
|
|
AM_EXEEXT
|
|
|
|
AC_OUTPUT(Makefile)
|