Added, will be in popt-1.14. Thanks for the patch.
73 de Jeff
On Mar 27, 2008, at 12:01 PM, Stanislav Brabec wrote:
> Hallo.
>
> Attached patch allows to build popt-1.13 on both glibc and uclibc
> based systems.
> Henning Heinold pointed to the problem and added @LTLIBINTL@.
> Adding AM_ICONV_LINK fixed on glibc systems.
>
> Index: popt-1.13/Makefile.am
> ===================================================================
> --- popt-1.13.orig/Makefile.am 2007-11-14 20:42:27.000000000 +0000
> +++ popt-1.13/Makefile.am 2008-03-26 22:14:05.000000000 +0000
> @@ -39,7 +39,7 @@
> usrlib_LTLIBRARIES = libpopt.la
>
> libpopt_la_SOURCES = popt.c findme.c poptparse.c poptconfig.c
> popthelp.c poptint.c
> -libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@
> +libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@
>
> if HAVE_LD_VERSION_SCRIPT
> libpopt_la_LDFLAGS += -Wl,--version-script=/libpopt.vers
> Index: popt-1.13/configure.ac
> ===================================================================
> --- popt-1.13.orig/configure.ac 2007-11-14 20:42:27.000000000 +0000
> +++ popt-1.13/configure.ac 2008-03-26 22:20:16.000000000 +0000
> @@ -95,6 +95,7 @@
> AC_CHECK_FUNCS(getuid geteuid mtrace __secure_getenv setregid
> strerror iconv)
>
> AM_GNU_GETTEXT([external])
> +AM_ICONV_LINK
>
> popt_sysconfdir=""
> eval "popt_sysconfdir=\"\"" # expand contained
>
> --
> Best Regards / S pozdravem,
>
> Stanislav Brabec
> software developer
> ---------------------------------------------------------------------
> SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz
> Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747
> 190 00 Praha 9 fax: +420 284 028 951
> Czech Republic http://www.suse.cz/
>
> ______________________________________________________________________
> POPT Library http://rpm5.org
> Developer Communication List popt-devel@rpm5.org
Received on Thu Mar 27 18:32:22 2008