diff options
author | Jim Blandy <jimb@redhat.com> | 1992-04-04 05:55:39 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-04-04 05:55:39 +0000 |
commit | 8c0e7b739deaa08033e465190a0cb9f98d054062 (patch) | |
tree | 8ecec9af8e54b85a5584012c982a290dc7efb785 /configure1.in | |
parent | 08564963293aac2ea90a3dee54f48ded962238eb (diff) | |
download | emacs-8c0e7b739deaa08033e465190a0cb9f98d054062.tar.gz |
*** empty log message ***
Diffstat (limited to 'configure1.in')
-rwxr-xr-x | configure1.in | 90 |
1 files changed, 60 insertions, 30 deletions
diff --git a/configure1.in b/configure1.in index be045bbfb00..d7b6ab6afd3 100755 --- a/configure1.in +++ b/configure1.in @@ -43,7 +43,7 @@ These options have reasonable defaults (in []s), and may not be needed: -cc=COMPILER - Which compiler to use. Defaults to gcc if available. -libdir=DIR - where to look for arch-dependent library files -datadir=DIR - where to look for architecture-independent library files - -installbin=DIR - where to install the Emacs executable, and some friends + -bindir=DIR - where to install the Emacs executable, and some friends -lisppath=PATH - colon-separated list of Elisp directories -lockdir=DIR - where Emacs should do its file-locking stuff -window_system=none or [x11, if it is installed] - what window system to use @@ -51,7 +51,7 @@ These options have reasonable defaults (in []s), and may not be needed: -gnu_malloc=[yes] or no - use the GNU memory allocator -rel_alloc=[yes] or no - use compacting allocator for buffers -highpri=N - run at N points higher-than-normal priority - -lisp_float_type=[yes] or no - Support floating point in Elisp + -lisp_float_type=[yes] or no - Support native floating point in Elisp If successful, ${progname} leaves its status in config.status. If unsuccessful after disturbing the status quo, config.status is removed." @@ -65,7 +65,7 @@ options=":\ usage:help:\ machine:opsystem:\ g:O:cc:\ -libroot:datadir:libdir:installbin:lisppath:lockdir:\ +libroot:datadir:libdir:bindir:lisppath:lockdir:\ gnu_malloc:rel_alloc:highpri:lisp_float_type:\ window_system:have_x_menu:\ " @@ -82,7 +82,7 @@ c_switch_site:sigtype:\ " libroot= -installbin=/usr/local/bin +bindir=/usr/local/bin gnu_malloc=yes lisp_float_type=yes @@ -406,7 +406,7 @@ echo "Editing ./Makefile..." tempMakefile="tempMakefile"$$ /bin/sed < Makefile > ${tempMakefile} \ -e 's;^\(LIBROOT=\).*$;\1'"${libroot};" \ --e 's;^\(INSTALLBIN=\).*$;\1'"${installbin};" \ +-e 's;^\(BINDIR=\).*$;\1'"${bindir};" \ -e 's;^\(LISPPATH=\).*$;\1'"${lisppath};" \ -e 's;^\(DATADIR=\).*$;\1'"${datadir};" \ -e 's;^\(LOCKDIR=\).*$;\1'"${lockdir};" \ @@ -418,7 +418,7 @@ echo "Editing ./build-install..." tempbi="tempbi"$$ /bin/sed < build-install > ${tempbi} \ -e 's;^\(LIBROOT=\).*$;\1'"${libroot};" \ --e 's;^\(BINDIR=\).*$;\1'"${installbin};" \ +-e 's;^\(BINDIR=\).*$;\1'"${bindir};" \ -e 's;^\(LISPPATH=\).*$;\1'"${lisppath};" \ -e 's;^\(DATADIR=\).*$;\1'"${datadir};" \ -e 's;^\(LOCKDIR=\).*$;\1'"${lockdir};" \ @@ -442,30 +442,60 @@ tempMakefile="tempMakefile"$$ -e 's;^\(CC=\).*$;\1'"${cc};" mv ${tempMakefile} lib-src/Makefile -# Document the damage we have done. +# Create a verbal description of what we have done. +message="# Configured for machine \`${machine}' running \`${opsystem}'. +# The following values have been set in ./Makefile and ./build-install: +# Executables will be placed in +# ${bindir}. +# Emacs's lisp search path will be +# \`${lisppath}'. +# Emacs will look for its architecture-independent data in +# ${datadir}. +# Emacs will look for its utility programs and other architecture- +# dependent data in +# ${libdir}. +# Emacs will keep track of file-locking in +# ${lockdir}. +# The following values have been set in src/config.h: +# At how much higher than normal priority should Emacs run? ${highpri-none} +# Should Emacs use the GNU version of malloc? ${gnu_malloc}${gnu_malloc_reason} +# Should Emacs use the relocating allocator for buffers? ${rel_alloc} +# Should Emacs support a floating point Elisp type? ${lisp_float_type} +# What window system should Emacs use? ${window_system} +# Should Emacs support mouse menus, which require X11? ${have_x_menu} +# What compiler should emacs be built with? ${cc} +# Should the compilation use \`-g' and/or \`-O'? ${c_switch_site- neither}" + +# Document the damage we have done by writing config.status. + +echo '#!/bin/sh' > config.status + +echo "# This file is generated by \`${progname}.' +# If you are thinking about editing it, you should seriously consider +# running \`${progname}' instead. +" >> config.status +echo "${message}" >> config.status +echo "'${progname}' \\ + -machine='${machine}' \\ + -opsystem='${opsystem}' \\ + -g=${g} \\ + -O=${O} \\ + -cc=${cc} \\ + -libdir='${libdir}' \\ + -datadir='${datadir}' \\ + -bindir='${bindir}' \\ + -lisppath='${lisppath}' \\ + -lockdir='${lockdir}' \\ + -window_system='${window_system}' \\ + -have_x_menu='${have_x_menu}' \\ + -gnu_malloc='${gnu_malloc}' + -rel_malloc='${rel_alloc}' \\ + -highpri='${highpri}' \\ + -lisp_float_type='${lisp_float_type}'" >> config.status +chmod +x config.status + +# Print the description. echo -echo "Configured for machine \`${machine}' running \`${opsystem}'. -The following values have been set in ./Makefile and ./build-install: - Executables will be placed in - ${installbin}. - Emacs's lisp search path will be - \`${lisppath}'. - Emacs will look for its architecture-independent data in - ${datadir}. - Emacs will look for its utility programs and other architecture- - dependent data in - ${libdir}. - Emacs will keep track of file-locking in - ${lockdir}. -The following values have been set in src/config.h: - At how much higher than normal priority should Emacs run? ${highpri-none} - Should Emacs use the GNU version of malloc? ${gnu_malloc}${gnu_malloc_reason} - Should Emacs use the relocating allocator for buffers? ${rel_alloc} - Should Emacs support a floating point Elisp type? ${lisp_float_type} - What window system should Emacs use? ${window_system} - Should Emacs support mouse menus, which require X11? ${have_x_menu} - What compiler should emacs be built with? ${cc} - Should the compilation use \`-g' and/or \`-O'? ${c_switch_site- neither}" \ -| tee config.status 1>&2 +echo "${message}" | sed -e 's/^# //' exit 0 |