Lines Matching refs:srcdir
921 srcdir=
1224 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1225 ac_prev=srcdir ;;
1226 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1227 srcdir=$ac_optarg ;;
1387 if test -z "$srcdir"; then
1413 srcdir=$ac_confdir
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1415 srcdir=..
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1421 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1422 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1424 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1428 # When building in place, set srcdir=.
1430 srcdir=.
1432 # Remove unnecessary trailing slashes from srcdir.
1435 case $srcdir in
1436 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1470 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1600 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1620 case $srcdir in
1626 ac_srcdir=$srcdir$ac_dir_suffix;
1627 ac_top_srcdir=$srcdir
1628 ac_abs_top_srcdir=$srcdir ;;
1630 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1631 ac_top_srcdir=$ac_top_build_prefix$srcdir
1632 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2733 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2749 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2902 if test ".$srcdir" = ".." ; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: toplevel srcdir already configured... skipping subdir build" >&5
2905 $as_echo "$as_me: toplevel srcdir already configured... skipping subdir build" >&6;}
2922 srcdir=`echo "$ax_enable_builddir" |
2925 test -f $srcdir/config.log && mv $srcdir/config.log .
2926 test -f $srcdir/confdefs.h && mv $srcdir/confdefs.h .
2927 test -f $srcdir/conftest.log && mv $srcdir/conftest.log .
2928 test -f $srcdir/$cache_file && mv $srcdir/$cache_file .
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ....exec $SHELL $srcdir/$0 \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" ${1+\"$@\"}" >&5
2930 $as_echo "....exec $SHELL $srcdir/$0 \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" ${1+\"$@\"}" >&6; }
2933 eval $SHELL "'$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
2934 *) eval $SHELL "'$srcdir/$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
3082 # Reject unsafe characters in $srcdir or the absolute working directory
3090 case $srcdir in
3092 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3104 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3107 set X `ls -t "$srcdir/configure" conftest.file`
3109 if test "$*" != "X $srcdir/configure conftest.file" \
3110 && test "$*" != "X conftest.file $srcdir/configure"; then
3446 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3447 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3449 am__isrc=' -I$(srcdir)'
3450 # test to see if srcdir already configured
3451 if test -f $srcdir/config.status; then
17687 if test -d $srcdir/testsuite; then
20170 srcdir='$srcdir'
20280 ax_enable_builddir_srcdir="$srcdir" # $srcdir
20869 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20870 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20873 if test "x$srcdir" = x.; then
20879 s/:\$(srcdir):/:/g
20880 s/:\${srcdir}:/:/g
20881 s/:@srcdir@:/:/g
21039 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21115 case $srcdir in
21121 ac_srcdir=$srcdir$ac_dir_suffix;
21122 ac_top_srcdir=$srcdir
21123 ac_abs_top_srcdir=$srcdir ;;
21125 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21126 ac_top_srcdir=$ac_top_build_prefix$srcdir
21127 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21180 # Neutralize VPATH when `$srcdir' = `.'.
21193 s&@srcdir@&$ac_srcdir&;t t
21286 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21291 ac_source=$srcdir/$ac_source
21362 s/^srcdir *=.*/srcdir = ./