summaryrefslogtreecommitdiff
path: root/legacy/evas/m4
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-04-05 13:45:54 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-04-05 13:45:54 +0000
commit1b3b01cb4fd60f53f58e1abee395b45c46b5237b (patch)
treed738ca8adea022820c33d26bdbdff6afead3b508 /legacy/evas/m4
parent30f906aac996aa12e8ac628ac4228d7f2b4a26ba (diff)
evas: and now is the death of Qtopia engine.
SVN revision: 58362
Diffstat (limited to 'legacy/evas/m4')
-rw-r--r--legacy/evas/m4/evas_check_engine.m452
1 files changed, 0 insertions, 52 deletions
diff --git a/legacy/evas/m4/evas_check_engine.m4 b/legacy/evas/m4/evas_check_engine.m4
index b22d2ce..10e3b74 100644
--- a/legacy/evas/m4/evas_check_engine.m4
+++ b/legacy/evas/m4/evas_check_engine.m4
@@ -547,58 +547,6 @@ fi
547 547
548]) 548])
549 549
550dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_QTOPIA(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
551
552AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_QTOPIA],
553[
554
555have_dep="no"
556evas_engine_[]$1[]_cflags=""
557evas_engine_[]$1[]_libs=""
558evas_engine_[]$1[]_moc=""
559
560AC_ARG_WITH([qtdir],
561 [AC_HELP_STRING([--with-qtdir=QT_DIR], [use qt directory specified])],
562 [
563 qt_dir=$withval;
564 echo "using "$qt_dir" for qt directory.";
565 ],
566 [qt_dir="/opt/Qtopia"]
567)
568
569AC_LANG_PUSH(C++)
570
571AC_CHECK_HEADER([qdirectpainter_qws.h],
572 [have_dep="yes"],
573 [have_dep="no"],
574 [
575#include <qwidget.h>
576#include <qnamespace.h>
577#include <qbrush.h>
578#include <qpainter.h>
579 ]
580)
581
582AC_LANG_POP(C++)
583
584if test "x${have_dep}" = "xyes" ; then
585 evas_engine_[]$1[]_cflags="-fno-exceptions -fno-rtti -I${qt_dir}/include"
586 evas_engine_[]$1[]_libs="-L${qt_dir}/lib -lqte -lqpe"
587 evas_engine_[]$1[]_moc="${qt_dir}/bin/moc"
588fi
589
590AC_SUBST([evas_engine_$1_cflags])
591AC_SUBST([evas_engine_$1_libs])
592AC_SUBST([evas_engine_$1_moc])
593
594if test "x${have_dep}" = "xyes" ; then
595 m4_default([$4], [:])
596else
597 m4_default([$5], [:])
598fi
599
600])
601
602dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_8_X11(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 550dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_8_X11(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
603 551
604AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_8_X11], 552AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_8_X11],