diff options
| author | Richard M. Stallman | 1994-04-14 03:44:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-14 03:44:05 +0000 |
| commit | 78a0e1995445ad4c115b817080eb850949679d32 (patch) | |
| tree | 12e28006a33a18e68a3742192f110c8776543a57 | |
| parent | 2dc44cb56a1525ee995096cc497c86b9ca50993d (diff) | |
| download | emacs-78a0e1995445ad4c115b817080eb850949679d32.tar.gz emacs-78a0e1995445ad4c115b817080eb850949679d32.zip | |
(CFLAGS): Exclude ${CFLAGS} from singlequotes.
(printing the choices): Make the toolkit message unconditional.
(USE_X_TOOLKIT): Use `none', not `no', if none.
(include libsrc_libs): Include config.h, and specify -I for srcdir.
Get rid of temp file foofoo1.
| -rwxr-xr-x | configure1.in | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/configure1.in b/configure1.in index d0c14ba37db..368613e9214 100755 --- a/configure1.in +++ b/configure1.in | |||
| @@ -1225,7 +1225,7 @@ case "${window_system}" in | |||
| 1225 | echo " Using Open-Look toolkit." | 1225 | echo " Using Open-Look toolkit." |
| 1226 | ;; | 1226 | ;; |
| 1227 | * ) | 1227 | * ) |
| 1228 | USE_X_TOOLKIT=no | 1228 | USE_X_TOOLKIT=none |
| 1229 | echo " Using Xlib directly." | 1229 | echo " Using Xlib directly." |
| 1230 | ;; | 1230 | ;; |
| 1231 | esac | 1231 | esac |
| @@ -1233,13 +1233,13 @@ case "${window_system}" in | |||
| 1233 | x10 ) | 1233 | x10 ) |
| 1234 | HAVE_X_WINDOWS=yes | 1234 | HAVE_X_WINDOWS=yes |
| 1235 | HAVE_X11=no | 1235 | HAVE_X11=no |
| 1236 | USE_X_TOOLKIT=no | 1236 | USE_X_TOOLKIT=none |
| 1237 | echo " Using X10." | 1237 | echo " Using X10." |
| 1238 | ;; | 1238 | ;; |
| 1239 | none ) | 1239 | none ) |
| 1240 | HAVE_X_WINDOWS=no | 1240 | HAVE_X_WINDOWS=no |
| 1241 | HAVE_X11=no | 1241 | HAVE_X11=no |
| 1242 | USE_X_TOOLKIT=no | 1242 | USE_X_TOOLKIT=none |
| 1243 | echo " Using no window system." | 1243 | echo " Using no window system." |
| 1244 | ;; | 1244 | ;; |
| 1245 | esac | 1245 | esac |
| @@ -1449,7 +1449,7 @@ AC_DEFINE_UNQUOTED(UNEXEC_SRC, ${UNEXEC_SRC}) | |||
| 1449 | if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then | 1449 | if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then |
| 1450 | ] AC_DEFINE(HAVE_X_WINDOWS) [ | 1450 | ] AC_DEFINE(HAVE_X_WINDOWS) [ |
| 1451 | fi | 1451 | fi |
| 1452 | if [ "${USE_X_TOOLKIT}" != "no" ] ; then | 1452 | if [ "${USE_X_TOOLKIT}" != "none" ] ; then |
| 1453 | ] AC_DEFINE(USE_X_TOOLKIT) [ | 1453 | ] AC_DEFINE(USE_X_TOOLKIT) [ |
| 1454 | fi | 1454 | fi |
| 1455 | if [ "${HAVE_X11}" = "yes" ] ; then | 1455 | if [ "${HAVE_X11}" = "yes" ] ; then |
| @@ -1534,8 +1534,8 @@ Configured for \`${canonical}'. | |||
| 1534 | What compiler should emacs be built with? ${CC} ${CFLAGS} | 1534 | What compiler should emacs be built with? ${CC} ${CFLAGS} |
| 1535 | Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} | 1535 | Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} |
| 1536 | Should Emacs use the relocating allocator for buffers? ${REL_ALLOC} | 1536 | Should Emacs use the relocating allocator for buffers? ${REL_ALLOC} |
| 1537 | What window system should Emacs use? ${window_system}${x_includes+ | 1537 | What window system should Emacs use? ${window_system} |
| 1538 | What toolkit should Emacs use? ${USE_X_TOOLKIT} | 1538 | What toolkit should Emacs use? ${USE_X_TOOLKIT}${x_includes+ |
| 1539 | Where do we find X Windows header files? }${x_includes}${x_libraries+ | 1539 | Where do we find X Windows header files? }${x_includes}${x_libraries+ |
| 1540 | Where do we find X Windows libraries? }${x_libraries} | 1540 | Where do we find X Windows libraries? }${x_libraries} |
| 1541 | 1541 | ||
| @@ -1586,8 +1586,7 @@ echo creating src/Makefile | |||
| 1586 | 1586 | ||
| 1587 | [ | 1587 | [ |
| 1588 | echo ' | 1588 | echo ' |
| 1589 | #include "'${srcdir}'/src/'${opsysfile}'" | 1589 | #include "config.h" |
| 1590 | #include "'${srcdir}'/src/'${machfile}'" | ||
| 1591 | #ifndef LIBS_MACHINE | 1590 | #ifndef LIBS_MACHINE |
| 1592 | #define LIBS_MACHINE | 1591 | #define LIBS_MACHINE |
| 1593 | #endif | 1592 | #endif |
| @@ -1596,10 +1595,9 @@ echo ' | |||
| 1596 | #endif | 1595 | #endif |
| 1597 | configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM | 1596 | configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM |
| 1598 | ' > ${tempcname} | 1597 | ' > ${tempcname} |
| 1599 | ${CPP} -Isrc ${tempcname} \ | 1598 | eval `${CPP} -Isrc -I${srcdir}/src ${tempcname} \ |
| 1600 | | grep 'configure___' \ | 1599 | | grep 'configure___' \ |
| 1601 | | sed -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/' > foofoo1 | 1600 | | sed -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/'` |
| 1602 | eval `cat foofoo1` | ||
| 1603 | rm ${tempcname} | 1601 | rm ${tempcname} |
| 1604 | 1602 | ||
| 1605 | cat lib-src/Makefile | sed -e "s/@libsrc_libs@/$libsrc_libs/" > lib-src/Makefoo | 1603 | cat lib-src/Makefile | sed -e "s/@libsrc_libs@/$libsrc_libs/" > lib-src/Makefoo |