logo       

Doubt with autoconf.: msg#00050

gnu.mingw.msys

Subject: Doubt with autoconf.

I am in doubts with autoconf, when I create configure.scan with autoscan, I write:

AC_INIT(README)
AC_CANONICAL_SYSTEM
AC_CONFIG_SRCDIR([Dll.h ])
AM_INIT_AUTOMAKE(Test, 0.1)

AC_PROG_CC
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_LIBTOOL_WIN32_DLL
AC_LIBTOOL_SETUP
AC_ENABLE_SHARED
AC_ENABLE_STATIC
AC_INSTALL

AC_OUTPUT(Makefile)

 he safe is as configure.in, later I create the Makefile.am:

lib_LTLIBRARIES = libTest.la
libTest_la_SOURCES = Dll.c Dll.h

noinst_PROGRAMS = hello
hello_LDFLAGS = libTest.la

Later I make:
aclocal
autoconf
libtoolize -- automake
touch NEWS README AUTHORS ChangeLog
automake - a

But what I do not obtain to make it is that the generated DLL has the name of Test.dll and not it name libTest-0.dll. What I must make to correct this?

I also do not obtain to configure prefix, when I make:
/configure --prefix=c:/meusdo~1/zzz -- disable-static

It appears a message:
./configure: -print-search-dir command not found

And later when I execute make:

make install
cypath not found.

Somebody could say me what I am making of made a mistake?

thanks a  lot 


Yahoo! doce lar. Faça do Yahoo! sua homepage.
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise