diff --git a/legacy/ecore/configure.ac b/legacy/ecore/configure.ac index 1ee30f2a3b..af77653044 100644 --- a/legacy/ecore/configure.ac +++ b/legacy/ecore/configure.ac @@ -352,7 +352,7 @@ if test -z "$SDL_CONFIG" ; then AC_SUBST(SDL_LIBS) have_sdl="no" else - PKG_CHECK_MODULES([SDL], [sdl >= 1.2.0], [have_sdl="yes"]) + PKG_CHECK_MODULES([SDL], [sdl >= 1.2.0], [have_sdl="yes"], [have_sdl="no"]) fi if test "x${have_sdl}" = "xyes" ; then diff --git a/legacy/ecore/m4/ecore_check_options.m4 b/legacy/ecore/m4/ecore_check_options.m4 index 257c63b531..03aa740674 100644 --- a/legacy/ecore/m4/ecore_check_options.m4 +++ b/legacy/ecore/m4/ecore_check_options.m4 @@ -199,14 +199,12 @@ if test "x${_ecore_want_tslib}" = "xyes" -o "x${_ecore_want_tslib}" = "xauto" ; [ AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code]) _ecore_have_ts="yes" - ], - [ + ],[ PKG_CHECK_MODULES(TSLIB, tslib, [ AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code]) _ecore_have_ts="yes" - ], - [ + ],[ AC_CHECK_HEADER([tslib.h], [ AC_CHECK_LIB([ts], [ts_open], @@ -215,14 +213,14 @@ if test "x${_ecore_want_tslib}" = "xyes" -o "x${_ecore_want_tslib}" = "xauto" ; TSLIB_CFLAGS="" AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code]) _ecore_have_ts="yes" - , + ],[ AC_CHECK_LIB([tslib], [ts_open], [ TSLIB_LIBS="-ltslib" TSLIB_CFLAGS="" AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code]) _ecore_have_ts="yes" - , + ],[ _ecore_have_ts="no" ]) ])