From: khali@linux-fr.org (Jean Delvare) Date: Thu, 19 May 2005 06:25:12 +0000 Subject: use of iconv() in main.c Message-Id: <20040816094349.M9805@ensicaen.ismra.fr> List-Id: References: <200408160857.i7G8vTrs027501@localhost.localdomain> In-Reply-To: <200408160857.i7G8vTrs027501@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org > I'm building an embedded linux system using uClibc, which by default > does not have locale support. In order to build lm_sensors-2.8.7 > I had to comment out the code that refers to iconv() in set_degstr() > (in main.c), as well as the "#include " line. > > It might save others a bit of trouble if you made the use of locales > an option... Is there a way we could detect the use of uClibc? If there is a known #define, we could use it to automatically disable the use of iconv. Thanks. -- Jean "Khali" Delvare http://khali.linux-fr.org/