Sujit Devkar writes: > Hi, > I tried using AM_CPPFLAGS= -I/usr/abc/inc and AM_LDFLAGS= > -L/usr/abc/lib, but I get these are directories. > Also when I tried using AM_LDFLAGS= /usr/abc/lib/libsrl.so but I get > access denies even I am root. > > My shell script which has > e.g. g++ -I/usr/abc/inc -L/usr/abc/lib abc.cpp -lsrl -o abc works > perfectly well. > > Also I use .java files in the project and I use > gcj --main=example Example.java --classpath=library > --classpath=library Example --indirect-dispatch > > How can I write this in configure.ac?
Please post the exact commands issued by Automake's Makefile and the error you get in order to know what is exactly missing in your configuration. -- Alberto