Show
Ignore:
Timestamp:
12/29/03 22:20:58 (5 years ago)
Author:
miyoshi
Message:

Sync up with Emacs-21.3.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/emacs-merge/configure.in

    r3207 r3212  
    44dnl in the directory containing this script. 
    55dnl 
    6 dnl  Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001 
     6dnl  Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 
    77dnl  Free Software Foundation, Inc. 
    88dnl 
     
    538538  ;; 
    539539 
     540  hppa*-hp-hpux10.2* ) 
     541    machine=hp800 opsys=hpux10-20 
     542  ;; 
     543 
    540544  hppa*-hp-hpux10* ) 
    541545    machine=hp800 opsys=hpux10 
    542546  ;; 
     547 
    543548  hppa*-hp-hpux1[1-9]* ) 
    544549    machine=hp800 opsys=hpux11 
     
    578583  i370-ibm-aix*) 
    579584    machine=ibm370aix opsys=usg5-3 
     585  ;; 
     586  s390-*-linux-gnu) 
     587    machine=ibms390 opsys=gnu-linux 
    580588  ;; 
    581589  rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1*  ) 
     
    10491057 
    10501058  ## Mips Linux-based GNU system 
    1051   mips-*-linux-gnu*
     1059  mips-*-linux-gnu* | mipsel-*-linux-gnu*
    10521060    machine=mips opsys=gnu-linux 
    10531061  ;; 
     
    13761384AC_CACHE_CHECK(for speed_t, emacs_cv_speed_t, 
    13771385AC_TRY_COMPILE([#include <termios.h>], [speed_t x = 1;], 
    1378   emacs_cv_speed_t=yes)) 
     1386  emacs_cv_speed_t=yes, emacs_cv_speed_t=no)) 
    13791387if test $emacs_cv_speed_t = yes; then 
    13801388  AC_DEFINE(HAVE_SPEED_T) 
     
    16031611fi 
    16041612AC_MSG_RESULT($HAVE_XFREE386) 
     1613 
     1614dnl Check for need for bigtoc support on IBM AIX 
     1615 
     1616case ${host_os} in 
     1617aix*) 
     1618  AC_CACHE_CHECK([for -bbigtoc option], [gdb_cv_bigtoc], [ 
     1619    case $GCC in 
     1620    yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; 
     1621    *) gdb_cv_bigtoc=-bbigtoc ;; 
     1622    esac 
     1623 
     1624    LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc 
     1625    AC_TRY_LINK([], [int i;], [], [gdb_cv_bigtoc=]) 
     1626  ]) 
     1627  ;; 
     1628esac 
    16051629 
    16061630# Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 
     
    18681892  if test "${HAVE_JPEG}" = "yes"; then 
    18691893    AC_DEFINE(HAVE_JPEG) 
     1894    AC_EGREP_CPP( 
     1895changequote({, })dnl avoid leadingspace on the next line 
     1896{version= *(6[2-9]|[7-9][0-9])}, 
     1897changequote([, ])dnl 
     1898        [#include <jpeglib.h> 
     1899         version=JPEG_LIB_VERSION 
     1900],     
     1901        AC_DEFINE(HAVE_JPEG), 
     1902        [AC_MSG_WARN([libjpeg found, but not version 6b or later]) 
     1903        HAVE_JPEG=no]) 
    18701904  fi 
    18711905fi 
     
    19051939  if test "${with_gif}" != "no"; then 
    19061940    AC_CHECK_HEADER(gif_lib.h, 
    1907       AC_CHECK_LIB(ungif, DGifOpen, HAVE_GIF=yes)) 
     1941# EGifPutExtensionLast only exists from version libungif-4.1.0b1. 
     1942# Earlier versions can crash Emacs. 
     1943      AC_CHECK_LIB(ungif, EGifPutExtensionLast, HAVE_GIF=yes)) 
    19081944  fi 
    19091945