Removed
Showing
10 changed files
with
0 additions
and
442 deletions
m4/gettext_gl.m4
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
m4/glibc21_gl.m4
deleted
100644 → 0
1 | # glibc21.m4 serial 3 | ||
2 | dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | # Test for the GNU C Library, version 2.1 or newer. | ||
8 | # From Bruno Haible. | ||
9 | |||
10 | AC_DEFUN([gl_GLIBC21], | ||
11 | [ | ||
12 | AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer, | ||
13 | ac_cv_gnu_library_2_1, | ||
14 | [AC_EGREP_CPP([Lucky GNU user], | ||
15 | [ | ||
16 | #include <features.h> | ||
17 | #ifdef __GNU_LIBRARY__ | ||
18 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) | ||
19 | Lucky GNU user | ||
20 | #endif | ||
21 | #endif | ||
22 | ], | ||
23 | ac_cv_gnu_library_2_1=yes, | ||
24 | ac_cv_gnu_library_2_1=no) | ||
25 | ] | ||
26 | ) | ||
27 | AC_SUBST(GLIBC21) | ||
28 | GLIBC21="$ac_cv_gnu_library_2_1" | ||
29 | ] | ||
30 | ) |
m4/inttypes_h_gl.m4
deleted
100644 → 0
1 | # inttypes_h.m4 serial 7 | ||
2 | dnl Copyright (C) 1997-2004, 2006 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | dnl From Paul Eggert. | ||
8 | |||
9 | # Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists, | ||
10 | # doesn't clash with <sys/types.h>, and declares uintmax_t. | ||
11 | |||
12 | AC_DEFUN([gl_AC_HEADER_INTTYPES_H], | ||
13 | [ | ||
14 | AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h, | ||
15 | [AC_TRY_COMPILE( | ||
16 | [#include <sys/types.h> | ||
17 | #include <inttypes.h>], | ||
18 | [uintmax_t i = (uintmax_t) -1; return !i;], | ||
19 | gl_cv_header_inttypes_h=yes, | ||
20 | gl_cv_header_inttypes_h=no)]) | ||
21 | if test $gl_cv_header_inttypes_h = yes; then | ||
22 | AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1, | ||
23 | [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, | ||
24 | and declares uintmax_t. ]) | ||
25 | fi | ||
26 | ]) |
m4/lib-ld_gl.m4
deleted
100644 → 0
1 | # lib-ld.m4 serial 3 (gettext-0.13) | ||
2 | dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | dnl Subroutines of libtool.m4, | ||
8 | dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision | ||
9 | dnl with libtool.m4. | ||
10 | |||
11 | dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. | ||
12 | AC_DEFUN([AC_LIB_PROG_LD_GNU], | ||
13 | [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, | ||
14 | [# I'd rather use --version here, but apparently some GNU ld's only accept -v. | ||
15 | case `$LD -v 2>&1 </dev/null` in | ||
16 | *GNU* | *'with BFD'*) | ||
17 | acl_cv_prog_gnu_ld=yes ;; | ||
18 | *) | ||
19 | acl_cv_prog_gnu_ld=no ;; | ||
20 | esac]) | ||
21 | with_gnu_ld=$acl_cv_prog_gnu_ld | ||
22 | ]) | ||
23 | |||
24 | dnl From libtool-1.4. Sets the variable LD. | ||
25 | AC_DEFUN([AC_LIB_PROG_LD], | ||
26 | [AC_ARG_WITH(gnu-ld, | ||
27 | [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], | ||
28 | test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) | ||
29 | AC_REQUIRE([AC_PROG_CC])dnl | ||
30 | AC_REQUIRE([AC_CANONICAL_HOST])dnl | ||
31 | # Prepare PATH_SEPARATOR. | ||
32 | # The user is always right. | ||
33 | if test "${PATH_SEPARATOR+set}" != set; then | ||
34 | echo "#! /bin/sh" >conf$$.sh | ||
35 | echo "exit 0" >>conf$$.sh | ||
36 | chmod +x conf$$.sh | ||
37 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
38 | PATH_SEPARATOR=';' | ||
39 | else | ||
40 | PATH_SEPARATOR=: | ||
41 | fi | ||
42 | rm -f conf$$.sh | ||
43 | fi | ||
44 | ac_prog=ld | ||
45 | if test "$GCC" = yes; then | ||
46 | # Check if gcc -print-prog-name=ld gives a path. | ||
47 | AC_MSG_CHECKING([for ld used by GCC]) | ||
48 | case $host in | ||
49 | *-*-mingw*) | ||
50 | # gcc leaves a trailing carriage return which upsets mingw | ||
51 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | ||
52 | *) | ||
53 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | ||
54 | esac | ||
55 | case $ac_prog in | ||
56 | # Accept absolute paths. | ||
57 | [[\\/]* | [A-Za-z]:[\\/]*)] | ||
58 | [re_direlt='/[^/][^/]*/\.\./'] | ||
59 | # Canonicalize the path of ld | ||
60 | ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | ||
61 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | ||
62 | ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | ||
63 | done | ||
64 | test -z "$LD" && LD="$ac_prog" | ||
65 | ;; | ||
66 | "") | ||
67 | # If it fails, then pretend we aren't using GCC. | ||
68 | ac_prog=ld | ||
69 | ;; | ||
70 | *) | ||
71 | # If it is relative, then search for the first ld in PATH. | ||
72 | with_gnu_ld=unknown | ||
73 | ;; | ||
74 | esac | ||
75 | elif test "$with_gnu_ld" = yes; then | ||
76 | AC_MSG_CHECKING([for GNU ld]) | ||
77 | else | ||
78 | AC_MSG_CHECKING([for non-GNU ld]) | ||
79 | fi | ||
80 | AC_CACHE_VAL(acl_cv_path_LD, | ||
81 | [if test -z "$LD"; then | ||
82 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | ||
83 | for ac_dir in $PATH; do | ||
84 | test -z "$ac_dir" && ac_dir=. | ||
85 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | ||
86 | acl_cv_path_LD="$ac_dir/$ac_prog" | ||
87 | # Check to see if the program is GNU ld. I'd rather use --version, | ||
88 | # but apparently some GNU ld's only accept -v. | ||
89 | # Break only if it was the GNU/non-GNU ld that we prefer. | ||
90 | case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in | ||
91 | *GNU* | *'with BFD'*) | ||
92 | test "$with_gnu_ld" != no && break ;; | ||
93 | *) | ||
94 | test "$with_gnu_ld" != yes && break ;; | ||
95 | esac | ||
96 | fi | ||
97 | done | ||
98 | IFS="$ac_save_ifs" | ||
99 | else | ||
100 | acl_cv_path_LD="$LD" # Let the user override the test with a path. | ||
101 | fi]) | ||
102 | LD="$acl_cv_path_LD" | ||
103 | if test -n "$LD"; then | ||
104 | AC_MSG_RESULT($LD) | ||
105 | else | ||
106 | AC_MSG_RESULT(no) | ||
107 | fi | ||
108 | test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) | ||
109 | AC_LIB_PROG_LD_GNU | ||
110 | ]) |
m4/lib-prefix_gl.m4
deleted
100644 → 0
1 | # lib-prefix.m4 serial 3 (gettext-0.13) | ||
2 | dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | dnl From Bruno Haible. | ||
8 | |||
9 | dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and | ||
10 | dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't | ||
11 | dnl require excessive bracketing. | ||
12 | ifdef([AC_HELP_STRING], | ||
13 | [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], | ||
14 | [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) | ||
15 | |||
16 | dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed | ||
17 | dnl to access previously installed libraries. The basic assumption is that | ||
18 | dnl a user will want packages to use other packages he previously installed | ||
19 | dnl with the same --prefix option. | ||
20 | dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate | ||
21 | dnl libraries, but is otherwise very convenient. | ||
22 | AC_DEFUN([AC_LIB_PREFIX], | ||
23 | [ | ||
24 | AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) | ||
25 | AC_REQUIRE([AC_PROG_CC]) | ||
26 | AC_REQUIRE([AC_CANONICAL_HOST]) | ||
27 | AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) | ||
28 | dnl By default, look in $includedir and $libdir. | ||
29 | use_additional=yes | ||
30 | AC_LIB_WITH_FINAL_PREFIX([ | ||
31 | eval additional_includedir=\"$includedir\" | ||
32 | eval additional_libdir=\"$libdir\" | ||
33 | ]) | ||
34 | AC_LIB_ARG_WITH([lib-prefix], | ||
35 | [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib | ||
36 | --without-lib-prefix don't search for libraries in includedir and libdir], | ||
37 | [ | ||
38 | if test "X$withval" = "Xno"; then | ||
39 | use_additional=no | ||
40 | else | ||
41 | if test "X$withval" = "X"; then | ||
42 | AC_LIB_WITH_FINAL_PREFIX([ | ||
43 | eval additional_includedir=\"$includedir\" | ||
44 | eval additional_libdir=\"$libdir\" | ||
45 | ]) | ||
46 | else | ||
47 | additional_includedir="$withval/include" | ||
48 | additional_libdir="$withval/lib" | ||
49 | fi | ||
50 | fi | ||
51 | ]) | ||
52 | if test $use_additional = yes; then | ||
53 | dnl Potentially add $additional_includedir to $CPPFLAGS. | ||
54 | dnl But don't add it | ||
55 | dnl 1. if it's the standard /usr/include, | ||
56 | dnl 2. if it's already present in $CPPFLAGS, | ||
57 | dnl 3. if it's /usr/local/include and we are using GCC on Linux, | ||
58 | dnl 4. if it doesn't exist as a directory. | ||
59 | if test "X$additional_includedir" != "X/usr/include"; then | ||
60 | haveit= | ||
61 | for x in $CPPFLAGS; do | ||
62 | AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) | ||
63 | if test "X$x" = "X-I$additional_includedir"; then | ||
64 | haveit=yes | ||
65 | break | ||
66 | fi | ||
67 | done | ||
68 | if test -z "$haveit"; then | ||
69 | if test "X$additional_includedir" = "X/usr/local/include"; then | ||
70 | if test -n "$GCC"; then | ||
71 | case $host_os in | ||
72 | linux*) haveit=yes;; | ||
73 | esac | ||
74 | fi | ||
75 | fi | ||
76 | if test -z "$haveit"; then | ||
77 | if test -d "$additional_includedir"; then | ||
78 | dnl Really add $additional_includedir to $CPPFLAGS. | ||
79 | CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" | ||
80 | fi | ||
81 | fi | ||
82 | fi | ||
83 | fi | ||
84 | dnl Potentially add $additional_libdir to $LDFLAGS. | ||
85 | dnl But don't add it | ||
86 | dnl 1. if it's the standard /usr/lib, | ||
87 | dnl 2. if it's already present in $LDFLAGS, | ||
88 | dnl 3. if it's /usr/local/lib and we are using GCC on Linux, | ||
89 | dnl 4. if it doesn't exist as a directory. | ||
90 | if test "X$additional_libdir" != "X/usr/lib"; then | ||
91 | haveit= | ||
92 | for x in $LDFLAGS; do | ||
93 | AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) | ||
94 | if test "X$x" = "X-L$additional_libdir"; then | ||
95 | haveit=yes | ||
96 | break | ||
97 | fi | ||
98 | done | ||
99 | if test -z "$haveit"; then | ||
100 | if test "X$additional_libdir" = "X/usr/local/lib"; then | ||
101 | if test -n "$GCC"; then | ||
102 | case $host_os in | ||
103 | linux*) haveit=yes;; | ||
104 | esac | ||
105 | fi | ||
106 | fi | ||
107 | if test -z "$haveit"; then | ||
108 | if test -d "$additional_libdir"; then | ||
109 | dnl Really add $additional_libdir to $LDFLAGS. | ||
110 | LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" | ||
111 | fi | ||
112 | fi | ||
113 | fi | ||
114 | fi | ||
115 | fi | ||
116 | ]) | ||
117 | |||
118 | dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, | ||
119 | dnl acl_final_exec_prefix, containing the values to which $prefix and | ||
120 | dnl $exec_prefix will expand at the end of the configure script. | ||
121 | AC_DEFUN([AC_LIB_PREPARE_PREFIX], | ||
122 | [ | ||
123 | dnl Unfortunately, prefix and exec_prefix get only finally determined | ||
124 | dnl at the end of configure. | ||
125 | if test "X$prefix" = "XNONE"; then | ||
126 | acl_final_prefix="$ac_default_prefix" | ||
127 | else | ||
128 | acl_final_prefix="$prefix" | ||
129 | fi | ||
130 | if test "X$exec_prefix" = "XNONE"; then | ||
131 | acl_final_exec_prefix='${prefix}' | ||
132 | else | ||
133 | acl_final_exec_prefix="$exec_prefix" | ||
134 | fi | ||
135 | acl_save_prefix="$prefix" | ||
136 | prefix="$acl_final_prefix" | ||
137 | eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" | ||
138 | prefix="$acl_save_prefix" | ||
139 | ]) | ||
140 | |||
141 | dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the | ||
142 | dnl variables prefix and exec_prefix bound to the values they will have | ||
143 | dnl at the end of the configure script. | ||
144 | AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], | ||
145 | [ | ||
146 | acl_save_prefix="$prefix" | ||
147 | prefix="$acl_final_prefix" | ||
148 | acl_save_exec_prefix="$exec_prefix" | ||
149 | exec_prefix="$acl_final_exec_prefix" | ||
150 | $1 | ||
151 | exec_prefix="$acl_save_exec_prefix" | ||
152 | prefix="$acl_save_prefix" | ||
153 | ]) |
m4/longlong_gl.m4
deleted
100644 → 0
1 | # longlong.m4 serial 7 | ||
2 | dnl Copyright (C) 1999-2006 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | dnl From Paul Eggert. | ||
8 | |||
9 | # Define HAVE_LONG_LONG_INT if 'long long int' works. | ||
10 | # This fixes a bug in Autoconf 2.60, but can be removed once we | ||
11 | # assume 2.61 everywhere. | ||
12 | |||
13 | AC_DEFUN([AC_TYPE_LONG_LONG_INT], | ||
14 | [ | ||
15 | AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], | ||
16 | [AC_LINK_IFELSE( | ||
17 | [AC_LANG_PROGRAM( | ||
18 | [[long long int ll = 9223372036854775807ll; | ||
19 | long long int nll = -9223372036854775807LL; | ||
20 | typedef int a[((-9223372036854775807LL < 0 | ||
21 | && 0 < 9223372036854775807ll) | ||
22 | ? 1 : -1)]; | ||
23 | int i = 63;]], | ||
24 | [[long long int llmax = 9223372036854775807ll; | ||
25 | return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | ||
26 | | (llmax / ll) | (llmax % ll));]])], | ||
27 | [ac_cv_type_long_long_int=yes], | ||
28 | [ac_cv_type_long_long_int=no])]) | ||
29 | if test $ac_cv_type_long_long_int = yes; then | ||
30 | AC_DEFINE([HAVE_LONG_LONG_INT], 1, | ||
31 | [Define to 1 if the system has the type `long long int'.]) | ||
32 | fi | ||
33 | ]) | ||
34 | |||
35 | # This macro is obsolescent and should go away soon. | ||
36 | AC_DEFUN([gl_AC_TYPE_LONG_LONG], | ||
37 | [ | ||
38 | AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) | ||
39 | ac_cv_type_long_long=$ac_cv_type_long_long_int | ||
40 | if test $ac_cv_type_long_long = yes; then | ||
41 | AC_DEFINE(HAVE_LONG_LONG, 1, | ||
42 | [Define if you have the 'long long' type.]) | ||
43 | fi | ||
44 | ]) |
m4/po_gl.m4
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
m4/stdint_h_gl.m4
deleted
100644 → 0
1 | # stdint_h.m4 serial 6 | ||
2 | dnl Copyright (C) 1997-2004, 2006 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | dnl From Paul Eggert. | ||
8 | |||
9 | # Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists, | ||
10 | # doesn't clash with <sys/types.h>, and declares uintmax_t. | ||
11 | |||
12 | AC_DEFUN([gl_AC_HEADER_STDINT_H], | ||
13 | [ | ||
14 | AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h, | ||
15 | [AC_TRY_COMPILE( | ||
16 | [#include <sys/types.h> | ||
17 | #include <stdint.h>], | ||
18 | [uintmax_t i = (uintmax_t) -1; return !i;], | ||
19 | gl_cv_header_stdint_h=yes, | ||
20 | gl_cv_header_stdint_h=no)]) | ||
21 | if test $gl_cv_header_stdint_h = yes; then | ||
22 | AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1, | ||
23 | [Define if <stdint.h> exists, doesn't clash with <sys/types.h>, | ||
24 | and declares uintmax_t. ]) | ||
25 | fi | ||
26 | ]) |
m4/uintmax_t_gl.m4
deleted
100644 → 0
1 | # uintmax_t.m4 serial 9 | ||
2 | dnl Copyright (C) 1997-2004 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | dnl From Paul Eggert. | ||
8 | |||
9 | AC_PREREQ(2.13) | ||
10 | |||
11 | # Define uintmax_t to 'unsigned long' or 'unsigned long long' | ||
12 | # if it is not already defined in <stdint.h> or <inttypes.h>. | ||
13 | |||
14 | AC_DEFUN([gl_AC_TYPE_UINTMAX_T], | ||
15 | [ | ||
16 | AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) | ||
17 | AC_REQUIRE([gl_AC_HEADER_STDINT_H]) | ||
18 | if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then | ||
19 | AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG]) | ||
20 | test $ac_cv_type_unsigned_long_long = yes \ | ||
21 | && ac_type='unsigned long long' \ | ||
22 | || ac_type='unsigned long' | ||
23 | AC_DEFINE_UNQUOTED(uintmax_t, $ac_type, | ||
24 | [Define to unsigned long or unsigned long long | ||
25 | if <stdint.h> and <inttypes.h> don't define.]) | ||
26 | else | ||
27 | AC_DEFINE(HAVE_UINTMAX_T, 1, | ||
28 | [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.]) | ||
29 | fi | ||
30 | ]) |
m4/ulonglong_gl.m4
deleted
100644 → 0
1 | # ulonglong.m4 serial 4 | ||
2 | dnl Copyright (C) 1999-2004 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | dnl From Paul Eggert. | ||
8 | |||
9 | # Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works. | ||
10 | |||
11 | AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG], | ||
12 | [ | ||
13 | AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long, | ||
14 | [AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;], | ||
15 | [unsigned long long ullmax = (unsigned long long) -1; | ||
16 | return ull << i | ull >> i | ullmax / ull | ullmax % ull;], | ||
17 | ac_cv_type_unsigned_long_long=yes, | ||
18 | ac_cv_type_unsigned_long_long=no)]) | ||
19 | if test $ac_cv_type_unsigned_long_long = yes; then | ||
20 | AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1, | ||
21 | [Define if you have the 'unsigned long long' type.]) | ||
22 | fi | ||
23 | ]) |
-
Please register or sign in to post a comment