Diff for /rpl/configure.ac between versions 1.10 and 1.16

version 1.10, 2011/11/19 17:53:20 version 1.16, 2012/01/18 10:17:23
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.4])  AC_INIT([rpl],[4.1.6])
 AC_CANONICAL_TARGET  AC_CANONICAL_TARGET
 AC_CANONICAL_TARGET  AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE(silent-rules)  AM_INIT_AUTOMAKE(silent-rules)
Line 16  GPP=gpp-3.0 Line 16  GPP=gpp-3.0
 GNUPLOT=gnuplot-4.4.3  GNUPLOT=gnuplot-4.4.3
 FILE=file-5.03  FILE=file-5.03
 ICONV=libiconv-1.13.1  ICONV=libiconv-1.13.1
 SQLITE=sqlite-3.7.9  SQLITE=sqlite-3.7.10
 OPENSSL=openssl-1.0.0e  OPENSSL=openssl-1.0.0f
 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.6
Line 350  AC_ARG_ENABLE(vim, Line 350  AC_ARG_ENABLE(vim,
 [  --enable-vim            provide the vim support [[default=guessed]]], [  [  --enable-vim            provide the vim support [[default=guessed]]], [
 if test "$enableval" = "no"; then  if test "$enableval" = "no"; then
     VIM_SUPPORT=no      VIM_SUPPORT=no
       DEBVIM=
 else  else
     VIM_SUPPORT=yes      VIM_SUPPORT=yes
       DEBVIM=vim
 fi],  fi],
 VIM_SUPPORT=guessed)  VIM_SUPPORT=guessed)
   
Line 450  if test ! -d "$srcdir"/tools/$NCURSES; t Line 452  if test ! -d "$srcdir"/tools/$NCURSES; t
     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \      gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
             (cd "$srcdir/tools" && tar -xf -)              (cd "$srcdir/tools" && tar -xf -)
     (cd "$srcdir/tools/"$NCURSES && \      (cd "$srcdir/tools/"$NCURSES && \
               for i in ../$NCURSES*.sh.gz;
               do TMP=$i; gunzip -c $i > ${TMP%.*};
               done;
               for i in ../$NCURSES*.sh;
               do chmod 775 $i && ./$i;
               done;
             for i in ../$NCURSES*.patch.gz;              for i in ../$NCURSES*.patch.gz;
             do gunzip -c $i | patch -p1;              do gunzip -c $i | patch -p1;
             done);              done);
Line 649  if test "$VIM_SUPPORT" = guessed; then Line 657  if test "$VIM_SUPPORT" = guessed; then
 Download at http://www.vim.org/  Download at http://www.vim.org/
 ])  ])
         VIM_SUPPORT="-UVIM_SUPPORT"          VIM_SUPPORT="-UVIM_SUPPORT"
           DEBVIM=
     else      else
         VIM_SUPPORT="-DVIM_SUPPORT"          VIM_SUPPORT="-DVIM_SUPPORT"
           DEBVIM=vim
     fi      fi
 else  else
     if test "$VIM_SUPPORT" = no; then      if test "$VIM_SUPPORT" = no; then
         VIM_SUPPORT="-UVIM_SUPPORT"          VIM_SUPPORT="-UVIM_SUPPORT"
           DEBVIM=
     else      else
         VIM_SUPPORT="-DVIM_SUPPORT"          VIM_SUPPORT="-DVIM_SUPPORT"
           DEBVIM=vim
     fi      fi
 fi  fi
   
Line 783  fi Line 795  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 806  if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPP Line 819  if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPP
     fi      fi
 fi  fi
   
   DEBMYSQL=
   
 if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then  if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
     libMySQLinc=      libMySQLinc=
     libMySQLlib=      libMySQLlib=
   else
       DEBMYSQL=libmysqlclient18
 fi  fi
   
 AC_SUBST(MYSQL_SUPPORT)  AC_SUBST(MYSQL_SUPPORT)
Line 952  if test "$POSTGRESQL_SUPPORT" = "-DPOSTG Line 969  if test "$POSTGRESQL_SUPPORT" = "-DPOSTG
     fi      fi
 fi  fi
   
   DEBPQ=
   
 if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then  if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
     libPgSQLinc=      libPgSQLinc=
     libPgSQLlib=      libPgSQLlib=
   else
       DEBPQ=libpq5
 fi  fi
   
 AC_SUBST(POSTGRESQL_SUPPORT)  AC_SUBST(POSTGRESQL_SUPPORT)
Line 1266  case $OS in Line 1287  case $OS in
     break ;;      break ;;
 esac  esac
   
   case $HOST in
       x86_64-unknown-linux-gnu)
           ARCH=amd64
       break ;;
   
       i?86-unknown-linux-gnu)
           ARCH=i386
       break ;;
   
       *)
           ARCH=unknown
       break ;;
   esac
   
 AC_SUBST(WHOLE_LIB1)  AC_SUBST(WHOLE_LIB1)
 AC_SUBST(WHOLE_LIB2)  AC_SUBST(WHOLE_LIB2)
 AC_SUBST(LIB_PREFIX)  AC_SUBST(LIB_PREFIX)
Line 1279  AC_SUBST(SEMUN) Line 1314  AC_SUBST(SEMUN)
 AC_SUBST(IPV6)  AC_SUBST(IPV6)
 AC_SUBST(BSH_PATH)  AC_SUBST(BSH_PATH)
 AC_SUBST(ELF)  AC_SUBST(ELF)
   AC_SUBST(ARCH)
   
 AC_SUBST(NCURSES)  AC_SUBST(NCURSES)
 AC_SUBST(READLINE)  AC_SUBST(READLINE)
Line 1314  AC_SUBST(FFLAGS) Line 1350  AC_SUBST(FFLAGS)
 AC_SUBST(FCFLAGS)  AC_SUBST(FCFLAGS)
 AC_SUBST(LDFLAGS)  AC_SUBST(LDFLAGS)
   
   AC_SUBST(DEBPQ)
   AC_SUBST(DEBMYSQL)
   AC_SUBST(DEBVIM)
   
 if test $RECURSIVE = yes; then  if test $RECURSIVE = yes; then
     AC_CONFIG_SUBDIRS(tools/$NCURSES)      AC_CONFIG_SUBDIRS(tools/$NCURSES)
     AC_CONFIG_SUBDIRS(tools/$READLINE)      AC_CONFIG_SUBDIRS(tools/$READLINE)
Line 1356  AC_CONFIG_FILES(man/fr_FR/rpllink.1) Line 1396  AC_CONFIG_FILES(man/fr_FR/rpllink.1)
 AC_CONFIG_FILES(man/fr_FR/rpltags.1)  AC_CONFIG_FILES(man/fr_FR/rpltags.1)
 AC_CONFIG_FILES(man/fr_FR/mkrplso.1)  AC_CONFIG_FILES(man/fr_FR/mkrplso.1)
   
   AC_CONFIG_FILES(DEBIAN/control)
   
 AC_OUTPUT  AC_OUTPUT

Removed from v.1.10  
changed lines
  Added in v.1.16


CVSweb interface <joel.bertrand@systella.fr>