mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #536299 Fix underlinking issue: Conditionally add -lX11 to gnome-utils
Follow-up to r17683. Patch by Andi5. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17723 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9285d7b575
commit
4bae54afac
@ -217,6 +217,7 @@ AM_CONDITIONAL(GNUCASH_SEPARATE_BUILDDIR, test "x${srcdir}" != "x.")
|
||||
|
||||
# These are unavailable on windows/mingw32
|
||||
AC_CHECK_HEADERS(X11/Xlib.h glob.h)
|
||||
AM_CONDITIONAL(HAVE_X11_XLIB_H, test "x$ac_cv_header_X11_Xlib_h" = "xyes")
|
||||
AC_CHECK_FUNCS(chown gethostname getppid getuid gettimeofday gmtime_r)
|
||||
AC_CHECK_FUNCS(gethostid link)
|
||||
|
||||
|
@ -199,6 +199,10 @@ libgncmod_gnome_utils_la_LIBADD = \
|
||||
${REGEX_LIBS} \
|
||||
${LIBXML2_LIBS}
|
||||
|
||||
if HAVE_X11_XLIB_H
|
||||
libgncmod_gnome_utils_la_LIBADD += -lX11
|
||||
endif
|
||||
|
||||
if BUILDING_FROM_SVN
|
||||
swig-gnome-utils.c: gnome-utils.i gnc-html.h \
|
||||
${top_srcdir}/src/base-typemaps.i
|
||||
|
Loading…
Reference in New Issue
Block a user