This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Autoconf fooled by AC_FC_LINE_LENGTH


Hi Eric,

building latest Arpack
https://github.com/opencollab/arpack-ng/releases
https://github.com/opencollab/arpack-ng/issues/41

I hit a strange case where the presence of a single line

AC_FC_LINE_LENGTH(unlimited)

before the usual
LT_PREREQ([2.4.2])
LT_INIT([win32-dll])

is causing the libtool to be incorrectly set, versus
the right case
---------------------------------------------------
-libext=a
+libext=lib

-shlibpath_overrides_runpath=yes
+shlibpath_overrides_runpath=unknown

-library_names_spec="\$libname.dll.a"
+library_names_spec="\$libname`echo \$release | \$SED -e s/[.]/-/g`\$versuffix\$shared_ext \$libname.lib"

-soname_spec="`echo \$libname | sed -e s/^lib/cyg/``echo \$release | \$SED -e s/[.]/-/g`\$versuffix\$shared_ext"
+soname_spec=""
-----------------------------------------------------

It seems libtool is incorrectly set for MSVC platform

I tried to move the libtool inizialization before the
AC_FC_LINE_LENGTH but autoconf is objecting on wrong preference.

It seems a bug impacting only cygwin.

Regards
Marco










--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]