[go: up one dir, main page]

File: withfts.m4

package info (click to toggle)
findutils 4.4.2-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 12,056 kB
  • sloc: ansic: 45,371; sh: 6,067; yacc: 1,228; makefile: 792; exp: 749; sed: 16
file content (13 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
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|no) ;;
	'')     with_fts=yes ;;
  	*) AC_MSG_ERROR([Invalid value for --with-fts: $with_fts])
  esac
  AM_CONDITIONAL(WITH_FTS, [[test x"${with_fts-no}" != xno]])
  if test x"${with_fts-no}" != xno ; then
  	AC_DEFINE(WITH_FTS, 1, [Define if you want to use fts() to do the filesystem search.])
  fi
])