From 63ca441ba9c3798fa3598384a3da1f4593a3102f Mon Sep 17 00:00:00 2001 From: mental Date: Tue, 25 Jul 2006 02:35:16 +0000 Subject: [PATCH] further work on LSB build configuration --- ChangeLog | 4 ++++ configure.ac | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7c9c33f96..dfc812452 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-07-24 MenTaLguY + + * configure.ac: further work on LSB build configuration + 2006-07-23 John Bintz * src/verbs.cpp, src/event-context.cpp, src/node-context.cpp: diff --git a/configure.ac b/configure.ac index c99363b88..61cc95397 100644 --- a/configure.ac +++ b/configure.ac @@ -11,9 +11,14 @@ AC_CANONICAL_HOST AC_CONFIG_SRCDIR(src/main.cpp) AM_INIT_AUTOMAKE -AC_ARG_ENABLE([lsb], AS_HELP_STRING([--enable-lsb], [LSB-comaptible build configuration]), [ +AC_ARG_ENABLE([lsb], AS_HELP_STRING([--enable-lsb], [LSB-compatible build configuration]), [ prefix=/opt/inkscape - # FIXME: need to force static linking of libraries not in LSB whitelist + PATH="/opt/lsb/bin:$PATH" + AC_CHECK_PROG(LSBCC, lsbcc, [], AC_MSG_ERROR([lsbcc not found; do you have the LSB SDK installed?])) + AC_CHECK_PROG(LSBCXX, lsbc++, [], AC_MSG_ERROR([lsbc++ not found; do you have the LSB SDK installed?])) + CC=lsbcc + CXX=lsbc++ + export CC CXX ]) AM_CONFIG_HEADER(config.h) -- 2.30.2