summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-10 12:38:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:11 -0500
commit2e24543b2185a43c9d3c328ff3be9488a899c915 (patch)
tree70c2b3b23d0068fe8e68d249479ed1f6d8ab64eb /source4/lib
parent3f8383cd6169eeefdb06172fc1388b6743ad3ae0 (diff)
downloadsamba-2e24543b2185a43c9d3c328ff3be9488a899c915.tar.gz
samba-2e24543b2185a43c9d3c328ff3be9488a899c915.tar.bz2
samba-2e24543b2185a43c9d3c328ff3be9488a899c915.zip
r18336: autoconf tries to force on C89 mode on HP-UX, using the -Ae
flag. Unfortunately that flag conflicts with the -AC99 flag, and we get lots of breakage. This is a trick to force off the -Ae option (This used to be commit eb93fb8e54c46df35904e03870063c4532599442)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/libreplace.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index a734704ae8..19830bc989 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -11,6 +11,10 @@ done
LIBREPLACEOBJ="dlfcn.o getpass.o replace.o snprintf.o timegm.o"
AC_SUBST(LIBREPLACEOBJ)
+dnl stop the C89 attempt by autoconf - if autoconf detects -Ae it will enable it
+dnl which conflicts with C99 on HPUX
+ac_cv_prog_cc_Ae=no
+
dnl needed before AC_TRY_COMPILE
AC_ISC_POSIX
AC_USE_SYSTEM_EXTENSIONS