summaryrefslogtreecommitdiffstats
path: root/source/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-10 12:38:32 +0000
committerAndrew Tridgell <tridge@samba.org>2006-09-10 12:38:32 +0000
commitabfc84640e3bde45f1921c496c303d36bc3e4e1b (patch)
treed193e8f546fbfe255fbfa4ade5414d27b57e1f33 /source/lib/replace
parentb6882786dfee8c89f020cfa66b04f7b37628e9e9 (diff)
downloadsamba-abfc84640e3bde45f1921c496c303d36bc3e4e1b.tar.gz
samba-abfc84640e3bde45f1921c496c303d36bc3e4e1b.tar.xz
samba-abfc84640e3bde45f1921c496c303d36bc3e4e1b.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
Diffstat (limited to 'source/lib/replace')
-rw-r--r--source/lib/replace/libreplace.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/source/lib/replace/libreplace.m4 b/source/lib/replace/libreplace.m4
index a734704ae88..19830bc9892 100644
--- a/source/lib/replace/libreplace.m4
+++ b/source/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