add iconv Solaris compatibility
This commit is contained in:
parent
910c4b37b6
commit
58a4f6c028
|
@ -174,6 +174,10 @@ if test "x$HAVE_LIBIDN2" = "xyes" -o "x$HAVE_LIBIDN" = "xyes"; then
|
|||
LIBS=$OLDLIBS
|
||||
fi
|
||||
|
||||
# AM_ICONV sets @LIBICONV@ and @LTLIBICONV@ for use in Makefile.am
|
||||
# do not use AM_ICONV conditionally
|
||||
AM_ICONV
|
||||
|
||||
AM_CONDITIONAL([WITH_LIBICU], test "x$enable_runtime" = "xlibicu")
|
||||
AM_CONDITIONAL([WITH_LIBIDN2], test "x$enable_runtime" = "xlibidn2")
|
||||
AM_CONDITIONAL([WITH_LIBIDN], test "x$enable_runtime" = "xlibidn")
|
||||
|
|
|
@ -27,10 +27,10 @@ if BUILTIN_GENERATOR_LIBICU
|
|||
psl2c_LDADD = -licuuc
|
||||
endif
|
||||
if BUILTIN_GENERATOR_LIBIDN2
|
||||
psl2c_LDADD = -lidn2 -lunistring
|
||||
psl2c_LDADD = @LTLIBICONV@ -lidn2 -lunistring
|
||||
endif
|
||||
if BUILTIN_GENERATOR_LIBIDN
|
||||
psl2c_LDADD = -lidn -lunistring
|
||||
psl2c_LDADD = @LTLIBICONV@ -lidn -lunistring
|
||||
endif
|
||||
|
||||
# Build rule for suffix.c
|
||||
|
|
Loading…
Reference in New Issue