From 8cb4919bd4261d98a379b964f3955e2d2d8900f6 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 14 Jun 2003 16:18:39 +0000 Subject: [PATCH] Added configtool to configure and Makefile.in Added -lsupc++ to end of LDLIBS to avoid link errors git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/Makefile.in | 2 +- utils/configtool/src/Makefile | 5 +++++ utils/configure | 4 ++++ utils/configure.in | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/utils/Makefile.in b/utils/Makefile.in index d74f372193..ad184adf57 100644 --- a/utils/Makefile.in +++ b/utils/Makefile.in @@ -2,7 +2,7 @@ # Makefile : Builds wxWindows utils for Unix. # -UTILS_SUBDIRS=tex2rtf hhp2cached makegen HelpGen dialoged helpview +UTILS_SUBDIRS=tex2rtf hhp2cached makegen HelpGen dialoged helpview configtool all: @for d in $(UTILS_SUBDIRS); do (cd $$d && $(MAKE)); done diff --git a/utils/configtool/src/Makefile b/utils/configtool/src/Makefile index b189631ffd..65483082d0 100644 --- a/utils/configtool/src/Makefile +++ b/utils/configtool/src/Makefile @@ -127,6 +127,11 @@ else include $(top_builddir)/src/makeprog.env endif +# Need to place -lsupc++ at end of libs or we get +# link errors. Note the := syntax to prevent a +# recursive variable error. +LDLIBS:=${LDLIBS} -lsupc++ + # Only omit C++ libs for economy of size on Unix ifeq "$(WXTOOLKIT)" "msw" CC=c++ diff --git a/utils/configure b/utils/configure index a85526b819..1c8fe9c402 100755 --- a/utils/configure +++ b/utils/configure @@ -660,6 +660,8 @@ trap 'rm -fr `echo " emulator/src/Makefile helpview/Makefile helpview/src/Makefile + wxconfigtool/Makefile + wxconfigtool/src/Makefile " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF diff --git a/utils/configure.in b/utils/configure.in index 39a4a5f333..165039beda 100644 --- a/utils/configure.in +++ b/utils/configure.in @@ -30,4 +30,6 @@ AC_OUTPUT([ emulator/src/Makefile helpview/Makefile helpview/src/Makefile + wxconfigtool/Makefile + wxconfigtool/src/Makefile ])