From 50c64762efad9cd76a22e070946dc90d9bb421ab Mon Sep 17 00:00:00 2001 From: tchernobog Date: Fri, 27 Jan 2006 19:26:27 +0000 Subject: [PATCH] - Added the possibility to pass LT_LDFLAGS to configure in order to obtain a completely static build git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@241 3ecf2c5c-341e-0410-92b4-d18e462d057c --- ChangeLog | 12 ++++++++++++ configure.ac | 4 ++++ src/Makefile.am | 4 +++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 23ac329..bb91988 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2006-01-27 17:57 tchernobog + + * trunk/ChangeLog, trunk/configure.ac, trunk/src/Makefile.am, + trunk/src/backend, trunk/src/backend/Makefile.am, + trunk/src/graphicalterminalio.cc, + trunk/src/graphicalterminalio.hh, trunk/src/gtkgui, + trunk/src/iomanager.hh, trunk/src/main.cc, trunk/src/main.hh, + trunk/src/mainwindow.cc, trunk/src/mainwindow.hh, + trunk/src/startgui.cc, trunk/src/startgui.hh: - Reorganize sources + to split them across three parts: - The main program, the frontend + - A pyton loader library - The backend library Happy hacking. + 2006-01-27 15:33 tchernobog * trunk/doc/sgpem2dman.texi: - Fix grammar and form in chapter diff --git a/configure.ac b/configure.ac index 7c6dadb..d576083 100644 --- a/configure.ac +++ b/configure.ac @@ -45,6 +45,10 @@ dnl starting automake AM_INIT_AUTOMAKE([dejagnu dist-bzip2]) dnl gettext & libtool +AC_ARG_VAR([LT_LDFLAGS], +[You can use this variable to pass an option +to libtool when it is in linking mode (for +example, "-all-static")]) AC_PROG_LIBTOOL AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.14.1]) diff --git a/src/Makefile.am b/src/Makefile.am index 17a0520..680ce9e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -39,7 +39,9 @@ sgpemv2_CPPFLAGS = -I@top_srcdir@ \ -DLOCALEDIR="\"$(localedir)\"" \ $(CAIRO_CFLAGS) \ $(GTKMM_CFLAGS) -sgpemv2_LDFLAGS = -L@builddir@/backend -L@builddir@/pyloader +sgpemv2_LDFLAGS = -L@builddir@/backend \ + -L@builddir@/pyloader \ + $(LT_LDFLAGS) sgpemv2_LDADD = -lbackend -lpyloader \ $(CAIRO_LIBS) \ $(GTKMM_LIBS)