Moved CURL_INCLUDES_INTTYPES to curl-functions.m4 along with other CURL_INCLUDES_*
This commit is contained in:
24
acinclude.m4
24
acinclude.m4
@@ -2712,30 +2712,6 @@ _EOF
|
|||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl CURL_INCLUDES_INTTYPES
|
|
||||||
dnl -------------------------------------------------
|
|
||||||
dnl Set up variable with list of headers that must be
|
|
||||||
dnl included when inttypes.h is to be included.
|
|
||||||
|
|
||||||
AC_DEFUN([CURL_INCLUDES_INTTYPES], [
|
|
||||||
curl_includes_inttypes="\
|
|
||||||
/* includes start */
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
|
||||||
# include <sys/types.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STDINT_H
|
|
||||||
# include <stdint.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_INTTYPES_H
|
|
||||||
# include <inttypes.h>
|
|
||||||
#endif
|
|
||||||
/* includes end */"
|
|
||||||
AC_CHECK_HEADERS(
|
|
||||||
sys/types.h stdint.h inttypes.h,
|
|
||||||
[], [], [$curl_includes_inttypes])
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl CURL_CONFIGURE_LONG
|
dnl CURL_CONFIGURE_LONG
|
||||||
dnl -------------------------------------------------
|
dnl -------------------------------------------------
|
||||||
dnl Find out the size of long as reported by sizeof() and define
|
dnl Find out the size of long as reported by sizeof() and define
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
|
|
||||||
# File version for 'aclocal' use. Keep it a single number.
|
# File version for 'aclocal' use. Keep it a single number.
|
||||||
# serial 46
|
# serial 47
|
||||||
|
|
||||||
|
|
||||||
dnl CURL_INCLUDES_ARPA_INET
|
dnl CURL_INCLUDES_ARPA_INET
|
||||||
@@ -103,6 +103,30 @@ curl_includes_ifaddrs="\
|
|||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl CURL_INCLUDES_INTTYPES
|
||||||
|
dnl -------------------------------------------------
|
||||||
|
dnl Set up variable with list of headers that must be
|
||||||
|
dnl included when inttypes.h is to be included.
|
||||||
|
|
||||||
|
AC_DEFUN([CURL_INCLUDES_INTTYPES], [
|
||||||
|
curl_includes_inttypes="\
|
||||||
|
/* includes start */
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
# include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_STDINT_H
|
||||||
|
# include <stdint.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_INTTYPES_H
|
||||||
|
# include <inttypes.h>
|
||||||
|
#endif
|
||||||
|
/* includes end */"
|
||||||
|
AC_CHECK_HEADERS(
|
||||||
|
sys/types.h stdint.h inttypes.h,
|
||||||
|
[], [], [$curl_includes_inttypes])
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl CURL_INCLUDES_NETDB
|
dnl CURL_INCLUDES_NETDB
|
||||||
dnl -------------------------------------------------
|
dnl -------------------------------------------------
|
||||||
dnl Set up variable with list of headers that must be
|
dnl Set up variable with list of headers that must be
|
||||||
|
|||||||
Reference in New Issue
Block a user