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

[mgp-users-jp 00827] Re: libVFlib*.so* check, minor fix in mgp.man and others



From: Fumitoshi UKAI <ukai@debian.or.jp>
Subject: [mgp-users-jp 00826] Re: libVFlib*.so* check, minor fix in mgp.man and others
Date: Mon, 21 May 2001 18:36:49 +0900
Message-ID: <>

>> そもそもconfigureで見つけるべきなのは libVFlib2.{so,a} であって 
>> libVFlib2.so.* ではないのではないのですか? というのが元のメールの内容です。

ええと、そういう対応をするよりも、header fileが見付からなかった場合には、
vflibをリンクしないという様にすればいいですよね?

で、本来、mgpの configureはこういう風にしようと思って作っていたのですが、
/usr/lib/以下に VFlibのライブラリがある場合にのみ、チェックが甘くなって
いました。このパッチで直ると思います。

*** configure.in.orig	Mon May 21 20:05:30 2001
--- configure.in	Mon May 21 20:05:52 2001
***************
*** 182,188 ****
  			break
  		fi
  	done
! 	if test "$ac_cv_vf_libdir" = "no" -a "$ac_cv_vf_hdrdir" = "no"; then
  		AC_MSG_RESULT(no - not using VFlib)
  		mgp_use_vflib=no
  	else
--- 182,188 ----
  			break
  		fi
  	done
! 	if test "$ac_cv_vf_libdir" = "no" -o "$ac_cv_vf_hdrdir" = "no"; then
  		AC_MSG_RESULT(no - not using VFlib)
  		mgp_use_vflib=no
  	else

--
ソニーコンピュータサイエンス研究所
西田佳史 nishida@csl.sony.co.jp