Lines Matching refs:srcdir
1180 if test -z "$srcdir"; then
1206 srcdir=$ac_confdir
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 srcdir=..
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1217 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1219 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1223 srcdir=.
1228 case $srcdir in
1229 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1813 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1829 …ror $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../.…
1944 case $srcdir in
1946 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1958 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1961 set X `ls -t "$srcdir/configure" conftest.file`
1963 if test "$*" != "X $srcdir/configure conftest.file" \
1964 && test "$*" != "X conftest.file $srcdir/configure"; then
2308 if test -f $srcdir/config.status; then
5339 srcdir='$srcdir'
5630 if test "x$srcdir" = x.; then
5688 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5764 case $srcdir in
5770 ac_srcdir=$srcdir$ac_dir_suffix;
5771 ac_top_srcdir=$srcdir
5772 ac_abs_top_srcdir=$srcdir ;;
5774 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5775 ac_top_srcdir=$ac_top_build_prefix$srcdir
5776 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;