1 ?RCS: $Id: d_isascii.U,v 3.0.1.2 1994/10/29 16:13:39 ram Exp $
3 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 3.0.
11 ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
13 ?RCS: $Log: d_isascii.U,v $
14 ?RCS: Revision 3.0.1.2 1994/10/29 16:13:39 ram
15 ?RCS: patch36: added 'ldflags' to the test compile line (ADO)
17 ?RCS: Revision 3.0.1.1 1994/08/29 16:09:32 ram
18 ?RCS: patch32: created by ADO
20 ?MAKE:d_isascii: cc cat ccflags ldflags rm libs Setvar
21 ?MAKE: -pick add $@ %<
23 ?S: This variable conditionally defines the HAS_ISASCII constant,
24 ?S: which indicates to the C program that isascii() is available.
27 ?C: This manifest constant lets the C program know that isascii
30 ?H:#$d_isascii HAS_ISASCII /**/
33 ?X: Can't use Inlibc because isascii() might be a macro.
36 $cat >isascii.c <<'EOCP'
47 if $cc $ccflags $ldflags -o isascii isascii.c $libs >/dev/null 2>&1 ; then
48 echo "isascii() found." >&4
51 echo "isascii() NOT found." >&4