Changeset 12954 for trunk/configure.ac


Ignore:
Timestamp:
Oct 8, 2011, 11:53:27 PM (10 years ago)
Author:
jordan
Message:

(trunk) #4490 "Transmission 2.40b1 fails to build: undefined references" -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r12952 r12954  
    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],
     
    410411                 third-party/miniupnp/Makefile
    411412                 third-party/libnatpmp/Makefile
    412                  third-party/libutp/Makefile
    413413                 third-party/dht/Makefile
    414414                 macosx/Makefile
     
    425425                 po/Makefile.in])
    426426
     427dnl Maybe build libutp...
     428AM_CONDITIONAL([CONDITIONAL],[test "x$build_utp" = "xyes"])
     429AM_COND_IF([CONDITIONAL],
     430           [AC_CONFIG_FILES([third-party/libutp/Makefile])])
     431
    427432AC_OUTPUT
    428433
Note: See TracChangeset for help on using the changeset viewer.