|
sylpheed-jp:504
From: kotobuki <FZE01202@xxxxxxxxxx> こんばんわ、ことぶき@春日部です。 いまだにcompface()が使えていないんですが、 > headerview.c と同じように include すれば OK だと思うんですが。 > 多分 configure は関係ないと思います。 headerview.c と同じように include したのですが、ダメでした。 下にconfigure.in と configure の一部を添付しましたが、-lcompface される のは uncompface() だけで、compface() は使えないのでは? 因みに configure.in の AC_CHECK_LIB(compface, uncompface) を AC_CHECK_LIB(compface, compface) ^^^^^^^^ として ./autogen.sh すると configure の uncompface の箇所が compface に置き換わりますが、makeすると HAVE_LIBCOMPFACEが成立しないのか既に受信していたメールでこれまで表示できて いたX-Faceまでが表示されなくなります。 ちょっとお手上げ状態ですが、なにかアドバイス有りましたら教えていただけませんか。 長いメールになって申し訳有りません ************ configure.in の一部 ************** dnl Check for X-Face support AC_ARG_ENABLE(compface, [ --disable-compface Do not use compface (X-Face)], [ac_cv_disable_compface=disable], [ac_cv_disable_compface=no]) if test "$ac_cv_disable_compface" = no; then AC_CHECK_LIB(compface, uncompface) fi ************ ここまで ************************* ************ configure の一部 ***************** # Check whether --enable-compface or --disable-compface was given. if test "${enable_compface+set}" = set; then enableval="$enable_compface" ac_cv_disable_compface=disable else ac_cv_disable_compface=no fi if test "$ac_cv_disable_compface" = no; then echo $ac_n "checking for uncompface in -lcompface""... $ac_c" 1>&6 echo "configure:5284: checking for uncompface in -lcompface" >&5 ac_lib_var=`echo compface'_'uncompface | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lcompface $LIBS" cat > conftest.$ac_ext <<EOF #line 5292 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char uncompface(); int main() { uncompface() ; return 0; } EOF if { (eval echo configure:5303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo compface | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <<EOF #define $ac_tr_lib 1 EOF LIBS="-lcompface $LIBS" else echo "$ac_t""no" 1>&6 fi fi ************ ここまで ************************* -- KOTOBUKI kiyoshige Saitama Japan e-mail : kiyoshige.kotobuki@xxxxxxxxxx FZE01202@xxxxxxxxxx URL : http://homepage2.nifty.com/suisyaya/ @ 454 2001-04-01 17:41 [FZE01202@xxxxxxxxxx ] X-Face を付けてみました 455 2001-04-01 21:55 ┗[hiro-y@xxxxxxxxxx ] 456 2001-04-02 00:22 ┣[FZE01202@xxxxxxxxxx ] 457 2001-04-02 23:57 ┃┗[FZE01202@xxxxxxxxxx ] -> 504 2001-05-04 04:17 ┗[FZE01202@xxxxxxxxxx ] |