Lines Matching refs:srcdir
667 srcdir=
945 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
946 ac_prev=srcdir ;;
947 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
948 srcdir=$ac_optarg ;;
1085 if test -z "$srcdir"; then
1111 srcdir=$ac_confdir
1112 if test ! -r "$srcdir/$ac_unique_file"; then
1113 srcdir=..
1118 if test ! -r "$srcdir/$ac_unique_file"; then
1119 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1120 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1123 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1125 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1128 # When building in place, set srcdir=.
1130 srcdir=.
1132 # Remove unnecessary trailing slashes from srcdir.
1135 case $srcdir in
1136 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1170 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1257 case $srcdir in
1263 ac_srcdir=$srcdir$ac_dir_suffix;
1264 ac_top_srcdir=$srcdir
1265 ac_abs_top_srcdir=$srcdir ;;
1267 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1268 ac_top_srcdir=$ac_top_build_prefix$srcdir
1269 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4059 srcdir='$srcdir'
4305 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4306 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4309 if test "x$srcdir" = x.; then
4311 s/:*\$(srcdir):*/:/
4312 s/:*\${srcdir}:*/:/
4313 s/:*@srcdir@:*/:/
4359 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4467 case $srcdir in
4473 ac_srcdir=$srcdir$ac_dir_suffix;
4474 ac_top_srcdir=$srcdir
4475 ac_abs_top_srcdir=$srcdir ;;
4477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4478 ac_top_srcdir=$ac_top_build_prefix$srcdir
4479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4523 # Neutralize VPATH when `$srcdir' = `.'.
4535 s&@srcdir@&$ac_srcdir&;t t