Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas
Modified Files:
configure.in
Log Message:
font imaging stuff....
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/configure.in,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -3 -r1.76 -r1.77
--- configure.in 21 Apr 2004 06:38:23 -0000 1.76
+++ configure.in 22 Apr 2004 11:29:32 -0000 1.77
@@ -1,8 +1,8 @@
-dnl Process this file with autoconf to produce a configure script.
-
# get rid of that stupid cache mechanism
rm -f config.cache
+
+
AC_INIT(configure.in)
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
@@ -498,11 +498,40 @@
[ have_eet="no" ]
)
fi
+
+function vser ()
+{
+ v=$1
+ VSTART=`echo $v | awk -F_ '{printf("%s", $1);}'`
+ V1=`echo $VSTART | awk -F\. '{printf("%s", $1);}'`
+ V2=`echo $VSTART | awk -F\. '{printf("%s", $2);}'`
+ V3=`echo $VSTART | awk -F\. '{printf("%s", $3);}'`
+ V4="0"
+ VEND=`echo $v | awk -F_ '{printf("%s", $2);}'`
+ if test -n "$VEND"; then
+ V4=`echo $VEND | sed s/pre//`
+ fi
+ V3=$(( $V3 * 100 ));
+ V2=$(( $V2 * 10000 ));
+ V1=$(( $V1 * 1000000 ));
+ V=$(( $V4 + $V3 + $V2 + $V1 ));
+ echo $V
+}
+
if test "x$have_eet" = "xyes"; then
- AC_DEFINE(BUILD_LOADER_EET, 1, [EET Image Loader Support])
if [ test -z "$EET_CONFIG" ]; then EET_CONFIG="eet-config"; fi
- eet_cflags=`$EET_CONFIG --cflags`
- eet_libs=`$EET_CONFIG --libs`
+ V=`$EET_CONFIG --version`
+ VV=`vser $V`
+ VM="0.9.9"
+ VVM=`vser $VM`
+ if test $VV -lt $VVM; then
+ echo "Error. Eet is not at least "$VM". It is "$V". Disabling EET"
+ have_eet="no"
+ else
+ AC_DEFINE(BUILD_LOADER_EET, 1, [EET Image Loader Support])
+ eet_cflags=`$EET_CONFIG --cflags`
+ eet_libs=`$EET_CONFIG --libs`
+ fi
fi
#######################################
@@ -567,10 +596,19 @@
)
fi
if test "x$have_eet_fonts" = "xyes"; then
- AC_DEFINE(BUILD_FONT_LOADER_EET, 1, [EET Font Loader Support])
if [ test -z "$EET_CONFIG" ]; then EET_CONFIG="eet-config"; fi
- eet_cflags=`$EET_CONFIG --cflags`
- eet_libs=`$EET_CONFIG --libs`
+ V=`$EET_CONFIG --version`
+ VV=`vser $V`
+ VM="0.9.9"
+ VVM=`vser $VM`
+ if test $VV -lt $VVM; then
+ echo "Error. Eet is not at least "$VM". It is "$V". Disabling EET"
+ have_eet="no"
+ else
+ AC_DEFINE(BUILD_FONT_LOADER_EET, 1, [EET Font Loader Support])
+ eet_cflags=`$EET_CONFIG --cflags`
+ eet_libs=`$EET_CONFIG --libs`
+ fi
fi
#####################################################################
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs