Re: variables in configure.ac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthias Langer wrote:
> I'm trying to to the following in my configure.ac:
>
> VTK_LIBS=$vtk_lib_path
> VTK_LIBS+="-lvtkFiltering -lvtkfreetype -lvtkftgl -lvtkGraphics 
> -lvtkHybrid" \
>                        "-lvtkImaging -lvtkIO -lvtkRendering"
>
> However, when i run configure, i get
> ...: VTK_LIBS+=-lvtkFiltering -lvtkfreetype -lvtkftgl -lvtkGraphics 
> -lvtkHybrid: command not found
>
> Can anybody tell my what i'm doing wrong ?

Looks like you are confusing shell syntax and Makefile syntax.

Try:
  VTK_LIBS=$vtk_lib_path
  VTK_LIBS="$VTK_LIBS -lvtkFiltering ..."

HTH.

Keith.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux