Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
46821311
Commit
46821311
authored
Jan 07, 2003
by
Per Cederqvist
Browse files
Handle --disable-malloc-guards. Check for intptr_t, intmax_t and
size_t.
parent
d0d65560
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libraries/libisc-new/configure.in
View file @
46821311
...
...
@@ -19,7 +19,7 @@ dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl Process this file with autoconf to produce a configure script.
AC_REVISION($Revision: 1.2
2
$)dnl
AC_REVISION($Revision: 1.2
3
$)dnl
AC_PREREQ(2.56)
AC_INIT([isc],[1.01])
AC_CONFIG_SRCDIR([src/isc_master.c])
...
...
@@ -47,6 +47,18 @@ AC_ARG_ENABLE([ipv6],
[use_inet6=yes],
[use_inet6=no])
AC_ARG_ENABLE([malloc-guards],
AC_HELP_STRING([--disable-malloc-guards],
[disable defensive guard areas (may crash lyskomd)]),
[use_malloc_guards=$enableval],
[use_malloc_guards=yes])
[if test "$use_malloc_guards" = "yes"
then]
AC_DEFINE([USE_MALLOC_GUARDS], 1,
[Insert magic number before and after malloced areas.
This can help detect buffer overruns.])
[fi]
dnl Checks for programs.
...
...
@@ -114,6 +126,10 @@ then]
AC_CHECK_SIZEOF(long)
[fi]
AC_CHECK_TYPE(intptr_t)
AC_CHECK_TYPE(intmax_t)
AC_CHECK_TYPE(size_t)
CMOD_C_WORKING_ATTRIBUTE_UNUSED
[if test -n "$GCC"; then]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment