mirror of
https://github.com/nikdoof/dhsd.git
synced 2025-12-23 15:49:30 +00:00
v0.0.2
This commit is contained in:
30
configure.in
Normal file
30
configure.in
Normal file
@@ -0,0 +1,30 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT(src/main.c)
|
||||
AM_INIT_AUTOMAKE(dhsd, 0.02)
|
||||
AC_PROG_MAKE_SET
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_ISC_POSIX
|
||||
|
||||
dnl Checks for libraries.
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_STDC_HEADERS
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug Turn on debugging],
|
||||
[case "${enableval}" in
|
||||
yes) debug=true ;;
|
||||
no) debug=false ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
|
||||
esac],[debug=false])
|
||||
AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
|
||||
|
||||
|
||||
AM_CONFIG_HEADER(src/config.h)
|
||||
AC_HAVE_HEADERS(syslog.h)
|
||||
|
||||
AC_OUTPUT(Makefile src/Makefile scripts/Makefile)
|
||||
|
||||
Reference in New Issue
Block a user