Browse Source

configure: Initial support for --target-os=symbian

Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö 14 years ago
parent
commit
1c69c79f2b
1 changed files with 6 additions and 1 deletions
  1. 6 1
      configure

+ 6 - 1
configure

@@ -1822,7 +1822,7 @@ set_default host_cc
 
 exesuf() {
     case $1 in
-        mingw32*|cygwin*|*-dos|freedos|opendos|os/2*) echo .exe ;;
+        mingw32*|cygwin*|*-dos|freedos|opendos|os/2*|symbian) echo .exe ;;
     esac
 }
 
@@ -2480,6 +2480,11 @@ case $target_os in
         add_cppflags -D_QNX_SOURCE
         network_extralibs="-lsocket"
         ;;
+    symbian)
+        SLIBSUF=".dll"
+        enable dos_paths
+        add_cflags --include=$sysinclude/gcce/gcce.h
+        ;;
     none)
         ;;
     *)