--- rpl/configure.ac 2012/04/07 16:39:05 1.23 +++ rpl/configure.ac 2012/04/08 18:03:09 1.24 @@ -170,7 +170,7 @@ AC_ARG_WITH(sysroot, if test "$with_sysroot" = "no" -o "$with_rpltools" = "yes"; then AC_MSG_ERROR([You have to specify sysroot path !]) else - SYSROOT=$with_sysroot/usr/include + SYSROOT="-I$with_sysroot/usr/include" fi],[ SYSROOT= ] @@ -467,10 +467,10 @@ if test ! -d "$srcdir"/tools/$NCURSES; t do TMP=$i; gunzip -c $i > ${TMP%.*}; done; for i in ../$NCURSES*.sh; - do chmod 775 $i && ./$i; + do echo Applying script $i && chmod 775 $i && ./$i; done; for i in ../$NCURSES*.patch.gz; - do gunzip -c $i | patch -p1; + do echo Applying patch $i && gunzip -c $i | patch -p1; done); fi if test ! -d "$srcdir"/tools/$READLINE; then @@ -807,7 +807,6 @@ fi if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then MYSQL_LIB=no - if test $MYSQL_LIB = no; then AC_MSG_CHECKING(for libmysql libraries in $libMySQLlib) saved_LIBS="$LIBS" @@ -1316,6 +1315,10 @@ case $HOST in ARCH=i386 break ;; + arm-unknown-linux-gnueabi) + ARCH=armel + break;; + *) ARCH=unknown break ;; @@ -1387,6 +1390,14 @@ if test $RECURSIVE = yes; then AC_CONFIG_SUBDIRS(tools/$SIGSEGV) fi +if test $MYSQL_LIB = "yes" -o $POSTGRESQL_LIB = "yes"; then + ZLIB=-lz +else + ZLIB= +fi + +AC_SUBST(ZLIB) + AC_CONFIG_FILES(Makefile) AC_CONFIG_FILES(COPYING) AC_CONFIG_FILES(tools/Makefile)