diff options
author | Ken Raeburn <raeburn@mit.edu> | 2004-08-08 22:53:20 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2004-08-08 22:53:20 +0000 |
commit | fd34a4f2b02b65b82589fe6df6b7194ee9cb33dd (patch) | |
tree | ad7474a8e76745625bb4c4257c297f5b2d6917ea /src/aclocal.m4 | |
parent | 3536f9928f1d5f10b1f6ad2a35d7370fc23c4098 (diff) | |
download | krb5-fd34a4f2b02b65b82589fe6df6b7194ee9cb33dd.zip krb5-fd34a4f2b02b65b82589fe6df6b7194ee9cb33dd.tar.gz krb5-fd34a4f2b02b65b82589fe6df6b7194ee9cb33dd.tar.bz2 |
* aclocal.m4 (WITH_CC): Log messages when adding AIX compiler options
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16651 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/aclocal.m4')
-rw-r--r-- | src/aclocal.m4 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4 index bfc465e..97b0050 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 |