mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
Fix compilation of included libiconv with autoconf
This commit is contained in:
parent
031720b66a
commit
b5d1f2f300
2
3rdparty/libiconv/Makefile.am
vendored
2
3rdparty/libiconv/Makefile.am
vendored
@ -33,7 +33,7 @@ EXTRA_DIST = \
|
||||
1.15/libcharset/lib/ref-add.sin \
|
||||
1.15/libcharset/lib/ref-del.sin
|
||||
|
||||
AM_CPPFLAGS += -I$(srcdir)/1.15/srclib -DLIBDIR=""
|
||||
AM_CPPFLAGS += -I$(srcdir)/1.15/srclib -DLIBDIR=\"\"
|
||||
|
||||
# The two relocatable.c files confuse automake < 1.14, where we do not use
|
||||
# subdir-objects. Therefore we cannot put both in liblyxiconv_a_SOURCES
|
||||
|
@ -535,6 +535,9 @@ AC_DEFUN([LYX_USE_INCLUDED_ICONV],[
|
||||
if test x$lyx_cv_with_included_iconv = xyes ; then
|
||||
lyx_included_libs="$lyx_included_libs iconv"
|
||||
|
||||
dnl This is hardcoded to make it compile
|
||||
AC_DEFINE([HAVE_WORKING_O_NOFOLLOW], 0, [Define to 1 if O_NOFOLLOW works.])
|
||||
|
||||
dnl Some bits from libiconv configure.ac to avoid a nested configure call:
|
||||
AC_EILSEQ
|
||||
AC_TYPE_MBSTATE_T
|
||||
|
Loading…
Reference in New Issue
Block a user