1.0.39.4: fix build on non-darwin and ppc/darwin platforms
authorCyrus Harmon <ch-sbcl@bobobeach.com>
Thu, 3 Jun 2010 14:43:15 +0000 (14:43 +0000)
committerCyrus Harmon <ch-sbcl@bobobeach.com>
Thu, 3 Jun 2010 14:43:15 +0000 (14:43 +0000)
  * fix conditional include of langinfo.h

  * conditionalize the darwin/ppc Config file for :dlshim

src/runtime/Config.ppc-darwin
tools-for-build/grovel-headers.c
version.lisp-expr

index fc94e87..014657a 100644 (file)
 
 CFLAGS = -g -Wall -O2 -fdollars-in-identifiers -mmacosx-version-min=10.4
 LINKFLAGS += -mmacosx-version-min=10.4
-OS_SRC = bsd-os.c darwin-os.c ppc-darwin-os.c darwin-dlshim.c darwin-langinfo.c
+
+OS_SRC = bsd-os.c darwin-os.c ppc-darwin-os.c darwin-langinfo.c
+ifdef LISP_FEATURE_DLSHIM
+  OS_SRC += darwin-dlshim.c
+endif
+
 OS_LIBS = -lSystem -lc
 
 CC = gcc
index 2058cad..de5340d 100644 (file)
@@ -38,6 +38,8 @@
   #include <sys/termios.h>
   #ifdef LISP_FEATURE_DARWIN
     #include "../src/runtime/darwin-langinfo.h"
+  #else
+    #include <langinfo.h>
   #endif
   #ifdef LISP_FEATURE_DLSHIM
     #include "../src/runtime/darwin-dlshim.h"
index a24e0fc..35d7360 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.39.3"
+"1.0.39.4"