Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
70ca8455
Commit
70ca8455
authored
Jun 03, 2010
by
Guillaume Lazzara
Browse files
configure.ac: Check for Qt library using AutoTroll.
parent
1f9aa31e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
70ca8455
2010-06-03 Guillaume Lazzara <z@lrde.epita.fr>
* configure.ac: Check for Qt library using AutoTroll.
2010-05-25 Guillaume Lazzara <z@lrde.epita.fr>
* configure.ac: Do not configure scribo/src/multi_scale anymore.
...
...
build-aux/autotroll.mk
0 → 100644
View file @
70ca8455
# Makerules.
# This file is part of AutoTroll.
# Copyright (C) 2006, 2007, 2009, 2010 Benoit Sigoure.
#
# AutoTroll is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
#
# In addition, as a special exception, the copyright holders of AutoTroll
# give you unlimited permission to copy, distribute and modify the configure
# scripts that are the output of Autoconf when processing the macros of
# AutoTroll. You need not follow the terms of the GNU General Public License
# when using or distributing such scripts, even though portions of the text of
# AutoTroll appear in them. The GNU General Public License (GPL) does govern
# all other use of the material that constitutes AutoTroll.
#
# This special exception to the GPL applies to versions of AutoTroll
# released by the copyright holders of AutoTroll. Note that people who make
# modified versions of AutoTroll are not obligated to grant this special
# exception for their modified versions; it is their choice whether to do so.
# The GNU General Public License gives permission to release a modified version
# without this exception; this exception also makes it possible to release a
# modified version which carries forward this exception.
# ------------- #
# DOC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
`
echo
"
$<
"
|
sed
's|^.*/\(.*\)\.qrc$$|\1|'
`
$<
-o
$@
.qrc.qrc.cc
:
$(RCC)
-name
`
echo
"
$<
"
|
sed
's|^.*/\(.*\)\.qrc$$|\1|'
`
$<
-o
$@
.qrc.qrc.cxx
:
$(RCC)
-name
`
echo
"
$<
"
|
sed
's|^.*/\(.*\)\.qrc$$|\1|'
`
$<
-o
$@
.qrc.qrc.C
:
$(RCC)
-name
`
echo
"
$<
"
|
sed
's|^.*/\(.*\)\.qrc$$|\1|'
`
$<
-o
$@
DISTCLEANFILES
=
$(BUILT_SOURCES)
configure.ac
View file @
70ca8455
...
...
@@ -168,6 +168,11 @@ OLN_WITH_LIB([GDCM], [gdcm-2.0/gdcmReader.h], [gdcmCommon], [gdcm], [GDCM],
# Tesseract
OLN_WITH_LIB([TESSERACT], [tesseract/baseapi.h], [tesseract_full], [tesseract], [TESSERACT])
# Qt.
AT_WITH_QT([], [], [],
AC_DEFINE([HAVE_QT], 1, [Define to 1 if we can use Qt]),
AC_DEFINE([HAVE_QT], 0))
AM_CONDITIONAL([HAVE_QT], [test x$QT_PATH != x])
## ---------------------------- ##
...
...
m4/autotroll.m4
0 → 100644
View file @
70ca8455
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment