Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/w3m-0.5.3+git20190105.local.patch

Lucio Andrés Illanes Albornoz e8178a
--- w3m-0.5.3-git20190105/configure.orig	2019-01-05 08:41:27.000000000 +0000
Lucio Andrés Illanes Albornoz 4c36e9
+++ w3m-0.5.3-git20190105/configure	2020-03-27 20:42:51.539079131 +0000
Lucio Andrés Illanes Albornoz 4c36e9
@@ -6798,215 +6798,20 @@
Lucio Andrés Illanes Albornoz 4c36e9
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_imagelib" >&5
Lucio Andrés Illanes Albornoz 4c36e9
 $as_echo "$with_imagelib" >&6; }
Lucio Andrés Illanes Albornoz 4c36e9
   with_imlib=no
Lucio Andrés Illanes Albornoz 4c36e9
-  with_imlib2=no
Lucio Andrés Illanes Albornoz 4c36e9
+  with_imlib2=yes
Lucio Andrés Illanes Albornoz 4c36e9
   with_gdkpixbuf=no
Lucio Andrés Illanes Albornoz 4c36e9
   with_gtk2=no
Lucio Andrés Illanes Albornoz 4c36e9
-  for imagelib in $with_imagelib
Lucio Andrés Illanes Albornoz 4c36e9
-  do
Lucio Andrés Illanes Albornoz 4c36e9
-   case "$imagelib" in
Lucio Andrés Illanes Albornoz 4c36e9
-   imlib)
Lucio Andrés Illanes Albornoz 4c36e9
-     with_imlib="yes"
Lucio Andrés Illanes Albornoz 4c36e9
-     if test x"$IMLIB_CONFIG" = x; then
Lucio Andrés Illanes Albornoz 4c36e9
-       IMLIB_CONFIG=imlib-config
Lucio Andrés Illanes Albornoz 4c36e9
-     fi;;
Lucio Andrés Illanes Albornoz 4c36e9
-   imlib2)
Lucio Andrés Illanes Albornoz 4c36e9
-     with_imlib2="yes"
Lucio Andrés Illanes Albornoz 4c36e9
-     if test x"$PKG_CONFIG" = x; then
Lucio Andrés Illanes Albornoz 4c36e9
-       PKG_CONFIG=pkg-config
Lucio Andrés Illanes Albornoz 4c36e9
-     fi
Lucio Andrés Illanes Albornoz 4c36e9
-     if test x"$IMLIB2_CONFIG" = x; then
Lucio Andrés Illanes Albornoz 4c36e9
-       IMLIB2_CONFIG=imlib2-config
Lucio Andrés Illanes Albornoz 4c36e9
-     fi;;
Lucio Andrés Illanes Albornoz 4c36e9
-   gdk-pixbuf)
Lucio Andrés Illanes Albornoz 4c36e9
-     with_gdkpixbuf="yes"
Lucio Andrés Illanes Albornoz 4c36e9
-     if test x"$GDKPIXBUF_CONFIG" = x; then
Lucio Andrés Illanes Albornoz 4c36e9
-       GDKPIXBUF_CONFIG=gdk-pixbuf-config
Lucio Andrés Illanes Albornoz 4c36e9
-     fi;;
Lucio Andrés Illanes Albornoz 4c36e9
-   gtk2)
Lucio Andrés Illanes Albornoz 4c36e9
-     with_gtk2="yes"
Lucio Andrés Illanes Albornoz 4c36e9
-     if test x"$PKG_CONFIG" = x; then
Lucio Andrés Illanes Albornoz 4c36e9
-       PKG_CONFIG=pkg-config
Lucio Andrés Illanes Albornoz 4c36e9
-     fi;;
Lucio Andrés Illanes Albornoz 4c36e9
-   esac
Lucio Andrés Illanes Albornoz 4c36e9
-  done
Lucio Andrés Illanes Albornoz 4c36e9
+
Lucio Andrés Illanes Albornoz 4c36e9
+  have_imlib2="yes"
Lucio Andrés Illanes Albornoz 4c36e9
   IMGTARGETS=""
Lucio Andrés Illanes Albornoz 4c36e9
   IMGLINK='$(CC)'
Lucio Andrés Illanes Albornoz 4c36e9
-  if test x"$with_gtk2" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-   version="`$PKG_CONFIG --modversion gdk-pixbuf-2.0 2>/dev/null`"
Lucio Andrés Illanes Albornoz 4c36e9
- if test x"$version" != x; then
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking GdkPixbuf version" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo_n "checking GdkPixbuf version... " >&6; }
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$version" >&6; }
Lucio Andrés Illanes Albornoz 4c36e9
-   set -- `echo "$version" | sed 's/[^0-9]/ /g'`
Lucio Andrés Illanes Albornoz 4c36e9
-   if test "$1" -ne "2" -o "$2" -lt "0" || test "$2" -eq "0" -a "$3" -lt "0"; then
Lucio Andrés Illanes Albornoz 4c36e9
-     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GdkPixbuf is too old. Install GdkPixbuf (version >= 2.0.0)" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$as_me: WARNING: GdkPixbuf is too old. Install GdkPixbuf (version >= 2.0.0)" >&2;}
Lucio Andrés Illanes Albornoz 4c36e9
-     have_gdkpixbuf="no"; have_gtk2="no"
Lucio Andrés Illanes Albornoz 4c36e9
-   else
Lucio Andrés Illanes Albornoz 4c36e9
-     have_gdkpixbuf="yes"; have_gtk2="yes"
Lucio Andrés Illanes Albornoz 4c36e9
-   fi
Lucio Andrés Illanes Albornoz 4c36e9
- else
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GdkPixbuf is not installed.  Install GdkPixbuf (version >= 2.0.0)" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$as_me: WARNING: GdkPixbuf is not installed.  Install GdkPixbuf (version >= 2.0.0)" >&2;}
Lucio Andrés Illanes Albornoz 4c36e9
-   have_gdkpixbuf="no"; have_gtk2="no"
Lucio Andrés Illanes Albornoz 4c36e9
- fi
Lucio Andrés Illanes Albornoz 4c36e9
-  fi
Lucio Andrés Illanes Albornoz 4c36e9
-  if test x"$with_gdkpixbuf" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-   if test x"$have_gdkpixbuf" != xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-    version="`$GDKPIXBUF_CONFIG --version 2>/dev/null`"
Lucio Andrés Illanes Albornoz 4c36e9
- if test x"$version" != x; then
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking GdkPixbuf version" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo_n "checking GdkPixbuf version... " >&6; }
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$version" >&6; }
Lucio Andrés Illanes Albornoz 4c36e9
-   set -- `echo "$version" | sed 's/[^0-9]/ /g'`
Lucio Andrés Illanes Albornoz 4c36e9
-   if test "$1" -ne "0" -o "$2" -lt "16" || test "$2" -eq "16" -a "$3" -lt "0"; then
Lucio Andrés Illanes Albornoz 4c36e9
-     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GdkPixbuf is too old. Install GdkPixbuf (version >= 0.16.0)" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$as_me: WARNING: GdkPixbuf is too old. Install GdkPixbuf (version >= 0.16.0)" >&2;}
Lucio Andrés Illanes Albornoz 4c36e9
-     have_gdkpixbuf="no"
Lucio Andrés Illanes Albornoz 4c36e9
-   else
Lucio Andrés Illanes Albornoz 4c36e9
-     have_gdkpixbuf="yes"
Lucio Andrés Illanes Albornoz 4c36e9
-   fi
Lucio Andrés Illanes Albornoz 4c36e9
- else
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GdkPixbuf is not installed.  Install GdkPixbuf (version >= 0.16.0)" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$as_me: WARNING: GdkPixbuf is not installed.  Install GdkPixbuf (version >= 0.16.0)" >&2;}
Lucio Andrés Illanes Albornoz 4c36e9
-   have_gdkpixbuf="no"
Lucio Andrés Illanes Albornoz 4c36e9
- fi
Lucio Andrés Illanes Albornoz 4c36e9
-   fi
Lucio Andrés Illanes Albornoz 4c36e9
-  fi
Lucio Andrés Illanes Albornoz 4c36e9
-  if test x"$with_imlib" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-   version="`$IMLIB_CONFIG --version 2>/dev/null`"
Lucio Andrés Illanes Albornoz 4c36e9
- if test x"$version" != x; then
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Imlib version" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo_n "checking Imlib version... " >&6; }
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$version" >&6; }
Lucio Andrés Illanes Albornoz 4c36e9
-   set -- `echo "$version" | sed 's/[^0-9]/ /g'`
Lucio Andrés Illanes Albornoz 4c36e9
-   if test "$1" -ne "1" -o "$2" -lt "9" || test "$2" -eq "9" -a "$3" -lt "8"; then
Lucio Andrés Illanes Albornoz 4c36e9
-     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Imlib is too old. Install Imlib (version >= 1.9.8)" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$as_me: WARNING: Imlib is too old. Install Imlib (version >= 1.9.8)" >&2;}
Lucio Andrés Illanes Albornoz 4c36e9
-     have_imlib="no"
Lucio Andrés Illanes Albornoz 4c36e9
-   else
Lucio Andrés Illanes Albornoz 4c36e9
-     have_imlib="yes"
Lucio Andrés Illanes Albornoz 4c36e9
-   fi
Lucio Andrés Illanes Albornoz 4c36e9
- else
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Imlib is not installed.  Install Imlib (version >= 1.9.8)" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$as_me: WARNING: Imlib is not installed.  Install Imlib (version >= 1.9.8)" >&2;}
Lucio Andrés Illanes Albornoz 4c36e9
-   have_imlib="no"
Lucio Andrés Illanes Albornoz 4c36e9
- fi
Lucio Andrés Illanes Albornoz 4c36e9
-  fi
Lucio Andrés Illanes Albornoz 4c36e9
-  if test x"$with_imlib2" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-   version="`$IMLIB2_CONFIG --version 2>/dev/null`"
Lucio Andrés Illanes Albornoz 4c36e9
- if test x"$version" != x; then
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Imlib2 version" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo_n "checking Imlib2 version... " >&6; }
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$version" >&6; }
Lucio Andrés Illanes Albornoz 4c36e9
-   set -- `echo "$version" | sed 's/[^0-9]/ /g'`
Lucio Andrés Illanes Albornoz 4c36e9
-   if test "$1" -ne "1" -o "$2" -lt "0" || test "$2" -eq "0" -a "$3" -lt "5"; then
Lucio Andrés Illanes Albornoz 4c36e9
-     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Imlib2 is too old. Install Imlib2 (version >= 1.0.5)" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$as_me: WARNING: Imlib2 is too old. Install Imlib2 (version >= 1.0.5)" >&2;}
Lucio Andrés Illanes Albornoz 4c36e9
-     have_imlib2="no"
Lucio Andrés Illanes Albornoz 4c36e9
-   else
Lucio Andrés Illanes Albornoz 4c36e9
-     have_imlib2="yes"
Lucio Andrés Illanes Albornoz 4c36e9
-   fi
Lucio Andrés Illanes Albornoz 4c36e9
- else
Lucio Andrés Illanes Albornoz 4c36e9
-   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Imlib2 is not installed.  Install Imlib2 (version >= 1.0.5)" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$as_me: WARNING: Imlib2 is not installed.  Install Imlib2 (version >= 1.0.5)" >&2;}
Lucio Andrés Illanes Albornoz 4c36e9
-   have_imlib2="no"
Lucio Andrés Illanes Albornoz 4c36e9
- fi
Lucio Andrés Illanes Albornoz 4c36e9
-  fi
Lucio Andrés Illanes Albornoz 4c36e9
-  if test x"$x11" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-   if test x"$have_gtk2" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGOBJS="$IMGOBJS x11/x11_w3mimg.o"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGTARGETS="x11"
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_GDKPIXBUF 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_GTK2 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGX11CFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0`"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGX11LDFLAGS="-lX11 `${PKG_CONFIG} --libs gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0`"
Lucio Andrés Illanes Albornoz 4c36e9
-   elif test x"$have_gdkpixbuf" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGOBJS="$IMGOBJS x11/x11_w3mimg.o"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGTARGETS="x11"
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_GDKPIXBUF 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGX11CFLAGS="`${GDKPIXBUF_CONFIG} --cflags`"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGX11LDFLAGS="`${GDKPIXBUF_CONFIG} --libs` -lgdk_pixbuf_xlib"
Lucio Andrés Illanes Albornoz 4c36e9
-   elif test x"$have_imlib" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGOBJS="$IMGOBJS x11/x11_w3mimg.o"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGTARGETS="x11"
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_IMLIB 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGX11CFLAGS="`${IMLIB_CONFIG} --cflags`"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGX11LDFLAGS="`${IMLIB_CONFIG} --libs`"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGTARGETS="x11"
Lucio Andrés Illanes Albornoz 4c36e9
-   elif test x"$have_imlib2" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGOBJS="$IMGOBJS x11/x11_w3mimg.o"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGTARGETS="x11"
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_IMLIB2 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGX11CFLAGS="`${IMLIB2_CONFIG} --cflags`"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGX11LDFLAGS="-lX11 `${PKG_CONFIG} --libs imlib2`"
Lucio Andrés Illanes Albornoz 4c36e9
-   else
Lucio Andrés Illanes Albornoz 4c36e9
-     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to build w3mimgdisplay with X11 support" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$as_me: WARNING: unable to build w3mimgdisplay with X11 support" >&2;}
Lucio Andrés Illanes Albornoz 4c36e9
-   fi
Lucio Andrés Illanes Albornoz 4c36e9
-  fi
Lucio Andrés Illanes Albornoz 4c36e9
-  if test x"$fb" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-   if test x"$have_gtk2" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_W3MIMG_FB 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGTARGETS="${IMGTARGETS} fb"
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_GDKPIXBUF 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_GTK2 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGFBCFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0`"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGFBLDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0`"
Lucio Andrés Illanes Albornoz 4c36e9
-   elif test x"$have_gdkpixbuf" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_W3MIMG_FB 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGTARGETS="${IMGTARGETS} fb"
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_GDKPIXBUF 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGFBCFLAGS="`${GDKPIXBUF_CONFIG} --cflags`"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGFBLDFLAGS="`${GDKPIXBUF_CONFIG} --libs`"
Lucio Andrés Illanes Albornoz 4c36e9
-   elif test x"$have_imlib2" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_W3MIMG_FB 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGTARGETS="${IMGTARGETS} fb"
Lucio Andrés Illanes Albornoz 4c36e9
-     $as_echo "#define USE_IMLIB2 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
-
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGFBCFLAGS="`${IMLIB2_CONFIG} --cflags`"
Lucio Andrés Illanes Albornoz 4c36e9
-     IMGFBLDFLAGS="`${PKG_CONFIG} --libs imlib2`"
Lucio Andrés Illanes Albornoz 4c36e9
-   else
Lucio Andrés Illanes Albornoz 4c36e9
-     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to build w3mimgdisplay with FB support" >&5
Lucio Andrés Illanes Albornoz 4c36e9
-$as_echo "$as_me: WARNING: unable to build w3mimgdisplay with FB support" >&2;}
Lucio Andrés Illanes Albornoz 4c36e9
-   fi
Lucio Andrés Illanes Albornoz 4c36e9
-  fi
Lucio Andrés Illanes Albornoz 4c36e9
-  if test x"$win" = xyes; then
Lucio Andrés Illanes Albornoz 4c36e9
-    $as_echo "#define USE_W3MIMG_WIN 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
+  $as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
+  IMGOBJS="$IMGOBJS x11/x11_w3mimg.o"
Lucio Andrés Illanes Albornoz 4c36e9
+  IMGTARGETS="x11"
Lucio Andrés Illanes Albornoz 4c36e9
+  $as_echo "#define USE_IMLIB2 1" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
+  IMGX11CFLAGS=""
Lucio Andrés Illanes Albornoz 4c36e9
+  IMGX11LDFLAGS="-lX11 -lImlib2"
Lucio Andrés Illanes Albornoz 4c36e9
 
Lucio Andrés Illanes Albornoz 4c36e9
-    IMGOBJS="$IMGOBJS win/win_w3mimg.o"
Lucio Andrés Illanes Albornoz 4c36e9
-    IMGTARGETS="${IMGTARGETS} win"
Lucio Andrés Illanes Albornoz 4c36e9
-    IMGWINCFLAGS="-I/usr/include/w32api"
Lucio Andrés Illanes Albornoz 4c36e9
-    IMGWINLDFLAGS="-lgdiplus -lgdi32 -luser32"
Lucio Andrés Illanes Albornoz 4c36e9
-    IMGLINK='$(CXX)'
Lucio Andrés Illanes Albornoz 4c36e9
-  fi
Lucio Andrés Illanes Albornoz 4c36e9
   $as_echo "#define IMGTARGETS \"\$IMGTARGETS\"" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
 
Lucio Andrés Illanes Albornoz 4c36e9
   $as_echo "#define IMGOBJS \"\$IMGOBJS\"" >>confdefs.h
Lucio Andrés Illanes Albornoz 4c36e9
@@ -7361,24 +7166,6 @@
Lucio Andrés Illanes Albornoz e8178a
 _ACEOF
Lucio Andrés Illanes Albornoz e8178a
 
Lucio Andrés Illanes Albornoz e8178a
 
Lucio Andrés Illanes Albornoz e8178a
-for lib in bsd BSD 44bsd socket nsl dld dl
Lucio Andrés Illanes Albornoz e8178a
-do
Lucio Andrés Illanes Albornoz e8178a
- lib=$lib
Lucio Andrés Illanes Albornoz e8178a
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -l$lib" >&5
Lucio Andrés Illanes Albornoz e8178a
-$as_echo_n "checking for -l$lib... " >&6; }
Lucio Andrés Illanes Albornoz e8178a
- extlib="not found"
Lucio Andrés Illanes Albornoz e8178a
- for dir in /lib /usr/lib /usr/local/lib /usr/ucblib /usr/ccslib /usr/ccs/lib /lib64 /usr/lib64
Lucio Andrés Illanes Albornoz e8178a
- do
Lucio Andrés Illanes Albornoz e8178a
-   if test -f $dir/lib$lib.a -o -f $dir/lib$lib.so ; then
Lucio Andrés Illanes Albornoz e8178a
-    LIBS="$LIBS -l$lib"
Lucio Andrés Illanes Albornoz e8178a
-    extlib="found at $dir"
Lucio Andrés Illanes Albornoz e8178a
-    break
Lucio Andrés Illanes Albornoz e8178a
-   fi
Lucio Andrés Illanes Albornoz e8178a
- done
Lucio Andrés Illanes Albornoz e8178a
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $extlib" >&5
Lucio Andrés Illanes Albornoz e8178a
-$as_echo "$extlib" >&6; }
Lucio Andrés Illanes Albornoz e8178a
-done
Lucio Andrés Illanes Albornoz e8178a
-
Lucio Andrés Illanes Albornoz e8178a
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support is enabled" >&5
Lucio Andrés Illanes Albornoz e8178a
 $as_echo_n "checking if IPv6 support is enabled... " >&6; }
Lucio Andrés Illanes Albornoz e8178a
 # Check whether --enable-ipv6 was given.