Lines Matching refs:srcdir
1016 srcdir=
1308 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1309 ac_prev=srcdir ;;
1310 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1311 srcdir=$ac_optarg ;;
1473 if test -z "$srcdir"; then
1499 srcdir=$ac_confdir
1500 if test ! -r "$srcdir/$ac_unique_file"; then
1501 srcdir=..
1506 if test ! -r "$srcdir/$ac_unique_file"; then
1507 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1508 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1510 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1512 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1514 # When building in place, set srcdir=.
1516 srcdir=.
1518 # Remove unnecessary trailing slashes from srcdir.
1521 case $srcdir in
1522 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1556 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1747 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1767 case $srcdir in
1773 ac_srcdir=$srcdir$ac_dir_suffix;
1774 ac_top_srcdir=$srcdir
1775 ac_abs_top_srcdir=$srcdir ;;
1777 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1778 ac_top_srcdir=$ac_top_build_prefix$srcdir
1779 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2613 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2623 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2733 # Reject unsafe characters in $srcdir or the absolute working directory
2741 case $srcdir in
2743 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2752 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2755 set X `ls -t "$srcdir/configure" conftest.file`
2758 if test "$*" != "X $srcdir/configure conftest.file" \
2759 && test "$*" != "X conftest.file $srcdir/configure"; then
3049 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3050 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3052 am__isrc=' -I$(srcdir)'
3053 # test to see if srcdir already configured
3054 if test -f $srcdir/config.status; then
29324 srcdir='$srcdir'
29960 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29961 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29964 if test "x$srcdir" = x.; then
29966 s/:*\$(srcdir):*/:/
29967 s/:*\${srcdir}:*/:/
29968 s/:*@srcdir@:*/:/
30122 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
30198 case $srcdir in
30204 ac_srcdir=$srcdir$ac_dir_suffix;
30205 ac_top_srcdir=$srcdir
30206 ac_abs_top_srcdir=$srcdir ;;
30208 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
30209 ac_top_srcdir=$ac_top_build_prefix$srcdir
30210 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
30263 # Neutralize VPATH when `$srcdir' = `.'.
30276 s&@srcdir@&$ac_srcdir&;t t
31136 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
31158 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
31159 ac_prev=srcdir ;;
31160 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
31198 test -d "$srcdir/$ac_dir" || continue
31222 case $srcdir in
31228 ac_srcdir=$srcdir$ac_dir_suffix;
31229 ac_top_srcdir=$srcdir
31230 ac_abs_top_srcdir=$srcdir ;;
31232 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
31233 ac_top_srcdir=$ac_top_build_prefix$srcdir
31234 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31265 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31268 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||