Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore Modified Files: Tag: SPLIT README configure.in Log Message: bee testing as cross-compile target for my ipaq... it works... well after these minor patches... :) i have to use a script to cross-compile as using configure/make/libtool just doesnt work. i'm refining the script. will come later. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/README,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -u -3 -r1.2.2.1 -r1.2.2.2 --- README 11 Feb 2003 06:27:09 -0000 1.2.2.1 +++ README 15 Feb 2003 14:54:27 -0000 1.2.2.2 @@ -24,3 +24,15 @@ su <as root do:> make install + +for ipaq cross-compile: + +export CC=/skiff/local/bin/arm-linux-gcc +export CFLAGS="-O9" +./configure \ +--enable-ecore-fb \ +--enable-ecore-evas \ +--enable-ecore-job \ +--with-evas-config=/skiff/local/arm-linux/bin/evas-config +make CFLAGS="-O9 -I/skiff/local/include -I/skiff/local/arm-linux/include" + =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v retrieving revision 1.8.2.7 retrieving revision 1.8.2.8 diff -u -3 -r1.8.2.7 -r1.8.2.8 --- configure.in 11 Feb 2003 06:27:09 -0000 1.8.2.7 +++ configure.in 15 Feb 2003 14:54:27 -0000 1.8.2.8 @@ -147,6 +147,17 @@ evas_cflags=""; evas_libs=""; +AC_ARG_WITH(evas-config, +[ --with-evas-config=EVAS_CONFIG use evas-config specified ], +[ + PROG_CONFIG=$withval; + echo "using "$PROG_CONFIG" for evas-config"; +],[ + PROG="evas-config"; + AC_PATH_PROG(PROG_CONFIG, $PROG, "", $PATH) +]) +EVAS_CONFIG=$PROG_CONFIG + AC_MSG_CHECKING(whether ecore_evas module is to be built) AC_ARG_ENABLE(ecore-evas, @@ -154,8 +165,6 @@ AC_MSG_RESULT(yes) AM_CONDITIONAL(BUILD_ECORE_EVAS, test "$enableval" = "yes") AC_DEFINE(BUILD_ECORE_EVAS) - PROG="evas-config"; - AC_PATH_PROG(EVAS_CONFIG, $PROG, "", $PATH) if [ test -z $EVAS_CONFIG ]; then echo $PROG " is not in your \$PATH. Please ensure it is."; echo "Read the manual page for you shell as to how to extend your path."; ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs