From 94fc95f74a5809c5f7eeb4ceb4032ce6b97dc6e5 Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Wed, 20 Apr 2005 01:24:38 +0000 Subject: [PATCH] Make --enable-profile work (subject to the compiler's limits). git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1372 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 8 +++++++- configure.in | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0206098..c975573 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ -2005-04-18 Michael Poole +2005-04-19 Michael Poole + + * configure.in: When --enable-profile, add -pg to LDFLAGS. + + * configure: Regenerate. + +2005-04-19 Michael Poole * ircd/match.c (check_if_ipmask): Fix brown-paper-bag typo. diff --git a/configure.in b/configure.in index 034e430..be0fe26 100644 --- a/configure.in +++ b/configure.in @@ -332,6 +332,7 @@ AC_MSG_RESULT([$unet_cv_enable_profile]) if test x"$unet_cv_enable_profile" = xyes; then CFLAGS="-pg $CFLAGS" + LDFLAGS="-pg $LDFLAGS" fi dnl Now check for --enable-pedantic -- 2.20.1