From 764b7958bd95cb1ba62c74060942b8e03246475a Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 30 Jun 2009 21:54:56 +0000 Subject: [PATCH] special case git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14069 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- configure.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure.in b/configure.in index 4a8e394a0a..64d627e732 100644 --- a/configure.in +++ b/configure.in @@ -487,6 +487,16 @@ elif test "$ac_cv_sizeof_long" = "8"; then uint64_t_fmt='#define SWITCH_UINT64_T_FMT "lu"' int64_value="long" long_value=long + case "$host" in + *-solaris2*) + if test "$ac_cv_sizeof_long_long" = "8"; then + int64_t_fmt='#define SWITCH_INT64_T_FMT "lld"' + uint64_t_fmt='#define SWITCH_UINT64_T_FMT "llu"' + int64_value="long long" + long_value="long long" + fi + ;; + esac elif test "$ac_cv_sizeof_long_long" = "8"; then int64_t_fmt='#define SWITCH_INT64_T_FMT "lld"' uint64_t_fmt='#define SWITCH_UINT64_T_FMT "llu"'