--- rpl/configure.ac 2012/07/03 08:23:29 1.36 +++ rpl/configure.ac 2012/07/31 11:06:34 1.39 @@ -10,13 +10,13 @@ AC_CONFIG_HEADERS([rplconfig.h]) dnl Libraries NCURSES=ncurses-5.9 READLINE=readline-6.2 -UNITS=units-1.88 +UNITS=units-1.89e GSL=gsl-1.15 GPP=gpp-3.0 GNUPLOT=gnuplot-4.6.0 FILE=file-5.11 ICONV=libiconv-1.13.1 -SQLITE=sqlite-3.7.12.1 +SQLITE=sqlite-3.7.13 OPENSSL=openssl-1.0.1c OPENMOTIF=openmotif-2.3.3 LIBXPM=libXpm-3.5.9 @@ -38,6 +38,15 @@ CF=gfortran-$with_gcc_version F77=gfortran-$with_gcc_version ],[]) +dnl Checks for Bash +BASH=$(which bash | sed 's/\//\\\//g') + +if test x$BASH = x; then + AC_MSG_ERROR([Cannot find bash! You have to install it.]) +fi + +AC_SUBST(BASH) + dnl Checks for C compiler AC_PROG_CC(gcc) @@ -467,7 +476,7 @@ fi if test ! -d "$srcdir"/tools/$ICONV; then gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \ (cd "$srcdir/tools" && tar -xf -) - (cd "$srcdir"/tools/$ICONV && ln -sf ../$SIGSEGV/gnulib gnulib) + (cd "$srcdir"/tools/$ICONV && ln -sf ../$SIGSEGV/gnulib gnulib) fi if test ! -d "$srcdir"/tools/$OPENMOTIF; then gunzip -c "$srcdir"/tools/$OPENMOTIF.tar.gz | \