mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +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 commit is contained in:
parent
1ef6d3bd63
commit
2d62dc26f4
@ -10,6 +10,7 @@ mandir=@mandir@
|
||||
LIBS=@LIBS@
|
||||
CC=@CC@
|
||||
CFLAGS=@CFLAGS@
|
||||
CPPFLAGS=@CPPFLAGS@
|
||||
LDFLAGS=@LDFLAGS@
|
||||
AWK=@AWK@
|
||||
|
||||
|
807
source/configure
vendored
807
source/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
# 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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user