forked from mirrors/tftp-hpa-google
Even more portability work...
This commit is contained in:
parent
5b21a932a6
commit
3df5c1f25c
9 changed files with 100 additions and 32 deletions
18
aclocal.m4
vendored
18
aclocal.m4
vendored
|
@ -31,6 +31,24 @@ AC_DEFUN(PA_SIGSETJMP,
|
|||
AC_MSG_RESULT([no])
|
||||
$2)])
|
||||
|
||||
dnl --------------------------------------------------------------------------
|
||||
dnl PA_HAVE_LONG_LONG
|
||||
dnl
|
||||
dnl Does the C compiler support long long?
|
||||
dnl --------------------------------------------------------------------------
|
||||
AC_DEFUN(PA_HAVE_LONG_LONG,
|
||||
[AC_MSG_CHECKING([if C compiler supports long long])
|
||||
AC_TRY_LINK(
|
||||
[],
|
||||
[long long foo = 1LL;
|
||||
unsigned long long bar = 1ULL;
|
||||
return (int)(foo-bar);
|
||||
],
|
||||
AC_MSG_RESULT([yes])
|
||||
$1,
|
||||
AC_MSG_RESULT([no])
|
||||
$2)])
|
||||
|
||||
dnl --------------------------------------------------------------------------
|
||||
dnl PA_MSGHDR_MSG_CONTROL
|
||||
dnl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue