Lines Matching refs:srcdir
740 srcdir=
1043 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1044 ac_prev=srcdir ;;
1045 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1046 srcdir=$ac_optarg ;;
1206 if test -z "$srcdir"; then
1232 srcdir=$ac_confdir
1233 if test ! -r "$srcdir/$ac_unique_file"; then
1234 srcdir=..
1239 if test ! -r "$srcdir/$ac_unique_file"; then
1240 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1241 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1243 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1245 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1247 # When building in place, set srcdir=.
1249 srcdir=.
1251 # Remove unnecessary trailing slashes from srcdir.
1254 case $srcdir in
1255 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1289 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1384 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1404 case $srcdir in
1410 ac_srcdir=$srcdir$ac_dir_suffix;
1411 ac_top_srcdir=$srcdir
1412 ac_abs_top_srcdir=$srcdir ;;
1414 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1415 ac_top_srcdir=$ac_top_build_prefix$srcdir
1416 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2383 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2399 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2495 if test "${srcdir}" != "." ; then
2496 V_INCLS="-I$srcdir"
5409 places=`ls $srcdir/.. | sed -e 's,/$,,' -e "s,^,$srcdir/../," | \
5413 for dir in $places $srcdir/../libpcap ../libpcap $srcdir/libpcap $places2 ; do
5608 places=`ls $srcdir/.. | sed -e 's,/$,,' -e "s,^,$srcdir/../," | \
5616 for dir in $places $srcdir/../libpcap ../libpcap $srcdir/libpcap $places2 ; do
7748 MKDEP='${srcdir}/mkdep'
8174 CPPFLAGS="$CPPFLAGS -I$srcdir/missing"
8175 V_INCLS="$V_INCLS -I$srcdir/missing"
8869 srcdir='$srcdir'
9166 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9167 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9170 if test "x$srcdir" = x.; then
9176 s/:\$(srcdir):/:/g
9177 s/:\${srcdir}:/:/g
9178 s/:@srcdir@:/:/g
9336 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9412 case $srcdir in
9418 ac_srcdir=$srcdir$ac_dir_suffix;
9419 ac_top_srcdir=$srcdir
9420 ac_abs_top_srcdir=$srcdir ;;
9422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9423 ac_top_srcdir=$ac_top_build_prefix$srcdir
9424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9472 # Neutralize VPATH when `$srcdir' = `.'.
9485 s&@srcdir@&$ac_srcdir&;t t