|
Revision 974a399a24723d1ee6ac4ee5b69b186cd47c0e31, 1.0 kB
(checked in by Rémi Denis-Courmont <rem@videolan.org>, 7 months ago)
|
Remove the autoconf hack, fix gettext broken in b6c4b865
and fix the M4 ignore rules
|
- Property mode set to
100644
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
AC_DEFUN([gt_TYPE_INTMAX_T], |
|---|
| 12 |
[ |
|---|
| 13 |
AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) |
|---|
| 14 |
AC_REQUIRE([gl_AC_HEADER_STDINT_H]) |
|---|
| 15 |
AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t, |
|---|
| 16 |
[AC_TRY_COMPILE([ |
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
], [intmax_t x = -1; |
|---|
| 26 |
return !x;], |
|---|
| 27 |
gt_cv_c_intmax_t=yes, |
|---|
| 28 |
gt_cv_c_intmax_t=no)]) |
|---|
| 29 |
if test $gt_cv_c_intmax_t = yes; then |
|---|
| 30 |
AC_DEFINE(HAVE_INTMAX_T, 1, |
|---|
| 31 |
[Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.]) |
|---|
| 32 |
fi |
|---|
| 33 |
]) |
|---|