~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_intltool.m4

Merge Monty to make intltool optional

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
45
45
    ]
46
46
    AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
47
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || AC_MSG_WARN([Your intltool is too old.  You need intltool $1 or later.])
 
47
    AS_IF([test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"],[
 
48
      pandora_have_intltool=yes
 
49
    ],[
 
50
      pandora_have_intltool=no
 
51
      AC_MSG_WARN([Your intltool is too old.  You need intltool $1 or later.])
 
52
    ])
48
53
fi
49
54
 
50
55
AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])