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@
|
LIBS=@LIBS@
|
||||||
CC=@CC@
|
CC=@CC@
|
||||||
CFLAGS=@CFLAGS@
|
CFLAGS=@CFLAGS@
|
||||||
|
CPPFLAGS=@CPPFLAGS@
|
||||||
LDFLAGS=@LDFLAGS@
|
LDFLAGS=@LDFLAGS@
|
||||||
AWK=@AWK@
|
AWK=@AWK@
|
||||||
|
|
||||||
@ -20,7 +21,7 @@ srcdir=@srcdir@
|
|||||||
builddir=@builddir@
|
builddir=@builddir@
|
||||||
SHELL=/bin/sh
|
SHELL=/bin/sh
|
||||||
|
|
||||||
BASEDIR=@prefix@
|
BASEDIR= @prefix@
|
||||||
BINDIR = @bindir@
|
BINDIR = @bindir@
|
||||||
SBINDIR = @sbindir@
|
SBINDIR = @sbindir@
|
||||||
LIBDIR = @libdir@
|
LIBDIR = @libdir@
|
||||||
|
819
source/configure
vendored
819
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
|
AC_VALIDATE_CACHE_SYSTEM_TYPE
|
||||||
SAMBA_MAINTAINER_MODE
|
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
|
case "$host_os" in
|
||||||
*hpux*)
|
# Try to work out if this is the native HPUX compiler that uses the -Ae flag.
|
||||||
AC_PROG_CC_FLAG(Ae)
|
*hpux*)
|
||||||
if test $ac_cv_prog_cc_Ae = yes; then
|
AC_PROG_CC_FLAG(Ae)
|
||||||
CPPFLAGS="$CPPFLAGS -Ae"
|
if test $ac_cv_prog_cc_Ae = yes; then
|
||||||
fi
|
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
|
esac
|
||||||
|
|
||||||
AC_INLINE
|
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(initgroups select rdchk getgrnam pathconf putprpwnam)
|
||||||
AC_CHECK_FUNCS(setuidx setgroups mktime rename ftruncate stat64 fstat64 lstat64 fopen64)
|
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(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)
|
AC_CHECK_FUNCS(srandom random srand rand setenv mmap64)
|
||||||
# syscall() is needed for smbwrapper.
|
# syscall() is needed for smbwrapper.
|
||||||
AC_CHECK_FUNCS(syscall)
|
AC_CHECK_FUNCS(syscall)
|
||||||
|
@ -442,8 +442,8 @@
|
|||||||
/* Define if you have the getprpwnam function. */
|
/* Define if you have the getprpwnam function. */
|
||||||
#undef HAVE_GETPRPWNAM
|
#undef HAVE_GETPRPWNAM
|
||||||
|
|
||||||
/* Define if you have the getpwanam function. */
|
/* Define if you have the getpwnam function. */
|
||||||
#undef HAVE_GETPWANAM
|
#undef HAVE_GETPWNAM
|
||||||
|
|
||||||
/* Define if you have the getrlimit function. */
|
/* Define if you have the getrlimit function. */
|
||||||
#undef HAVE_GETRLIMIT
|
#undef HAVE_GETRLIMIT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user