summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/aclocal.m410
2 files changed, 10 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1271185cf..bbbfc4991 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -5,7 +5,8 @@
PTHREAD_CFLAGS and PTHREAD_LIBS to avoid duplicating the options
later.
(WITH_CC): If on AIX and not using gcc, add -qhalt=e and -O to
- CFLAGS if similar options are not already present.
+ CFLAGS if similar options are not already present. Log messages
+ when doing so.
2004-07-16 Ken Raeburn <raeburn@mit.edu>
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index bfc465e65..97b0050d1 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -584,7 +584,10 @@ else
# in function calls. Let's try to fix that with -qhalt=e.
case "$CC $CFLAGS" in
*-qhalt=*) ;;
- *) CFLAGS="$CFLAGS -qhalt=e" ;;
+ *)
+ CFLAGS="$CFLAGS -qhalt=e"
+ AC_MSG_NOTICE(adding -qhalt=e for better error reporting)
+ ;;
esac
# Also, the optimizer isn't turned on by default, which means
# the static inline functions get left in random object files,
@@ -592,7 +595,10 @@ else
# includes k5-int.h whether it uses threads or not.
case "$CC $CFLAGS" in
*-O*) ;;
- *) CFLAGS="$CFLAGS -O" ;;
+ *)
+ CFLAGS="$CFLAGS -O"
+ AC_MSG_NOTICE(adding -O for inline thread-support function elimination)
+ ;;
esac
fi
fi