diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-12-22 17:51:03 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-12-22 17:51:03 +0000 |
commit | 2a0de2c52ab4e8b4f51332a0e1eaae4b8cff3f48 (patch) | |
tree | 97b354c83761a18c7a844271b6a102afd1d4abf9 /Porting | |
parent | bfd025d94e67a140ec0eeee79dfcef213d537327 (diff) | |
download | perl-2a0de2c52ab4e8b4f51332a0e1eaae4b8cff3f48.tar.gz |
Add a Configure probe for <assert.h>
p4raw-id: //depot/perl@32705
Diffstat (limited to 'Porting')
-rw-r--r-- | Porting/Glossary | 5 | ||||
-rw-r--r-- | Porting/config.sh | 1 | ||||
-rw-r--r-- | Porting/config_H | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/Porting/Glossary b/Porting/Glossary index f267d40fb1..5c35d2482e 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -2824,6 +2824,11 @@ i_arpainet (i_arpainet.U): This variable conditionally defines the I_ARPA_INET symbol, and indicates whether a C program should include <arpa/inet.h>. +i_assert (i_assert.U): + This variable conditionally defines the I_ASSERT symbol, which + indicates to the C program that <assert.h> exists and could + be included. + i_bsdioctl (i_sysioctl.U): This variable conditionally defines the I_SYS_BSDIOCTL symbol, which indicates to the C program that <sys/bsdioctl.h> exists and should diff --git a/Porting/config.sh b/Porting/config.sh index 4dc7712fc3..654adf63d7 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -611,6 +611,7 @@ i64type='long long' i8size='1' i8type='char' i_arpainet='define' +i_assert='define' i_bsdioctl='' i_crypt='define' i_db='define' diff --git a/Porting/config_H b/Porting/config_H index b49e4d1776..165f596f85 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -640,6 +640,12 @@ */ #define I_ARPA_INET /**/ +/* I_ASSERT: + * This symbol, if defined, indicates to the C program that it could + * include <assert.h> to get the assert() macro. + */ +#define I_ASSERT /**/ + /* I_DBM: * This symbol, if defined, indicates that <dbm.h> exists and should * be included. |