Compare commits
2 Commits
464672404e
...
4c76f6bf01
Author | SHA1 | Date |
---|---|---|
Ariadne Conill | 4c76f6bf01 | |
Ariadne Conill | 664f741f26 |
|
@ -22,7 +22,7 @@ AX_CHECK_COMPILE_FLAG([-std=gnu99], [CFLAGS="$CFLAGS -std=gnu99"], [
|
||||||
AX_CHECK_COMPILE_FLAG([-std=c99], [CFLAGS="$CFLAGS -std=c99"])
|
AX_CHECK_COMPILE_FLAG([-std=c99], [CFLAGS="$CFLAGS -std=c99"])
|
||||||
])
|
])
|
||||||
AC_CONFIG_HEADERS([libpkgconf/config.h])
|
AC_CONFIG_HEADERS([libpkgconf/config.h])
|
||||||
AC_CHECK_FUNCS([strlcpy strlcat strndup])
|
AC_CHECK_FUNCS([strlcpy strlcat strndup reallocarray])
|
||||||
AC_CHECK_HEADERS([sys/stat.h])
|
AC_CHECK_HEADERS([sys/stat.h])
|
||||||
AM_INIT_AUTOMAKE([foreign dist-xz subdir-objects])
|
AM_INIT_AUTOMAKE([foreign dist-xz subdir-objects])
|
||||||
AM_SILENT_RULES([yes])
|
AM_SILENT_RULES([yes])
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
/* Define to 1 if you have the `strndup' function. */
|
/* Define to 1 if you have the `strndup' function. */
|
||||||
#mesondefine HAVE_STRNDUP
|
#mesondefine HAVE_STRNDUP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `reallocarray' function. */
|
||||||
|
#mesondefine HAVE_REALLOCARRAY
|
||||||
|
|
||||||
/* Name of package */
|
/* Name of package */
|
||||||
#mesondefine PACKAGE
|
#mesondefine PACKAGE
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@ check_functions = [
|
||||||
['HAVE_STRDUP', 'strdup', 'string.h'],
|
['HAVE_STRDUP', 'strdup', 'string.h'],
|
||||||
['HAVE_STRNCASECMP', 'strncasecmp', 'strings.h'],
|
['HAVE_STRNCASECMP', 'strncasecmp', 'strings.h'],
|
||||||
['HAVE_STRCASECMP', 'strcasecmp', 'strings.h'],
|
['HAVE_STRCASECMP', 'strcasecmp', 'strings.h'],
|
||||||
|
['HAVE_REALLOCARRAY', 'reallocarray', 'stdlib.h'],
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach f : check_functions
|
foreach f : check_functions
|
||||||
|
|
Loading…
Reference in New Issue