/[emacs]/emacs/configure
ViewVC logotype

Diff of /emacs/configure

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

revision 1.111 by fx, Fri Jun 6 10:16:42 2003 UTC revision 1.112 by jhd, Thu Jun 26 21:09:11 2003 UTC
# Line 3397  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3397  if { (eval echo "$as_me:$LINENO: \"$ac_c
3397    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3398    for ac_declaration in \    for ac_declaration in \
3399     ''\     ''\
3400       '#include <stdlib.h>' \
3401     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
3402     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
3403     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
3404     'extern "C" void exit (int);' \     'extern "C" void exit (int);' \
3405     'void exit (int);' \     'void exit (int);'
    '#include <stdlib.h>'  
3406  do  do
3407    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3408  #line $LINENO "configure"  #line $LINENO "configure"
# Line 5032  fi Line 5032  fi
5032    
5033    
5034    
5035    
5036  for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \  for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
5037    linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \    linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
5038    termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \    termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
5039    sys/param.h sys/vlimit.h sys/resource.h locale.h    sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h
5040  do  do
5041  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5042  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
# Line 8893  cat >>confdefs.h <<\_ACEOF Line 8894  cat >>confdefs.h <<\_ACEOF
8894  #define USE_XIM 1  #define USE_XIM 1
8895  _ACEOF  _ACEOF
8896    
8897      cat >conftest.$ac_ext <<_ACEOF
8898    #line $LINENO "configure"
8899    /* confdefs.h.  */
8900    _ACEOF
8901    cat confdefs.h >>conftest.$ac_ext
8902    cat >>conftest.$ac_ext <<_ACEOF
8903    /* end confdefs.h.  */
8904    
8905    #include <X11/Xlib.h>
8906    #include <X11/Xresource.h>
8907    int
8908    main ()
8909    {
8910    Display *display;
8911    XrmDatabase db;
8912    char *res_name;
8913    char *res_class;
8914    XIMProc  callback;
8915    XPointer *client_data;
8916    (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback,
8917       client_data);
8918      ;
8919      return 0;
8920    }
8921    _ACEOF
8922    rm -f conftest.$ac_objext
8923    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8924      (eval $ac_compile) 2>&5
8925      ac_status=$?
8926      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927      (exit $ac_status); } &&
8928             { ac_try='test -s conftest.$ac_objext'
8929      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8930      (eval $ac_try) 2>&5
8931      ac_status=$?
8932      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933      (exit $ac_status); }; }; then
8934      emacs_cv_arg6_star=yes
8935    else
8936      echo "$as_me: failed program was:" >&5
8937    sed 's/^/| /' conftest.$ac_ext >&5
8938    
8939    fi
8940    rm -f conftest.$ac_objext conftest.$ac_ext
8941    
8942      if test "$emacs_cv_arg6_star" = yes; then
8943         cat >>confdefs.h <<\_ACEOF
8944    #define XRegisterIMInstantiateCallback_arg6 XPointer*
8945    _ACEOF
8946    
8947      else
8948         cat >>confdefs.h <<\_ACEOF
8949    #define XRegisterIMInstantiateCallback_arg6 XPointer
8950    _ACEOF
8951    
8952      fi
8953  fi  fi
8954    
8955  ### Use -lXpm if available, unless `--with-xpm=no'.  ### Use -lXpm if available, unless `--with-xpm=no'.

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112

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