Hi there, I am trying to work on #702882
Upstream is basically doing: if test "$internal_f2c" = "no"; then AC_CHECK_LIB([f2c], [f77_alloc_], [], AC_CHECK_LIB([f2c], [f77_alloc], [], AC_CHECK_LIB([f2c], [F77_ALLOC_], [], AC_CHECK_LIB([f2c], [F77_ALLOC], [], [AC_MSG_RESULT(not found, trying to use -lf2c anyway.)])))) LDFLAGS="${LDFLAGS}" else AC_DEFINE([INTERNAL_F2C], [1], [Define to 1 if you use the internal F2C library]) fi As explained in #702882#5, this fails on debian system since one cannot link to f2c without first defining a MAIN__ symbol. Has anyone work on autotools and f2c issue on debian in the past ? How should one use the autotools *F77* macros to handle this case ? Thanks, -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+7wUsz_7tiT67JEb1WnF2tGF4RQZJe+t4OEDRtLJeUG+K=x...@mail.gmail.com