+ if test -d $prefix/share/mule; then
+ emacsdir="$prefix/share/mule"
+ fi
+ ;;
+ esac
+ fi
+ echo "$ac_t""$emacsdir" 1>&6
+
+ # Check whether --with-lispdir or --without-lispdir was given.
+if test "${with_lispdir+set}" = set; then
+ withval="$with_lispdir"
+ case "${withval}" in
+ yes) lispdir= ;;
+ no) { echo "configure: error: lispdir is not available" 1>&2; exit 1; } ;;
+ *) lispdir=${withval} ;;
+ esac
+else
+ lispdir=
+fi
+
+ echo $ac_n "checking where .elc files should go""... $ac_c" 1>&6
+echo "configure:760: checking where .elc files should go" >&5
+ if test "x$lispdir" = x; then
+ lispdir="$emacsdir/site-lisp"
+ if test -d $emacsdir/lisp; then
+ lispdir="$emacsdir/lisp"