]> Pileus Git - ~andy/gtk/commitdiff
Fix up the freetype checking logic. Suppress suprious "no" with
authorManish Singh <yosh@gimp.org>
Wed, 6 Mar 2002 01:07:44 +0000 (01:07 +0000)
committerManish Singh <yosh@src.gnome.org>
Wed, 6 Mar 2002 01:07:44 +0000 (01:07 +0000)
2002-03-05  Manish Singh  <yosh@gimp.org>

        * configure.in: Fix up the freetype checking logic. Suppress
        suprious "no" with --disable-modules.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in

index 67e15dd173139a689f71bff5474a86d0bd86edf4..9f307060774f0f25d3a7a915e376095da9579343 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-05  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: Fix up the freetype checking logic. Suppress
+       suprious "no" with --disable-modules.
+
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
index 67e15dd173139a689f71bff5474a86d0bd86edf4..9f307060774f0f25d3a7a915e376095da9579343 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-05  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: Fix up the freetype checking logic. Suppress
+       suprious "no" with --disable-modules.
+
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
index 67e15dd173139a689f71bff5474a86d0bd86edf4..9f307060774f0f25d3a7a915e376095da9579343 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-05  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: Fix up the freetype checking logic. Suppress
+       suprious "no" with --disable-modules.
+
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
index 67e15dd173139a689f71bff5474a86d0bd86edf4..9f307060774f0f25d3a7a915e376095da9579343 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-05  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: Fix up the freetype checking logic. Suppress
+       suprious "no" with --disable-modules.
+
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
index 67e15dd173139a689f71bff5474a86d0bd86edf4..9f307060774f0f25d3a7a915e376095da9579343 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-05  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: Fix up the freetype checking logic. Suppress
+       suprious "no" with --disable-modules.
+
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
index 67e15dd173139a689f71bff5474a86d0bd86edf4..9f307060774f0f25d3a7a915e376095da9579343 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-05  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: Fix up the freetype checking logic. Suppress
+       suprious "no" with --disable-modules.
+
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
index 67e15dd173139a689f71bff5474a86d0bd86edf4..9f307060774f0f25d3a7a915e376095da9579343 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-05  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: Fix up the freetype checking logic. Suppress
+       suprious "no" with --disable-modules.
+
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
 2002-03-06  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
index 1fbc353a6edcb7e2355a5431d79e9057f6fe673f..7e6d5800813a8f1c6ef417123feb6d06d88ac8a5 100644 (file)
@@ -592,27 +592,27 @@ else
     for I in $tmp; do
         dynworks=$I
     done
     for I in $tmp; do
         dynworks=$I
     done
-fi
 
 
-dnl Now we check to see if our libtool supports shared lib deps
-dnl (in a rather ugly way even)
-if $dynworks; then
-   pixbuf_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
-   pixbuf_deplibs_check=`$pixbuf_libtool_config | \
-      grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \
-      sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'`
-   if test "x$pixbuf_deplibs_check" = "xnone" || \
-      test "x$pixbuf_deplibs_check" = "xunknown" || \
-      test "x$pixbuf_deplibs_check" = "x"; then
-      dynworks=false
-   fi
-fi
+    dnl Now we check to see if our libtool supports shared lib deps
+    dnl (in a rather ugly way even)
+    if $dynworks; then
+        pixbuf_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
+        pixbuf_deplibs_check=`$pixbuf_libtool_config | \
+            grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \
+            sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'`
+        if test "x$pixbuf_deplibs_check" = "xnone" || \
+           test "x$pixbuf_deplibs_check" = "xunknown" || \
+           test "x$pixbuf_deplibs_check" = "x"; then
+            dynworks=false
+        fi
+    fi
 
 
-if $dynworks; then
-   AC_DEFINE(USE_GMODULE)
-   AC_MSG_RESULT(yes)
-else
-   AC_MSG_RESULT(no)
+    if $dynworks; then
+        AC_DEFINE(USE_GMODULE)
+        AC_MSG_RESULT(yes)
+    else
+        AC_MSG_RESULT(no)
+    fi
 fi
 
 dnl We allow people to disable image loaders explicitely, but if they don't we error
 fi
 
 dnl We allow people to disable image loaders explicitely, but if they don't we error
@@ -850,7 +850,7 @@ GDK_EXTRA_CFLAGS=
 
 FREETYPE_LIBS=
 FREETYPE_CFLAGS=
 
 FREETYPE_LIBS=
 FREETYPE_CFLAGS=
-if test "x$gdktarget" = "xlinux-fb" || test "x$gdktarget" = "x11" ; then
+if test "x$gdktarget" = "xlinux-fb" || test "x$gdktarget" = "xx11" ; then
   #
   # Checks for FreeType
   #
   #
   # Checks for FreeType
   #
@@ -872,8 +872,8 @@ if test "x$gdktarget" = "xlinux-fb" || test "x$gdktarget" = "x11" ; then
 #include <freetype/freetype.h>
 #include FT_ERRORS_H
     ],
 #include <freetype/freetype.h>
 #include FT_ERRORS_H
     ],
-                    [(void)1;],:,have_freetype=yes)
-      if test x$have_freetype = xyes ; then
+                    [(void)1;],:,have_freetype=false)
+      if $have_freetype ; then
         AC_MSG_RESULT(yes)
       else
         AC_MSG_RESULT(no)
         AC_MSG_RESULT(yes)
       else
         AC_MSG_RESULT(no)
@@ -898,7 +898,9 @@ if test "x$gdktarget" = "xx11"; then
     PANGO_PACKAGES="pangox pangoxft"
     have_xft=true
     AC_DEFINE(HAVE_XFT)
     PANGO_PACKAGES="pangox pangoxft"
     have_xft=true
     AC_DEFINE(HAVE_XFT)
-    if x$have_freetype != xyes ; then
+    if $have_freetype ; then
+      :
+    else
       AC_MSG_ERROR([pangoxft Pango backend found but did not find freetype libraries])
     fi
   else
       AC_MSG_ERROR([pangoxft Pango backend found but did not find freetype libraries])
     fi
   else
@@ -1145,7 +1147,9 @@ AC_SUBST(GDK_PIXBUF_XLIB_DEP_LIBS)
 AC_SUBST(GDK_PIXBUF_XLIB_DEP_CFLAGS)
 
 if test "x$gdktarget" = "xlinux-fb"; then
 AC_SUBST(GDK_PIXBUF_XLIB_DEP_CFLAGS)
 
 if test "x$gdktarget" = "xlinux-fb"; then
-  if test x$have_freetype != xyes ; then
+  if $have_freetype ; then
+    :
+  else
     AC_MSG_ERROR([Using linux-fb backend but freetype was not found])
   fi
 
     AC_MSG_ERROR([Using linux-fb backend but freetype was not found])
   fi