Diff for /rpl/configure.ac between versions 1.23 and 1.32

version 1.23, 2012/04/07 16:39:05 version 1.32, 2012/05/29 13:34:17
Line 1 Line 1
 dnl Process this file with autoconf to produce a configure script.  dnl Process this file with autoconf to produce a configure script.
 AC_INIT([rpl],[4.1.7])  AC_INIT([rpl],[4.1.9])
 AC_CANONICAL_TARGET  AC_CANONICAL_TARGET
 AC_CANONICAL_TARGET  AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE(silent-rules)  AM_INIT_AUTOMAKE(silent-rules)
Line 17  GNUPLOT=gnuplot-4.6.0 Line 17  GNUPLOT=gnuplot-4.6.0
 FILE=file-5.11  FILE=file-5.11
 ICONV=libiconv-1.13.1  ICONV=libiconv-1.13.1
 SQLITE=sqlite-3.7.11  SQLITE=sqlite-3.7.11
 OPENSSL=openssl-1.0.1  OPENSSL=openssl-1.0.1c
 OPENMOTIF=openmotif-2.3.3  OPENMOTIF=openmotif-2.3.3
 LIBXPM=libXpm-3.5.9  LIBXPM=libXpm-3.5.9
 SIGSEGV=libsigsegv-2.6  SIGSEGV=libsigsegv-2.11
   
 GMP=gmp-5.0.2  GMP=gmp-5.0.5
 MPFR=mpfr-3.0.1  MPFR=mpfr-3.1.0
 NTL=ntl-5.5.2  NTL=ntl-5.5.2
 COCOA=CoCoALib-0.9943  COCOA=CoCoALib-0.9950
 PARI=pari-2.5.0  PARI=pari-2.5.1
 GIAC=giac-0.9.5  GIAC=giac-0.9.6
   
 dnl Checks for C compiler  dnl Checks for C compiler
 AC_PROG_CC(gcc)  AC_PROG_CC(gcc)
Line 170  AC_ARG_WITH(sysroot, Line 170  AC_ARG_WITH(sysroot,
 if test "$with_sysroot" = "no" -o "$with_rpltools" = "yes"; then  if test "$with_sysroot" = "no" -o "$with_rpltools" = "yes"; then
     AC_MSG_ERROR([You have to specify sysroot path !])      AC_MSG_ERROR([You have to specify sysroot path !])
 else  else
     SYSROOT=$with_sysroot/usr/include      SYSROOT="-I$with_sysroot/usr/include"
       SYSROOT2=$with_sysroot
 fi],[  fi],[
     SYSROOT=      SYSROOT=
       SYSROOT2=
     ]      ]
 )  )
   
Line 467  if test ! -d "$srcdir"/tools/$NCURSES; t Line 469  if test ! -d "$srcdir"/tools/$NCURSES; t
             do TMP=$i; gunzip -c $i > ${TMP%.*};              do TMP=$i; gunzip -c $i > ${TMP%.*};
             done;              done;
             for i in ../$NCURSES*.sh;              for i in ../$NCURSES*.sh;
             do chmod 775 $i && ./$i;              do echo Applying script $i && chmod 775 $i && ./$i;
             done;              done;
             for i in ../$NCURSES*.patch.gz;              for i in ../$NCURSES*.patch.gz;
             do gunzip -c $i | patch -p1;              do echo Applying patch $i && gunzip -c $i | patch -p1;
             done);              done);
 fi  fi
 if test ! -d "$srcdir"/tools/$READLINE; then  if test ! -d "$srcdir"/tools/$READLINE; then
Line 512  fi Line 514  fi
 if test ! -d "$srcdir"/tools/$SIGSEGV; then  if test ! -d "$srcdir"/tools/$SIGSEGV; then
     gunzip -c "$srcdir"/tools/$SIGSEGV.tar.gz | \      gunzip -c "$srcdir"/tools/$SIGSEGV.tar.gz | \
             (cd "$srcdir/tools" && tar -xf -)              (cd "$srcdir/tools" && tar -xf -)
       (cd "$srcdir/tools/$SIGSEGV" && ./autogen.sh --skip-gnulib)
 fi  fi
 if test ! -d "$srcdir"/tools/$OPENMOTIF; then  if test ! -d "$srcdir"/tools/$OPENMOTIF; then
     gunzip -c "$srcdir"/tools/$OPENMOTIF.tar.gz | \      gunzip -c "$srcdir"/tools/$OPENMOTIF.tar.gz | \
Line 807  fi Line 810  fi
 if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then  if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
     MYSQL_LIB=no      MYSQL_LIB=no
   
   
     if test $MYSQL_LIB = no; then      if test $MYSQL_LIB = no; then
         AC_MSG_CHECKING(for libmysql libraries in $libMySQLlib)          AC_MSG_CHECKING(for libmysql libraries in $libMySQLlib)
         saved_LIBS="$LIBS"          saved_LIBS="$LIBS"
Line 1120  AC_SUBST(GNUPLOT_COMPILATION) Line 1122  AC_SUBST(GNUPLOT_COMPILATION)
   
 HOST=$target  HOST=$target
 AC_SUBST(HOST)  AC_SUBST(HOST)
   BUILD=$build
   AC_SUBST(BUILD)
   
 my_save_cflags="$CFLAGS"  my_save_cflags="$CFLAGS"
 FPCFLAGS=""  FPCFLAGS=""
Line 1316  case $HOST in Line 1320  case $HOST in
         ARCH=i386          ARCH=i386
     break ;;      break ;;
   
       arm-unknown-linux-gnueabi)
           ARCH=armel
       break;;
   
     *)      *)
         ARCH=unknown          ARCH=unknown
     break ;;      break ;;
Line 1370  AC_SUBST(FFLAGS) Line 1378  AC_SUBST(FFLAGS)
 AC_SUBST(FCFLAGS)  AC_SUBST(FCFLAGS)
 AC_SUBST(LDFLAGS)  AC_SUBST(LDFLAGS)
 AC_SUBST(SYSROOT)  AC_SUBST(SYSROOT)
   AC_SUBST(SYSROOT2)
   
 AC_SUBST(DEBPQ)  AC_SUBST(DEBPQ)
 AC_SUBST(DEBMYSQL)  AC_SUBST(DEBMYSQL)
Line 1387  if test $RECURSIVE = yes; then Line 1396  if test $RECURSIVE = yes; then
     AC_CONFIG_SUBDIRS(tools/$SIGSEGV)      AC_CONFIG_SUBDIRS(tools/$SIGSEGV)
 fi  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(Makefile)
 AC_CONFIG_FILES(COPYING)  AC_CONFIG_FILES(COPYING)
 AC_CONFIG_FILES(tools/Makefile)  AC_CONFIG_FILES(tools/Makefile)

Removed from v.1.23  
changed lines
  Added in v.1.32


CVSweb interface <joel.bertrand@systella.fr>