File: withfts.m4

package info (click to toggle)
findutils 4.6.0+git+20190209-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 20,276 kB
  • sloc: ansic: 98,553; sh: 8,927; yacc: 1,840; exp: 850; makefile: 813; python: 66; sed: 16
file content (12 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
dnl This macro is being phased out; --with-fts is now mandatory.  The
dnl oldfind binary is no longer installed.
AC_DEFUN([FIND_WITH_FTS],
[AC_ARG_WITH([fts],
[  --without-fts           Use an older mechanism for searching the filesystem, instead of using fts()],[with_fts=$withval],[])
  case $with_fts in
        yes) ;;
        '')     with_fts=yes ;;
	no)	AC_MSG_ERROR([Using --without-fts is not longer supported]) ;;
        *) AC_MSG_ERROR([Invalid value for --with-fts: $with_fts])
  esac
])