summaryrefslogtreecommitdiff
blob: 21d62a5508dcd6f28592143fe3ea628f657f7114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
From 8d1b50c5c8441a24bb5b6c38637155ebe2976c06 Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <eva@gentoo.org>
Date: Tue, 14 Jul 2009 19:57:25 +0200
Subject: [PATCH] Fix bashism

---
 configure.in |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.in b/configure.in
index d9c0bf4..11f3705 100644
--- a/configure.in
+++ b/configure.in
@@ -61,7 +61,7 @@ PKG_CHECK_MODULES(PANGOVERSION, pango >= 1.8.0, ,
 
 AC_ARG_WITH(freetype,
 [  --without-freetype        compile without FreeType support],,with_freetype=yes)
-if test "x$with_freetype" == "xyes"; then
+if test "x$with_freetype" = "xyes"; then
 PKG_CHECK_MODULES(PANGOFT2,pangoft2,have_pangoft2=true,have_pangoft2=false)
 if test "$have_pangoft2" = "true"; then
   dnl On Solaris with Forte C, at least, need to link app/dia with -lfreetype.
@@ -149,7 +149,7 @@ AM_CONDITIONAL(WITH_CAIRO, test "x$with_cairo" != "xno")
 
 dnl with gtk+ >= 2.8 this is no longer optional
 PKG_CHECK_MODULES(PANGOCAIRO,pangocairo, pangocairo_ok=yes, pangocairo_ok=no)
-if test "x$pangocairo_ok" == "xyes"; then
+if test "x$pangocairo_ok" = "xyes"; then
   AC_DEFINE(HAVE_PANGOCAIRO_H,1,[Defined to render text with pangocairo not cairos toy API])
 fi
 
@@ -260,7 +260,7 @@ AC_SUBST(GETTEXT_PACKAGE)
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Needed for glib gettext])
 
 AC_CHECK_PROG(XGETTEXT, xgettext, xgettext, none)
-if test "$XGETTEXT" == none ; then
+if test "$XGETTEXT" = none ; then
    AC_MSG_ERROR([xgettext program not found: $XGETTEXT.])
 fi
 
@@ -487,14 +487,14 @@ dnl
 dnl use jw only if we don't find dblatex
 dnl
 AC_PATH_PROG(JW,jw,no)
-if  test "x$dblatex" == "xno"; then
+if  test "x$dblatex" = "xno"; then
  AM_CONDITIONAL(WITH_JW, test "x$jw" != "xno")	
 else
  AM_CONDITIONAL(WITH_JW, test "xno" != "xno")
 fi
 hardbook_ok=no
 xsltproc_ok=no
-if test "x$with_hardbooks" == "xno"; then
+if test "x$with_hardbooks" = "xno"; then
   AM_CONDITIONAL(WITH_JW, test "xno" != "xno")
   AM_CONDITIONAL(WITH_HTMLDOC, test "xno" != "xno")
   AM_CONDITIONAL(WITH_PDFDOC, test "xno" != "xno")
-- 
1.6.3.3