Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F10814289
configure.ac
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
configure.ac
View Options
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_INIT(source/defines.h)
AC_CONFIG_HEADER(source/config.h)
AM_INIT_AUTOMAKE(darkbot, `cat VERSION`)
dnl Checks for programs.
AC_PROG_CC
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)
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]))
AC_CHECK_TYPES
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
AC_HEADER_TIME
dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(select socket strspn strstr strtol)
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
Details
Attached
Mime Type
text/x-m4
Expires
Tue, Jul 29, 14:30 (48 m, 44 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2818356
Default Alt Text
configure.ac (1 KB)
Attached To
Mode
rDARKBOT Darkbot
Attached
Detach File
Event Timeline
Log In to Comment