diff options
| author | Glenn Morris | 2012-09-01 06:17:31 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-09-01 06:17:31 -0400 |
| commit | 42dcba546d85f7812242cbadb4617f87e1eb5ed3 (patch) | |
| tree | 8c1eec9ddaeccaf3c3567ea4400a75dce13a1ccd | |
| parent | 4dfbd23866adef6886771b80a464decc9e95e7c5 (diff) | |
| download | emacs-42dcba546d85f7812242cbadb4617f87e1eb5ed3.tar.gz emacs-42dcba546d85f7812242cbadb4617f87e1eb5ed3.zip | |
Auto-commit of generated files.
| -rw-r--r-- | autogen/Makefile.in | 1 | ||||
| -rw-r--r-- | autogen/config.in | 3 | ||||
| -rwxr-xr-x | autogen/configure | 58 |
3 files changed, 49 insertions, 13 deletions
diff --git a/autogen/Makefile.in b/autogen/Makefile.in index 58462459d6f..d52d1543c55 100644 --- a/autogen/Makefile.in +++ b/autogen/Makefile.in | |||
| @@ -755,6 +755,7 @@ WERROR_CFLAGS = @WERROR_CFLAGS@ | |||
| 755 | WIDGET_OBJ = @WIDGET_OBJ@ | 755 | WIDGET_OBJ = @WIDGET_OBJ@ |
| 756 | WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ | 756 | WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ |
| 757 | WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ | 757 | WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ |
| 758 | WINDOW_SYSTEM_OBJ = @WINDOW_SYSTEM_OBJ@ | ||
| 758 | WINT_T_SUFFIX = @WINT_T_SUFFIX@ | 759 | WINT_T_SUFFIX = @WINT_T_SUFFIX@ |
| 759 | XFT_CFLAGS = @XFT_CFLAGS@ | 760 | XFT_CFLAGS = @XFT_CFLAGS@ |
| 760 | XFT_LIBS = @XFT_LIBS@ | 761 | XFT_LIBS = @XFT_LIBS@ |
diff --git a/autogen/config.in b/autogen/config.in index 8cda73e6cbe..89174519488 100644 --- a/autogen/config.in +++ b/autogen/config.in | |||
| @@ -1345,6 +1345,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1345 | /* Define to 1 if you use terminfo instead of termcap. */ | 1345 | /* Define to 1 if you use terminfo instead of termcap. */ |
| 1346 | #undef TERMINFO | 1346 | #undef TERMINFO |
| 1347 | 1347 | ||
| 1348 | /* Define to the header for the built-in window system. */ | ||
| 1349 | #undef TERM_HEADER | ||
| 1350 | |||
| 1348 | /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ | 1351 | /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ |
| 1349 | #undef TIME_WITH_SYS_TIME | 1352 | #undef TIME_WITH_SYS_TIME |
| 1350 | 1353 | ||
diff --git a/autogen/configure b/autogen/configure index 487f8de395a..90fa63c7322 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -604,6 +604,7 @@ am__EXEEXT_TRUE | |||
| 604 | LTLIBOBJS | 604 | LTLIBOBJS |
| 605 | LIBOBJS | 605 | LIBOBJS |
| 606 | SUBDIR_MAKEFILES_IN | 606 | SUBDIR_MAKEFILES_IN |
| 607 | WINDOW_SYSTEM_OBJ | ||
| 607 | LIB_GCC | 608 | LIB_GCC |
| 608 | LD_FIRSTFLAG | 609 | LD_FIRSTFLAG |
| 609 | LD_SWITCH_SYSTEM_TEMACS | 610 | LD_SWITCH_SYSTEM_TEMACS |
| @@ -9149,6 +9150,12 @@ fi | |||
| 9149 | 9150 | ||
| 9150 | #### Choose a window system. | 9151 | #### Choose a window system. |
| 9151 | 9152 | ||
| 9153 | ## We leave window_system equal to none if | ||
| 9154 | ## we end up building without one. Any new window system should | ||
| 9155 | ## set window_system to an appropriate value and add objects to | ||
| 9156 | ## window-system-specific substs. | ||
| 9157 | |||
| 9158 | window_system=none | ||
| 9152 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 | 9159 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 |
| 9153 | $as_echo_n "checking for X... " >&6; } | 9160 | $as_echo_n "checking for X... " >&6; } |
| 9154 | 9161 | ||
| @@ -9342,9 +9349,7 @@ else | |||
| 9342 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } | 9349 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
| 9343 | fi | 9350 | fi |
| 9344 | 9351 | ||
| 9345 | if test "$no_x" = yes; then | 9352 | if test "$no_x" != yes; then |
| 9346 | window_system=none | ||
| 9347 | else | ||
| 9348 | window_system=x11 | 9353 | window_system=x11 |
| 9349 | fi | 9354 | fi |
| 9350 | 9355 | ||
| @@ -9519,7 +9524,6 @@ if test "${HAVE_NS}" = yes; then | |||
| 9519 | fi | 9524 | fi |
| 9520 | 9525 | ||
| 9521 | window_system=nextstep | 9526 | window_system=nextstep |
| 9522 | with_xft=no | ||
| 9523 | # set up packaging dirs | 9527 | # set up packaging dirs |
| 9524 | if test "${EN_NS_SELF_CONTAINED}" = yes; then | 9528 | if test "${EN_NS_SELF_CONTAINED}" = yes; then |
| 9525 | ns_self_contained=yes | 9529 | ns_self_contained=yes |
| @@ -9536,7 +9540,6 @@ if test "${HAVE_NS}" = yes; then | |||
| 9536 | INSTALL_ARCH_INDEP_EXTRA= | 9540 | INSTALL_ARCH_INDEP_EXTRA= |
| 9537 | fi | 9541 | fi |
| 9538 | ns_frag=$srcdir/src/ns.mk | 9542 | ns_frag=$srcdir/src/ns.mk |
| 9539 | NS_OBJ="fontset.o fringe.o image.o" | ||
| 9540 | NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o" | 9543 | NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o" |
| 9541 | fi | 9544 | fi |
| 9542 | CFLAGS="$tmp_CFLAGS" | 9545 | CFLAGS="$tmp_CFLAGS" |
| @@ -9548,28 +9551,45 @@ CPPFLAGS="$tmp_CPPFLAGS" | |||
| 9548 | 9551 | ||
| 9549 | 9552 | ||
| 9550 | 9553 | ||
| 9554 | ## $window_system is now set to the window system we will | ||
| 9555 | ## ultimately use. | ||
| 9556 | |||
| 9557 | term_header= | ||
| 9558 | HAVE_X_WINDOWS=no | ||
| 9559 | HAVE_X11=no | ||
| 9560 | USE_X_TOOLKIT=none | ||
| 9561 | |||
| 9551 | case "${window_system}" in | 9562 | case "${window_system}" in |
| 9552 | x11 ) | 9563 | x11 ) |
| 9553 | HAVE_X_WINDOWS=yes | 9564 | HAVE_X_WINDOWS=yes |
| 9554 | HAVE_X11=yes | 9565 | HAVE_X11=yes |
| 9566 | term_header=xterm.h | ||
| 9555 | case "${with_x_toolkit}" in | 9567 | case "${with_x_toolkit}" in |
| 9556 | athena | lucid ) USE_X_TOOLKIT=LUCID ;; | 9568 | athena | lucid ) USE_X_TOOLKIT=LUCID ;; |
| 9557 | motif ) USE_X_TOOLKIT=MOTIF ;; | 9569 | motif ) USE_X_TOOLKIT=MOTIF ;; |
| 9558 | gtk ) with_gtk=yes | 9570 | gtk ) with_gtk=yes |
| 9571 | term_header=gtkutil.h | ||
| 9559 | USE_X_TOOLKIT=none ;; | 9572 | USE_X_TOOLKIT=none ;; |
| 9560 | gtk3 ) with_gtk3=yes | 9573 | gtk3 ) with_gtk3=yes |
| 9574 | term_header=gtkutil.h | ||
| 9561 | USE_X_TOOLKIT=none ;; | 9575 | USE_X_TOOLKIT=none ;; |
| 9562 | no ) USE_X_TOOLKIT=none ;; | 9576 | no ) USE_X_TOOLKIT=none ;; |
| 9563 | * ) USE_X_TOOLKIT=maybe ;; | 9577 | * ) USE_X_TOOLKIT=maybe ;; |
| 9564 | esac | 9578 | esac |
| 9565 | ;; | 9579 | ;; |
| 9566 | nextstep | none ) | 9580 | nextstep ) |
| 9567 | HAVE_X_WINDOWS=no | 9581 | term_header=nsterm.h |
| 9568 | HAVE_X11=no | ||
| 9569 | USE_X_TOOLKIT=none | ||
| 9570 | ;; | 9582 | ;; |
| 9571 | esac | 9583 | esac |
| 9572 | 9584 | ||
| 9585 | if test -n "${term_header}"; then | ||
| 9586 | |||
| 9587 | cat >>confdefs.h <<_ACEOF | ||
| 9588 | #define TERM_HEADER "${term_header}" | ||
| 9589 | _ACEOF | ||
| 9590 | |||
| 9591 | fi | ||
| 9592 | |||
| 9573 | if test "$window_system" = none && test "X$with_x" != "Xno"; then | 9593 | if test "$window_system" = none && test "X$with_x" != "Xno"; then |
| 9574 | # Extract the first word of "X", so it can be a program name with args. | 9594 | # Extract the first word of "X", so it can be a program name with args. |
| 9575 | set dummy X; ac_word=$2 | 9595 | set dummy X; ac_word=$2 |
| @@ -10561,6 +10581,7 @@ $as_echo "no" >&6; } | |||
| 10561 | $as_echo "#define HAVE_GTK3 1" >>confdefs.h | 10581 | $as_echo "#define HAVE_GTK3 1" >>confdefs.h |
| 10562 | 10582 | ||
| 10563 | GTK_OBJ=emacsgtkfixed.o | 10583 | GTK_OBJ=emacsgtkfixed.o |
| 10584 | term_header=gtkutil.h | ||
| 10564 | fi | 10585 | fi |
| 10565 | 10586 | ||
| 10566 | if test "$pkg_check_gtk" != "yes"; then | 10587 | if test "$pkg_check_gtk" != "yes"; then |
| @@ -10723,6 +10744,8 @@ _ACEOF | |||
| 10723 | fi | 10744 | fi |
| 10724 | done | 10745 | done |
| 10725 | 10746 | ||
| 10747 | |||
| 10748 | term_header=gtkutil.h | ||
| 10726 | fi | 10749 | fi |
| 10727 | 10750 | ||
| 10728 | HAVE_DBUS=no | 10751 | HAVE_DBUS=no |
| @@ -15643,6 +15666,14 @@ version=$PACKAGE_VERSION | |||
| 15643 | 15666 | ||
| 15644 | 15667 | ||
| 15645 | 15668 | ||
| 15669 | if test -n "${term_header}"; then | ||
| 15670 | |||
| 15671 | cat >>confdefs.h <<_ACEOF | ||
| 15672 | #define TERM_HEADER "${term_header}" | ||
| 15673 | _ACEOF | ||
| 15674 | |||
| 15675 | fi | ||
| 15676 | |||
| 15646 | 15677 | ||
| 15647 | cat >>confdefs.h <<_ACEOF | 15678 | cat >>confdefs.h <<_ACEOF |
| 15648 | #define EMACS_CONFIGURATION "${canonical}" | 15679 | #define EMACS_CONFIGURATION "${canonical}" |
| @@ -15663,7 +15694,7 @@ if test "${HAVE_X_WINDOWS}" = "yes" ; then | |||
| 15663 | $as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h | 15694 | $as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h |
| 15664 | 15695 | ||
| 15665 | XMENU_OBJ=xmenu.o | 15696 | XMENU_OBJ=xmenu.o |
| 15666 | XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" | 15697 | XOBJ="xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o xgselect.o" |
| 15667 | FONT_OBJ=xfont.o | 15698 | FONT_OBJ=xfont.o |
| 15668 | if test "$HAVE_XFT" = "yes"; then | 15699 | if test "$HAVE_XFT" = "yes"; then |
| 15669 | FONT_OBJ="$FONT_OBJ ftfont.o xftfont.o ftxfont.o" | 15700 | FONT_OBJ="$FONT_OBJ ftfont.o xftfont.o ftxfont.o" |
| @@ -24070,20 +24101,21 @@ if test "x$GCC" = "xyes" && test "x$ORDINARY_LINK" != "xyes"; then | |||
| 24070 | esac | 24101 | esac |
| 24071 | fi | 24102 | fi |
| 24072 | 24103 | ||
| 24073 | 24104 | ## Common for all window systems | |
| 24074 | ## If we're using X11/GNUstep, define some consequences. | 24105 | if test "$window_system" != "none"; then |
| 24075 | if test "$HAVE_X_WINDOWS" = "yes" || test "$HAVE_NS" = "yes"; then | ||
| 24076 | 24106 | ||
| 24077 | $as_echo "#define HAVE_WINDOW_SYSTEM 1" >>confdefs.h | 24107 | $as_echo "#define HAVE_WINDOW_SYSTEM 1" >>confdefs.h |
| 24078 | 24108 | ||
| 24079 | 24109 | ||
| 24080 | $as_echo "#define HAVE_MOUSE 1" >>confdefs.h | 24110 | $as_echo "#define HAVE_MOUSE 1" >>confdefs.h |
| 24081 | 24111 | ||
| 24112 | WINDOW_SYSTEM_OBJ="fontset.o fringe.o image.o" | ||
| 24082 | fi | 24113 | fi |
| 24083 | 24114 | ||
| 24084 | 24115 | ||
| 24085 | 24116 | ||
| 24086 | 24117 | ||
| 24118 | |||
| 24087 | #### Report on what we decided to do. | 24119 | #### Report on what we decided to do. |
| 24088 | #### Report GTK as a toolkit, even if it doesn't use Xt. | 24120 | #### Report GTK as a toolkit, even if it doesn't use Xt. |
| 24089 | #### It makes printing result more understandable as using GTK sets | 24121 | #### It makes printing result more understandable as using GTK sets |