Changeset 13005 for branches


Ignore:
Timestamp:
Oct 20, 2011, 1:12:45 AM (10 years ago)
Author:
jordan
Message:

(2.4x) backport #4990 "Transmission 2.40b1 fails to build: undefined references"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4x/configure.ac

    r12951 r13005  
    7171AC_PROG_CC
    7272AC_PROG_CXX
     73AC_CHECK_PROG([HAVE_CXX],[$CXX],[yes],[no])
    7374AC_C_INLINE
    7475if test "x$GCC" = "xyes" ; then
     
    206207AC_MSG_CHECKING([µTP])
    207208build_utp="no"
    208 if test "x$CXX" = "x" ; then
     209if test "x$HAVE_CXX" = "xyes" ; then
     210    have_utp="yes"
     211else
    209212    have_utp="no"
    210 else
    211     have_utp="yes"
    212213fi
    213214AC_ARG_ENABLE([utp],
     
    219220        LIBUTP_CFLAGS="-I\$(top_srcdir)/third-party/"
    220221        LIBUTP_LIBS="\$(top_builddir)/third-party/libutp/libutp.a"
    221         if test "x$libutp_extra_libs" != "x" ; then
    222            LIBUTP_LIBS="$LIBUTP_LIBS $libutp_extra_libs"
    223         fi
     222        if test "x$libutp_extra_libs" != "x" ; then
     223            LIBUTP_LIBS="$LIBUTP_LIBS $libutp_extra_libs"
     224        fi
    224225        AC_DEFINE([WITH_UTP],[1])
    225226        build_utp="yes"
Note: See TracChangeset for help on using the changeset viewer.