Changeset 354 for scrubbery

Show
Ignore:
Timestamp:
02/07/06 20:46:27 (3 years ago)
Author:
conrad
Message:

actually check for evas in ./configure

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • scrubbery/trunk/config.h.in

    r1 r354  
    2525/* Define to 1 if you have the <dlfcn.h> header file. */ 
    2626#undef HAVE_DLFCN_H 
     27 
     28/* Define if evas is found */ 
     29#undef HAVE_EVAS 
    2730 
    2831/* Define to 1 if you have the <fcntl.h> header file. */ 
  • scrubbery/trunk/configure.ac

    r1 r354  
    8383# 
    8484 
    85 #PKG_CHECK_MODULES(EVAS, evas >= 1.0.0, 
    86 #                  HAVE_EVAS="yes", HAVE_EVAS="no") 
    87 
    88 #if test "$HAVE_EVAS" = "yes" ; then 
    89 #  AC_DEFINE([HAVE_EVAS], [], [Define if evas is found]) 
    90 #  AC_SUBST(EVAS_LIBS) 
    91 #else 
    92 #  AC_MSG_ERROR([ 
    93 #*** 
    94 #*** Evas 1.0 development library is not installed 
    95 #*** 
    96 #]) 
    97 #fi 
    98 HAVE_EVAS="yes" 
    99 #AC_CHECK_PROG(HAVE_EVAS, ls, yes, no) 
     85PKG_CHECK_MODULES(EVAS, evas >= 0.9.9, 
     86                  HAVE_EVAS="yes", HAVE_EVAS="no") 
     87 
     88if test "$HAVE_EVAS" = "yes" ; then 
     89  AC_DEFINE([HAVE_EVAS], [], [Define if evas is found]) 
     90  AC_SUBST(EVAS_LIBS) 
     91else 
     92  AC_MSG_ERROR([ 
     93*** 
     94*** Evas 1.0 development library is not installed 
     95*** 
     96]) 
     97fi 
    10098 
    10199if test "x$HAVE_EVAS" = "xyes"; then