Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] Non-standard lispdir
@ 1998-12-05 12:45 Lloyd Zusman
  1998-12-05 13:42 ` Karl Eichwalder
  0 siblings, 1 reply; 5+ messages in thread
From: Lloyd Zusman @ 1998-12-05 12:45 UTC (permalink / raw)


I'm using pgnus-0.63.

I like to store the Gnus *.elc files in a non-standard area, and so
I have patched the `configure' script to allow a `--lispdir' parameter.
This lets us explicitly set the `lispdir' variable in the Makefiles
to a value of our choice.

Would it be possible to make this part of the offical Gnus `configure'
script?

 Lloyd Zusman
 ljz@asfast.com

---------------------------------- cut here ----------------------------------
*** configure.orig	Sat Dec  5 07:20:48 1998
--- configure	Sat Dec  5 07:37:31 1998
***************
*** 45,50 ****
--- 45,51 ----
  oldincludedir='/usr/include'
  infodir='${prefix}/info'
  mandir='${prefix}/man'
+ lispdir=NONE
  
  # Initialize some other variables.
  subdirs=
***************
*** 157,162 ****
--- 158,164 ----
                            [PREFIX/com]
    --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
    --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
+   --lispdir=DIR           lisp code in DIR [PREFIX/lisp]
    --includedir=DIR        C header files in DIR [PREFIX/include]
    --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
    --infodir=DIR           info documentation in DIR [PREFIX/info]
***************
*** 214,219 ****
--- 216,226 ----
    | --libexe=* | --libex=* | --libe=*)
      libexecdir="$ac_optarg" ;;
  
+   -lispdir | --lispdir | --lispdi | --lispd | --lisp)
+     ac_prev=lispdir ;;
+   -lispdir=* | --lispdir=* | --lispdi=* | --lispd=* | --lisp=*)
+     lispdir="$ac_optarg" ;;
+ 
    -localstatedir | --localstatedir | --localstatedi | --localstated \
    | --localstate | --localstat | --localsta | --localst \
    | --locals | --local | --loca | --loc | --lo)
***************
*** 659,667 ****
    echo "$ac_t""no" 1>&6
  fi
  
    if test $EMACS != "no"; then
      echo $ac_n "checking where .elc files should go""... $ac_c" 1>&6
! echo "configure:665: checking where .elc files should go" >&5
          lispdir="\$(datadir)/emacs/site-lisp"
      if test "x$prefix" = "xNONE"; then
        if test -d $ac_default_prefix/share/emacs/site-lisp; then
--- 666,675 ----
    echo "$ac_t""no" 1>&6
  fi
  
+ if test "x$lispdir" = "xNONE"; then
    if test $EMACS != "no"; then
      echo $ac_n "checking where .elc files should go""... $ac_c" 1>&6
! echo "configure:672: checking where .elc files should go" >&5
          lispdir="\$(datadir)/emacs/site-lisp"
      if test "x$prefix" = "xNONE"; then
        if test -d $ac_default_prefix/share/emacs/site-lisp; then
***************
*** 677,692 ****
        else
  	if test -d $prefix/lib/emacs/site-lisp; then
  	  lispdir="\$(prefix)/lib/emacs/site-lisp"
! 	fi
        fi
      fi
-     echo "$ac_t""$lispdir" 1>&6
    fi
    
  # Extract the first word of "makeinfo", so it can be a program name with args.
  set dummy makeinfo; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:690: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_MAKEINFO'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 685,701 ----
        else
  	if test -d $prefix/lib/emacs/site-lisp; then
  	  lispdir="\$(prefix)/lib/emacs/site-lisp"
!         fi
        fi
      fi
    fi
+   echo "$ac_t""$lispdir" 1>&6
+ fi
    
  # Extract the first word of "makeinfo", so it can be a program name with args.
  set dummy makeinfo; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:697: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_MAKEINFO'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-12-11  8:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-05 12:45 [PATCH] Non-standard lispdir Lloyd Zusman
1998-12-05 13:42 ` Karl Eichwalder
1998-12-10  4:20   ` Lloyd Zusman
1998-12-10 21:09     ` Karl Eichwalder
1998-12-11  8:47     ` Stephen Zander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).