components/w3m/patches/02-autobits.patch
changeset 3680 4dc408325e7e
child 3995 7d35330d300c
equal deleted inserted replaced
3675:7879bc79abbf 3680:4dc408325e7e
       
     1 #
       
     2 # Use AC_W3M_SSL and AC_W3M_DIGEST_AUTH from acinclude.m4 instead of the
       
     3 # combined version in aclocal.m4, which gets overwritten when aclocal is run.
       
     4 #
       
     5 # Check for floor() instead of sqrt() to decide if we need libm
       
     6 #
       
     7 # use $(INSTALL) -d instead of @MKINSTALLDIR@ in po/Makefile...
       
     8 #
       
     9 # This patch needs to be evaluated to see if it needs to be passed upstream.
       
    10 
       
    11 --- w3m-0.5.2.orig/configure.ac	Thu May 31 07:17:05 2007
       
    12 +++ w3m-0.5.2/configure.ac	Thu Dec  4 09:51:48 2014
       
    13 @@ -88,10 +88,11 @@
       
    14  done
       
    15  
       
    16  AC_W3M_IPv6
       
    17 -AC_W3M_SSL_DIGEST_AUTH
       
    18 +AC_W3M_SSL
       
    19 +AC_W3M_DIGEST_AUTH
       
    20  
       
    21  dnl Checks for libraries.
       
    22 -AC_CHECK_FUNC(sqrt,,[AC_CHECK_LIB(m, sqrt)])
       
    23 +AC_CHECK_FUNC(floor,,[AC_CHECK_LIB(m, floor)])
       
    24  if test x"$enable_mouse" = xyes; then
       
    25   AC_SUBST(USE_W3M)
       
    26   AC_CHECK_LIB(gpm, Gpm_Open, [AC_DEFINE(USE_GPM)
       
    27 
       
    28 
       
    29 --- w3m-0.5.2.orig/po/Makefile.in.in	Tue May 29 22:15:13 2007
       
    30 +++ w3m-0.5.2/po/Makefile.in.in	Thu Dec  4 09:57:40 2014
       
    31 @@ -27,8 +27,7 @@
       
    32  
       
    33  INSTALL = @INSTALL@
       
    34  INSTALL_DATA = @INSTALL_DATA@
       
    35 -MKINSTALLDIRS = @MKINSTALLDIRS@
       
    36 -mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
       
    37 +mkinstalldirs = $(INSTALL) -d
       
    38  
       
    39  GMSGFMT = @GMSGFMT@
       
    40  MSGFMT = @MSGFMT@