version 1.11, 2010/03/09 10:18:41
|
version 1.16, 2010/04/07 07:16:10
|
Line 10 dnl Libraries
|
Line 10 dnl Libraries
|
NCURSES=ncurses-5.7-20100206 |
NCURSES=ncurses-5.7-20100206 |
READLINE=readline-6.1 |
READLINE=readline-6.1 |
UNITS=units-1.87 |
UNITS=units-1.87 |
GSL=gsl-1.13 |
GSL=gsl-1.14 |
GPP=gpp-2.24 |
GPP=gpp-2.24 |
GNUPLOT=gnuplot-4.2.6 |
GNUPLOT=gnuplot-4.4.0 |
FILE=file-5.03 |
FILE=file-5.03 |
ICONV=libiconv-1.13.1 |
ICONV=libiconv-1.13.1 |
SQLITE=sqlite-3.6.22 |
SQLITE=sqlite-3.6.23.1 |
OPENSSL=openssl-0.9.8m |
OPENSSL=openssl-1.0.0 |
|
|
dnl Checks for C compiler |
dnl Checks for C compiler |
AC_PROG_CC(gcc-4.4 gcc) |
AC_PROG_CC(gcc-4.4 gcc) |
Line 119 AC_ARG_ENABLE(final-encoding,
|
Line 119 AC_ARG_ENABLE(final-encoding,
|
[ --enable-final-encoding force final encoding [[default=guessed]]], [ |
[ --enable-final-encoding force final encoding [[default=guessed]]], [ |
if test "$enableval" = "no"; then |
if test "$enableval" = "no"; then |
FINAL_ENCODING="\$(shell locale charmap | \ |
FINAL_ENCODING="\$(shell locale charmap | \ |
awk '/=/ { print \$\$3;} !/=/ { print \$\$1;}')" |
\$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')" |
else |
else |
FINAL_ENCODING="$enable_final_encoding" |
FINAL_ENCODING="$enable_final_encoding" |
fi], |
fi], |
FINAL_ENCODING="\$(shell locale charmap | \ |
FINAL_ENCODING="\$(shell locale charmap | \ |
awk '/=/ { print \$\$3;} !/=/ { print \$\$1;}')") |
\$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')") |
|
|
AC_ARG_ENABLE(tex, |
AC_ARG_ENABLE(tex, |
[ --enable-tex provide the TeX support [[default=guessed]]], [ |
[ --enable-tex provide the TeX support [[default=guessed]]], [ |
Line 312 AC_PROG_LN_S
|
Line 312 AC_PROG_LN_S
|
AC_PROG_MAKE_SET |
AC_PROG_MAKE_SET |
AC_PROG_RANLIB |
AC_PROG_RANLIB |
|
|
dnl Checks for awk |
dnl Checks for nawk |
AC_CHECK_PROG(AWK, awk, yes, no) |
AC_CHECK_PROG(AWK, nawk, yes, no) |
if test "$AWK" = no; then |
if test "$AWK" = no; then |
AC_MSG_ERROR([Can not find awk !]) |
AC_MSG_ERROR([Can not find nawk !]) |
fi |
fi |
|
|
dnl Checks for sed |
dnl Checks for sed |
Line 770 AC_CONFIG_SUBDIRS(tools/$GPP)
|
Line 770 AC_CONFIG_SUBDIRS(tools/$GPP)
|
AC_CONFIG_SUBDIRS(tools/$FILE) |
AC_CONFIG_SUBDIRS(tools/$FILE) |
AC_CONFIG_SUBDIRS(tools/$ICONV) |
AC_CONFIG_SUBDIRS(tools/$ICONV) |
AC_CONFIG_SUBDIRS(tools/$SQLITE) |
AC_CONFIG_SUBDIRS(tools/$SQLITE) |
tools/$OPENSSL/config |
|
|
dnl Check for OpenSSL os/comp |
|
AC_ARG_WITH(openssl_arch, |
|
[ --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list)], |
|
[], [with_openssl_arch=none]) |
|
|
|
if test "x$with_openssl_arch" = xnone; then |
|
(cd tools/$OPENSSL && ./config) |
|
elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then |
|
(cd tools/$OPENSSL && ./Configure) |
|
AC_MSG_ERROR([OS/COMP informations are required!]) |
|
elif test "x$with_openssl_arch" = xlist; then |
|
(cd tools/$OPENSSL && ./Configure) |
|
AC_MSG_ERROR([Please specify OS and Architecture]) |
|
else |
|
(cd tools/$OPENSSL && ./Configure $with_openssl_arch) |
|
fi |
|
|
if test "$MYGNUPLOT" = "yes"; then |
if test "$MYGNUPLOT" = "yes"; then |
if test ! -d "$srcdir"/tools/$GNUPLOT; then |
if test ! -d "$srcdir"/tools/$GNUPLOT; then |