summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-15 18:24:10 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-15 18:24:10 +0200
commitdec896ca8ffa5e4ee06ae82bcabc067c81b8e153 (patch)
tree536a9f6eef34697e351e2a8202d28aeac4efccbc
parentef4669c5a58bc8d1c294c69e8641eaac2b5a49c0 (diff)
configure.ac: Detect Qt rcc
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4aadae1..2659714 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
AC_PREREQ([2.59])
AC_INIT([testdisk],[6.14-WIP],[grenier@cgsecurity.org])
sinclude(acx_pthread.m4)
-TESTDISKDATE="December 2012"
+TESTDISKDATE="May 2013"
AC_SUBST(TESTDISKDATE)
AC_DEFINE_UNQUOTED([TESTDISKDATE],"$TESTDISKDATE",[Date of release])
AC_CONFIG_AUX_DIR(config)
@@ -805,6 +805,10 @@ then
if test x$MOC = x ; then
AC_MSG_WARN(Could not find a moc-qt4 or moc tool in your PATH.)
fi
+ AC_CHECK_TOOLS(RCC,[rcc-qt4 rcc],)
+ if test x$RCC = x ; then
+ AC_MSG_WARN(Could not find a rcc-qt4 or rcc tool in your PATH.)
+ fi
qphotorec_LDADD="$qphotorec_LDADD $QTGUI_LIBS"
qphotorec_CXXFLAGS="$qphotorec_CXXFLAGS $QTGUI_CFLAGS"
fi