Lines Matching refs:is
3 # This software is part of the ast package #
5 # and is licensed under the #
9 # A copy of the License is available at #
24 # this script is written to make it through all sh variants
29 *x*:[0123456789]*) : bash set -x is broken :; set +ex ;;
71 is hdr $1
139 is() # op name
148 ?*) yy=is
443 # verify that cc is a C compiler
722 [+DESCRIPTION?\biffe\b is a command interpreter that probes the C
723 compilation environment for features. A feature is any file, option
724 or symbol that controls or is controlled by the C compiler. \biffe\b
729 delimiter. The standard input is read if there are no command
730 line statements or if \afile\a\b.iffe\b is omitted.]
733 headers accessed by all components in a package, whereas \biffe\b is
735 [+?Output is generated in \bFEATURE/\b\atest\a by default, where \atest\a is
737 file operand. Output is first generated in a temporary file; the
738 output file is updated if it does not exist or if the temporary file
739 is different. If the first operand is \b-\b then the output is written
751 is the \biffe\b macro name prefixed with \bHAVE\b and converted to
752 upper case. \b--config\b is set by default if the command arguments
758 [D:define?Successful test macro definitions are emitted. This is the default.]
779 be compiled and used instead of \bread -r\b. The default is determined
789 it is performed.]
791 If the C compiler is a cross compiler and the executable format is
794 another host. \acrosstype\a is the HOSTTYPE for generated executables
806 operand (where \abegin\a is command specific) and zero
808 \b}end\b as the first operand. The statement syntax is:
822 is defined to be 1 if \b-l\b\aname\a is a library.]
823 [+header references?*\b.h\b. \a_dir_name\a is defined to be 1
824 if \adir/name\a\b.h\b is a header, or if \adir\a is
825 omitted, \b_hdr_\b\aname\a is defined to be 1 if
826 \aname\a\b.h\b is a header.]
830 successful group is found.]
861 \b#define\b \aarg\a \adefault\a is emitted. \bkey\b accepts multiple
862 \b= \b\adefault\a values; the first valid one is used.]
867 where \aname\a is determined by either the \brun\b statement input file
869 is the basename component of either the \brun\b statement file, if any,
870 or the current working directory. The output file name is determined
872 [+-?If the first command line operand is \b-\b then the output
873 is written to the standard output.]
874 [+--output=\afile\a?Output is \afile\a.]
875 [+set out \afile\a?Output is \afile\a.]
876 [+[run]] [\adirectory\a/]]\abase\a[\a.suffix\a]]?Output is
893 when \aNAME\a_API is >= \aYYYYMMDD\a (\aNAME\a is \aname\a
894 converted to upper case). If \aNAME\a_API is not defined
897 \b#define\b for \aname\a if it is not already defined. The
898 definition is passed to subsequent tests.]
900 an \bextern\b prototype for \aname\a if one is not already
901 defined. The prototype is passed to subsequent tests.]
903 exists. The \b#include\b is passed to subsequent tests.]
904 [+print \atext\a?Copy \atext\a to the output file. \atext\a is passed
909 (\aNAME\a is \aname\a converted to upper case).]
910 [+cmd \aname\a?Defines \b_cmd_\b\aname\a if \aname\a is an executable
913 \b_\b\adirectory\a\b_\b\aname\a is defined for \adirectory\a
914 in which \aname\a is found (with \b/\b translated to \b_\b).]
915 [+dat \aname\a?Defines \b_dat_\b\aname\a if \aname\a is a data symbol
919 [+dfn \aname\a?If \aname\a is a macro in the candidate headers then
920 a \b#define\b \aname\a \avalue\a statment is output for the
921 \avalue\a defined in the headers. The definition is \b#ifndef\b
923 [+exp \aname\a \aexpression\a?If \aexpression\a is a \"...\" string
924 then \aname\a is defined to be the string, else if the
925 \bexpr\b(1) evaluation of \aexpression\a is not 0 then \aname\a
926 is defined to be 1, otherwise \aname\a is defined to be 0.
931 skipped. If \aname\a is \b-\b then the \aexpression\a is
934 \b<\b\aname\a\b.h>\b exists. The \b--config\b macro name is
938 [+iff \aname\a?The generated header \b#ifndef-#endif\b macro guard is
942 expressions. If \are\a is specified then macros not matching
944 [+key \aname\a?Defines \b_key_\b\aname\a if \aname\a is a reserved
948 \b_lcl_\b\aname\a on success. The \b--config\b macro name is
949 \bHAVE_\b\aNAME\a\b_H\b. The default \are\a is \b^HAVE_\b
951 [+lib \aname\a?Defines \b_lib_\b\aname\a if \aname\a is an external
953 [+mac \aname\a?Defines \b_mac_\b\aname\a if \aname\a is a macro.]
955 if \amember\a is a member of the structure \astruct\a.]
956 [+mth \aname\a?Defines \b_mth_\b\aname\a if \aname\a is an external
958 [+nop \aname\a?If this is the first test then \aname\a may be used
960 Otherwise this test is ignored.]
962 requires a prototype. The \b--config\b macro name is
964 [+num \aname\a?Defines \b_num_\b\aname\a if \aname\a is a numeric
970 \b_nxt_\b\aname\a\b_str\b. The \b--config\b macro name is
974 [+opt \aname\a?Defines \b_opt_\b\aname\a if \aname\a is a space-separated
984 \b--config\b macro name is \aNAME\a\b_PATH\b.]
987 [+.c?\afile\a is compiled and executed and the output is copied
991 [+.sh?\afile\a is executed as a shell script and the output is
999 \aname\a is a type in any of \b<sys/types.h>, <times.h>,
1003 [+sym \aname\a?Defines \b_ary_\b\aname\a if \aname\a is an array,
1004 \b_fun_\b\aname\a if \aname\a is a function pointer,
1005 \b_ptr_\b\aname\a if \aname\a is a pointer, or
1006 \b_reg_\b\aname\a if \aname\a is a scalar. In most cases
1007 \aname\a is part of a macro expansion.]
1009 \b<sys/\b\aname\a\b.h>\b exists. The \b--config\b macro name is
1012 supplied. Defines \b_\b\aname\a on success. \btst - ...\b is
1014 [+typ \aname\a?Defines \b_typ_\b\aname\a if \aname\a is a type in any
1018 [+val \aname\a?The output of \becho\b \aname\a is written to the
1027 [+cat?The block is copied to the output file.]
1028 [+compile?The block is compiled (\bcc -c\b).]
1029 [+cross?The block is executed as a shell script using \bcrossexec\b(1)
1030 if \b--cross\b is on, or on the local host otherwise, and the
1031 output is copied to the output file. Test macros are not
1033 [+execute?The block is compiled, linked, and executed. \b0\b exit
1035 [+fail?If the test fails then the block text is evaluated by
1037 [+link?The block is compiled and linked (\bcc -o\b).]
1038 [+macro?The block is preprocessed (\bcc -E\b) and lines containing
1042 [+no?If the test fails then the block text is copied to the
1045 [+note?If the test succeeds then the block is copied to the output
1047 [+output?The block is compiled, linked, and executed, and the output
1048 is copied to the output file.]
1049 [+pass?If the test succeeds then the block text is evaluated by
1051 [+preprocess?The block is preprocessed (\bcc -E\b).]
1052 [+run?The block is executed as a shell script and the output is
1057 [+status?The block is compiled, linked, and executed, and the exit
1058 status is the test outcome, 0 for \afailure\a, the value
1060 [+yes?If the test succeeds then the block text is copied to the output
1061 file. \byes{\b ... \b}end\b is equivalent to the unnamed block
1464 # check if "run xxx" is equivalent to "set in xxx"
2332 is mac $x
2352 is npt $x
2396 # NOTE: technically if prototyped is on all tests should
2699 is LIB $p
2754 *) can="$can$cansep#define _LIB_$c 1 /* $x is a library */"
2772 *) can="$can$cansep#define HAVE_${c}_LIB 1 /* $x is a library */"
2793 0) can="$can$cansep#define $c 1 /* $p is $q */"
2802 ?1?|??1)can="$can$cansep#undef $c /* $p is not $q */"
2806 1??) can="$can$cansep#define $c 0 /* $p is not $q */"
2978 is id $m
3387 is tst "${note:-$run}"
3609 is $o $a
3672 is $o $v
3682 is dfn $v
3736 *) is exp "$note"
3777 report $c 1 "$note is true" "$note is false"
3791 is $o $f
3946 do is $o $w
3999 report - 1 - - "$w is not a reserved keyword" "default for reserved keyword $v"
4000 else report 0 1 "$w is a reserved keyword" -
4020 is $o $v
4088 is mac $v
4098 report $? 1 "$v is a macro" "$v is not a macro" "default for macro $v"
4110 is typ $p
4122 0) i="$v is not a member of $p" p="struct $p" ;;
4125 is mem $v "$p"
4133 report $? 1 "$v is a member of $p" "$i"
4145 is typ $p
4157 0) i="$p is not a non-opaque struct" p="struct $p" ;;
4160 is nos "$p"
4180 report $c 1 "$p is a non-opaque struct" "$i"
4184 npt) is npt $v
4209 num) is num $v
4222 report $? 1 "$v is a numeric constant" "$v is not a numeric constant"
4263 is opt $a
4268 report $c 1 "$a is set in \$PACKAGE_OPTIONS" "$a is not set in \$PACKAGE_OPTIONS"
4272 pth) is pth $a
4332 run) is run $a
4381 is siz "$x$v"
4473 is typ "$x$v"
4510 report $? 1 "$x$v is a type" "$x$v is not a type" "default for type $x$v"