Lines Matching refs:srcdir
643 srcdir=
936 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
937 ac_prev=srcdir ;;
938 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
939 srcdir=$ac_optarg ;;
1101 if test -z "$srcdir"; then
1127 srcdir=$ac_confdir
1128 if test ! -r "$srcdir/$ac_unique_file"; then
1129 srcdir=..
1134 if test ! -r "$srcdir/$ac_unique_file"; then
1135 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1136 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1138 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1140 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1142 # When building in place, set srcdir=.
1144 srcdir=.
1146 # Remove unnecessary trailing slashes from srcdir.
1149 case $srcdir in
1150 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1184 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1250 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1270 case $srcdir in
1276 ac_srcdir=$srcdir$ac_dir_suffix;
1277 ac_top_srcdir=$srcdir
1278 ac_abs_top_srcdir=$srcdir ;;
1280 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1281 ac_top_srcdir=$ac_top_build_prefix$srcdir
1282 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3579 srcdir='$srcdir'
3867 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3868 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3871 if test "x$srcdir" = x.; then
3877 s/:\$(srcdir):/:/g
3878 s/:\${srcdir}:/:/g
3879 s/:@srcdir@:/:/g
4037 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4113 case $srcdir in
4119 ac_srcdir=$srcdir$ac_dir_suffix;
4120 ac_top_srcdir=$srcdir
4121 ac_abs_top_srcdir=$srcdir ;;
4123 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4124 ac_top_srcdir=$ac_top_build_prefix$srcdir
4125 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4169 # Neutralize VPATH when `$srcdir' = `.'.
4182 s&@srcdir@&$ac_srcdir&;t t