Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <60151.217.125.128.19.1083538040.squirrel@sugus.eii.us.es> Date: Mon, 3 May 2004 00:47:20 +0200 (CEST) Subject: problems with autoconf and libiconv From: "Ricardo Varela [phobeo]" To: Reply-To: phobeo AT sugus DOT eii DOT us DOT es MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit hallo, I was trying to add some libraries for autolinking with a program via autoconf, but I'm having problems with libiconv (any other library links properly, but the program seems not to like to have a -liconv. I reckon the autoconf syntax is correct, please see below) If I have the following in my configure.ac file: AC_CHECK_LIB(iconv, iconv_open) AC_CHECK_LIB(iconv, iconv) AC_CHECK_LIB(pthread, pthread_attr_init) But I get an output like: ... checking for iconv_open in -liconv... no checking for iconv in -liconv... no checking for pthread_attr_init in -lpthread... yes ... (same if I use AC_SEARCH_LIBS instead of AC_CHECK_LIB, have tried that too) Did anybody had similar problems before? --- Ricardo Varela -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/