Lines Matching refs:srcdir
1161 if test -z "$srcdir"; then
1187 srcdir=$ac_confdir
1188 if test ! -r "$srcdir/$ac_unique_file"; then
1189 srcdir=..
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1195 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1196 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1198 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1200 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1204 srcdir=.
1209 case $srcdir in
1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1754 for ac_dir in ../ "$srcdir"/../; do
1770 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../ \"$srcdir\"/../" "$LINENO" 5
2916 srcdir='$srcdir'
3197 if test "x$srcdir" = x.; then
3255 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3331 case $srcdir in
3337 ac_srcdir=$srcdir$ac_dir_suffix;
3338 ac_top_srcdir=$srcdir
3339 ac_abs_top_srcdir=$srcdir ;;
3341 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3342 ac_top_srcdir=$ac_top_build_prefix$srcdir
3343 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;