Lines Matching refs:srcdir
814 srcdir=
1117 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1118 ac_prev=srcdir ;;
1119 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1120 srcdir=$ac_optarg ;;
1280 if test -z "$srcdir"; then
1306 srcdir=$ac_confdir
1307 if test ! -r "$srcdir/$ac_unique_file"; then
1308 srcdir=..
1313 if test ! -r "$srcdir/$ac_unique_file"; then
1314 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1315 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1317 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1319 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1321 # When building in place, set srcdir=.
1323 srcdir=.
1325 # Remove unnecessary trailing slashes from srcdir.
1328 case $srcdir in
1329 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1363 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1488 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1508 case $srcdir in
1514 ac_srcdir=$srcdir$ac_dir_suffix;
1515 ac_top_srcdir=$srcdir
1516 ac_abs_top_srcdir=$srcdir ;;
1518 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1519 ac_top_srcdir=$ac_top_build_prefix$srcdir
1520 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2307 for ac_dir in . "$srcdir"/.; do
2323 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2434 # Reject unsafe characters in $srcdir or the absolute working directory
2442 case $srcdir in
2444 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2456 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2459 set X `ls -t "$srcdir/configure" conftest.file`
2461 if test "$*" != "X $srcdir/configure conftest.file" \
2462 && test "$*" != "X conftest.file $srcdir/configure"; then
2801 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2802 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2804 am__isrc=' -I$(srcdir)'
2805 # test to see if srcdir already configured
2806 if test -f $srcdir/config.status; then
14638 srcdir='$srcdir'
15208 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15209 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15212 if test "x$srcdir" = x.; then
15218 s/:\$(srcdir):/:/g
15219 s/:\${srcdir}:/:/g
15220 s/:@srcdir@:/:/g
15270 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15346 case $srcdir in
15352 ac_srcdir=$srcdir$ac_dir_suffix;
15353 ac_top_srcdir=$srcdir
15354 ac_abs_top_srcdir=$srcdir ;;
15356 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15357 ac_top_srcdir=$ac_top_build_prefix$srcdir
15358 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15411 # Neutralize VPATH when `$srcdir' = `.'.
15424 s&@srcdir@&$ac_srcdir&;t t