Lines Matching +refs:cc +refs:check +refs:function +refs:in +refs:lib

7 dnl "Software"), to deal in the Software without restriction, including      *
14 dnl in all copies or substantial portions of the Software. *
24 dnl Except as contained in this notice, the name(s) of the above copyright *
25 dnl holders shall not be used in advertising or otherwise to promote the *
26 dnl sale, use or other dealings in this Software without prior written *
33 dnl Macros used in NCURSES auto-configuration script.
37 dnl these macros in other applications.
95 case x$cf_cv_abi_default in
114 case x$cf_cv_abi_default in
120 # also: remove the wgetch-events feature in ABI 7
153 dnl Construct the list of include-options for the C programs in the Ada95
189 dnl Put any preprocessor definitions that use quoted strings in $EXTRA_CPPFLAGS,
190 dnl to simplify use of $CPPFLAGS in compiler checks, etc., that are easily
199 for cf_add_cflags in $1
201 case "$cf_fix_cppflags" in
203 case "$cf_add_cflags" in
205 case "$cf_add_cflags" in
222 case "$CPPFLAGS" in
226 case "$cf_add_cflags" in
277 dnl Put any preprocessor definitions that use quoted strings in $EXTRA_CPPFLAGS,
278 dnl to simplify use of $CPPFLAGS in compiler checks, etc., that are easily
299 for cf_add_incdir in $1
308 for cf_test_incdir in $CFLAGS $CPPFLAGS ; do
368 for cf_add_libdir in $1
370 if test "$cf_add_libdir" = /usr/lib ; then
377 for cf_test_libdir in $LDFLAGS $LIBS ; do
396 dnl already exist in the list.
404 for cf_add_1lib in $1; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
406 for cf_add_1lib in $cf_add_0lib; do
407 for cf_add_2lib in $cf_add_libs; do
420 dnl Append to a search-list for a nonstandard header/lib-file
423 dnl $3 = the subdirectory, e.g., bin, include or lib
447 for cf_add_cflags in $1
449 case "x$cf_add_cflags" in
515 case "$cf_cv_system_name" in
530 for cf_ar_flags in -curvU -curv curv -crv crv -cqv cqv -rv rv
533 # check if $ARFLAGS already contains this choice
586 case x$AWK in
603 dnl Test if 'bool' is a builtin type in the configured C++ compiler. Some
605 dnl 2.6.3 does, in anticipation of the ANSI C++ standard.
610 dnl $1 is the shell variable to store the result in, if not $cv_cv_builtin_bool
650 dnl Test for the size of 'bool' in the configured C++ compiler (e.g., a type).
724 case x$ac_cv_sizeof_bool in
736 case .$NCURSES_BOOL in
766 AC_ARG_WITH(build-cc,
767 [ --with-build-cc=XXX the build C compiler ($BUILD_CC)],
769 [AC_CHECK_PROGS(BUILD_CC, [gcc clang c99 c89 cc cl],none)])
837 Use --with-build-cc to specify the native compiler.])
906 dnl preprocessor in a consistent manner.
908 dnl Caveat: this also disallows blanks in the pathname for the compiler, but
914 : "${CC:=cc}"
917 case "x$CFLAGS" in
923 for cf_arg in $cf_flags
934 case "$CC" in
942 for cf_arg in $cf_flags
944 case "x$cf_arg" in
980 case "$cf_cv_system_name" in
994 for cf_symbol in \
1046 #ifndef _NETBSD_SOURCE /* given, since April 2004 in stdlib.h */
1066 dnl Derive the system name, as a check for reusing the autoconf cache.
1071 dnl which is useful in cross-compiles.
1100 dnl Check for data that is usually declared in <unistd.h>, e.g., the 'environ'
1103 dnl $1 = the name to check
1126 dnl Check for data that is usually declared in <stdio.h> or <errno.h>, e.g.,
1130 dnl $1 = the name to check
1154 dnl Check for existence of external data in the current set of libraries. If
1156 dnl $1 = the name to check
1326 case "$cf_cv_gnat_version" in
1386 dnl used in cross-compiling to MinGW.
1418 dnl Save the version in a cache variable - this is not entirely a good thing,
1422 dnl There is an imitation in OpenBSD, which has no apparent use other than to
1433 case "x$cf_check_libtool_version" in
1509 dnl emulator. xterm, for instance, does an optional startup check to find if
1514 cat >conftest.in <<CF_EOF
1597 if ((fp = fopen("conftest.in", "r")) != 0) {
1612 fprintf(stderr, "%d/%d passed wcwidth/graphics check\\n", passed, totals);
1655 case "$CC" in
1668 for cf_clang_opt in \
1670 -Wno-error=implicit-function-declaration
1696 dnl compilers bundled by more than one vendor in lieu of providing a standard C
1699 dnl string literals would be in readonly memory.
1739 case "$cf_cv_const_x_string" in
1790 dnl is a late feature for the standard and is not in some recent compilers
1824 dnl Check if the C++ compiler accepts static_cast in generics. This appears to
1825 dnl not be supported in g++ before 3.0
1884 case "$cf_cv_system_name" in
1908 dnl For c++, check if iostream uses "std::" namespace.
1971 DIRS_TO_MAKE="lib"
1972 for cf_item in $cf_list_models
1975 for cf_item2 in $DIRS_TO_MAKE
1981 for cf_dir in $DIRS_TO_MAKE
1995 dnl ECHO_LD - symbol to prefix "cc -o" lines
1996 dnl RULE_CC - symbol to put before implicit "cc -c" lines (e.g., .c.o)
1997 dnl SHOW_CC - symbol to put before explicit "cc -c" lines
1998 dnl ECHO_CC - symbol to put before any "cc" line
2080 case "x$VERSION" in
2105 dnl *BSD ports which may have essential libraries in unusual places. But it
2107 dnl option in that case.
2127 dnl This usually follows CF_LINK_DATAONLY, but is not required in case we need
2170 case "x$PKG_CONFIG_LIBDIR" in
2211 dnl platforms, in implementations of varying quality. Likewise, snprintf is
2213 dnl to yield surprising results, as documented in manpages on various systems.
2227 AC_DEFINE(HAVE_STRLCAT,1,[Define to 1 if we have strlcat function])
2232 AC_DEFINE(HAVE_STRLCAT,1,[Define to 1 if we have strlcat function])
2246 dnl yes: always do this, e.g., to use in generated library-headers
2271 dnl Check if 'errno' is declared in <errno.h>
2279 dnl Test for conflicting definitions of exception in gcc 2.8.0, etc., between
2290 …ES_WRAP_PREFIX@/'$NCURSES_WRAP_PREFIX'/g' "${srcdir}/include/ncurses_dll.h.in" >include/ncurses_dl…
2292 for cf_math in "" MATH_H
2294 for cf_excp in "" MATH_EXCEPTION
2300 #include <etip.h.in>
2315 dnl Find a library (specifically the linkage used in the code fragment),
2316 dnl searching for it if it is not already in the library path.
2335 # If the linkage is not already in the $CPPFLAGS/$LDFLAGS configuration, these
2347 cf_cv_library_path_$3=/usr/lib
2355 cf_cv_library_path_$3=/usr/lib
2362 CF_MSG_LOG([Searching for headers in [FIND_LINKAGE]($3,$6)])
2368 for cf_cv_header_path_$3 in $cf_search
2375 CF_VERBOSE(... found $3 headers in $cf_cv_header_path_$3)
2386 CF_MSG_LOG([Searching for $3 library in [FIND_LINKAGE]($3,$6)])
2395 CF_VERBOSE(... found $3 library in system)
2403 for cf_cv_library_path_$3 in $cf_search
2411 CF_VERBOSE(... found $3 library in $cf_cv_library_path_$3)
2451 for cf_item in $cf_search
2453 case "$cf_item" in
2467 CF_SUBDIR_PATH(cf_search,$1,lib)
2468 for cf_item in $cf_search
2470 case "$cf_item" in
2483 case "$CFLAGS" in
2488 case "$CFLAGS" in
2499 dnl Warning flags do not belong in CFLAGS, CPPFLAGS, etc. Any of gcc's
2507 case [$]$1 in
2510 for cf_temp_scan in [$]$1
2512 case "x$cf_temp_scan" in
2622 AC_MSG_ERROR(Cannot find dlsym function)
2642 AC_DEFINE(HAVE_CLOCK_GETTIME,1,[Define to 1 if we have clock_gettime function])
2645 AC_DEFINE(HAVE_GETTIMEOFDAY,1,[Define to 1 if we have gettimeofday function]),[
2648 AC_DEFINE(HAVE_GETTIMEOFDAY,1,[Define to 1 if we have gettimeofday function])
2655 dnl Check if the 4.3BSD function getttyname exists, as well as if <ttyent.h>
2659 AC_CACHE_CHECK(if _PATH_TTYS is defined in ttyent.h,cf_cv_PATH_TTYS,[
2669 for cf_ttys in /etc/ttytype /etc/ttys
2739 AC_DEFINE(USE_MY_MEMMOVE,1,[Define to 1 to use replacement function when memmove is unavailable])
2745 dnl Check for existence of workable nanosleep() function. Some systems, e.g.,
2780 dnl Check for openpty() function, along with <pty.h> header. It may need the
2788 for cf_header in pty.h libutil.h util.h
2809 dnl See if the poll function really works. Some platforms have poll(), but
2829 /* check for Darwin bug with respect to "devices" */
2852 /* also check with standard input */
2866 …ng_poll" = "yes" && AC_DEFINE(HAVE_WORKING_POLL,1,[Define to 1 if the poll function seems to work])
2871 dnl Some old/broken variations define tcgetattr() only as a macro in
2900 dnl Check for vsscanf() function, which is in c9x but generally not in earlier
2905 AC_CACHE_CHECK(for vsscanf function or workaround,cf_cv_func_vsscanf,[
2945 case "$cf_cv_func_vsscanf" in
3004 for cf_attribute in scanf printf unused noreturn
3010 case "$cf_attribute" in
3033 case "$cf_attribute" in
3088 dnl -Wconversion (useful in older versions of gcc, but not in gcc 2.7.x)
3101 dnl If $with_ext_const is "yes", add a check for -Wwrite-strings
3114 # remark #1419: external declaration in primary source file
3121 # remark #981: operands are evaluated in unspecified order
3127 for cf_opt in \
3153 for cf_opt in W Wall \
3154 Wbad-function-cast \
3171 case "$cf_opt" in
3173 case "$GCC_VERSION" in
3175 CF_VERBOSE(feature is broken in gcc $GCC_VERSION)
3180 case "$GCC_VERSION" in
3182 CF_VERBOSE(feature is broken in gcc $GCC_VERSION)
3199 dnl Check for getopt's variables which are commonly defined in stdlib.h,
3200 dnl unistd.h or (nonstandard) in getopt.h
3206 for cf_header in stdio.h stdlib.h unistd.h getopt.h
3216 AC_DEFINE(HAVE_GETOPT_HEADER,1,[Define to 1 if getopt variables are declared in header])
3241 case "$cf_cv_gnat_version" in
3278 case "$cf_cv_gnat_version" in
3282 case "$cf_cv_system_name" in
3287 if mkdir conftest.src conftest.bin conftest.lib
3322 -XLIBRARY_DIR="`cd ../conftest.lib;pwd`" \
3330 if test -f conftest.lib/confpackage.ali
3399 function Continue return Boolean;
3412 function Continue return Boolean is
3533 # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE
3622 case "$cf_cv_system_name" in
3631 AC_MSG_CHECKING([for lib$cf_gpp_libname])
3681 dnl -Wbad-function-cast
3693 dnl If $with_ext_const is "yes", add a check for -Wwrite-strings
3714 # remark #1419: external declaration in primary source file
3722 # remark #981: operands are evaluated in unspecified order
3728 for cf_opt in \
3755 case "$GXX_VERSION" in
3762 for cf_opt in \
3802 case $1 in
3808 CF_ADD_LIBDIR($1/lib)
3810 case "$1" in
3847 for cf_db_libs in "" db$cf_cv_hashed_db_version db-$cf_cv_hashed_db_version db ''
3920 for cf_db_version in 1 2 3 4 5 6
3963 for cf_header_path in $CPPFLAGS $CFLAGS
3965 case "$cf_header_path" in
4006 dnl in the source directory or using '--srcdir=DIR' option.
4022 dnl prompt for/fill-in useful install-program options
4038 case `$ac_config_guess` in
4068 date >conftest.in
4071 if $INSTALL -p conftest.in conftest.out 2>/dev/null
4073 if test -f conftest.out/conftest.in
4075 test conftest.in -nt conftest.out/conftest.in 2>conftest.err && \
4076 test conftest.out/conftest.in -nt conftest.in 2>conftest.err
4117 dnl Provide an option for overriding the strip program used in install "-s"
4129 [ --with-strip-program=XX specify program to use when stripping in install],
4145 for check_strip_variable in STRIPBIN STRIP
4156 case "$check_install_strip" in
4199 case "$host_os" in
4221 dnl Check if we have either a function or macro for 'isascii()'.
4243 # Normally we would collect these definitions in the config.h,
4292 dnl ensure that the linker picks up a given library based on its position in
4297 case "$cf_cv_system_name" in
4308 case "$cf_cv_system_name" in
4323 # alternative "-oldstyle_liblookup" (not in cc manpage)
4361 case x`file "conftest$ac_exeext" 2>/dev/null` in
4402 case "$cf_cv_system_name" in
4433 case "x$LD_RPATH_OPT" in
4449 dnl Try to obtain the linker's search-path, for use in scripts.
4477 # do this to bypass check
4478 cf_cv_ld_searchpath='$HOME/lib'
4479 cf_pathlist="/usr/local/lib /lib /usr/lib"
4488 case x`(isainfo -b)` in
4490 cf_pathlist="$cf_pathlist /lib/64 /usr/lib/64"
4493 test -d /usr/ccs/lib && cf_pathlist="$cf_pathlist /usr/ccs/lib"
4494 cf_pathlist="$cf_pathlist /lib /usr/lib"
4508 case x`getconf LONG_BIT` in
4510 cf_pathlist="/usr/lib/hpux64"
4513 cf_pathlist="/usr/lib/hpux32"
4522 test -z "$cf_pathlist" && cf_pathlist="/usr/lib /lib"
4524 # Finally, check that this is only directories
4525 for cf_path in [$]0 $cf_pathlist
4534 test -z "$cf_cv_ld_searchpath" && cf_cv_ld_searchpath=/usr/lib
4553 for cf_library_path in $LDFLAGS $LIBS
4555 case "$cf_library_path" in
4557 cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'`
4558 CF_ADD_SUBDIR_PATH($1,$2,lib,$cf_library_path,NONE)
4565 CF_SUBDIR_PATH($1,$2,lib)
4588 case "$cf_cv_system_name" in
4591 LIB_PREFIX='lib'
4599 (*) LIB_PREFIX='lib'
4610 dnl subdirectory is a library-source directory, modify the Libs_To_Make list in
4616 dnl lib<name>.so ->
4617 dnl lib<name>.so.<major> ->
4618 dnl lib<name>.so.<maj>.<minor>
4628 case "$cf_cv_shlib_version" in
4636 case "$TINFO_SUFFIX" in
4652 for cf_dir in $SRC_SUBDIRS
4664 /deprecated in ABI${cf_cv_abi_default}/ { next; }\
4693 for cf_item in $cf_LIST_MODELS
4713 case "$cf_cv_shlib_version" in
4724 case "$cf_cv_system_name" in
4742 # use autodetected ${cf_prefix} for import lib and static lib, but
4743 # use 'cyg' prefix for shared lib.
4744 case "$cf_cv_shlib_version" in
4747 cf_add_lib="../lib/cyg${cf_libname}${cf_cygsuf}"
4751 cf_add_lib="../lib/msys-${cf_libname}${cf_cygsuf}"
4755 cf_add_lib="../lib/lib${cf_libname}${cf_cygsuf}"
4759 cf_add_lib="../lib/${cf_libname}${cf_cygsuf}"
4771 cf_add_lib="../lib/${cf_prefix}${cf_libname}${cf_suffix}"
4786 case "$cf_l_parts" in
4811 for cf_item in $Libs_To_Make
4813 case "$cf_item" in
4820 for cf_test in $cf_list
4844 for cf_subset in $cf_subsets
4847 for cf_item in $cf_LIST_MODELS
4855 case "$cf_cv_shlib_version" in
4872 case "$cf_subset" in
4891 # undo $USE_LIB_SUFFIX add-on in CF_LIB_SUFFIX
4896 # builds, but they are useful in porting, too.
4914 case "$USE_LIB_SUFFIX" in
4970 for cf_subdir2 in $cf_subdirs lib
5009 for cf_dir in $SRC_SUBDIRS
5016 case "$cf_dir" in
5129 # This shell script is generated by the 'configure' script. It is invoked in a
5130 # subdirectory of the build tree. It generates a sed-script in the parent
5131 # directory that is used to adjust includes for header files that reside in a
5143 echo installing \$SRC in \$DST
5148 case \$DST in
5151 for i in \`cat \$REF/../*/headers |${FGREP-fgrep} -v "#"\`
5165 case \$DST in
5168 for i in \`cat \$REF/../*/headers |${FGREP-fgrep} -v "#"\`
5196 # Just in case someone gzip'd manpages, remove the conflicting copy.
5205 for cf_dir in $SRC_SUBDIRS
5267 …`ldd \"conftest$ac_exeext\" 2>/dev/null | sed -e 's,^.*/,,' -e 's, .*$,,' | ${FGREP-fgrep} lib$3.`"
5286 case X$1 in
5292 case "$cf_cv_system_name" in
5294 $2='_g.lib'
5303 case "$cf_cv_system_name" in
5305 $2='_p.lib'
5314 case "$cf_cv_system_name" in
5321 $3='.dll.lib'
5332 case "$target" in
5350 case "$target" in
5352 $2='.lib'
5376 case $1 in
5388 dnl Some systems have a non-ANSI linker that doesn't pull in modules that have
5460 dnl This allows for a 2-second difference in modification times to allow for
5478 for cf_func in link symlink ; do
5516 test "$ac_cv_func_link" = yes && AC_DEFINE(HAVE_LINK,1,[Define to 1 if we have link() function])
5517 …$ac_cv_func_symlink" = yes && AC_DEFINE(HAVE_SYMLINK,1,[Define to 1 if we have symlink() function])
5532 for cf_option in '-${MAKEFLAGS}' '${MFLAGS}'
5540 case "$cf_result" in
5542 cf_result="`${MAKE:-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null`"
5543 case "$cf_result" in
5569 dnl The ".PHONY" feature was proposed in 2011 here
5571 dnl and is scheduled for release in P1003.1 Issue 8 (late 2022).
5576 dnl + This is a GNU make feature (since April 1988, but in turn from binutils,
5579 dnl + It was adopted in NetBSD make in June 1995.
5585 dnl began as a modified GNU make starting in 1993.
5587 dnl + Version 3.8 of the dmake program in January 1992 also implemented this
5609 for cf_data in 1 2 3
5694 dnl BSDI - files in the cat-directories are suffixed ".0"
5695 dnl formatted - installer should format (put files in cat-directory)
5718 case "$MANPAGE_FORMAT" in
5731 for cf_dir in $MANPATH; do
5733 …for cf_name in $cf_dir/man*/$cf_example.[[01]]* $cf_dir/cat*/$cf_example.[[01]]* $cf_dir/man*/$cf_…
5738 case "$cf_name" in
5747 case "$cf_name" in
5758 # if we found a match in either man* or cat*, stop looking
5763 case "$cf_name" in
5771 # only check the first directory in $MANPATH where we find manpages
5781 for cf_option in $MANPAGE_FORMAT; do
5782 case "$cf_option" in
5804 for cf_item in $MANPAGE_FORMAT
5806 case "$cf_item" in
5857 case ".$MANPAGE_RENAMES" in
5884 dnl Some people expect each tool to make all aliases for manpages in the
5898 case "x$LN_S" in
5965 AC_MSG_WARN(MB_LEN_MAX is missing/inconsistent in system headers)
6046 for i in "\[$]@" ; do
6047 case \$i in
6057 # replace variables in man page
6069 for cf_name in $1
6177 case "$MANPAGE_FORMAT" in
6181 # BSDI installs only .0 suffixes in the cat directories
6192 case \$cf_target in
6207 for cf_alias in \$aliases
6223 case "x$LN_S" in
6264 for cf_alias in \$aliases
6364 case "$target_alias" in
6440 dnl Write a debug message to config.log, along with the line number in the
6452 case "$cf_cv_rel_version" in
6466 dnl packager has incremented the ABI past that used in the original package,
6475 case "$cf_cv_rel_version" in
6495 [case "x$withval" in
6509 case ".$with_cflags" in
6511 case .$CFLAGS in
6529 case `echo "$1" | sed -e 's/^[[0-9]]*$/0/g'` in
6546 case $1 in
6552 case "$cf_cv_system_name" in
6563 dnl This runs in the output step to config.status, after man_db.renames has
6579 dnl as provided in autoconf 2.5x).
6583 case "$cf_cv_system_name" in
6595 dnl $1 = environment variable, which is suffixed by "_PATH" in the #define.
6600 dnl If there is more than one token in the result, #define the remaining tokens
6601 dnl to $1_ARGS. We need this for 'install' in particular.
6613 for cf_temp in $ac_cv_path_$1
6650 case ".[$]$1" in
6659 case ".[$]$1" in
6688 case "$cf_pkg_config" in
6747 case .$cf_POSIX_C_SOURCE in
6797 dnl diverged from POSIX in 2002 by setting symbols which make all of the most
6798 dnl recent features visible in the system header files unless the application
6802 dnl This macro makes a special check for the symbols used for this, to avoid a
6864 for cf_dir in $2
6884 dnl Check for awk, ensure that the check found something.
6893 dnl standard check for CC, plus followup sanity checks
6953 for cf_prog_gnat in gnat gnatmake gprconfig gprbuild
6988 for cf_gprconfig in Ada C
6993 for cf_gprconfig_param in \
7061 case $INSTALL in
7075 dnl and then used in the install.
7080 case "$cf_cv_system_name" in
7097 case "x$LINT" in
7137 case "$host_os" in
7155 for cf_regex_lib in $cf_regex_libs
7180 case "$cf_regex_func" in
7182 for cf_regex_hdr in regexp.h regexpr.h
7196 for cf_regex_hdr in regex.h
7216 case "$cf_cv_regex_hdrs" in
7274 dnl Restore flags saved in CF_SAVE_XTRA_FLAGS
7294 cf_rpath_list="/usr/lib /lib"
7306 # partly honor /usr/local/lib (or whatever). Sometimes this behavior
7307 # is intentional, e.g., installing gcc in /usr/bin and suppressing the
7311 for cf_rpath_src in $cf_rpath_oops
7313 for cf_rpath_dir in \
7318 if test -f "$cf_rpath_dir/lib/$cf_rpath_src"
7320 CF_VERBOSE(...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src)
7321 LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib"
7355 for cf_rpath_src in [$]$1
7357 case "$cf_rpath_src" in
7360 # check if this refers to a directory which we will ignore
7364 for cf_rpath_item in $cf_rpath_list
7413 for cf_X_CFLAGS in $X_CFLAGS
7415 case "x$cf_X_CFLAGS" in
7434 dnl the build-tree, i.e., by making use of the libraries that are compiled in
7435 dnl $rel_builddir/lib We avoid compiling-in a $rel_builddir/lib path for the
7438 dnl libraries are compiled in ../../lib
7472 AC_MSG_CHECKING(whether to use release or ABI version in shared library file names)
7474 [[ --with-shlib-version[={rel|abi}] use release or ABI version in shared library file names]],
7476 case "$withval" in
7502 case "$cf_cv_system_name" in
7513 for CC_SHARED_OPTS in -fPIC -fpic ''
7524 case "$cf_cv_system_name" in
7528 …MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-brtl -Wl,-blibpath:${RPATH_LIST}:/usr/lib -…
7532 …MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -G -Wl,-brtl -Wl,-blibpath:${RPATH_LIST}:/usr/lib -o [$]…
7549 IMPORT_LIB=\`echo "\[$]1" | sed -e 's/cyg/lib/' -e 's/[[0-9]]*\.dll[$]/.dll.a/'\`
7571 IMPORT_LIB=\`echo "\[$]1" | sed -e 's/msys-/lib/' -e 's/[[0-9]]*\.dll[$]/.dll.a/'\`
7619 # readonly to exploit a quirk in the memory manager.
7636 # tested with IRIX 5.2 and 'cc'.
7668 RM_SHARED_OPTS="$RM_SHARED_OPTS $rel_builddir/mk_shared_lib.sh *.dll.lib"
7672 IMPORT_LIB=\`echo "\[$]1" | sed -e 's/[[0-9]]*\.dll[$]/.dll.lib/'\`
7681 args=\$(echo \[$]* | sed -E "s#-l(\w*)#\1.dll.lib#g" | sed -E "s#-L(\w*)#-LIBPATH:\1#g")
7696 case "\[$]1" in
7725 for linkarg in \`echo '\[$]1' | sed -e 's/-Wl,//' -e 's/,/ /'\`; do
7729 *.lib)
7744 for lib in \[$]{libs[[*]]}; do
7745 ldopts+=("\[$]lib.dll.lib")
7748 for lib in \[$]{libs[[*]]}; do
7749 ldopts+=("\[$]lib.lib")
7844 # tested with OSF/1 V3.2 and 'cc'
7848 case "$host_os" in
7872 LINK_TESTS='Pwd=`pwd`;LD_RUN_PATH=`dirname $${Pwd}`/lib'
7895 for cf_shared_opts in -xcode=pic32 -xcode=pic13 -KPIC -Kpic -O
7908 # tested with UnixWare 7.1.0 (gcc 2.95.2 and cc)
7920 # This works if the last tokens in $MK_SHARED_LIB are the -o target.
7921 case "$cf_cv_shlib_version" in
7923 case "$MK_SHARED_LIB" in
7946 for cf_opt in $cf_try_cflags
8066 dnl signal handler, but there are some gcc dependencies in that recommendation.
8072 for cf_type in \
8112 for cf_opts in "" "NEED_PTEM_H"
8130 /* This is a workaround for SCO: they neglected to define struct winsize in
8131 * termios.h -- it is only in termio.h and ptem.h
8172 case "$cf_cv_sizechange" in
8184 dnl use in CF_LIB_RULES.
8187 dnl SUB_MAKEFILES which are used in the makefile-generation scheme.
8206 for cf_dir in $1
8254 for cf_dir in $cf_cv_src_modules
8274 …" = "xyes" && test "x$cf_cv_prog_gnat_correct" = xyes && test -f "$srcdir/Ada95/Makefile.in" ; then
8283 for cf_dir in $SRC_SUBDIRS
8289 for cf_dir in $ADA_SUBDIRS
8320 case "$cf_cv_system_name" in
8358 dnl do this if we've found the sigaction function.
8397 case "$CFLAGS $CPPFLAGS" in
8421 dnl Construct a search-list for a nonstandard header/lib-file
8424 dnl $3 = the subdirectory, e.g., bin, include or lib
8431 for cf_subdir_prefix in \
8464 dnl Get the version-number for use in shared-library naming, etc.
8477 dnl We need these values in the generated headers
8481 dnl We need these values in the generated makefiles
8525 dnl available in that form.
8551 dnl If _XOPEN_SOURCE is not defined in the compile environment, check if we
8699 dnl check for va_copy, part of stdarg.h starting with ISO C 1999.
8750 case "${cf_cv_have_va_copy}${cf_cv_have___va_copy}${cf_cv_have___builtin_va_copy}" in
8793 dnl file is preferred to embedding the version numbers in various scripts.
8807 dnl patch-version is an integer in the form yyyymmdd, so ifdef's and
8839 case .$VERSION_PATCH in
8915 # if we do not find $1 in either place, use substitution to provide a fallback.
8921 # if we find $1 in either place, use substitution to provide a fallback.
8956 dnl Provide a way to override the displayed ABI version, e.g., in filenames.
8957 dnl Check this option after using the ABI version in configuration decisions.
8975 dnl packager has incremented the ABI past that used in the original package,
8987 case "$cf_cv_rel_version" in
9023 [ --with-ada-include=DIR find Ada95 includes in DIR],
9043 case "x$ADA_LIBNAME" in
9058 [ --with-ada-objects=DIR find Ada95 objects in DIR],
9060 PREFIX/lib/ada/adalib,
9061 [$]prefix/lib/ada/adalib)
9094 ADA_SHAREDLIB='lib$(LIB_NAME).so.1'
9150 [[ --with-export-syms[=SYM-FILE] limit symbols exported by libtool to those listed in SYM-FILE]],
9210 dnl macros from libtool.m4 which is in the aclocal directory of automake.
9301 case "$cf_cv_system_name" in
9309 case "$cf_cv_libtool_version" in
9357 case .$with_libtool_opts in
9385 case "x[$]$1" in
9400 dnl "lib" prefix, e.g., because it used the dll naming convention.
9406 AC_ARG_WITH(lib-prefix,
9407 [ --with-lib-prefix override library-prefix],
9431 dnl $4 = default value, shown in the help-message, must be a constant
9432 dnl $5 = default value, if it is an expression & cannot be in the help-message
9451 dnl $4 = default value, shown in the help-message, must be a constant
9452 dnl $5 = default value, if it is an expression & cannot be in the help-message
9462 for cf_src_path in $withval
9473 case "$cf_dst_path" in
9482 # so we have to check/work around. We do prefer the result of "eval"...
9484 case "x$cf_dst_eval" in
9541 for cf_with_pcre2 in libpcre2 libpcre2-posix libpcre
9550 case "$LIBS" in
9562 # either way, check for the library header files
9578 dnl pkgconf (used with some systems such as FreeBSD in place of pkg-config)
9583 case "$PKG_CONFIG" in
9607 case "x$cf_search_path" in
9632 for cf_pkg_program in \
9641 # works for pkg-config since import in 2005 of original 2001 HP code.
9664 for cf_config in $cf_search_path
9690 for cf_config in $cf_search_path
9692 case $cf_config in
9726 for cf_lib_pthread in pthread c_r
9755 dnl packager has incremented the release-version past that used in the original package,
9841 case x[$]$3 in
9873 case "x$with_versioned_syms" in
9897 case "x$MK_SHARED_LIB" in
9983 # test for missing symbol in either Data or Text section
10009 dnl /usr/pkg/lib/X11/rgb.txt
10011 dnl /usr/local/lib/X11/rgb.txt
10014 dnl /usr/lib/X11/rgb.txt
10017 dnl /usr/X11R7/lib/X11/rgb.txt
10022 dnl /usr/X11/lib/X11/rgb.txt
10029 dnl /usr/X11/lib/amd64/X11/rgb.txt
10030 dnl Solaris10 uses (in this order):
10031 dnl /usr/openwin/lib/X11/rgb.txt
10032 dnl /usr/X11/lib/X11/rgb.txt
10036 …[ --with-x11-rgb=FILE obtain X11 color definitions from FILE (default: EPREFIX/lib/X11/rgb.tx…
10042 RGB_PATH='${exec_prefix}/lib/X11/rgb.txt'
10043 for cf_path in \
10048 /usr/X11/lib/X11/rgb.txt \
10049 /usr/lib/X11/rgb.txt \
10051 /usr/pkg/lib/X11/rgb.txt \
10052 /usr/X11R7/lib/X11/rgb.txt \
10053 /usr/X11R6/lib/X11/rgb.txt \
10054 /usr/X11R5/lib/X11/rgb.txt \
10055 /usr/X11R4/lib/X11/rgb.txt \
10056 /usr/local/lib/X11/rgb.txt \
10113 case "$host_os" in
10193 # Some of these niche implementations use copy/paste, double-check...
10241 dnl $1 = extra parameters, e.g., in CF_STRIP_G_OPT
10246 dnl body of test when test-compiling for _XOPEN_SOURCE check
10256 dnl headers to include when test-compiling for _XOPEN_SOURCE check