diff --git a/libpkgconf/config.h.meson b/libpkgconf/config.h.meson index d1236c7..c0e97a6 100644 --- a/libpkgconf/config.h.meson +++ b/libpkgconf/config.h.meson @@ -3,27 +3,6 @@ /* Define to 1 if you have the `cygwin_conv_path' function. */ #mesondefine HAVE_CYGWIN_CONV_PATH -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_DLFCN_H - -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_INTTYPES_H - -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_MEMORY_H - -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_STDLIB_H - -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_STRING_H - /* Define to 1 if you have the `strlcat' function. */ #mesondefine HAVE_STRLCAT @@ -33,18 +12,6 @@ /* Define to 1 if you have the `strndup' function. */ #mesondefine HAVE_STRNDUP -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_UNISTD_H - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#mesondefine LT_OBJDIR - /* Name of package */ #mesondefine PACKAGE diff --git a/meson.build b/meson.build index 1bfc939..bf5904f 100644 --- a/meson.build +++ b/meson.build @@ -8,24 +8,6 @@ cc = meson.get_compiler('c') cdata = configuration_data() -check_headers = [ - ['HAVE_DLFCN_H', 'dlfcn.h'], - ['HAVE_INTTYPES_H', 'inttypes.h'], - ['HAVE_MEMORY_H', 'memory.h'], - ['HAVE_STDINT_H', 'stdint.h'], - ['HAVE_STDLIB_H', 'stdlib.h'], - ['HAVE_STRINGS_H', 'strings.h'], - ['HAVE_STRING_H', 'string.h'], - ['HAVE_SYS_STAT_H', 'sys/stat.h'], - ['HAVE_SYS_TYPES_H', 'sys/types.h'], - ['HAVE_UNISTD_H', 'unistd.h'], -] - -foreach h : check_headers - if cc.has_header(h.get(1)) - cdata.set(h.get(0), 1) - endif -endforeach check_functions = [ ['HAVE_CYGWIN_CONV_PATH', 'cygwin_conv_path', 'sys/cygwin.h'],