You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
965 B
44 lines
965 B
# configure.in -- Process this file with autoconf to produce configure
|
|
|
|
# Initialization stuff
|
|
AC_INIT(dvnixload, 0.2.6, [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
|
|
|
|
echo
|
|
echo "Configure finished."
|
|
echo " Type 'make' to build dvnixload."
|
|
echo " Type 'make -C ubl BOARD=<boardname>' to build HVUBL."
|
|
|