Revision
14069
Author
mikej
Date
2009-06-30 16:54:56 -0500 (Tue, 30 Jun 2009)

Log Message

special case

Modified Paths

Diff

Modified: freeswitch/trunk/configure.in (14068 => 14069)


--- freeswitch/trunk/configure.in	2009-06-30 21:47:47 UTC (rev 14068)
+++ freeswitch/trunk/configure.in	2009-06-30 21:54:56 UTC (rev 14069)
@@ -487,6 +487,16 @@
     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"'