home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.shrubbery.net
/
2015-02-07.ftp.shrubbery.net.tar
/
ftp.shrubbery.net
/
pub
/
foad
/
foad-0.3.tar.gz
/
foad-0.3.tar
/
foad-0.3
/
configure.in
< prev
next >
Wrap
Text File
|
2003-09-22
|
974b
|
50 lines
dnl Process this file with autoconf to produce a configure script.
dnl A configure script is provided, in cause you do not have autoconf.
AC_PREREQ(2.54)
AC_INIT(CHANGES)
AM_INIT_AUTOMAKE(foad, 0.2)
AM_CONFIG_HEADER(config.h)
# make sure MAKE sets ${MAKE}
AC_PROG_MAKE_SET()
dnl default install location
AC_PREFIX_DEFAULT(/usr/local)
AM_MAINTAINER_MODE()
dnl configure options
dnl
# compiler specifics
AC_PROG_CC
AM_C_PROTOTYPES
AC_PROG_CPP
AC_C_CONST
AC_C_INLINE
AC_C_STRINGIZE
AM_PROG_LEX
AC_PROG_YACC
# check includes/headers
AC_HEADER_STDC
AC_CHECK_HEADERS(errno.h stdlib.h string.h strings.h sys/types.h)
AC_CHECK_HEADERS(malloc.h unistd.h)
# check functions
AC_CHECK_FUNCS(bzero)
AC_CHECK_FUNCS(rindex)
# Find an appropriate tar for use in "dist" targets. A "best guess"
# is good enough -- if we can't find GNU tar, we don't really care.
AC_CHECK_PROGS(TAR, gnutar gtar tar)
AC_SUBST(INST_PROGS)
INST_PROGS=$progs
AC_OUTPUT([Makefile])