Lines Matching +refs:feature +refs:define +refs:name

24 dnl Except as contained in this notice, the name(s) of the above copyright   *
120 # also: remove the wgetch-events feature in ABI 7
132 define([CF_ACVERSION_CHECK],
146 define([CF_ACVERSION_COMPARE],
363 dnl $2 is the optional name of the variable to update (default LDFLAGS)
422 dnl $2 = the package name
445 define([CF_APPEND_CFLAGS],
463 define([CF_APPEND_TEXT],
487 dnl $1 = option name
865 AC_MSG_CHECKING(if you want to use C11 _Noreturn feature)
867 [ --enable-stdnoreturn enable C11 _Noreturn feature for diagnostics],
873 AC_CACHE_CHECK([for C11 _Noreturn feature], cf_cv_c11_noreturn,
1066 dnl Derive the system name, as a check for reusing the autoconf cache.
1086 test -n "$system_name" && AC_DEFINE_UNQUOTED(SYSTEM_NAME,"$system_name",[Define to the system name.…
1093 AC_MSG_RESULT(Cached system name ($system_name) does not agree with actual ($cf_cv_system_name))
1103 dnl $1 = the name to check
1130 dnl $1 = the name to check
1156 dnl $1 = the name to check
1182 dnl $2 = compiler-flags variable name
1217 #define str_alloc(s) strdup(s)
1219 #define str_alloc(s) strcpy(malloc(strlen(s) + 1, s))
1222 static void set_value(const char *name, const char *value)
1225 setenv(name, value, 1);
1228 sprintf(buffer, "%s=%s", name, value);
1260 char name[80];
1267 sprintf(name, "TERM%lu", (unsigned long) k);
1269 if (!strcmp(name, mynames[jk])) {
1277 set_value(name, value);
1278 mynames[j] = str_alloc(name);
1317 …AVE_CONSISTENT_GETENV,1,[Define to 1 if getenv repeatably returns the same value for a given name])
1581 #define MY_LEN 80
1701 dnl As a workaround, one could (starting with X11R5) define XTSTRINGDEFINES, to
1702 dnl let the compiler decide how to represent Xt's strings which were #define'd.
1722 AC_CACHE_CHECK(for X11/Xt const-feature,cf_cv_const_x_string,[
1726 #define _CONST_X_STRING /* X11R7.8 (perhaps) */
1754 dnl feature.
1790 dnl is a late feature for the standard and is not in some recent compilers
1929 dnl $1 is the name of a shell variable to set if inline is supported
2063 dnl Check if we should use the libtool 1.5 feature "-version-number" instead of
2064 dnl the older "-version-info" feature. The newer feature allows us to use
2128 dnl an unconditional feature.
2322 dnl $3 = the library name without the "-l" option or ".so" suffix.
2325 dnl $6 = module name, if not the same as the library name
2446 dnl Find an include-directory with the given leaf-name. This is useful for
2463 dnl Find a library-directory with the given leaf-name. This is useful for
2503 dnl $1 = variable name to repair
2504 define([CF_FIX_WARNINGS],[
2657 dnl other checks fail, just define HAVE_PATH_TTYS.
2674 …AC_DEFINE(_PATH_TTYS,$cf_ttys,[define to pathname of file containing mapping from tty name to term…
2700 AC_DEFINE(HAVE_PATH_TTYS,1,[define to 1 if system can map tty name to terminal type])
2871 dnl Some old/broken variations define tcgetattr() only as a macro in
2883 #define TTY struct termios
2887 #define TTY struct termio
2966 #define GCC_PRINTF 0
2969 #define GCC_SCANF 0
2972 #define GCC_NORETURN /* nothing */
2975 #define GCC_UNUSED /* nothing */
2988 #define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
2990 #define GCC_PRINTFLIKE(fmt,var) /*nothing*/
2993 #define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var)))
2995 #define GCC_SCANFLIKE(fmt,var) /*nothing*/
3014 #define GCC_$cf_ATTRIBUTE 1
3020 #define GCC_$cf_ATTRIBUTE 1
3025 #define GCC_$cf_ATTRIBUTE $cf_directive
3060 ${FGREP-fgrep} define conftest.i >>confdefs.h
3175 CF_VERBOSE(feature is broken in gcc $GCC_VERSION)
3182 CF_VERBOSE(feature is broken in gcc $GCC_VERSION)
3267 dnl GNAT libraries are a further development, using the project feature.
3490 dnl $2 = program name
3505 dnl Check if we must define _GNU_SOURCE to get a reasonable value for
3575 AC_CACHE_CHECK(if we must define _GNU_SOURCE,cf_cv_gnu_source,[
3595 AC_CACHE_CHECK(if we should also define _DEFAULT_SOURCE,cf_cv_default_source,[
3955 dnl $2 = the package name
4393 dnl loader to use the "rpath" feature.
4547 dnl $2 = the package name
4586 define([CF_LIB_PREFIX],
4616 dnl lib<name>.so ->
4617 dnl lib<name>.so.<major> ->
4618 dnl lib<name>.so.<maj>.<minor>
4869 # Test for case where we build libtinfo with a different name.
4940 name=${cf_libname}${cf_dir_suffix} \
4976 name=$cf_dir \
5118 dnl prepend the subdirectory's name to the "#include" paths. It won't hurt
5247 dnl $3 = library name
5279 dnl Compute the library file-suffix from the given model name
5280 dnl $1 = model name
5370 dnl Compute the string to append to -library from the given model name
5371 dnl $1 = model name
5569 dnl The ".PHONY" feature was proposed in 2011 here
5576 dnl + This is a GNU make feature (since April 1988, but in turn from binutils,
5846 dnl option lets us override the name of the file containing renaming, or
6359 dnl create a lowercase name and see it as uppercase, it doesn't support that.
6402 char name[2][80];
6410 strcpy(name[n], tmpl);
6411 if ((fd = mkstemp(name[n])) >= 0) {
6412 if (!strcmp(name[n], tmpl)
6413 || stat(name[n], &sb) != 0
6422 && !strcmp(name[0], name[1]))
6469 dnl $1 is the package name, if any, to derive a corresponding {package}_ABI
6487 dnl $1 = option/name
6489 dnl $3 = symbol to define if the option is set
6543 dnl Compute the object-directory name from the given model name
6595 dnl $1 = environment variable, which is suffixed by "_PATH" in the #define.
6596 dnl $2 = program name to find.
6600 dnl If there is more than one token in the result, #define the remaining tokens
6683 [[ --with-pkg-config[=CMD] enable/disable use of pkg-config and its name CMD]],
6739 AC_CACHE_CHECK(if we should define _POSIX_C_SOURCE,cf_cv_posix_c_source,[
6826 AC_MSG_CHECKING(if we must define $1)
6894 dnl $1 = optional parameter to pass to AC_PROG_CC to specify compiler name
6990 AC_MSG_CHECKING(for gprconfig name for $cf_gprconfig)
7230 define([CF_REMOVE_CFLAGS],
7252 define([CF_REMOVE_DEFINE],
7266 define([CF_REMOVE_LIB],
7275 dnl $1 = name of current macro
7276 define([CF_RESTORE_XTRA_FLAGS],
7348 dnl $1 = variable name to update. The LDFLAGS variable should be the only one,
7406 dnl $1 = name of current macro
7407 define([CF_SAVE_XTRA_FLAGS],
7995 define([CF_SHARED_SONAME],
8130 /* This is a workaround for SCO: they neglected to define struct winsize in
8217 # well. These are header files that are the same name as their
8371 #define _POSIX_SOURCE
8376 AC_DEFINE(_POSIX_SOURCE,1,[Define to 1 if we must define _POSIX_SOURCE])],
8384 dnl Some machines require _POSIX_SOURCE to completely define struct termios.
8408 #define _POSIX_SOURCE
8412 termios_bad=yes AC_DEFINE(_POSIX_SOURCE,1,[Define to 1 if we must define _POSIX_SOURCE]))
8423 dnl $2 = the package name
8527 dnl $1 = package name, which may be a shell variable
8552 dnl can define it successfully.
8554 AC_CACHE_CHECK(if we should define _XOPEN_SOURCE,cf_cv_xopen_source,[
8586 #define WANT_BITS 31
8814 dnl $1 = internal name for package
8815 dnl $2 = external name for package
8865 dnl if a package name is given, define its corresponding version info. We
8866 dnl need the package name to ensure that the defined symbols are unique.
8870 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE",[Define to the package-name])
8940 # define _cat_pragma(exp) _Pragma(#exp)
8941 # define _weak_pragma(exp) _cat_pragma(weak name)
8943 # define _weak_pragma(exp)
8945 # define _declare(name) __extension__ extern __typeof__(name) name
8946 # define weak_symbol(name) _weak_pragma(name) _declare(name) __attribute__((weak))
8978 dnl $1 is the package name, if any, to derive a corresponding {package}_ABI
9035 dnl Command-line option to specify how to name the resulting Ada library.
9038 AC_MSG_CHECKING(for Ada95 curses library name)
9040 [[ --with-ada-libname[=XXX] use XXX as Ada95 library name]],
9169 dnl The option parameter (if neither yes/no) is assumed to be the name of
9374 dnl $2 = option name
9428 dnl $1 = option name
9448 dnl $1 = option name
9453 dnl $6 = flag to tell if we want to define or substitute
9470 ifelse($6,define,[
9503 dnl $2 = program name
9758 dnl $1 is the package name, if any, to derive corresponding {package}_MAJOR
9831 dnl $1 = name of type
9843 AC_MSG_ERROR(expected a type name for $1)
10242 define([CF__SED_TRIMBLANKS],[sed ifelse($1,,,[$1] )-e 's%[[ ]]% %g' -e 's% [[ ]]*% %g' -e 's%^ %%' …
10247 define([CF__XOPEN_SOURCE_BODY],
10257 define([CF__XOPEN_SOURCE_HEAD],