Lines Matching refs:srcdir
816 srcdir=
1109 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1110 ac_prev=srcdir ;;
1111 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1112 srcdir=$ac_optarg ;;
1272 if test -z "$srcdir"; then
1298 srcdir=$ac_confdir
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300 srcdir=..
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1306 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1307 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1309 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1311 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1313 # When building in place, set srcdir=.
1315 srcdir=.
1317 # Remove unnecessary trailing slashes from srcdir.
1320 case $srcdir in
1321 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1355 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1473 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1493 case $srcdir in
1499 ac_srcdir=$srcdir$ac_dir_suffix;
1500 ac_top_srcdir=$srcdir
1501 ac_abs_top_srcdir=$srcdir ;;
1503 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1504 ac_top_srcdir=$ac_top_build_prefix$srcdir
1505 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2537 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2553 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2660 # Reject unsafe characters in $srcdir or the absolute working directory
2668 case $srcdir in
2670 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2682 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2685 set X `ls -t "$srcdir/configure" conftest.file`
2687 if test "$*" != "X $srcdir/configure conftest.file" \
2688 && test "$*" != "X conftest.file $srcdir/configure"; then
3027 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3028 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3030 am__isrc=' -I$(srcdir)'
3031 # test to see if srcdir already configured
3032 if test -f $srcdir/config.status; then
15790 srcdir='$srcdir'
16378 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16379 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16382 if test "x$srcdir" = x.; then
16388 s/:\$(srcdir):/:/g
16389 s/:\${srcdir}:/:/g
16390 s/:@srcdir@:/:/g
16548 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16624 case $srcdir in
16630 ac_srcdir=$srcdir$ac_dir_suffix;
16631 ac_top_srcdir=$srcdir
16632 ac_abs_top_srcdir=$srcdir ;;
16634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16635 ac_top_srcdir=$ac_top_build_prefix$srcdir
16636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16689 # Neutralize VPATH when `$srcdir' = `.'.
16702 s&@srcdir@&$ac_srcdir&;t t