Lines Matching refs:srcdir
981 srcdir=
1274 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1275 ac_prev=srcdir ;;
1276 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1277 srcdir=$ac_optarg ;;
1437 if test -z "$srcdir"; then
1463 srcdir=$ac_confdir
1464 if test ! -r "$srcdir/$ac_unique_file"; then
1465 srcdir=..
1470 if test ! -r "$srcdir/$ac_unique_file"; then
1471 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1472 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1474 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1476 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1478 # When building in place, set srcdir=.
1480 srcdir=.
1482 # Remove unnecessary trailing slashes from srcdir.
1485 case $srcdir in
1486 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1520 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1642 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1662 case $srcdir in
1668 ac_srcdir=$srcdir$ac_dir_suffix;
1669 ac_top_srcdir=$srcdir
1670 ac_abs_top_srcdir=$srcdir ;;
1672 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1673 ac_top_srcdir=$ac_top_build_prefix$srcdir
1674 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2614 for ac_dir in admin "$srcdir"/admin; do
2630 as_fn_error $? "cannot find install-sh, install.sh, or shtool in admin \"$srcdir\"/admin" "$LINENO" 5
2857 # Reject unsafe characters in $srcdir or the absolute working directory
2865 case $srcdir in
2867 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2879 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2882 set X `ls -t "$srcdir/configure" conftest.file`
2884 if test "$*" != "X $srcdir/configure conftest.file" \
2885 && test "$*" != "X conftest.file $srcdir/configure"; then
3185 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3186 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3188 am__isrc=' -I$(srcdir)'
3189 # test to see if srcdir already configured
3190 if test -f $srcdir/config.status; then
15396 if test -d ${srcdir}/.git; then
16395 if test "${srcdir}" = .; then
16398 target_srcdir="${srcdir}/"
17288 srcdir='$srcdir'
17941 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17942 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17945 if test "x$srcdir" = x.; then
17951 s/:\$(srcdir):/:/g
17952 s/:\${srcdir}:/:/g
17953 s/:@srcdir@:/:/g
18111 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18187 case $srcdir in
18193 ac_srcdir=$srcdir$ac_dir_suffix;
18194 ac_top_srcdir=$srcdir
18195 ac_abs_top_srcdir=$srcdir ;;
18197 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18198 ac_top_srcdir=$ac_top_build_prefix$srcdir
18199 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18252 # Neutralize VPATH when `$srcdir' = `.'.
18265 s&@srcdir@&$ac_srcdir&;t t