40 lines
829 B
Plaintext
40 lines
829 B
Plaintext
|
# configure.in -- Process this file with autoconf to produce configure
|
||
|
|
||
|
# Initialization stuff
|
||
|
AC_INIT(dvnixload, 0.1.0, [bug@hugovil.com])
|
||
|
AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
|
||
|
# AC_CONFIG_AUX_DIR(config)
|
||
|
AC_CONFIG_SRCDIR([config.h.in])
|
||
|
AC_CONFIG_HEADER([config.h])
|
||
|
|
||
|
# Tests the C compiler
|
||
|
AC_PROG_CC
|
||
|
AC_LANG_C
|
||
|
|
||
|
# Checks for programs.
|
||
|
AC_PROG_INSTALL
|
||
|
AC_PROG_LN_S
|
||
|
AC_PROG_MAKE_SET
|
||
|
|
||
|
# Checks for libraries.
|
||
|
|
||
|
# Checks for header files.
|
||
|
AC_HEADER_STDC
|
||
|
AC_CHECK_HEADERS(stdint.h string.h unistd.h)
|
||
|
|
||
|
# Checks for typedefs, structures, and compiler characteristics.
|
||
|
AC_C_CONST
|
||
|
|
||
|
# Checks for library functions.
|
||
|
|
||
|
# Additional options for CFLAGS and LIBS
|
||
|
CFLAGS="${CFLAGS} -Wall"
|
||
|
|
||
|
AC_SUBST(CFLAGS)
|
||
|
AC_SUBST(LIBS)
|
||
|
AC_SUBST(ac_aux_dir)
|
||
|
|
||
|
# Creating output file(s)
|
||
|
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile])
|
||
|
AC_OUTPUT
|