comparison configure.in @ 91702:b7a5a89054dc

* configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code dealing with obsolete variables. * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional. (main): Replace MAIL_PROGRAM_NAME with its value. * src/Makefile.in: * src/emacs.c: * src/gmalloc.c: * src/keyboard.c: * src/lisp.h: * src/m/ibm370aix.h: * src/process.c: * src/regex.c: * src/s/hpux.h: * src/sysdep.c: * src/sysselect.h: * src/systty.h: * src/unexec.c: * src/w32term.c: * src/xsmfns.c: * src/xterm.c: Remove code that deals with obsolete variables. * s/msdos.h (DONT_NEED_ENVIRON): Don't define. * ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test, nothing else needs it anymore.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 09 Feb 2008 18:03:10 +0000
parents 4a3d0b905c9e
children f991f10f15ec
comparison
equal deleted inserted replaced
91701:8fac5ad6ff83 91702:b7a5a89054dc
1002 1002
1003 #ifndef LIB_X11_LIB 1003 #ifndef LIB_X11_LIB
1004 #define LIB_X11_LIB -lX11 1004 #define LIB_X11_LIB -lX11
1005 #endif 1005 #endif
1006 1006
1007 #ifndef LIBX11_MACHINE
1008 #define LIBX11_MACHINE
1009 #endif
1010
1011 #ifndef LIBX11_SYSTEM 1007 #ifndef LIBX11_SYSTEM
1012 #define LIBX11_SYSTEM 1008 #define LIBX11_SYSTEM
1013 #endif 1009 #endif
1014 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM 1010 configure___ LIBX=LIB_X11_LIB LIBX11_SYSTEM
1015 1011
1016 #ifdef UNEXEC 1012 #ifdef UNEXEC
1017 configure___ unexec=UNEXEC 1013 configure___ unexec=UNEXEC
1018 #else 1014 #else
1019 configure___ unexec=unexec.o 1015 configure___ unexec=unexec.o
1545 1541
1546 dnl FIXME replace main with a function we actually want from this library. 1542 dnl FIXME replace main with a function we actually want from this library.
1547 AC_CHECK_LIB(Xbsd, main, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd") 1543 AC_CHECK_LIB(Xbsd, main, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd")
1548 1544
1549 AC_CHECK_LIB(pthreads, cma_open) 1545 AC_CHECK_LIB(pthreads, cma_open)
1550
1551 AC_MSG_CHECKING(for XFree86 in /usr/X386)
1552 if test -d /usr/X386/include; then
1553 HAVE_XFREE386=yes
1554 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
1555 else
1556 HAVE_XFREE386=no
1557 fi
1558 AC_MSG_RESULT($HAVE_XFREE386)
1559 1546
1560 dnl Check for need for bigtoc support on IBM AIX 1547 dnl Check for need for bigtoc support on IBM AIX
1561 1548
1562 case ${host_os} in 1549 case ${host_os} in
1563 aix*) 1550 aix*)
2700 if test "${HAVE_X11}" = "yes" ; then 2687 if test "${HAVE_X11}" = "yes" ; then
2701 AC_DEFINE(HAVE_X11, 1, 2688 AC_DEFINE(HAVE_X11, 1,
2702 [Define to 1 if you want to use version 11 of X windows. 2689 [Define to 1 if you want to use version 11 of X windows.
2703 Otherwise, Emacs expects to use version 10.]) 2690 Otherwise, Emacs expects to use version 10.])
2704 fi 2691 fi
2705 if test "${HAVE_XFREE386}" = "yes" ; then
2706 AC_DEFINE(HAVE_XFREE386, 1, [Define to 1 if you're using XFree386.])
2707 fi
2708 if test "${HAVE_MENUS}" = "yes" ; then 2692 if test "${HAVE_MENUS}" = "yes" ; then
2709 AC_DEFINE(HAVE_MENUS, 1, 2693 AC_DEFINE(HAVE_MENUS, 1,
2710 [Define to 1 if you have mouse menus. 2694 [Define to 1 if you have mouse menus.
2711 (This is automatic if you use X, but the option to specify it remains.) 2695 (This is automatic if you use X, but the option to specify it remains.)
2712 It is also defined with other window systems that support xmenu.c.]) 2696 It is also defined with other window systems that support xmenu.c.])