Lines Matching refs:srcdir
854 srcdir=
1147 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1148 ac_prev=srcdir ;;
1149 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150 srcdir=$ac_optarg ;;
1310 if test -z "$srcdir"; then
1336 srcdir=$ac_confdir
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1338 srcdir=..
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1345 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1347 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1349 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1351 # When building in place, set srcdir=.
1353 srcdir=.
1355 # Remove unnecessary trailing slashes from srcdir.
1358 case $srcdir in
1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1393 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1521 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1541 case $srcdir in
1547 ac_srcdir=$srcdir$ac_dir_suffix;
1548 ac_top_srcdir=$srcdir
1549 ac_abs_top_srcdir=$srcdir ;;
1551 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1552 ac_top_srcdir=$ac_top_build_prefix$srcdir
1553 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2633 for ac_dir in build-aux "$srcdir"/build-aux; do
2649 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2758 # Reject unsafe characters in $srcdir or the absolute working directory
2766 case $srcdir in
2768 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2780 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2783 set X `ls -t "$srcdir/configure" conftest.file`
2785 if test "$*" != "X $srcdir/configure conftest.file" \
2786 && test "$*" != "X conftest.file $srcdir/configure"; then
3125 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3126 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3128 am__isrc=' -I$(srcdir)'
3129 # test to see if srcdir already configured
3130 if test -f $srcdir/config.status; then
16808 srcdir='$srcdir'
17394 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17395 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17398 if test "x$srcdir" = x.; then
17404 s/:\$(srcdir):/:/g
17405 s/:\${srcdir}:/:/g
17406 s/:@srcdir@:/:/g
17564 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17640 case $srcdir in
17646 ac_srcdir=$srcdir$ac_dir_suffix;
17647 ac_top_srcdir=$srcdir
17648 ac_abs_top_srcdir=$srcdir ;;
17650 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17651 ac_top_srcdir=$ac_top_build_prefix$srcdir
17652 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17705 # Neutralize VPATH when `$srcdir' = `.'.
17718 s&@srcdir@&$ac_srcdir&;t t