Page MenuHomeDevCentral

configure.ac
No OneTemporary

configure.ac

dnl ---------------------------------
dnl configure.ac file for Darkbot.
dnl Written by ron <ron@darkbot.org>
dnl ---------------------------------
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT([Darkbot],[7f3(dev)],[ron@darkbot.org])
AC_COPYRIGHT([Copyright (C) 2004 Darkbot Development Team])
AC_REVISION($Revision$)
AC_CONFIG_SRCDIR(source/defines.h)
AC_CONFIG_HEADER(source/config.h)
AC_PREFIX_DEFAULT([\${HOME}/darkbot])
dnl config.h stuff
AH_TOP([#ifndef _DARKBOT_CONFIG_H
#define _DARKBOT_CONFIG_H])
AH_BOTTOM([#endif /* !_DARKBOT_CONFIG_H */])
AM_INIT_AUTOMAKE(darkbot, `cat VERSION`)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PATH_PROG(RM,rm)
AC_PATH_PROG(CP,cp)
dnl Checks for libraries.
dnl Replace `main' with a function in -lcrypt:
AC_CHECK_LIB(crypt, main)
dnl Replace `main' with a function in -luser32:
AC_CHECK_LIB(user32, main)
AC_CHECK_TYPE(clock_t)
dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h)
AC_CHECK_HEADER([windows.h],AC_DEFINE([WIN32],,[windows.h]))
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_HEADER_TIME
dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(select socket strspn strstr strtol snprintf)
AC_SUBST(CFLAGS)
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_CONFIG_FILES([source/Makefile Makefile])
AC_OUTPUT
dnl Tell the user to run the Setup utility
echo
echo "You may now run ./Setup for configuration."

File Metadata

Mime Type
text/x-m4
Expires
Mon, Jun 8, 07:58 (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3769724
Default Alt Text
configure.ac (1 KB)

Event Timeline