Bugzilla bug #86797: made the configure script recognize darwin and
authorwtc%netscape.com
Sat, 23 Jun 2001 04:37:20 +0000
changeset 1968 688924831b0477ea58ab096e3b734356cb972e0d
parent 1967 dd3e59318f06ae04e02b7c83338bd469d6ca5f69
child 1969 612af6f1f18387d28b4d6a152486515d47f898cc
push idunknown
push userunknown
push dateunknown
bugs86797
Bugzilla bug #86797: made the configure script recognize darwin and deleted the old name rhapsody. Modified files: configure configure.in
configure
configure.in
--- a/configure
+++ b/configure
@@ -4091,17 +4091,17 @@ EOF
 #define _PR_NEED_H_ERRNO 1
 EOF
 
     USE_NSPR_THREADS=1
     MDCPUCFG_H=_qnx.cfg
     PR_MD_CSRCS=qnx.c
     ;;
 
-*-rhapsody*)
+*-darwin*)
     cat >> confdefs.h <<\EOF
 #define XP_UNIX 1
 EOF
 
     cat >> confdefs.h <<\EOF
 #define RHAPSODY 1
 EOF
 
--- a/configure.in
+++ b/configure.in
@@ -1410,17 +1410,17 @@ mips-sony-newsos*)
     AC_DEFINE(XP_UNIX)
     AC_DEFINE(QNX)
     AC_DEFINE(_PR_NEED_H_ERRNO)
     USE_NSPR_THREADS=1
     MDCPUCFG_H=_qnx.cfg
     PR_MD_CSRCS=qnx.c
     ;;
 
-*-rhapsody*)
+*-darwin*)
     AC_DEFINE(XP_UNIX)
     AC_DEFINE(RHAPSODY)
     AC_DEFINE(HAVE_BSD_FLOCK)
     CFLAGS="$CFLAGS -Wmost -fno-common -pipe"    
     if echo $OS_TEST | grep -c 86 2>/dev/null; then
         CFLAGS="$CFLAGS -mno-486"
         AC_DEFINE(i386)
         CPU_ARCH=i386