Lines Matching refs:srcdir
718 srcdir=
1011 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1012 ac_prev=srcdir ;;
1013 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1014 srcdir=$ac_optarg ;;
1174 if test -z "$srcdir"; then
1200 srcdir=$ac_confdir
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1202 srcdir=..
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1209 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1211 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1213 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1215 # When building in place, set srcdir=.
1217 srcdir=.
1219 # Remove unnecessary trailing slashes from srcdir.
1222 case $srcdir in
1223 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1345 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1365 case $srcdir in
1371 ac_srcdir=$srcdir$ac_dir_suffix;
1372 ac_top_srcdir=$srcdir
1373 ac_abs_top_srcdir=$srcdir ;;
1375 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1376 ac_top_srcdir=$ac_top_build_prefix$srcdir
1377 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6019 srcdir='$srcdir'
6308 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6309 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6312 if test "x$srcdir" = x.; then
6318 s/:\$(srcdir):/:/g
6319 s/:\${srcdir}:/:/g
6320 s/:@srcdir@:/:/g
6478 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6554 case $srcdir in
6560 ac_srcdir=$srcdir$ac_dir_suffix;
6561 ac_top_srcdir=$srcdir
6562 ac_abs_top_srcdir=$srcdir ;;
6564 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6565 ac_top_srcdir=$ac_top_build_prefix$srcdir
6566 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6610 # Neutralize VPATH when `$srcdir' = `.'.
6623 s&@srcdir@&$ac_srcdir&;t t