summaryrefslogtreecommitdiff
path: root/legacy/evas/m4
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/evas/m4')
-rw-r--r--legacy/evas/m4/evas_check_engine.m499
1 files changed, 0 insertions, 99 deletions
diff --git a/legacy/evas/m4/evas_check_engine.m4 b/legacy/evas/m4/evas_check_engine.m4
index c896e3c..97de0eb 100644
--- a/legacy/evas/m4/evas_check_engine.m4
+++ b/legacy/evas/m4/evas_check_engine.m4
@@ -495,41 +495,6 @@ fi
495 495
496]) 496])
497 497
498dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_SDL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
499
500AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_SDL],
501[
502
503requirement=""
504have_dep="no"
505evas_engine_[]$1[]_cflags=""
506evas_engine_[]$1[]_libs=""
507
508PKG_CHECK_MODULES([SDL],
509 [sdl >= 1.2.0],
510 [
511 have_dep="yes"
512 requirement="sdl"
513 evas_engine_[]$1[]_cflags="${SDL_CFLAGS}"
514 evas_engine_[]$1[]_libs="${SDL_LIBS}"
515 ]
516)
517
518AC_SUBST([evas_engine_$1_cflags])
519AC_SUBST([evas_engine_$1_libs])
520
521if test "x$3" = "xstatic" ; then
522 requirement_evas="${requirement} ${requirement_evas}"
523fi
524
525if test "x${have_dep}" = "xyes" ; then
526 m4_default([$4], [:])
527else
528 m4_default([$5], [:])
529fi
530
531])
532
533dnl use: EVAS_CHECK_ENGINE_DEP_GL_SDL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 498dnl use: EVAS_CHECK_ENGINE_DEP_GL_SDL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
534 499
535AC_DEFUN([EVAS_CHECK_ENGINE_DEP_GL_SDL], 500AC_DEFUN([EVAS_CHECK_ENGINE_DEP_GL_SDL],
@@ -720,70 +685,6 @@ fi
720 685
721]) 686])
722 687
723dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_X11(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
724AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_X11],
725[
726
727have_dep="no"
728evas_engine_[]$1[]_cflags=""
729evas_engine_[]$1[]_libs=""
730
731AC_PATH_X
732AC_PATH_XTRA
733
734AC_CHECK_HEADER([X11/X.h], [have_dep="yes"])
735
736if test "x${have_dep}" = "xyes" ; then
737 AC_CHECK_LIB([X11], [XCreateImage], [have_dep="yes"], [have_dep="no"])
738fi
739
740if test "x${have_dep}" = "xyes" ; then
741 AC_CHECK_LIB([Xext], [XShmCreateImage], [have_dep="yes"], [have_dep="no"])
742fi
743
744if test "x${have_dep}" = "xyes" ; then
745 if test "x$2" = "xyes" ; then
746 x_libs="${x_libs} -lX11 -lXext"
747 else
748 x_dir=${x_dir:-/usr/X11R6}
749 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
750 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
751 fi
752 evas_engine_[]$1[]_cflags="${x_cflags}"
753 evas_engine_[]$1[]_libs="${x_libs}"
754fi
755
756AC_SUBST([evas_engine_$1_cflags])
757AC_SUBST([evas_engine_$1_libs])
758
759if test "x${have_dep}" = "xyes" ; then
760 m4_default([$4], [:])
761else
762 m4_default([$5], [:])
763fi
764
765])
766
767dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_WINCE(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
768
769AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_WINCE],
770[
771
772have_dep="yes"
773evas_engine_[]$1[]_cflags=""
774evas_engine_[]$1[]_libs=""
775
776AC_SUBST([evas_engine_$1_cflags])
777AC_SUBST([evas_engine_$1_libs])
778
779if test "x${have_dep}" = "xyes" ; then
780 m4_default([$4], [:])
781else
782 m4_default([$5], [:])
783fi
784
785])
786
787dnl use: EVAS_CHECK_ENGINE_DEP_PSL1GHT(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 688dnl use: EVAS_CHECK_ENGINE_DEP_PSL1GHT(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
788 689
789AC_DEFUN([EVAS_CHECK_ENGINE_DEP_PSL1GHT], 690AC_DEFUN([EVAS_CHECK_ENGINE_DEP_PSL1GHT],