source: packages/net/weechat/patches/004-automake-compat.patch @ 25350

Last change on this file since 25350 was 25350, checked in by jow, 5 years ago

[packages] weechat: fix autoreconf

File size: 1.7 KB
  • configure.in

    a b fi 
    176176#    WXWIDGETS_LIBS="" 
    177177#fi 
    178178 
    179 if test "x$enable_gtk" = "xyes" ; then 
    180     AM_PATH_GTK_2_0(2.4.0, LIBGTK_FOUND=1, LIBGTK_FOUND=0) 
    181     if test "$LIBGTK_FOUND" = "0" ; then 
    182         AC_MSG_WARN([ 
    183 *** Gtk library not found! 
    184 *** WeeChat will be built without Gtk support.]) 
    185         enable_gtk="no" 
    186         not_found="$not_found gtk" 
    187     else 
    188         GTK_CFLAGS=`pkg-config --cflags gtk+-2.0` 
    189         GTK_LIBS=`pkg-config --libs gtk+-2.0` 
    190         AC_SUBST(GTK_CFLAGS) 
    191         AC_SUBST(GTK_LIBS) 
    192     fi 
    193 fi 
     179enable_gtk="no" 
    194180 
    195181# ------------------------------------------------------------------------------ 
    196182#                                  iconv 
    fi 
    586572# ------------------------------------------------------------------------------ 
    587573 
    588574if test "x$enable_gnutls" = "xyes" ; then 
    589     found_gnutls="no" 
    590     AM_PATH_LIBGNUTLS( 1.0.0, found_gnutls=yes, AC_MSG_WARN([[ 
    591 *** libgnutls was not found. You may want to get it from ftp://ftp.gnutls.org/pub/gnutls/ 
    592 *** WeeChat will be built without GnuTLS support.]])) 
    593     if test "x$found_gnutls" = "xyes" ; then 
    594         GNUTLS_CFLAGS=`libgnutls-config --cflags` 
    595         GNUTLS_LFLAGS=`libgnutls-config --libs` 
    596         AC_SUBST(GNUTLS_CFLAGS) 
    597         AC_SUBST(GNUTLS_LFLAGS) 
    598         AC_DEFINE(HAVE_GNUTLS) 
    599     else 
    600         enable_gnutls="no" 
    601         not_found="$not_found gnutls" 
    602     fi 
     575    GNUTLS_CFLAGS=`pkg-config --cflags gnutls` 
     576    GNUTLS_LFLAGS=`pkg-config --libs gnutls` 
     577    AC_SUBST(GNUTLS_CFLAGS) 
     578    AC_SUBST(GNUTLS_LFLAGS) 
     579    AC_DEFINE(HAVE_GNUTLS) 
    603580fi 
    604581 
    605582# ------------------------------------------------------------------------------ 
Note: See TracBrowser for help on using the repository browser.