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 | |
| parent | 3536f9928f1d5f10b1f6ad2a35d7370fc23c4098 (diff) | |
| download | krb5-fd34a4f2b02b65b82589fe6df6b7194ee9cb33dd.tar.gz krb5-fd34a4f2b02b65b82589fe6df6b7194ee9cb33dd.tar.xz krb5-fd34a4f2b02b65b82589fe6df6b7194ee9cb33dd.zip | |
* 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')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/aclocal.m4 | 10 |
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 |
