+for var in "`pwd`" "`cd \"$srcdir\"; pwd`" "$prefix" "$exec_prefix" \
+ "$datarootdir" "$bindir" "$datadir" "$sharedstatedir" "$libexecdir"; do
+
+ case "$var" in
+ *[^\ -~]*) as_fn_error "Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var" "$LINENO" 5 ;;
+ esac
+
+done
+
lispdir='${datadir}/emacs/${version}/lisp'
leimdir='${datadir}/emacs/${version}/leim'
standardlisppath='${lispdir}:${leimdir}'
LIBS=$SAVE_LIBS
if test "${opsys}" = "mingw32"; then
- CPPFLAGS="$CPPFLAGS -DUSE_CRT_DLL=1 -I $srcdir/nt/inc"
+ CPPFLAGS="$CPPFLAGS -DUSE_CRT_DLL=1 -I \${abs_top_srcdir}/nt/inc"
# Remove unneeded switches from the value of CC that goes to Makefiles
CC=`echo $CC | sed -e "s,$GCC_TEST_OPTIONS,,"`
fi
;;
"src/.gdbinit":C)
if test ! -f src/.gdbinit && test -f "$srcdir/src/.gdbinit"; then
- echo "source $srcdir/src/.gdbinit" > src/.gdbinit
+ echo "source $ac_abs_top_srcdir/src/.gdbinit" > src/.gdbinit
fi
;;