diff options
author | Suchang Woo <suchang.woo@samsung.com> | 2015-12-18 13:25:01 +0900 |
---|---|---|
committer | Suchang Woo <suchang.woo@samsung.com> | 2015-12-18 13:25:01 +0900 |
commit | c422f95670269a00181e4a8152f098dde21ea089 (patch) | |
tree | 0c8ec1283fc576d0fbfd1ae5769823ec3676a962 /build-aux/signed.m4 | |
download | sed-c422f95670269a00181e4a8152f098dde21ea089.tar.gz sed-c422f95670269a00181e4a8152f098dde21ea089.tar.bz2 sed-c422f95670269a00181e4a8152f098dde21ea089.zip |
Imported Upstream version 4.1cupstream/4.1cupstream
Diffstat (limited to 'build-aux/signed.m4')
-rw-r--r-- | build-aux/signed.m4 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/build-aux/signed.m4 b/build-aux/signed.m4 new file mode 100644 index 0000000..5ac7672 --- /dev/null +++ b/build-aux/signed.m4 @@ -0,0 +1,18 @@ +# signed.m4 serial 2 +dnl Copyright (C) 2001-2002, 2006 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl From Bruno Haible. + +AC_DEFUN([bh_C_SIGNED], +[ + AC_CACHE_CHECK([for signed], bh_cv_c_signed, + [AC_TRY_COMPILE(, [signed char x; return !x;], + bh_cv_c_signed=yes, bh_cv_c_signed=no)]) + if test $bh_cv_c_signed = no; then + AC_DEFINE(signed, , + [Define to empty if the C compiler doesn't support this keyword.]) + fi +]) |