Hi/2.

-Zxxx is used to specify OS/2-specific options on OS/2.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.0.11
Under OS/2 Warp 4 for Korean with FixPak #15
On Intel Core2Duo T5500 1.66 GHz with 2 GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr

From 970f4a602404a37a2c89a9befe387ea5758d66be Mon Sep 17 00:00:00 2001
From: KO Myung-Hun <k...@chollian.net>
Date: Sat, 15 Jan 2011 18:08:45 +0900
Subject: [PATCH 08/10] Support -Zxxx options used on OS/2

---
 libltdl/config/ltmain.m4sh |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 23b80ba..f119c1a 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -5079,6 +5079,17 @@ func_mode_link ()
         continue
         ;;
 
+      # OS/2 uses -Zxxx to specify OS/2-specific options
+      -Z*)
+       compiler_flags="$compiler_flags $arg"
+       func_append compile_command " $arg"
+       func_append finalize_command " $arg"
+       case $arg in
+       -Zlinker | -Zstack) prev=xcompiler;;
+       esac
+       continue
+       ;;
+
       # Some other compiler flag.
       -* | +*)
         func_quote_for_eval "$arg"
-- 
1.7.3.2

Reply via email to