This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Backport #32705
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Sat, 29 Dec 2007 14:05:31 +0000 (14:05 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Sat, 29 Dec 2007 14:05:31 +0000 (14:05 +0000)
p4raw-id: //depot/metaconfig@32764

U/perl/i_assert.U [new file with mode: 0644]

diff --git a/U/perl/i_assert.U b/U/perl/i_assert.U
new file mode 100644 (file)
index 0000000..ad4f16b
--- /dev/null
@@ -0,0 +1,25 @@
+?RCS: $Id: i_assert.U,v $
+?RCS:
+?RCS: Copyright (c) 2007 H.Merijn Brand
+?RCS:
+?RCS: You may distribute under the terms of either the GNU General Public
+?RCS: License or the Artistic License, as specified in the README file.
+?RCS:
+?MAKE:i_assert: Inhdr Hasfield
+?MAKE: -pick add $@ %<
+?S:i_assert:
+?S:    This variable conditionally defines the I_ASSERT symbol,
+?S:    and indicates whether a C program could include <assert.h>.
+?S:.
+?C:I_ASSERT:
+?C:    This symbol, if defined, indicates that <assert.h> exists and
+?C:    could be included.
+?C:.
+?H:#$i_assert  I_ASSERT                /**/
+?H:.
+?LINT:set i_assert
+
+: see if this is a assert.h system
+set assert.h i_assert
+eval $inhdr
+