Lines Matching refs:srcdir
790 srcdir=
1083 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1084 ac_prev=srcdir ;;
1085 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1086 srcdir=$ac_optarg ;;
1246 if test -z "$srcdir"; then
1272 srcdir=$ac_confdir
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1274 srcdir=..
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1280 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1281 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1283 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1285 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1287 # When building in place, set srcdir=.
1289 srcdir=.
1291 # Remove unnecessary trailing slashes from srcdir.
1294 case $srcdir in
1295 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1329 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1466 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1486 case $srcdir in
1492 ac_srcdir=$srcdir$ac_dir_suffix;
1493 ac_top_srcdir=$srcdir
1494 ac_abs_top_srcdir=$srcdir ;;
1496 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497 ac_top_srcdir=$ac_top_build_prefix$srcdir
1498 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2432 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2448 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
8483 srcdir='$srcdir'
8759 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8760 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8763 if test "x$srcdir" = x.; then
8769 s/:\$(srcdir):/:/g
8770 s/:\${srcdir}:/:/g
8771 s/:@srcdir@:/:/g
8821 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8897 case $srcdir in
8903 ac_srcdir=$srcdir$ac_dir_suffix;
8904 ac_top_srcdir=$srcdir
8905 ac_abs_top_srcdir=$srcdir ;;
8907 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8908 ac_top_srcdir=$ac_top_build_prefix$srcdir
8909 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8957 # Neutralize VPATH when `$srcdir' = `.'.
8970 s&@srcdir@&$ac_srcdir&;t t