Module Name: othersrc Committed By: lukem Date: Sun Apr 25 09:40:34 UTC 2021
Modified Files: othersrc/usr.bin/tnftp: configure configure.ac Log Message: configure: check all glob flags we use Also check GLOB_NOCHECK, even though it's standard. Makes the autoconf check consistent with the usage within src/*. Suggseted by Christos on 2020-07-05. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 othersrc/usr.bin/tnftp/configure cvs rdiff -u -r1.39 -r1.40 othersrc/usr.bin/tnftp/configure.ac Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/usr.bin/tnftp/configure diff -u othersrc/usr.bin/tnftp/configure:1.54 othersrc/usr.bin/tnftp/configure:1.55 --- othersrc/usr.bin/tnftp/configure:1.54 Fri Feb 12 12:43:04 2021 +++ othersrc/usr.bin/tnftp/configure Sun Apr 25 09:40:34 2021 @@ -14353,8 +14353,8 @@ fi use_local_glob=yes ac_fn_c_check_header_mongrel "$LINENO" "glob.h" "ac_cv_header_glob_h" "$ac_includes_default" if test "x$ac_cv_header_glob_h" = xyes; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking glob supports required extensions" >&5 -$as_echo_n "checking glob supports required extensions... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking glob supports required flags" >&5 +$as_echo_n "checking glob supports required flags... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14363,7 +14363,7 @@ int main () { -int f = GLOB_BRACE | GLOB_TILDE; +int f = GLOB_BRACE|GLOB_NOCHECK|GLOB_TILDE; ; return 0; Index: othersrc/usr.bin/tnftp/configure.ac diff -u othersrc/usr.bin/tnftp/configure.ac:1.39 othersrc/usr.bin/tnftp/configure.ac:1.40 --- othersrc/usr.bin/tnftp/configure.ac:1.39 Fri Feb 12 12:39:18 2021 +++ othersrc/usr.bin/tnftp/configure.ac Sun Apr 25 09:40:34 2021 @@ -1,4 +1,4 @@ -# $NetBSD: configure.ac,v 1.39 2021/02/12 12:39:18 lukem Exp $ +# $NetBSD: configure.ac,v 1.40 2021/04/25 09:40:34 lukem Exp $ # # Process this file with autoconf to produce a configure script. @@ -9,7 +9,7 @@ AC_COPYRIGHT([ Copyright (c) 1999-2021 The NetBSD Foundation, Inc. All rights reserved. ]) -AC_REVISION([$Revision: 1.39 $]) +AC_REVISION([$Revision: 1.40 $]) AS_SHELL_SANITIZE() @@ -338,10 +338,10 @@ AS_IF([test "$ac_cv_func_strptime" = yes # use_local_glob=yes AC_CHECK_HEADER([glob.h], - [AC_MSG_CHECKING([glob supports required extensions]) + [AC_MSG_CHECKING([glob supports required flags]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <glob.h>]], [[ -int f = GLOB_BRACE | GLOB_TILDE; +int f = GLOB_BRACE|GLOB_NOCHECK|GLOB_TILDE; ]])], [AC_MSG_RESULT([yes]) use_local_glob=no],