[Momonga-devel.ja:00565] Re: gcc-3.2 環境で作れてないものリスト (libesmtp)
- From: TAKAHASHI Tamotsu <tamo@xxxxxxxxxxxxxxxxx>
- Date: Wed, 9 Oct 2002 23:01:22 +0900
tamo です。
On Tue, 08 Oct 2002, YAMAZAKI Makoto wrote:
> > libesmtp LIBOBJS 使っている問題
GCC3 ブランチを追っていないのでわかりませんが
configure.in の LIBOBJS -> AC_LIBOBJ だけなら、
添付のパッチを使ってください。
# 「そんな簡単なことのわけねーだろ」という場合は
# 無視してください。すみません。
--
tamo <ttakah@xxxxxxxxxxxxxxxxx>
--- configure.in~ Wed Oct 9 22:45:41 2002
+++ configure.in Wed Oct 9 22:50:10 2002
@@ -230,7 +230,7 @@
if test x$enable_emulate_getaddrinfo != xyes ; then
AC_MSG_ERROR([getaddrinfo not found: try --with-lwres or --enable-emulate-getaddrinfo])
fi
- LIBOBJS="$LIBOBJS getaddrinfo.o"
+ AC_LIBOBJ="$AC_LIBOBJ getaddrinfo.o"
fi
if test x"$enable_emulate_getaddrinfo" != xno ; then
@@ -258,7 +258,7 @@
AC_SEARCH_LIBS(gethostbyname, resolv bind nsl, ,
[AC_MSG_ERROR([cannot find gethostbyname])])
fi
- LIBOBJS="$LIBOBJS gethostbyname.o"
+ AC_LIBOBJ="$AC_LIBOBJ gethostbyname.o"
AC_CACHE_CHECK([for IPv6 support], acx_cv_sys_use_ipv6, [
AC_TRY_COMPILE([
@@ -561,7 +561,7 @@
dnl #########################################################################
dnl Check that snprintf works correctly.
dnl #########################################################################
-ACX_SNPRINTF(,[LIBOBJS="$LIBOBJS snprintf.o"])
+ACX_SNPRINTF(,[AC_LIBOBJ="$AC_LIBOBJ snprintf.o"])
dnl #########################################################################
dnl Make substitutions
@@ -576,7 +576,7 @@
AC_SUBST(RANLIB)
AC_SUBST(subdirs)
-LTLIBOBJS=`echo "$LIBOBJS" | sed ['s/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/']`
+LTLIBOBJS=`echo "$AC_LIBOBJ" | sed ['s/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/']`
AC_SUBST(LTLIBOBJS)
LTALLOCA=`echo "$ALLOCA" | sed ['s/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/']`
AC_SUBST(LTALLOCA)