/[emacs]/emacs/configure.in
ViewVC logotype

Diff of /emacs/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.340 by fx, Mon Jun 23 18:35:23 2003 UTC revision 1.341 by fx, Sun Jun 29 12:01:08 2003 UTC
# Line 2049  dnl with `--with-xim=no'. Line 2049  dnl with `--with-xim=no'.
2049  if test "${with_xim}" != "no"; then  if test "${with_xim}" != "no"; then
2050    AC_DEFINE(USE_XIM, 1,    AC_DEFINE(USE_XIM, 1,
2051              [Define to 1 if we should use XIM, if it is available.])              [Define to 1 if we should use XIM, if it is available.])
2052      late_CFLAGS=$CFLAGS
2053      if test "$GCC" = yes; then
2054        CFLAGS="$CFLAGS --pedantic-errors"
2055      fi
2056    AC_TRY_COMPILE([    AC_TRY_COMPILE([
2057  #include <X11/Xlib.h>  #include <X11/Xlib.h>
2058  #include <X11/Xresource.h>],  #include <X11/Xresource.h>],
# Line 2058  char *res_name; Line 2062  char *res_name;
2062  char *res_class;  char *res_class;
2063  XIMProc  callback;  XIMProc  callback;
2064  XPointer *client_data;  XPointer *client_data;
2065    #ifndef __GNUC__
2066    /* If we're not using GCC, it's probably not XFree86, and this is
2067       probably right, but we can't use something like --pedantic-errors.  */
2068    extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
2069                                               char*, XIMProc, XPointer*);
2070    #endif
2071  (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback,  (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback,
2072     client_data);],     client_data);],
2073      [emacs_cv_arg6_star=yes])      [emacs_cv_arg6_star=yes])
# Line 2069  either XPointer or XPointer*.])dnl Line 2079  either XPointer or XPointer*.])dnl
2079    else    else
2080       AC_DEFINE(XRegisterIMInstantiateCallback_arg6, [XPointer])       AC_DEFINE(XRegisterIMInstantiateCallback_arg6, [XPointer])
2081    fi    fi
2082      CFLAGS=$late_CFLAGS
2083  fi  fi
2084    
2085  ### Use -lXpm if available, unless `--with-xpm=no'.  ### Use -lXpm if available, unless `--with-xpm=no'.

Legend:
Removed from v.1.340  
changed lines
  Added in v.1.341

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26