emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/configure.in


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/configure.in
Date: Tue, 29 Jul 2003 13:41:13 -0400

Index: emacs/configure.in
diff -c emacs/configure.in:1.349 emacs/configure.in:1.350
*** emacs/configure.in:1.349    Mon Jul 28 18:51:58 2003
--- emacs/configure.in  Tue Jul 29 13:41:12 2003
***************
*** 1248,1253 ****
--- 1248,1254 ----
  AC_PROG_LN_S
  AC_PROG_CPP
  AC_PROG_INSTALL
+ AC_PROG_GNU_LD
  if test "x$RANLIB" = x; then
    AC_PROG_RANLIB
  fi
***************
*** 2066,2079 ****
    fi
  fi
  
! dnl Don't use X11 input methods if user specifies he doesn't want it
! dnl with `--with-xim=no'.
  
  if test "${with_xim}" != "no"; then
    AC_DEFINE(USE_XIM, 1,
            [Define to 1 if we should use XIM, if it is available.])
  fi
! if test "${HAVE_X11}" = "yes"; then
    late_CFLAGS=$CFLAGS
    if test "$GCC" = yes; then
      CFLAGS="$CFLAGS --pedantic-errors"
--- 2067,2090 ----
    fi
  fi
  
! dnl See if XIM is available.
! AC_TRY_COMPILE([
!         #include <X11/Xlib.h>
!         #include <X11/Xresource.h>],
!        [XIMProc  callback;],
!        HAVE_XIM=yes
!        AC_DEFINE(HAVE_XIM, 1, [Define to 1 if XIM is available]),
!        HAVE_XIM=no)
! 
! dnl `--with-xim' now controls only the initial value of use_xim at run time.
  
  if test "${with_xim}" != "no"; then
    AC_DEFINE(USE_XIM, 1,
            [Define to 1 if we should use XIM, if it is available.])
  fi
!  
! 
! if test "${HAVE_XIM}" != "no"; then
    late_CFLAGS=$CFLAGS
    if test "$GCC" = yes; then
      CFLAGS="$CFLAGS --pedantic-errors"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]