# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.68]) AC_INIT([nmap-update.c]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CC AC_PROG_INSTALL AC_PATH_TOOL([STRIP], [strip], [/bin/true]) AC_CHECK_PROGS([APR_CONFIG], [apr-1-config]) # Checks for libraries. AC_CHECK_LIB([svn_client-1], [svn_client_create_context]) AC_CHECK_LIB([svn_subr-1], [svn_handle_error2]) AC_CHECK_LIB([apr-1], [apr_pool_destroy]) # Checks for header files. CPPFLAGS="$CPPFLAGS $($APR_CONFIG --cppflags --includes)" AC_CHECK_HEADERS([svn_client.h subversion-1/svn_client.h]) # Checks for typedefs, structures, and compiler characteristics. # AC_TYPE_SIZE_T # Checks for library functions. # AC_CHECK_FUNCS([mkdir strerror strtoul]) AC_OUTPUT(Makefile)