summaryrefslogtreecommitdiff
path: root/editors/psgml/files/patch-configure
blob: cb562c8af10eca734fd1798f5443b24ed35dbc3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- configure.orig	2005-03-05 16:23:40 UTC
+++ configure
@@ -73,6 +73,11 @@ do
 
   case "$ac_option" in
 
+  -lispdir | --lispdir | --lispdi | --lispd | --lisp)
+    ac_prev=lispdir ;;
+  -lispdir=* | --lispdir=* | --lispdi=* | --lispd=* | --lisp=*)
+    lispdir="$ac_optarg" ;;
+
   -bindir | --bindir | --bindi | --bind | --bin | --bi)
     ac_prev=bindir ;;
   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
@@ -687,6 +692,7 @@ test -n "$EMACS" && break
 done
 test -n "$EMACS" || EMACS="no"
 
+if test -z "$lispdir" ; then
   if test $EMACS != "no"; then
     echo $ac_n "checking where .elc files should go""... $ac_c" 1>&6
 echo "configure:693: checking where .elc files should go" >&5
@@ -710,6 +716,7 @@ echo "configure:693: checking where .elc
     fi
     echo "$ac_t""$lispdir" 1>&6
   fi
+fi
   
 # Extract the first word of "makeinfo", so it can be a program name with args.
 set dummy makeinfo; ac_word=$2