Displaying 4 results from an estimated 4 matches for "have_llong_max".
2007 Nov 26
1
Enable gcc's -fstack-protector-all by default?
...C understands -fstack-protector-all)
+ saved_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -fstack-protector-all"
+ AC_TRY_COMPILE([], [ int main(void){return 0;} ],
+ [ AC_MSG_RESULT(yes) ],
+ [ AC_MSG_RESULT(no)
+ CFLAGS="$saved_CFLAGS" ]
+ )
+
if test -z "$have_llong_max"; then
# retry LLONG_MAX with -std=gnu99, needed on some Linuxes
unset ac_cv_have_decl_LLONG_MAX
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usuall...
2007 Jul 30
4
[Bug 1347] New: LLONG_MAX v LONGLONG_MAX
...undeclared (first
use in this function)
gmake[3]: Leaving directory
`/var/tmp/build.openssh.build/build/openssh-4.6p1/open
/usr/include/sys/limits.h:#define LONGLONG_MAX (0x7fffffffffffffffLL)
/usr/include/sys/limits.h:#define LONGLONG_MIN (-LONGLONG_MAX - 1)
I notice that there is a test for HAVE_LLONG_MAX in configure.in ...
maybe that could be used instead of what i did in the attached patch??
--
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
2008 Jan 08
2
have configure generate header dependencies automatically
...0000
@@ -88,6 +88,12 @@ AC_SUBST(LD)
AC_C_INLINE
+INCLUDES="`echo $srcdir/*.h`"
+AC_SUBST(INCLUDES, [$INCLUDES])
+
+COMPAT_INCLUDES="`cd openbsd-compat && echo $srcdir/../openbsd-compat/*.h`"
+AC_SUBST(COMPAT_INCLUDES, [$COMPAT_INCLUDES])
+
AC_CHECK_DECL(LLONG_MAX, have_llong_max=1, , [#include <limits.h>])
if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
Index: openbsd-compat/Makefile.in
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/openbsd-c...
2011 Jun 22
3
sandbox pre-auth privsep child
...==========================
RCS file: /var/cvs/openssh/configure.ac,v
retrieving revision 1.476
diff -u -p -r1.476 configure.ac
--- configure.ac 3 Jun 2011 02:11:38 -0000 1.476
+++ configure.ac 22 Jun 2011 09:29:47 -0000
@@ -106,6 +106,16 @@ AC_SUBST([LD])
AC_C_INLINE
AC_CHECK_DECL([LLONG_MAX], [have_llong_max=1], , [#include <limits.h>])
+AC_CHECK_DECL([SYSTR_POLICY_KILL], [have_systr_policy_kill=1], , [
+ #include <sys/types.h>
+ #include <sys/param.h>
+ #include <dev/systrace.h>
+])
+AC_CHECK_DECL([RLIMIT_NPROC],
+ [AC_DEFINE([HAVE_RLIMIT_NPROC], [], [sys/resource.h has RLIM...