[Ecls-list] ecl-config problem with the latest CVS version

Ivan Toshkov ivan at toshkov.org
Thu Mar 2 07:20:19 UTC 2006


I've updated the CVS version today and noticed, that when I run:

  ./configure --prefix=/home/john/u --with-cxx

on my Gentoo GNU/Linux, the file build/bin/ecl-config looks this way:
-------------------------------------------------------------------
#!/bin/sh
# bin/ecl-config.pre.  Generated from ecl-config by configure.

usage()
{
  cat <<EOF
Usage: $0 [OPTIONS] [LIBS]
Options:
        [--cflags]
        [--libs|--ldflags]
Libs:
        cmp
EOF
}

LDFLAGS="-lecl"
for i in $*; do
  case $i in
    --cflags|-c)
      echo_cflags=yes
      ;;
    --libs|--ldflags|-l)
      echo_ldflags=yes
      ;;
    cmp)
      LDFLAGS="$LDFLAGS -lcmp"
      ;;
    *)
      usage 1 >&2
      ;;
    esac;
done

if test "$echo_cflags" = "yes"; then
  echo "-Dlinux -I at eclincludedir\@"
fi

if test "$echo_ldflags" = "yes"; then
  echo "-Wl,--rpath,/home/john/u/lib/ecl -L/home/john/u/lib/ecl
$LDFLAGS  -ldl  -lm"
fi
-------------------------------------------------------------------

That is, the @eclincludedir\@ mantra doesn't get expanded.

--
All languages are equal,
but Lisp is more equal than others.




More information about the ecl-devel mailing list