svn commit: samba r18336 - in branches/SAMBA_4_0/source/lib/replace: .

tridge at samba.org tridge at samba.org
Sun Sep 10 12:38:32 GMT 2006


Author: tridge
Date: 2006-09-10 12:38:32 +0000 (Sun, 10 Sep 2006)
New Revision: 18336

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18336

Log:

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

Modified:
   branches/SAMBA_4_0/source/lib/replace/libreplace.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-10 12:23:47 UTC (rev 18335)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-10 12:38:32 UTC (rev 18336)
@@ -11,6 +11,10 @@
 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



More information about the samba-cvs mailing list