0.7.13.17:
[sbcl.git] / contrib / sb-bsd-sockets / sb-bsd-sockets.asd
index f2bb859..9c7233e 100644 (file)
@@ -28,8 +28,7 @@
                     (find-package "SB-BSD-SOCKETS-SYSTEM"))
             filename tmp-c-source :sb-bsd-sockets-internal)
     (and
-     (= (run-shell-command
-        "/usr/bin/gcc -o ~S ~S" (namestring tmp-a-dot-out)
+     (= (run-shell-command "gcc -o ~S ~S" (namestring tmp-a-dot-out)
         (namestring tmp-c-source)) 0)
      (= (run-shell-command "~A >~A"
                           (namestring tmp-a-dot-out)
@@ -62,7 +61,8 @@
   (let ((dso-name (unix-name (car (output-files operation dso)))))
     (unless (zerop
             (run-shell-command
-             "gcc -shared -o ~S ~{~S ~}"
+             #+sunos "gcc -shared -lresolv -lsocket -lnsl -o ~S ~{~S ~}"
+             #-sunos "gcc -shared -o ~S ~{~S ~} "
              dso-name
              (mapcar #'unix-name
                      (mapcan (lambda (c)
@@ -78,7 +78,7 @@
                  (component-pathname c))))
 (defmethod perform ((op compile-op) (c c-source-file))
   (unless
-      (= 0 (run-shell-command "/usr/bin/gcc -fPIC -o ~S -c ~S"
+      (= 0 (run-shell-command "gcc -fPIC -o ~S -c ~S"
                              (unix-name (car (output-files op c)))
                              (unix-name (component-pathname c))))
     (error 'operation-error :operation op :component c)))
                 
                 (:file "sockopt" :depends-on ("sockets"))
                 (:file "inet" :depends-on ("sockets" "split"  "constants" ))
-                (:file "unix" :depends-on ("sockets" "split" "constants" ))
+                (:file "local" :depends-on ("sockets" "split" "constants" ))
                 (:file "name-service" :depends-on ("sockets" "constants" "alien"))
                 (:file "misc" :depends-on ("sockets" "constants"))
 
                 (:file "tests" :depends-on ("inet" "sockopt" "rt"))
 
                 (:static-file "NEWS")
-                (:static-file "INSTALL")
+                ;; (:static-file "INSTALL")
                 (:static-file "README")
                 (:static-file "index" :pathname "index.html")
                 (:static-file "doc" :pathname "doc.lisp")