aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-14 03:44:05 +0000
committerRichard M. Stallman1994-04-14 03:44:05 +0000
commit78a0e1995445ad4c115b817080eb850949679d32 (patch)
tree12e28006a33a18e68a3742192f110c8776543a57
parent2dc44cb56a1525ee995096cc497c86b9ca50993d (diff)
downloademacs-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-xconfigure1.in20
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 ;;
1245esac 1245esac
@@ -1449,7 +1449,7 @@ AC_DEFINE_UNQUOTED(UNEXEC_SRC, ${UNEXEC_SRC})
1449if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then 1449if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then
1450 ] AC_DEFINE(HAVE_X_WINDOWS) [ 1450 ] AC_DEFINE(HAVE_X_WINDOWS) [
1451fi 1451fi
1452if [ "${USE_X_TOOLKIT}" != "no" ] ; then 1452if [ "${USE_X_TOOLKIT}" != "none" ] ; then
1453 ] AC_DEFINE(USE_X_TOOLKIT) [ 1453 ] AC_DEFINE(USE_X_TOOLKIT) [
1454fi 1454fi
1455if [ "${HAVE_X11}" = "yes" ] ; then 1455if [ "${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[
1588echo ' 1588echo '
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
1597configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM 1596configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
1598' > ${tempcname} 1597' > ${tempcname}
1599${CPP} -Isrc ${tempcname} \ 1598eval `${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"/'`
1602eval `cat foofoo1`
1603rm ${tempcname} 1601rm ${tempcname}
1604 1602
1605cat lib-src/Makefile | sed -e "s/@libsrc_libs@/$libsrc_libs/" > lib-src/Makefoo 1603cat lib-src/Makefile | sed -e "s/@libsrc_libs@/$libsrc_libs/" > lib-src/Makefoo