bug on configure.in (SAMBA_2_0 branch) getpass test
Tim Rice
tim at trr.metro.NET
Fri Dec 11 04:34:51 GMT 1998
I found a problem with configure.in
....
configure:7781: checking whether getpass should be replaced
configure:7802: cc -c -O -I/usr/local/src/networking/samba-2.0.0beta3/source/in
clude -I/usr/local/src/networking/samba-2.0.0beta3/source/ubiqx conftest.c 1>&5
UX:acomp: ERROR: "/usr/local/src/networking/samba-2.0.0beta3/source/include/incl
udes.h", line 541: cannot find include file: "smbw.h"
....
adding -I${srcdir-.}/smbwrapper seems to fix it.
I've attached a patch.
BTW. some machines have
char *getpass_r(const char *prompt, char *ret, size_t length);
as well as getpass
to get around the 8 character limitation.
--
Tim Rice Multitalents (707) 887-1469 (voice)
tim at trr.metro.net
-------------- next part --------------
*** configure.in.old Thu Dec 10 20:18:20 1998
--- configure.in Thu Dec 10 20:22:02 1998
***************
*** 655,661 ****
AC_CACHE_CHECK([whether getpass should be replaced],samba_cv_REPLACE_GETPASS,[
SAVE_CPPFLAGS="$CPPFLAGS"
! CPPFLAGS="$CPPFLAGS -I${srcdir-.}/include -I${srcdir-.}/ubiqx"
AC_TRY_COMPILE([
#define REPLACE_GETPASS 1
#define NO_CONFIG_H 1
--- 655,661 ----
AC_CACHE_CHECK([whether getpass should be replaced],samba_cv_REPLACE_GETPASS,[
SAVE_CPPFLAGS="$CPPFLAGS"
! CPPFLAGS="$CPPFLAGS -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/smbwrapper"
AC_TRY_COMPILE([
#define REPLACE_GETPASS 1
#define NO_CONFIG_H 1
More information about the samba-technical
mailing list