Lines Matching refs:srcdir
697 srcdir=
975 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
976 ac_prev=srcdir ;;
977 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
978 srcdir=$ac_optarg ;;
1115 if test -z "$srcdir"; then
1141 srcdir=$ac_confdir
1142 if test ! -r "$srcdir/$ac_unique_file"; then
1143 srcdir=..
1148 if test ! -r "$srcdir/$ac_unique_file"; then
1149 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1150 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1153 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1155 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1158 # When building in place, set srcdir=.
1160 srcdir=.
1162 # Remove unnecessary trailing slashes from srcdir.
1165 case $srcdir in
1166 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1200 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1308 case $srcdir in
1314 ac_srcdir=$srcdir$ac_dir_suffix;
1315 ac_top_srcdir=$srcdir
1316 ac_abs_top_srcdir=$srcdir ;;
1318 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1319 ac_top_srcdir=$ac_top_build_prefix$srcdir
1320 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6566 srcdir='$srcdir'
6817 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6818 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6821 if test "x$srcdir" = x.; then
6823 s/:*\$(srcdir):*/:/
6824 s/:*\${srcdir}:*/:/
6825 s/:*@srcdir@:*/:/
6871 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6979 case $srcdir in
6985 ac_srcdir=$srcdir$ac_dir_suffix;
6986 ac_top_srcdir=$srcdir
6987 ac_abs_top_srcdir=$srcdir ;;
6989 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6990 ac_top_srcdir=$ac_top_build_prefix$srcdir
6991 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7035 # Neutralize VPATH when `$srcdir' = `.'.
7047 s&@srcdir@&$ac_srcdir&;t t