Github user zwoop commented on the issue:

    https://github.com/apache/trafficserver/pull/1393
  
    Nice catch on AC_SEARCH_LIBS! Question, i wonder if we do this wrong in 
other places? Are we adding things to LIBS when we shouldn't?
    
    There are several places where we do things like:
    
    ```
      AC_SEARCH_LIBS([lzma_code], [lzma], [lzma_have_libs=1])
      if test "$lzma_have_libs" != "0"; then
        AC_CHECK_HEADERS(lzma.h, [lzma_have_headers=1])
      fi
      if test "$lzma_have_headers" != "0"; then
        AC_SUBST(LIBLZMA, [-llzma])
      else
        enable_lzma=no
        CPPFLAGS=$saved_cppflags
        LDFLAGS=$saved_ldflags
      fi
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to