~ubuntu-branches/ubuntu/quantal/talloc/quantal

« back to all changes in this revision

Viewing changes to libreplace/libreplace_cc.m4

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij, Steve Langasek, Jelmer Vernooij
  • Date: 2009-03-14 18:48:57 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090314184857-fbub38yjic2pzhft
Tags: 1.2.1-1
[ Steve Langasek ]
* Bump the shlibs in libtalloc1, since previous versions of this package
  have been in the wild (including in an Ubuntu release) with a smaller
  set of exported symbols than the current version - including talloc_pool
  which is used by samba.

[ Jelmer Vernooij ]
* Add dummy watch file explaining how to obtain an upstream tarball.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
# Solaris needs HAVE_LONG_LONG defined
110
110
AC_CHECK_TYPES(long long)
111
111
 
 
112
AC_CHECK_SIZEOF(int)
 
113
AC_CHECK_SIZEOF(char)
 
114
AC_CHECK_SIZEOF(short)
 
115
AC_CHECK_SIZEOF(long)
 
116
AC_CHECK_SIZEOF(long long)
 
117
 
112
118
AC_CHECK_TYPE(uint_t, unsigned int)
113
119
AC_CHECK_TYPE(int8_t, char)
114
120
AC_CHECK_TYPE(uint8_t, unsigned char)
115
121
AC_CHECK_TYPE(int16_t, short)
116
122
AC_CHECK_TYPE(uint16_t, unsigned short)
 
123
 
 
124
if test $ac_cv_sizeof_int -eq 4 ; then
 
125
AC_CHECK_TYPE(int32_t, int)
 
126
AC_CHECK_TYPE(uint32_t, unsigned int)
 
127
elif test $ac_cv_size_long -eq 4 ; then
117
128
AC_CHECK_TYPE(int32_t, long)
118
129
AC_CHECK_TYPE(uint32_t, unsigned long)
 
130
else
 
131
AC_MSG_ERROR([LIBREPLACE no 32-bit type found])
 
132
fi
 
133
 
119
134
AC_CHECK_TYPE(int64_t, long long)
120
135
AC_CHECK_TYPE(uint64_t, unsigned long long)
121
136
 
122
137
AC_CHECK_TYPE(size_t, unsigned int)
123
138
AC_CHECK_TYPE(ssize_t, int)
124
139
 
125
 
AC_CHECK_SIZEOF(int)
126
 
AC_CHECK_SIZEOF(char)
127
 
AC_CHECK_SIZEOF(short)
128
 
AC_CHECK_SIZEOF(long)
129
 
AC_CHECK_SIZEOF(long long)
130
 
 
131
140
AC_CHECK_SIZEOF(off_t)
132
141
AC_CHECK_SIZEOF(size_t)
133
142
AC_CHECK_SIZEOF(ssize_t)
158
167
                        FOOBAR y; 
159
168
                } f2[] = {
160
169
                        {FOO_ONE}
161
 
                };   
 
170
                };
 
171
                static const FOOBAR f3[] = {FOO_ONE};
162
172
        ],
163
173
        libreplace_cv_immediate_structures=yes,
164
174
        libreplace_cv_immediate_structures=no,