Lines Matching refs:srcdir
986 srcdir=
1279 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1280 ac_prev=srcdir ;;
1281 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1282 srcdir=$ac_optarg ;;
1442 if test -z "$srcdir"; then
1468 srcdir=$ac_confdir
1469 if test ! -r "$srcdir/$ac_unique_file"; then
1470 srcdir=..
1475 if test ! -r "$srcdir/$ac_unique_file"; then
1476 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1477 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1479 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1481 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1483 # When building in place, set srcdir=.
1485 srcdir=.
1487 # Remove unnecessary trailing slashes from srcdir.
1490 case $srcdir in
1491 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1525 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1775 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1795 case $srcdir in
1801 ac_srcdir=$srcdir$ac_dir_suffix;
1802 ac_top_srcdir=$srcdir
1803 ac_abs_top_srcdir=$srcdir ;;
1805 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1806 ac_top_srcdir=$ac_top_build_prefix$srcdir
1807 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2724 for ac_dir in build "$srcdir"/build; do
2740 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2756 abs_srcdir="`cd $srcdir && pwd`"
2763 canonicalized_srcdir="$srcdir/"
28463 srcdir='$srcdir'
29148 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
29149 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
29152 if test "x$srcdir" = x.; then
29158 s/:\$(srcdir):/:/g
29159 s/:\${srcdir}:/:/g
29160 s/:@srcdir@:/:/g
29318 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29394 case $srcdir in
29400 ac_srcdir=$srcdir$ac_dir_suffix;
29401 ac_top_srcdir=$srcdir
29402 ac_abs_top_srcdir=$srcdir ;;
29404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29405 ac_top_srcdir=$ac_top_build_prefix$srcdir
29406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29454 # Neutralize VPATH when `$srcdir' = `.'.
29467 s&@srcdir@&$ac_srcdir&;t t