[Mew-dist 10246] Re: im-123

SAKAI Kiyotaka ksakai at example.com
1999年 8月 20日 (金) 11:03:26 JST


>> In article <19990820105246H.kimai at example.com>, IMAI Kenichi <kimai at example.com> writes:

> ぼくの環境(IRIX 6.5) では $FSYNC_NO = ; になったからです.

> よくみてみたら configure でエラーを起こしていました.
> ぼくの環境では echo (146+1); というのが返ってきます.
> 括弧が入ってるのがよろしくないようです.

なるほど。

では、このパッチでどうでしょうか?
-- 
酒井 清隆 (E-mail: ksakai at example.com)
-------------- next part --------------
Index: configure
===================================================================
RCS file: /home/ksakai/cvsroot/im-123/configure,v
retrieving revision 1.1.1.1
diff -u -c -r1.1.1.1 configure
*** configure	1999/08/20 00:40:36	1.1.1.1
--- configure	1999/08/20 02:00:41
***************
*** 1287,1304 ****
    cat > conftest.c << EOF
  #include <sys/syscall.h>
  #ifdef SYS_fsync
! echo SYS_fsync;
  #else
! echo undef;
  #endif
  EOF
  
! im_fsync_no=`eval $ac_cpp conftest.c | egrep "^echo" | sh`
  if test "x$im_fsync_no" = "xundef"; then
    im_nosync="yes"
  else
    im_nosync="no"
  fi
  
  else
    echo "$ac_t""no" 1>&6
--- 1287,1305 ----
    cat > conftest.c << EOF
  #include <sys/syscall.h>
  #ifdef SYS_fsync
! IM_FSYNC_NO=SYS_fsync
  #else
! IM_FSYNC_NO=undef
  #endif
  EOF
  
! im_fsync_no=`eval $ac_cpp conftest.c | sed -n -e "s/^IM_FSYNC_NO=//p"`
  if test "x$im_fsync_no" = "xundef"; then
    im_nosync="yes"
  else
    im_nosync="no"
  fi
+ rm -f conftest.c
  
  else
    echo "$ac_t""no" 1>&6
***************
*** 1320,1326 ****
  
  
  echo $ac_n "checking OS type""... $ac_c" 1>&6
! echo "configure:1324: checking OS type" >&5
  case "$host" in
    *-*-solaris2*)
      echo "$ac_t""Seems to be a Solaris; Content-Length: should be checked" 1>&6
--- 1321,1327 ----
  
  
  echo $ac_n "checking OS type""... $ac_c" 1>&6
! echo "configure:1325: checking OS type" >&5
  case "$host" in
    *-*-solaris2*)
      echo "$ac_t""Seems to be a Solaris; Content-Length: should be checked" 1>&6
***************
*** 1331,1337 ****
  esac
  
  echo $ac_n "checking domain for mail-address""... $ac_c" 1>&6
! echo "configure:1335: checking domain for mail-address" >&5
  im_hostname=`hostname`
  echo "$ac_t""$im_hostname" 1>&6
  
--- 1332,1338 ----
  esac
  
  echo $ac_n "checking domain for mail-address""... $ac_c" 1>&6
! echo "configure:1336: checking domain for mail-address" >&5
  im_hostname=`hostname`
  echo "$ac_t""$im_hostname" 1>&6
  
Index: configure.in
===================================================================
RCS file: /home/ksakai/cvsroot/im-123/configure.in,v
retrieving revision 1.2
diff -u -c -r1.2 configure.in
*** configure.in	1999/08/20 01:55:29	1.2
--- configure.in	1999/08/20 01:58:49
***************
*** 59,71 ****
  cat > conftest.c << EOF
  #include <sys/syscall.h>
  #ifdef SYS_fsync
! echo SYS_fsync;
  #else
! echo undef;
  #endif
  EOF
  
! im_fsync_no=`eval $ac_cpp conftest.c | egrep "^echo" | sh`
  if test "x$im_fsync_no" = "xundef"; then
    im_nosync="yes"
  else
--- 59,71 ----
  cat > conftest.c << EOF
  #include <sys/syscall.h>
  #ifdef SYS_fsync
! IM_FSYNC_NO=SYS_fsync
  #else
! IM_FSYNC_NO=undef
  #endif
  EOF
  
! im_fsync_no=`eval $ac_cpp conftest.c | sed -n -e "s/^IM_FSYNC_NO=//p"`
  if test "x$im_fsync_no" = "xundef"; then
    im_nosync="yes"
  else


Mew-dist メーリングリストの案内