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

Makefile.in: Added passing of CPPFLAGS into Makefile.

configure
configure.in
include/config.h.in: Fixes for AIX4.x. AIX *will not*
                     enable large file support of *any* description unless
                     either -D_LARGE_FILES or -D_LARGE_FILES_API are defined.
                     I chose "-D_LARGE_FILES" as this leads to cleaner code...

Also fixed bug where getpwnam was listed as getpw(a)nam in configure.in.
Jeremy.
(This used to be commit 2d62dc26f4)
This commit is contained in:
Jeremy Allison 1998-11-19 23:42:57 +00:00
parent 17590be23d
commit d5015ef708
4 changed files with 438 additions and 415 deletions

View File

@ -10,6 +10,7 @@ mandir=@mandir@
LIBS=@LIBS@
CC=@CC@
CFLAGS=@CFLAGS@
CPPFLAGS=@CPPFLAGS@
LDFLAGS=@LDFLAGS@
AWK=@AWK@
@ -20,7 +21,7 @@ srcdir=@srcdir@
builddir=@builddir@
SHELL=/bin/sh
BASEDIR=@prefix@
BASEDIR= @prefix@
BINDIR = @bindir@
SBINDIR = @sbindir@
LIBDIR = @libdir@

819
source3/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -25,14 +25,25 @@ AC_CANONICAL_SYSTEM
AC_VALIDATE_CACHE_SYSTEM_TYPE
SAMBA_MAINTAINER_MODE
# try to work out if this compiler uses the HPUX -Ae flag.
#
# Config CPPFLAG settings for strange OS's that must be set
# before other tests.
#
case "$host_os" in
*hpux*)
AC_PROG_CC_FLAG(Ae)
if test $ac_cv_prog_cc_Ae = yes; then
CPPFLAGS="$CPPFLAGS -Ae"
fi
;;
# Try to work out if this is the native HPUX compiler that uses the -Ae flag.
*hpux*)
AC_PROG_CC_FLAG(Ae)
if test $ac_cv_prog_cc_Ae = yes; then
CPPFLAGS="$CPPFLAGS -Ae"
fi
;;
#
# AIX4.x is *so* broken. It doesn't even admit to having large
# files *at all* unless the -D_LARGE_FILE or -D_LARGE_FILE_API flags are set.
#
*aix4*)
CPPFLAGS="$CPPFLAGS -D_LARGE_FILES"
;;
esac
AC_INLINE
@ -181,7 +192,7 @@ AC_CHECK_FUNCS(strftime sigprocmask sigblock sigaction innetgr setnetgrent getne
AC_CHECK_FUNCS(initgroups select rdchk getgrnam pathconf putprpwnam)
AC_CHECK_FUNCS(setuidx setgroups mktime rename ftruncate stat64 fstat64 lstat64 fopen64)
AC_CHECK_FUNCS(set_auth_parameters atexit grantpt getspnam dup2 lseek64 ftruncate64)
AC_CHECK_FUNCS(fseek64 ftell64 bigcrypt getprpwnam setluid yp_get_default_domain getpwanam)
AC_CHECK_FUNCS(fseek64 ftell64 bigcrypt getprpwnam setluid yp_get_default_domain getpwnam)
AC_CHECK_FUNCS(srandom random srand rand setenv mmap64)
# syscall() is needed for smbwrapper.
AC_CHECK_FUNCS(syscall)

View File

@ -442,8 +442,8 @@
/* Define if you have the getprpwnam function. */
#undef HAVE_GETPRPWNAM
/* Define if you have the getpwanam function. */
#undef HAVE_GETPWANAM
/* Define if you have the getpwnam function. */
#undef HAVE_GETPWNAM
/* Define if you have the getrlimit function. */
#undef HAVE_GETRLIMIT