File: aclocal.m4

package info (click to toggle)
tun 1.1-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 496 kB
  • ctags: 329
  • sloc: ansic: 2,936; sh: 1,584; makefile: 341
file content (17 lines) | stat: -rw-r--r-- 285 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dnl Check files in directory
AC_DEFUN( AC_TEST_FILES,
[
    ac_file_found=yes
    for f in $1; do
	if test ! -f $2/$f; then
    	   ac_file_found=no
	   break;
	fi
    done

    if test "$ac_file_found" = "yes" ; then
	ifelse([$3], , :,[$3])
    else
	ifelse([$4], , :,[$4])
    fi
])