1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

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 commit is contained in:
Andrew Tridgell 2006-09-10 12:38:32 +00:00 committed by Gerald (Jerry) Carter
parent 45a3a6a566
commit eb93fb8e54

View File

@ -11,6 +11,10 @@ done
LIBREPLACEOBJ="dlfcn.o getpass.o replace.o snprintf.o timegm.o" LIBREPLACEOBJ="dlfcn.o getpass.o replace.o snprintf.o timegm.o"
AC_SUBST(LIBREPLACEOBJ) 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 dnl needed before AC_TRY_COMPILE
AC_ISC_POSIX AC_ISC_POSIX
AC_USE_SYSTEM_EXTENSIONS AC_USE_SYSTEM_EXTENSIONS