Commit 5884beb0 authored by Geoff Simmons's avatar Geoff Simmons

configure correctly for use of strdup()

parent 6687a313
Pipeline #49 skipped
......@@ -44,6 +44,20 @@ AC_CHECK_HEADERS([sys/types.h])
AC_CHECK_HEADERS([stdint.h])
AC_CHECK_HEADERS([unistd.h])
# Checks for C sources
AC_CHECK_FUNCS([memset])
AC_CHECK_FUNCS([strdup])
AC_C_INLINE
AC_C_RESTRICT
AC_FUNC_MALLOC
AC_TYPE_SIZE_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
# Checks for libtool
AC_PROG_CXX
# backwards compat with older pkg-config
# - pull in AC_DEFUN from pkg.m4
m4_ifndef([PKG_CHECK_VAR], [
......
......@@ -25,13 +25,11 @@
*
*/
#define _POSIX_C_SOURCE 200809L
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "vcl.h"
#include "vrt.h"
#include "vas.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment