[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: sys/socket.h in kdm/backend/auth.c ...
From: Oswald Buddenhagen <ossi () kde ! org>
Date: 2001-06-19 18:58:53
[Download RAW message or body]
> as for config.cache ... I always do a 'gmake distclean' before configure
> ... and a 'gmake -f Makefile.cvs' ... doesn't that get rid of
> config.cache?
>
yes, distclean does.
so we've got a real problem here.
please run the attached script and send me the log.
greetings
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.
#! /bin/sh
test -f Makefile -o -f Imakefile && { echo "don't run this in a directory with a \
Makefile or Imakefile"; exit; }
cat > Imakefile <<'EOF'
BASIC_FLAGS = StandardDefines ConnectionFlags
#if HasXdmAuth
XDMAUTH_DEFINES = -DHASXDMAUTH
#endif
#if HasBSD44Sockets
SOCK_DEFINES = -DBSD44SOCKETS
#endif
#if defined(i386Architecture) || defined(AmigaArchitecture)
FRAGILE_DEFINES = -DFRAGILE_DEV_MEM
#endif
#ifdef OpenBSDArchitecture
RANDOM_DEFINES = -DARC4_RANDOM
#elif defined(LinuxArchitecture)
RANDOM_DEFINES = -DDEV_RANDOM
#endif
#if HasLibCrypt && !defined(SpecialLibCrypt) && defined(LynxOSArchitecture)
CRYPT_DEFINES = -DHAS_CRYPT
#endif
VERSION_DEFINES = -DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion
XDM_CFLAGS = $(BASIC_FLAGS) $(VERSION_DEFINES) $(SIGNAL_DEFINES) $(XDMAUTH_DEFINES) \
$(FRAGILE_DEFINES) $(SOCK_DEFINES) $(RANDOM_DEFINES) $(CRYPT_DEFINES)
acimake:
@echo XDM_CFLAGS=\"$(XDM_CFLAGS)\"
#if HasXdmAuth
@echo HASXDMAUTH=1
#endif
@echo XBINDIR=$(BINDIR)
EOF
xmkmf
echo "Makefile:"
grep -10 '^acimake:' Makefile
echo
if test -f Makefile; then
echo "make: "
${MAKE-make} acimake
echo
kde_cv_defines_imake=`${MAKE-make} acimake 2> /dev/null | grep '^[^ ]*='`
echo "result1:"
echo "\"$kde_cv_defines_imake\""
kde_cv_defines_imake=`echo $kde_cv_defines_imake`
echo "result2:"
echo "\"$kde_cv_defines_imake\""
else
{ echo "configure: error: imake failed" 1>&2; exit 1; }
fi
rm -f Makefile Imakefile
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic