+
+ if test -f "$withval/selftest/selftest.pl"; then
+ samba4srcdir="$withval"
+ else
+ if test -f "$withval/source/selftest/selftest.pl"; then
+ samba4srcdir="$withval/source"
+ else
+ AC_MSG_ERROR([unable to find selftest.pl in '$withval'!])
+ fi
+ fi