Changeset 14408 for trunk/configure.ac


Ignore:
Timestamp:
Dec 27, 2014, 11:33:51 PM (7 years ago)
Author:
mikedld
Message:

#5805: Use bundled libutp by default if no system libutp found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r14407 r14408  
    221221  [have_utp="no"]
    222222)
    223 LIBS=$ac_save_LIBS
     223LIBS="$ac_save_LIBS"
     224
     225if test "x$have_utp" = "xyes" -o "x$CXX" != "x"; then
     226    want_utp_default="yes"
     227else
     228    want_utp_default="no"
     229fi
    224230
    225231AC_ARG_ENABLE([utp],
    226232              AS_HELP_STRING([--enable-utp],[build µTP support]),
    227233              [want_utp=${enableval}],
    228               [want_utp=${have_utp}])
     234              [want_utp=${want_utp_default}])
    229235if test "x$want_utp" = "xyes"; then
    230236    if test "x$have_utp" = "xyes"; then
Note: See TracChangeset for help on using the changeset viewer.