Lines Matching refs:srcdir
839 srcdir=
1132 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1133 ac_prev=srcdir ;;
1134 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1135 srcdir=$ac_optarg ;;
1295 if test -z "$srcdir"; then
1321 srcdir=$ac_confdir
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1323 srcdir=..
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1329 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1330 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1332 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1334 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1336 # When building in place, set srcdir=.
1338 srcdir=.
1340 # Remove unnecessary trailing slashes from srcdir.
1343 case $srcdir in
1344 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1512 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1532 case $srcdir in
1538 ac_srcdir=$srcdir$ac_dir_suffix;
1539 ac_top_srcdir=$srcdir
1540 ac_abs_top_srcdir=$srcdir ;;
1542 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1543 ac_top_srcdir=$ac_top_build_prefix$srcdir
1544 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2288 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2304 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2411 # Reject unsafe characters in $srcdir or the absolute working directory
2419 case $srcdir in
2421 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2433 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2436 set X `ls -t "$srcdir/configure" conftest.file`
2438 if test "$*" != "X $srcdir/configure conftest.file" \
2439 && test "$*" != "X conftest.file $srcdir/configure"; then
2778 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2779 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2781 am__isrc=' -I$(srcdir)'
2782 # test to see if srcdir already configured
2783 if test -f $srcdir/config.status; then
13723 srcdir='$srcdir'
14325 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14326 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14329 if test "x$srcdir" = x.; then
14335 s/:\$(srcdir):/:/g
14336 s/:\${srcdir}:/:/g
14337 s/:@srcdir@:/:/g
14495 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14571 case $srcdir in
14577 ac_srcdir=$srcdir$ac_dir_suffix;
14578 ac_top_srcdir=$srcdir
14579 ac_abs_top_srcdir=$srcdir ;;
14581 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14582 ac_top_srcdir=$ac_top_build_prefix$srcdir
14583 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14636 # Neutralize VPATH when `$srcdir' = `.'.
14649 s&@srcdir@&$ac_srcdir&;t t