summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-04-15 21:45:58 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-04-15 21:45:58 +0000
commit9b00bc13d1b85f29f726f1473ae3441d9a5c57a6 (patch)
tree2b824cbfe20a4e5aa12da7f4c5d568e3c88a3806 /configure.in
parent7abb3feef08a7c1043330978bcfa7215ddf97d9c (diff)
downloadlibapr-9b00bc13d1b85f29f726f1473ae3441d9a5c57a6.tar.gz
implement APR_UINT64_T_HEX_FMT
Reviewed by: Bill Rowe git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64480 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 1bf5d1969..b12f50142 100644
--- a/configure.in
+++ b/configure.in
@@ -1079,6 +1079,7 @@ if test "$ac_cv_sizeof_int" = "8"; then
int64_t_fmt_len='#define APR_INT64_T_FMT_LEN 1'
uint64_t_fmt='#define APR_UINT64_T_FMT "u"'
uint64_t_fmt_len='#define APR_UINT64_T_FMT_LEN 1'
+ uint64_t_hex_fmt='#define APR_UINT64_T_HEX_FMT "x"'
int64_value="int"
long_value=int
int64_strfn="strtoi"
@@ -1088,6 +1089,7 @@ elif test "$ac_cv_sizeof_long" = "8"; then
int64_t_fmt_len='#define APR_INT64_T_FMT_LEN 2'
uint64_t_fmt='#define APR_UINT64_T_FMT "lu"'
uint64_t_fmt_len='#define APR_UINT64_T_FMT_LEN 2'
+ uint64_t_hex_fmt='#define APR_UINT64_T_HEX_FMT "lx"'
int64_value="long"
long_value=long
int64_strfn="strtol"
@@ -1101,6 +1103,7 @@ elif test "$ac_cv_sizeof_long_long" = "8"; then
int64_t_fmt_len='#define APR_INT64_T_FMT_LEN 3'
uint64_t_fmt='#define APR_UINT64_T_FMT "llu"'
uint64_t_fmt_len='#define APR_UINT64_T_FMT_LEN 3'
+ uint64_t_hex_fmt='#define APR_UINT64_T_HEX_FMT "llx"'
int64_value="long long"
long_value="long long"
int64_strfn="strtoll"
@@ -1110,6 +1113,7 @@ elif test "$ac_cv_sizeof_long_double" = "8"; then
int64_t_fmt_len='#define APR_INT64_T_FMT_LEN 2'
uint64_t_fmt='#define APR_UINT64_T_FMT "Lu"'
uint64_t_fmt_len='#define APR_UINT64_T_FMT_LEN 2'
+ uint64_t_hex_fmt='#define APR_UINT64_T_HEX_FMT "Lx"'
int64_value="long double"
long_value="long double"
int64_strfn="strtoll"
@@ -1119,6 +1123,7 @@ elif test "$ac_cv_sizeof_longlong" = "8"; then
int64_t_fmt_len='#define APR_INT64_T_FMT_LEN 2'
uint64_t_fmt='#define APR_UINT64_T_FMT "qu"'
uint64_t_fmt_len='#define APR_UINT64_T_FMT_LEN 2'
+ uint64_t_hex_fmt='#define APR_UINT64_T_HEX_FMT "qx"'
int64_value="__int64"
long_value="__int64"
int64_strfn="strtoll"
@@ -1130,6 +1135,7 @@ else
int64_t_fmt_len='#error Can not determine the proper size for apr_int64_t'
uint64_t_fmt='#error Can not determine the proper size for apr_int64_t'
uint64_t_fmt_len='#error Can not determine the proper size for apr_int64_t'
+ uint64_t_hex_fmt='#error Can not determine the proper size for apr_uint64_t'
fi
# If present, allow the C99 macro INT64_C to override our conversion.
@@ -1270,6 +1276,7 @@ AC_SUBST(int64_t_fmt)
AC_SUBST(int64_t_fmt_len)
AC_SUBST(uint64_t_fmt)
AC_SUBST(uint64_t_fmt_len)
+AC_SUBST(uint64_t_hex_fmt)
AC_SUBST(ssize_t_fmt)
AC_SUBST(size_t_fmt)
AC_SUBST(off_t_fmt)