Mercurial > emacs
comparison configure1.in @ 605:5f36058e31f9
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 04 Apr 1992 05:55:39 +0000 |
parents | 470f556a9453 |
children | cde1f15848c6 |
comparison
equal
deleted
inserted
replaced
604:63a8e7b3c547 | 605:5f36058e31f9 |
---|---|
41 These options have reasonable defaults (in []s), and may not be needed: | 41 These options have reasonable defaults (in []s), and may not be needed: |
42 -g, -O - Passed to the compiler. If omitted, use -O only. | 42 -g, -O - Passed to the compiler. If omitted, use -O only. |
43 -cc=COMPILER - Which compiler to use. Defaults to gcc if available. | 43 -cc=COMPILER - Which compiler to use. Defaults to gcc if available. |
44 -libdir=DIR - where to look for arch-dependent library files | 44 -libdir=DIR - where to look for arch-dependent library files |
45 -datadir=DIR - where to look for architecture-independent library files | 45 -datadir=DIR - where to look for architecture-independent library files |
46 -installbin=DIR - where to install the Emacs executable, and some friends | 46 -bindir=DIR - where to install the Emacs executable, and some friends |
47 -lisppath=PATH - colon-separated list of Elisp directories | 47 -lisppath=PATH - colon-separated list of Elisp directories |
48 -lockdir=DIR - where Emacs should do its file-locking stuff | 48 -lockdir=DIR - where Emacs should do its file-locking stuff |
49 -window_system=none or [x11, if it is installed] - what window system to use | 49 -window_system=none or [x11, if it is installed] - what window system to use |
50 -have_x_menu=yes or [no] - include menu support under X11 | 50 -have_x_menu=yes or [no] - include menu support under X11 |
51 -gnu_malloc=[yes] or no - use the GNU memory allocator | 51 -gnu_malloc=[yes] or no - use the GNU memory allocator |
52 -rel_alloc=[yes] or no - use compacting allocator for buffers | 52 -rel_alloc=[yes] or no - use compacting allocator for buffers |
53 -highpri=N - run at N points higher-than-normal priority | 53 -highpri=N - run at N points higher-than-normal priority |
54 -lisp_float_type=[yes] or no - Support floating point in Elisp | 54 -lisp_float_type=[yes] or no - Support native floating point in Elisp |
55 If successful, ${progname} leaves its status in config.status. If | 55 If successful, ${progname} leaves its status in config.status. If |
56 unsuccessful after disturbing the status quo, config.status is removed." | 56 unsuccessful after disturbing the status quo, config.status is removed." |
57 | 57 |
58 if [ ! -r ./src/lisp.h ]; then | 58 if [ ! -r ./src/lisp.h ]; then |
59 echo "${progname}: Can't find Emacs sources in \`./src'. | 59 echo "${progname}: Can't find Emacs sources in \`./src'. |
63 | 63 |
64 options=":\ | 64 options=":\ |
65 usage:help:\ | 65 usage:help:\ |
66 machine:opsystem:\ | 66 machine:opsystem:\ |
67 g:O:cc:\ | 67 g:O:cc:\ |
68 libroot:datadir:libdir:installbin:lisppath:lockdir:\ | 68 libroot:datadir:libdir:bindir:lisppath:lockdir:\ |
69 gnu_malloc:rel_alloc:highpri:lisp_float_type:\ | 69 gnu_malloc:rel_alloc:highpri:lisp_float_type:\ |
70 window_system:have_x_menu:\ | 70 window_system:have_x_menu:\ |
71 " | 71 " |
72 | 72 |
73 boolean_opts=":\ | 73 boolean_opts=":\ |
80 have_x_windows:have_x11:have_x_menu:\ | 80 have_x_windows:have_x11:have_x_menu:\ |
81 c_switch_site:sigtype:\ | 81 c_switch_site:sigtype:\ |
82 " | 82 " |
83 | 83 |
84 libroot= | 84 libroot= |
85 installbin=/usr/local/bin | 85 bindir=/usr/local/bin |
86 gnu_malloc=yes | 86 gnu_malloc=yes |
87 lisp_float_type=yes | 87 lisp_float_type=yes |
88 | 88 |
89 # The default values for the following options are guessed at after other | 89 # The default values for the following options are guessed at after other |
90 # options have been checked and given values, so we set them to null here. | 90 # options have been checked and given values, so we set them to null here. |
404 # Modify the parameters in the top makefile. | 404 # Modify the parameters in the top makefile. |
405 echo "Editing ./Makefile..." | 405 echo "Editing ./Makefile..." |
406 tempMakefile="tempMakefile"$$ | 406 tempMakefile="tempMakefile"$$ |
407 /bin/sed < Makefile > ${tempMakefile} \ | 407 /bin/sed < Makefile > ${tempMakefile} \ |
408 -e 's;^\(LIBROOT=\).*$;\1'"${libroot};" \ | 408 -e 's;^\(LIBROOT=\).*$;\1'"${libroot};" \ |
409 -e 's;^\(INSTALLBIN=\).*$;\1'"${installbin};" \ | 409 -e 's;^\(BINDIR=\).*$;\1'"${bindir};" \ |
410 -e 's;^\(LISPPATH=\).*$;\1'"${lisppath};" \ | 410 -e 's;^\(LISPPATH=\).*$;\1'"${lisppath};" \ |
411 -e 's;^\(DATADIR=\).*$;\1'"${datadir};" \ | 411 -e 's;^\(DATADIR=\).*$;\1'"${datadir};" \ |
412 -e 's;^\(LOCKDIR=\).*$;\1'"${lockdir};" \ | 412 -e 's;^\(LOCKDIR=\).*$;\1'"${lockdir};" \ |
413 -e 's;^\(LIBDIR=\).*$;\1'"${libdir};" | 413 -e 's;^\(LIBDIR=\).*$;\1'"${libdir};" |
414 mv ${tempMakefile} Makefile | 414 mv ${tempMakefile} Makefile |
416 # Modify the parameters in the `build-install' script. | 416 # Modify the parameters in the `build-install' script. |
417 echo "Editing ./build-install..." | 417 echo "Editing ./build-install..." |
418 tempbi="tempbi"$$ | 418 tempbi="tempbi"$$ |
419 /bin/sed < build-install > ${tempbi} \ | 419 /bin/sed < build-install > ${tempbi} \ |
420 -e 's;^\(LIBROOT=\).*$;\1'"${libroot};" \ | 420 -e 's;^\(LIBROOT=\).*$;\1'"${libroot};" \ |
421 -e 's;^\(BINDIR=\).*$;\1'"${installbin};" \ | 421 -e 's;^\(BINDIR=\).*$;\1'"${bindir};" \ |
422 -e 's;^\(LISPPATH=\).*$;\1'"${lisppath};" \ | 422 -e 's;^\(LISPPATH=\).*$;\1'"${lisppath};" \ |
423 -e 's;^\(DATADIR=\).*$;\1'"${datadir};" \ | 423 -e 's;^\(DATADIR=\).*$;\1'"${datadir};" \ |
424 -e 's;^\(LOCKDIR=\).*$;\1'"${lockdir};" \ | 424 -e 's;^\(LOCKDIR=\).*$;\1'"${lockdir};" \ |
425 -e 's;^\(LIBDIR=\).*$;\1'"${libdir};" | 425 -e 's;^\(LIBDIR=\).*$;\1'"${libdir};" |
426 mv ${tempbi} build-install | 426 mv ${tempbi} build-install |
440 -e 's;^\(CFLAGS=\).*$;\1'"${c_switch_site};" \ | 440 -e 's;^\(CFLAGS=\).*$;\1'"${c_switch_site};" \ |
441 -e 's;^\(LOADLIBES=\).*$;\1'"${libsrc_libs};" \ | 441 -e 's;^\(LOADLIBES=\).*$;\1'"${libsrc_libs};" \ |
442 -e 's;^\(CC=\).*$;\1'"${cc};" | 442 -e 's;^\(CC=\).*$;\1'"${cc};" |
443 mv ${tempMakefile} lib-src/Makefile | 443 mv ${tempMakefile} lib-src/Makefile |
444 | 444 |
445 # Document the damage we have done. | 445 # Create a verbal description of what we have done. |
446 message="# Configured for machine \`${machine}' running \`${opsystem}'. | |
447 # The following values have been set in ./Makefile and ./build-install: | |
448 # Executables will be placed in | |
449 # ${bindir}. | |
450 # Emacs's lisp search path will be | |
451 # \`${lisppath}'. | |
452 # Emacs will look for its architecture-independent data in | |
453 # ${datadir}. | |
454 # Emacs will look for its utility programs and other architecture- | |
455 # dependent data in | |
456 # ${libdir}. | |
457 # Emacs will keep track of file-locking in | |
458 # ${lockdir}. | |
459 # The following values have been set in src/config.h: | |
460 # At how much higher than normal priority should Emacs run? ${highpri-none} | |
461 # Should Emacs use the GNU version of malloc? ${gnu_malloc}${gnu_malloc_reason} | |
462 # Should Emacs use the relocating allocator for buffers? ${rel_alloc} | |
463 # Should Emacs support a floating point Elisp type? ${lisp_float_type} | |
464 # What window system should Emacs use? ${window_system} | |
465 # Should Emacs support mouse menus, which require X11? ${have_x_menu} | |
466 # What compiler should emacs be built with? ${cc} | |
467 # Should the compilation use \`-g' and/or \`-O'? ${c_switch_site- neither}" | |
468 | |
469 # Document the damage we have done by writing config.status. | |
470 | |
471 echo '#!/bin/sh' > config.status | |
472 | |
473 echo "# This file is generated by \`${progname}.' | |
474 # If you are thinking about editing it, you should seriously consider | |
475 # running \`${progname}' instead. | |
476 " >> config.status | |
477 echo "${message}" >> config.status | |
478 echo "'${progname}' \\ | |
479 -machine='${machine}' \\ | |
480 -opsystem='${opsystem}' \\ | |
481 -g=${g} \\ | |
482 -O=${O} \\ | |
483 -cc=${cc} \\ | |
484 -libdir='${libdir}' \\ | |
485 -datadir='${datadir}' \\ | |
486 -bindir='${bindir}' \\ | |
487 -lisppath='${lisppath}' \\ | |
488 -lockdir='${lockdir}' \\ | |
489 -window_system='${window_system}' \\ | |
490 -have_x_menu='${have_x_menu}' \\ | |
491 -gnu_malloc='${gnu_malloc}' | |
492 -rel_malloc='${rel_alloc}' \\ | |
493 -highpri='${highpri}' \\ | |
494 -lisp_float_type='${lisp_float_type}'" >> config.status | |
495 chmod +x config.status | |
496 | |
497 # Print the description. | |
446 echo | 498 echo |
447 echo "Configured for machine \`${machine}' running \`${opsystem}'. | 499 echo "${message}" | sed -e 's/^# //' |
448 The following values have been set in ./Makefile and ./build-install: | |
449 Executables will be placed in | |
450 ${installbin}. | |
451 Emacs's lisp search path will be | |
452 \`${lisppath}'. | |
453 Emacs will look for its architecture-independent data in | |
454 ${datadir}. | |
455 Emacs will look for its utility programs and other architecture- | |
456 dependent data in | |
457 ${libdir}. | |
458 Emacs will keep track of file-locking in | |
459 ${lockdir}. | |
460 The following values have been set in src/config.h: | |
461 At how much higher than normal priority should Emacs run? ${highpri-none} | |
462 Should Emacs use the GNU version of malloc? ${gnu_malloc}${gnu_malloc_reason} | |
463 Should Emacs use the relocating allocator for buffers? ${rel_alloc} | |
464 Should Emacs support a floating point Elisp type? ${lisp_float_type} | |
465 What window system should Emacs use? ${window_system} | |
466 Should Emacs support mouse menus, which require X11? ${have_x_menu} | |
467 What compiler should emacs be built with? ${cc} | |
468 Should the compilation use \`-g' and/or \`-O'? ${c_switch_site- neither}" \ | |
469 | tee config.status 1>&2 | |
470 | 500 |
471 exit 0 | 501 exit 0 |