-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v2.0.3][Issue #8] Added --without-sentinel configure option to disab…
…le variadic argument sentinels
- Loading branch information
Showing
6 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,6 @@ | |
!configure.ac | ||
!autogen.sh | ||
|
||
src/config.h | ||
include/csptr/config.h | ||
*~ | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
AC_PREREQ([2.60]) | ||
|
||
AC_INIT([csptr], [2.0.1], [], [csptr], [[email protected]]) | ||
AC_INIT([csptr], [2.0.3], [], [csptr], [[email protected]]) | ||
AC_CONFIG_SRCDIR([src/mman.c]) | ||
|
||
LT_PREREQ([2.2.4]) | ||
|
@@ -35,6 +35,13 @@ AC_ARG_WITH([fixed-allocator], | |
[AC_DEFINE([SMALLOC_FIXED_ALLOCATOR], [1], [Define if malloc should always be used.])], | ||
[]) | ||
|
||
AC_ARG_WITH([sentinel], | ||
AS_HELP_STRING([--without-sentinel], [Disable the sentinel used for variadic function arguments])) | ||
|
||
AS_IF([test "x$with_sentinel" = "xno"], [ | ||
AC_DEFINE([CSPTR_NO_SENTINEL], [1], [Define if a sentinel should not be used for variadic function arguments.]) | ||
]) | ||
|
||
AC_ARG_ENABLE([gcov], | ||
[AS_HELP_STRING([--enable-gcov], | ||
[Compile the project with converage enabled])], | ||
|
@@ -56,7 +63,7 @@ case "`uname`" in | |
;; | ||
esac | ||
|
||
AC_CONFIG_HEADERS([src/config.h]) | ||
AC_CONFIG_HEADERS([include/csptr/config.h]) | ||
AC_CONFIG_FILES([Makefile check/Makefile]) | ||
|
||
AC_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters